diff --git a/sdk/constructive-cli/src/admin/cli/README.md b/sdk/constructive-cli/src/admin/cli/README.md index 81f093232..6881aca24 100644 --- a/sdk/constructive-cli/src/admin/cli/README.md +++ b/sdk/constructive-cli/src/admin/cli/README.md @@ -61,9 +61,9 @@ csdk auth set-token | `app-permissions-get-padded-mask` | appPermissionsGetPaddedMask | | `org-permissions-get-padded-mask` | orgPermissionsGetPaddedMask | | `org-is-manager-of` | orgIsManagerOf | -| `steps-achieved` | stepsAchieved | | `app-permissions-get-mask` | appPermissionsGetMask | | `org-permissions-get-mask` | orgPermissionsGetMask | +| `steps-achieved` | stepsAchieved | | `app-permissions-get-mask-by-names` | appPermissionsGetMaskByNames | | `org-permissions-get-mask-by-names` | orgPermissionsGetMaskByNames | | `app-permissions-get-by-mask` | Reads and enables pagination through a set of `AppPermission`. | @@ -1020,21 +1020,20 @@ orgIsManagerOf | `--pUserId` | UUID | | `--pMaxDepth` | Int | -### `steps-achieved` +### `app-permissions-get-mask` -stepsAchieved +appPermissionsGetMask - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--vlevel` | String | - | `--vroleId` | UUID | + | `--ids` | UUID | -### `app-permissions-get-mask` +### `org-permissions-get-mask` -appPermissionsGetMask +orgPermissionsGetMask - **Type:** query - **Arguments:** @@ -1043,16 +1042,17 @@ appPermissionsGetMask |----------|------| | `--ids` | UUID | -### `org-permissions-get-mask` +### `steps-achieved` -orgPermissionsGetMask +stepsAchieved - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--ids` | UUID | + | `--vlevel` | String | + | `--vroleId` | UUID | ### `app-permissions-get-mask-by-names` diff --git a/sdk/constructive-cli/src/admin/cli/commands.ts b/sdk/constructive-cli/src/admin/cli/commands.ts index b3afd30f7..6992f790a 100644 --- a/sdk/constructive-cli/src/admin/cli/commands.ts +++ b/sdk/constructive-cli/src/admin/cli/commands.ts @@ -41,9 +41,9 @@ import orgInviteCmd from './commands/org-invite'; import appPermissionsGetPaddedMaskCmd from './commands/app-permissions-get-padded-mask'; import orgPermissionsGetPaddedMaskCmd from './commands/org-permissions-get-padded-mask'; import orgIsManagerOfCmd from './commands/org-is-manager-of'; -import stepsAchievedCmd from './commands/steps-achieved'; import appPermissionsGetMaskCmd from './commands/app-permissions-get-mask'; import orgPermissionsGetMaskCmd from './commands/org-permissions-get-mask'; +import stepsAchievedCmd from './commands/steps-achieved'; import appPermissionsGetMaskByNamesCmd from './commands/app-permissions-get-mask-by-names'; import orgPermissionsGetMaskByNamesCmd from './commands/org-permissions-get-mask-by-names'; import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask'; @@ -96,9 +96,9 @@ const createCommandMap: () => Record< 'app-permissions-get-padded-mask': appPermissionsGetPaddedMaskCmd, 'org-permissions-get-padded-mask': orgPermissionsGetPaddedMaskCmd, 'org-is-manager-of': orgIsManagerOfCmd, - 'steps-achieved': stepsAchievedCmd, 'app-permissions-get-mask': appPermissionsGetMaskCmd, 'org-permissions-get-mask': orgPermissionsGetMaskCmd, + 'steps-achieved': stepsAchievedCmd, 'app-permissions-get-mask-by-names': appPermissionsGetMaskByNamesCmd, 'org-permissions-get-mask-by-names': orgPermissionsGetMaskByNamesCmd, 'app-permissions-get-by-mask': appPermissionsGetByMaskCmd, @@ -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 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'; + '\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 app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n steps-achieved stepsAchieved\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/orm/README.md b/sdk/constructive-cli/src/admin/orm/README.md index 02cd23d7a..74e966fea 100644 --- a/sdk/constructive-cli/src/admin/orm/README.md +++ b/sdk/constructive-cli/src/admin/orm/README.md @@ -1237,25 +1237,24 @@ orgIsManagerOf const result = await db.query.orgIsManagerOf({ pEntityId: '', pManagerId: '', pUserId: '', pMaxDepth: '' }).execute(); ``` -### `db.query.stepsAchieved` +### `db.query.appPermissionsGetMask` -stepsAchieved +appPermissionsGetMask - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `vlevel` | String | - | `vroleId` | UUID | + | `ids` | [UUID] | ```typescript -const result = await db.query.stepsAchieved({ vlevel: '', vroleId: '' }).execute(); +const result = await db.query.appPermissionsGetMask({ ids: '' }).execute(); ``` -### `db.query.appPermissionsGetMask` +### `db.query.orgPermissionsGetMask` -appPermissionsGetMask +orgPermissionsGetMask - **Type:** query - **Arguments:** @@ -1265,22 +1264,23 @@ appPermissionsGetMask | `ids` | [UUID] | ```typescript -const result = await db.query.appPermissionsGetMask({ ids: '' }).execute(); +const result = await db.query.orgPermissionsGetMask({ ids: '' }).execute(); ``` -### `db.query.orgPermissionsGetMask` +### `db.query.stepsAchieved` -orgPermissionsGetMask +stepsAchieved - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `ids` | [UUID] | + | `vlevel` | String | + | `vroleId` | UUID | ```typescript -const result = await db.query.orgPermissionsGetMask({ ids: '' }).execute(); +const result = await db.query.stepsAchieved({ vlevel: '', vroleId: '' }).execute(); ``` ### `db.query.appPermissionsGetMaskByNames` diff --git a/sdk/constructive-cli/src/admin/orm/query/index.ts b/sdk/constructive-cli/src/admin/orm/query/index.ts index db637075c..3c1e8285a 100644 --- a/sdk/constructive-cli/src/admin/orm/query/index.ts +++ b/sdk/constructive-cli/src/admin/orm/query/index.ts @@ -24,16 +24,16 @@ export interface OrgIsManagerOfVariables { pUserId?: string; pMaxDepth?: number; } -export interface StepsAchievedVariables { - vlevel?: string; - vroleId?: string; -} export interface AppPermissionsGetMaskVariables { ids?: string[]; } export interface OrgPermissionsGetMaskVariables { ids?: string[]; } +export interface StepsAchievedVariables { + vlevel?: string; + vroleId?: string; +} export interface AppPermissionsGetMaskByNamesVariables { names?: string[]; } @@ -178,56 +178,52 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - stepsAchieved: ( - args: StepsAchievedVariables, + appPermissionsGetMask: ( + args: AppPermissionsGetMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - stepsAchieved: boolean | null; + appPermissionsGetMask: string | null; }>({ client, operation: 'query', - operationName: 'StepsAchieved', - fieldName: 'stepsAchieved', + operationName: 'AppPermissionsGetMask', + fieldName: 'appPermissionsGetMask', ...buildCustomDocument( 'query', - 'StepsAchieved', - 'stepsAchieved', + 'AppPermissionsGetMask', + 'appPermissionsGetMask', options?.select, args, [ { - name: 'vlevel', - type: 'String', - }, - { - name: 'vroleId', - type: 'UUID', + name: 'ids', + type: '[UUID]', }, ], connectionFieldsMap, undefined ), }), - appPermissionsGetMask: ( - args: AppPermissionsGetMaskVariables, + orgPermissionsGetMask: ( + args: OrgPermissionsGetMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - appPermissionsGetMask: string | null; + orgPermissionsGetMask: string | null; }>({ client, operation: 'query', - operationName: 'AppPermissionsGetMask', - fieldName: 'appPermissionsGetMask', + operationName: 'OrgPermissionsGetMask', + fieldName: 'orgPermissionsGetMask', ...buildCustomDocument( 'query', - 'AppPermissionsGetMask', - 'appPermissionsGetMask', + 'OrgPermissionsGetMask', + 'orgPermissionsGetMask', options?.select, args, [ @@ -240,29 +236,33 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - orgPermissionsGetMask: ( - args: OrgPermissionsGetMaskVariables, + stepsAchieved: ( + args: StepsAchievedVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - orgPermissionsGetMask: string | null; + stepsAchieved: boolean | null; }>({ client, operation: 'query', - operationName: 'OrgPermissionsGetMask', - fieldName: 'orgPermissionsGetMask', + operationName: 'StepsAchieved', + fieldName: 'stepsAchieved', ...buildCustomDocument( 'query', - 'OrgPermissionsGetMask', - 'orgPermissionsGetMask', + 'StepsAchieved', + 'stepsAchieved', options?.select, args, [ { - name: 'ids', - type: '[UUID]', + name: 'vlevel', + type: 'String', + }, + { + name: 'vroleId', + type: 'UUID', }, ], connectionFieldsMap, diff --git a/sdk/constructive-cli/src/auth/cli/README.md b/sdk/constructive-cli/src/auth/cli/README.md index c8d38e366..b621d67ef 100644 --- a/sdk/constructive-cli/src/auth/cli/README.md +++ b/sdk/constructive-cli/src/auth/cli/README.md @@ -292,8 +292,8 @@ CRUD operations for User records. | `displayNameTrgmSimilarity` | Float | | `searchScore` | Float | -**Required create fields:** `searchTsvRank`, `displayNameTrgmSimilarity`, `searchScore` -**Optional create fields (backend defaults):** `username`, `displayName`, `profilePicture`, `searchTsv`, `type` +**Required create fields:** `searchTsv`, `searchTsvRank`, `displayNameTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `username`, `displayName`, `profilePicture`, `type` ## Custom Operations diff --git a/sdk/constructive-cli/src/auth/cli/commands/user.ts b/sdk/constructive-cli/src/auth/cli/commands/user.ts index f3dd19c53..9bc46685a 100644 --- a/sdk/constructive-cli/src/auth/cli/commands/user.ts +++ b/sdk/constructive-cli/src/auth/cli/commands/user.ts @@ -77,7 +77,6 @@ async function handleList(_argv: Partial>, _prompter: In username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, @@ -112,7 +111,6 @@ async function handleGet(argv: Partial>, prompter: Inqui username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, @@ -152,13 +150,6 @@ async function handleCreate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, - { - type: 'text', - name: 'searchTsv', - message: 'searchTsv', - required: false, - skipPrompt: true, - }, { type: 'text', name: 'type', @@ -176,7 +167,6 @@ async function handleCreate(argv: Partial>, prompter: In username: cleanedData.username, displayName: cleanedData.displayName, profilePicture: cleanedData.profilePicture, - searchTsv: cleanedData.searchTsv, type: cleanedData.type, }, select: { @@ -184,7 +174,6 @@ async function handleCreate(argv: Partial>, prompter: In username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, @@ -230,13 +219,6 @@ async function handleUpdate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, - { - type: 'text', - name: 'searchTsv', - message: 'searchTsv', - required: false, - skipPrompt: true, - }, { type: 'text', name: 'type', @@ -257,7 +239,6 @@ async function handleUpdate(argv: Partial>, prompter: In username: cleanedData.username, displayName: cleanedData.displayName, profilePicture: cleanedData.profilePicture, - searchTsv: cleanedData.searchTsv, type: cleanedData.type, }, select: { @@ -265,7 +246,6 @@ async function handleUpdate(argv: Partial>, prompter: In username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, diff --git a/sdk/constructive-cli/src/auth/orm/input-types.ts b/sdk/constructive-cli/src/auth/orm/input-types.ts index 0f48b534f..ba9c684f2 100644 --- a/sdk/constructive-cli/src/auth/orm/input-types.ts +++ b/sdk/constructive-cli/src/auth/orm/input-types.ts @@ -894,7 +894,6 @@ export interface CreateUserInput { username?: string; displayName?: string; profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; type?: number; }; } diff --git a/sdk/constructive-cli/src/public/cli/README.md b/sdk/constructive-cli/src/public/cli/README.md index 2c205b056..8d277d8f1 100644 --- a/sdk/constructive-cli/src/public/cli/README.md +++ b/sdk/constructive-cli/src/public/cli/README.md @@ -29,9 +29,9 @@ csdk auth set-token | `org-get-managers-record` | orgGetManagersRecord CRUD operations | | `org-get-subordinates-record` | orgGetSubordinatesRecord CRUD operations | | `get-all-record` | getAllRecord CRUD operations | +| `object` | object CRUD operations | | `app-permission` | appPermission CRUD operations | | `org-permission` | orgPermission CRUD operations | -| `object` | object CRUD operations | | `app-level-requirement` | appLevelRequirement CRUD operations | | `database` | database CRUD operations | | `schema` | schema CRUD operations | @@ -117,17 +117,17 @@ csdk auth set-token | `connected-account` | connectedAccount CRUD operations | | `node-type-registry` | nodeTypeRegistry CRUD operations | | `membership-type` | membershipType CRUD operations | +| `commit` | commit 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 | | `sql-migration` | sqlMigration CRUD operations | | `email` | email CRUD operations | +| `user` | user CRUD operations | | `ast-migration` | astMigration CRUD operations | | `app-membership` | appMembership CRUD operations | -| `user` | user CRUD operations | | `hierarchy-module` | hierarchyModule CRUD operations | | `current-user-id` | currentUserId | | `current-ip-address` | currentIpAddress | @@ -141,11 +141,11 @@ csdk auth set-token | `org-permissions-get-mask` | orgPermissionsGetMask | | `app-permissions-get-mask-by-names` | appPermissionsGetMaskByNames | | `org-permissions-get-mask-by-names` | orgPermissionsGetMaskByNames | -| `app-permissions-get-by-mask` | Reads and enables pagination through a set of `AppPermission`. | -| `org-permissions-get-by-mask` | Reads and enables pagination through a set of `OrgPermission`. | | `get-all-objects-from-root` | Reads and enables pagination through a set of `Object`. | | `get-path-objects-from-root` | Reads and enables pagination through a set of `Object`. | | `get-object-at-path` | getObjectAtPath | +| `app-permissions-get-by-mask` | Reads and enables pagination through a set of `AppPermission`. | +| `org-permissions-get-by-mask` | Reads and enables pagination through a set of `OrgPermission`. | | `steps-required` | Reads and enables pagination through a set of `AppLevelRequirement`. | | `current-user` | currentUser | | `sign-out` | signOut | @@ -158,12 +158,17 @@ csdk auth set-token | `confirm-delete-account` | confirmDeleteAccount | | `set-password` | setPassword | | `verify-email` | verifyEmail | +| `remove-node-at-path` | removeNodeAtPath | | `reset-password` | resetPassword | | `bootstrap-user` | bootstrapUser | -| `remove-node-at-path` | removeNodeAtPath | +| `set-field-order` | setFieldOrder | | `set-data-at-path` | setDataAtPath | | `set-props-and-commit` | setPropsAndCommit | | `provision-database-with-user` | provisionDatabaseWithUser | +| `insert-node-at-path` | insertNodeAtPath | +| `update-node-at-path` | updateNodeAtPath | +| `set-and-commit` | setAndCommit | +| `apply-rls` | applyRls | | `sign-in-one-time-token` | signInOneTimeToken | | `create-user-database` | Creates a new user database with all required modules, permissions, and RLS policies. @@ -185,12 +190,7 @@ Example usage: | `extend-token-expires` | extendTokenExpires | | `sign-in` | signIn | | `sign-up` | signUp | -| `set-field-order` | setFieldOrder | | `one-time-token` | oneTimeToken | -| `insert-node-at-path` | insertNodeAtPath | -| `update-node-at-path` | updateNodeAtPath | -| `set-and-commit` | setAndCommit | -| `apply-rls` | applyRls | | `forgot-password` | forgotPassword | | `send-verification-email` | sendVerificationEmail | | `verify-password` | verifyPassword | @@ -300,6 +300,34 @@ CRUD operations for GetAllRecord records. **Required create fields:** `path`, `data` +### `object` + +CRUD operations for Object records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all object records | +| `get` | Get a object by id | +| `create` | Create a new object | +| `update` | Update an existing object | +| `delete` | Delete a object | + +**Fields:** + +| Field | Type | +|-------|------| +| `hashUuid` | UUID | +| `id` | UUID | +| `databaseId` | UUID | +| `kids` | UUID | +| `ktree` | String | +| `data` | JSON | +| `frzn` | Boolean | +| `createdAt` | Datetime | + +**Required create fields:** `hashUuid`, `databaseId` +**Optional create fields (backend defaults):** `kids`, `ktree`, `data`, `frzn` + ### `app-permission` CRUD operations for AppPermission records. @@ -354,34 +382,6 @@ CRUD operations for OrgPermission records. **Required create fields:** `descriptionTrgmSimilarity`, `searchScore` **Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description` -### `object` - -CRUD operations for Object records. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all object records | -| `get` | Get a object by id | -| `create` | Create a new object | -| `update` | Update an existing object | -| `delete` | Delete a object | - -**Fields:** - -| Field | Type | -|-------|------| -| `hashUuid` | UUID | -| `id` | UUID | -| `databaseId` | UUID | -| `kids` | UUID | -| `ktree` | String | -| `data` | JSON | -| `frzn` | Boolean | -| `createdAt` | Datetime | - -**Required create fields:** `hashUuid`, `databaseId` -**Optional create fields (backend defaults):** `kids`, `ktree`, `data`, `frzn` - ### `app-level-requirement` CRUD operations for AppLevelRequirement records. @@ -3172,6 +3172,37 @@ CRUD operations for MembershipType records. **Required create fields:** `name`, `description`, `prefix`, `descriptionTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore` +### `commit` + +CRUD operations for Commit records. + +| Subcommand | Description | +|------------|-------------| +| `list` | List all commit records | +| `get` | Get a commit by id | +| `create` | Create a new commit | +| `update` | Update an existing commit | +| `delete` | Delete a commit | + +**Fields:** + +| Field | Type | +|-------|------| +| `id` | UUID | +| `message` | String | +| `databaseId` | UUID | +| `storeId` | UUID | +| `parentIds` | UUID | +| `authorId` | UUID | +| `committerId` | UUID | +| `treeId` | UUID | +| `date` | Datetime | +| `messageTrgmSimilarity` | Float | +| `searchScore` | Float | + +**Required create fields:** `databaseId`, `storeId`, `messageTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `message`, `parentIds`, `authorId`, `committerId`, `treeId`, `date` + ### `app-membership-default` CRUD operations for AppMembershipDefault records. @@ -3234,37 +3265,6 @@ CRUD operations for RlsModule records. **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. - -| Subcommand | Description | -|------------|-------------| -| `list` | List all commit records | -| `get` | Get a commit by id | -| `create` | Create a new commit | -| `update` | Update an existing commit | -| `delete` | Delete a commit | - -**Fields:** - -| Field | Type | -|-------|------| -| `id` | UUID | -| `message` | String | -| `databaseId` | UUID | -| `storeId` | UUID | -| `parentIds` | UUID | -| `authorId` | UUID | -| `committerId` | UUID | -| `treeId` | UUID | -| `date` | Datetime | -| `messageTrgmSimilarity` | Float | -| `searchScore` | Float | - -**Required create fields:** `databaseId`, `storeId`, `messageTrgmSimilarity`, `searchScore` -**Optional create fields (backend defaults):** `message`, `parentIds`, `authorId`, `committerId`, `treeId`, `date` - ### `org-membership-default` CRUD operations for OrgMembershipDefault records. @@ -3420,6 +3420,37 @@ CRUD operations for Email records. **Required create fields:** `email` **Optional create fields (backend defaults):** `ownerId`, `isVerified`, `isPrimary` +### `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:** `searchTsv`, `searchTsvRank`, `displayNameTrgmSimilarity`, `searchScore` +**Optional create fields (backend defaults):** `username`, `displayName`, `profilePicture`, `type` + ### `ast-migration` CRUD operations for AstMigration records. @@ -3491,37 +3522,6 @@ 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. @@ -3701,78 +3701,78 @@ orgPermissionsGetMaskByNames |----------|------| | `--names` | String | -### `app-permissions-get-by-mask` +### `get-all-objects-from-root` -Reads and enables pagination through a set of `AppPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--mask` | BitString | + | `--databaseId` | UUID | + | `--id` | UUID | | `--first` | Int | | `--offset` | Int | | `--after` | Cursor | -### `org-permissions-get-by-mask` +### `get-path-objects-from-root` -Reads and enables pagination through a set of `OrgPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--mask` | BitString | + | `--databaseId` | UUID | + | `--id` | UUID | + | `--path` | String | | `--first` | Int | | `--offset` | Int | | `--after` | Cursor | -### `get-all-objects-from-root` +### `get-object-at-path` -Reads and enables pagination through a set of `Object`. +getObjectAtPath - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--databaseId` | UUID | - | `--id` | UUID | - | `--first` | Int | - | `--offset` | Int | - | `--after` | Cursor | + | `--dbId` | UUID | + | `--storeId` | UUID | + | `--path` | String | + | `--refname` | String | -### `get-path-objects-from-root` +### `app-permissions-get-by-mask` -Reads and enables pagination through a set of `Object`. +Reads and enables pagination through a set of `AppPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--databaseId` | UUID | - | `--id` | UUID | - | `--path` | String | + | `--mask` | BitString | | `--first` | Int | | `--offset` | Int | | `--after` | Cursor | -### `get-object-at-path` +### `org-permissions-get-by-mask` -getObjectAtPath +Reads and enables pagination through a set of `OrgPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `--dbId` | UUID | - | `--storeId` | UUID | - | `--path` | String | - | `--refname` | String | + | `--mask` | BitString | + | `--first` | Int | + | `--offset` | Int | + | `--after` | Cursor | ### `steps-required` @@ -3919,6 +3919,20 @@ verifyEmail | `--input.emailId` | UUID | | `--input.token` | String | +### `remove-node-at-path` + +removeNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `--input.clientMutationId` | String | + | `--input.dbId` | UUID | + | `--input.root` | UUID | + | `--input.path` | String | + ### `reset-password` resetPassword @@ -3951,9 +3965,9 @@ bootstrapUser | `--input.displayName` | String | | `--input.returnApiKey` | Boolean | -### `remove-node-at-path` +### `set-field-order` -removeNodeAtPath +setFieldOrder - **Type:** mutation - **Arguments:** @@ -3961,9 +3975,7 @@ removeNodeAtPath | Argument | Type | |----------|------| | `--input.clientMutationId` | String | - | `--input.dbId` | UUID | - | `--input.root` | UUID | - | `--input.path` | String | + | `--input.fieldIds` | UUID | ### `set-data-at-path` @@ -4012,6 +4024,76 @@ provisionDatabaseWithUser | `--input.pModules` | String | | `--input.pOptions` | JSON | +### `insert-node-at-path` + +insertNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `--input.clientMutationId` | String | + | `--input.dbId` | UUID | + | `--input.root` | UUID | + | `--input.path` | String | + | `--input.data` | JSON | + | `--input.kids` | UUID | + | `--input.ktree` | String | + +### `update-node-at-path` + +updateNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `--input.clientMutationId` | String | + | `--input.dbId` | UUID | + | `--input.root` | UUID | + | `--input.path` | String | + | `--input.data` | JSON | + | `--input.kids` | UUID | + | `--input.ktree` | String | + +### `set-and-commit` + +setAndCommit + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `--input.clientMutationId` | String | + | `--input.dbId` | UUID | + | `--input.storeId` | UUID | + | `--input.refname` | String | + | `--input.path` | String | + | `--input.data` | JSON | + | `--input.kids` | UUID | + | `--input.ktree` | String | + +### `apply-rls` + +applyRls + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `--input.clientMutationId` | String | + | `--input.tableId` | UUID | + | `--input.grants` | JSON | + | `--input.policyType` | String | + | `--input.vars` | JSON | + | `--input.fieldIds` | UUID | + | `--input.permissive` | Boolean | + | `--input.name` | String | + ### `sign-in-one-time-token` signInOneTimeToken @@ -4103,18 +4185,6 @@ signUp | `--input.credentialKind` | String | | `--input.csrfToken` | String | -### `set-field-order` - -setFieldOrder - -- **Type:** mutation -- **Arguments:** - - | Argument | Type | - |----------|------| - | `--input.clientMutationId` | String | - | `--input.fieldIds` | UUID | - ### `one-time-token` oneTimeToken @@ -4130,76 +4200,6 @@ oneTimeToken | `--input.origin` | Origin | | `--input.rememberMe` | Boolean | -### `insert-node-at-path` - -insertNodeAtPath - -- **Type:** mutation -- **Arguments:** - - | Argument | Type | - |----------|------| - | `--input.clientMutationId` | String | - | `--input.dbId` | UUID | - | `--input.root` | UUID | - | `--input.path` | String | - | `--input.data` | JSON | - | `--input.kids` | UUID | - | `--input.ktree` | String | - -### `update-node-at-path` - -updateNodeAtPath - -- **Type:** mutation -- **Arguments:** - - | Argument | Type | - |----------|------| - | `--input.clientMutationId` | String | - | `--input.dbId` | UUID | - | `--input.root` | UUID | - | `--input.path` | String | - | `--input.data` | JSON | - | `--input.kids` | UUID | - | `--input.ktree` | String | - -### `set-and-commit` - -setAndCommit - -- **Type:** mutation -- **Arguments:** - - | Argument | Type | - |----------|------| - | `--input.clientMutationId` | String | - | `--input.dbId` | UUID | - | `--input.storeId` | UUID | - | `--input.refname` | String | - | `--input.path` | String | - | `--input.data` | JSON | - | `--input.kids` | UUID | - | `--input.ktree` | String | - -### `apply-rls` - -applyRls - -- **Type:** mutation -- **Arguments:** - - | Argument | Type | - |----------|------| - | `--input.clientMutationId` | String | - | `--input.tableId` | UUID | - | `--input.grants` | JSON | - | `--input.policyType` | String | - | `--input.vars` | JSON | - | `--input.fieldIds` | UUID | - | `--input.permissive` | Boolean | - | `--input.name` | String | - ### `forgot-password` forgotPassword diff --git a/sdk/constructive-cli/src/public/cli/commands.ts b/sdk/constructive-cli/src/public/cli/commands.ts index bf9e77146..269b3e521 100644 --- a/sdk/constructive-cli/src/public/cli/commands.ts +++ b/sdk/constructive-cli/src/public/cli/commands.ts @@ -9,9 +9,9 @@ import authCmd from './commands/auth'; import orgGetManagersRecordCmd from './commands/org-get-managers-record'; import orgGetSubordinatesRecordCmd from './commands/org-get-subordinates-record'; import getAllRecordCmd from './commands/get-all-record'; +import objectCmd from './commands/object'; import appPermissionCmd from './commands/app-permission'; import orgPermissionCmd from './commands/org-permission'; -import objectCmd from './commands/object'; import appLevelRequirementCmd from './commands/app-level-requirement'; import databaseCmd from './commands/database'; import schemaCmd from './commands/schema'; @@ -97,17 +97,17 @@ import orgLimitDefaultCmd from './commands/org-limit-default'; import connectedAccountCmd from './commands/connected-account'; import nodeTypeRegistryCmd from './commands/node-type-registry'; import membershipTypeCmd from './commands/membership-type'; +import commitCmd from './commands/commit'; 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 sqlMigrationCmd from './commands/sql-migration'; import emailCmd from './commands/email'; +import userCmd from './commands/user'; import astMigrationCmd from './commands/ast-migration'; 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'; @@ -121,11 +121,11 @@ import appPermissionsGetMaskCmd from './commands/app-permissions-get-mask'; import orgPermissionsGetMaskCmd from './commands/org-permissions-get-mask'; import appPermissionsGetMaskByNamesCmd from './commands/app-permissions-get-mask-by-names'; import orgPermissionsGetMaskByNamesCmd from './commands/org-permissions-get-mask-by-names'; -import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask'; -import orgPermissionsGetByMaskCmd from './commands/org-permissions-get-by-mask'; import getAllObjectsFromRootCmd from './commands/get-all-objects-from-root'; import getPathObjectsFromRootCmd from './commands/get-path-objects-from-root'; import getObjectAtPathCmd from './commands/get-object-at-path'; +import appPermissionsGetByMaskCmd from './commands/app-permissions-get-by-mask'; +import orgPermissionsGetByMaskCmd from './commands/org-permissions-get-by-mask'; import stepsRequiredCmd from './commands/steps-required'; import currentUserCmd from './commands/current-user'; import signOutCmd from './commands/sign-out'; @@ -138,23 +138,23 @@ import initEmptyRepoCmd from './commands/init-empty-repo'; import confirmDeleteAccountCmd from './commands/confirm-delete-account'; import setPasswordCmd from './commands/set-password'; import verifyEmailCmd from './commands/verify-email'; +import removeNodeAtPathCmd from './commands/remove-node-at-path'; import resetPasswordCmd from './commands/reset-password'; import bootstrapUserCmd from './commands/bootstrap-user'; -import removeNodeAtPathCmd from './commands/remove-node-at-path'; +import setFieldOrderCmd from './commands/set-field-order'; import setDataAtPathCmd from './commands/set-data-at-path'; import setPropsAndCommitCmd from './commands/set-props-and-commit'; import provisionDatabaseWithUserCmd from './commands/provision-database-with-user'; +import insertNodeAtPathCmd from './commands/insert-node-at-path'; +import updateNodeAtPathCmd from './commands/update-node-at-path'; +import setAndCommitCmd from './commands/set-and-commit'; +import applyRlsCmd from './commands/apply-rls'; import signInOneTimeTokenCmd from './commands/sign-in-one-time-token'; import createUserDatabaseCmd from './commands/create-user-database'; import extendTokenExpiresCmd from './commands/extend-token-expires'; import signInCmd from './commands/sign-in'; import signUpCmd from './commands/sign-up'; -import setFieldOrderCmd from './commands/set-field-order'; import oneTimeTokenCmd from './commands/one-time-token'; -import insertNodeAtPathCmd from './commands/insert-node-at-path'; -import updateNodeAtPathCmd from './commands/update-node-at-path'; -import setAndCommitCmd from './commands/set-and-commit'; -import applyRlsCmd from './commands/apply-rls'; import forgotPasswordCmd from './commands/forgot-password'; import sendVerificationEmailCmd from './commands/send-verification-email'; import verifyPasswordCmd from './commands/verify-password'; @@ -172,9 +172,9 @@ const createCommandMap: () => Record< 'org-get-managers-record': orgGetManagersRecordCmd, 'org-get-subordinates-record': orgGetSubordinatesRecordCmd, 'get-all-record': getAllRecordCmd, + object: objectCmd, 'app-permission': appPermissionCmd, 'org-permission': orgPermissionCmd, - object: objectCmd, 'app-level-requirement': appLevelRequirementCmd, database: databaseCmd, schema: schemaCmd, @@ -260,17 +260,17 @@ const createCommandMap: () => Record< 'connected-account': connectedAccountCmd, 'node-type-registry': nodeTypeRegistryCmd, 'membership-type': membershipTypeCmd, + commit: commitCmd, 'app-membership-default': appMembershipDefaultCmd, 'rls-module': rlsModuleCmd, - commit: commitCmd, 'org-membership-default': orgMembershipDefaultCmd, 'audit-log': auditLogCmd, 'app-level': appLevelCmd, 'sql-migration': sqlMigrationCmd, email: emailCmd, + user: userCmd, 'ast-migration': astMigrationCmd, 'app-membership': appMembershipCmd, - user: userCmd, 'hierarchy-module': hierarchyModuleCmd, 'current-user-id': currentUserIdCmd, 'current-ip-address': currentIpAddressCmd, @@ -284,11 +284,11 @@ const createCommandMap: () => Record< 'org-permissions-get-mask': orgPermissionsGetMaskCmd, 'app-permissions-get-mask-by-names': appPermissionsGetMaskByNamesCmd, 'org-permissions-get-mask-by-names': orgPermissionsGetMaskByNamesCmd, - 'app-permissions-get-by-mask': appPermissionsGetByMaskCmd, - 'org-permissions-get-by-mask': orgPermissionsGetByMaskCmd, 'get-all-objects-from-root': getAllObjectsFromRootCmd, 'get-path-objects-from-root': getPathObjectsFromRootCmd, 'get-object-at-path': getObjectAtPathCmd, + 'app-permissions-get-by-mask': appPermissionsGetByMaskCmd, + 'org-permissions-get-by-mask': orgPermissionsGetByMaskCmd, 'steps-required': stepsRequiredCmd, 'current-user': currentUserCmd, 'sign-out': signOutCmd, @@ -301,30 +301,30 @@ const createCommandMap: () => Record< 'confirm-delete-account': confirmDeleteAccountCmd, 'set-password': setPasswordCmd, 'verify-email': verifyEmailCmd, + 'remove-node-at-path': removeNodeAtPathCmd, 'reset-password': resetPasswordCmd, 'bootstrap-user': bootstrapUserCmd, - 'remove-node-at-path': removeNodeAtPathCmd, + 'set-field-order': setFieldOrderCmd, 'set-data-at-path': setDataAtPathCmd, 'set-props-and-commit': setPropsAndCommitCmd, 'provision-database-with-user': provisionDatabaseWithUserCmd, + 'insert-node-at-path': insertNodeAtPathCmd, + 'update-node-at-path': updateNodeAtPathCmd, + 'set-and-commit': setAndCommitCmd, + 'apply-rls': applyRlsCmd, 'sign-in-one-time-token': signInOneTimeTokenCmd, 'create-user-database': createUserDatabaseCmd, 'extend-token-expires': extendTokenExpiresCmd, 'sign-in': signInCmd, 'sign-up': signUpCmd, - 'set-field-order': setFieldOrderCmd, 'one-time-token': oneTimeTokenCmd, - 'insert-node-at-path': insertNodeAtPathCmd, - 'update-node-at-path': updateNodeAtPathCmd, - 'set-and-commit': setAndCommitCmd, - 'apply-rls': applyRlsCmd, 'forgot-password': forgotPasswordCmd, 'send-verification-email': sendVerificationEmailCmd, 'verify-password': verifyPasswordCmd, '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-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"; + "\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 object object CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission 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 commit commit CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n rls-module rlsModule 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 user user CRUD operations\n ast-migration astMigration 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 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 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 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 remove-node-at-path removeNodeAtPath\n reset-password resetPassword\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n apply-rls applyRls\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 one-time-token oneTimeToken\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/user.ts b/sdk/constructive-cli/src/public/cli/commands/user.ts index f3dd19c53..9bc46685a 100644 --- a/sdk/constructive-cli/src/public/cli/commands/user.ts +++ b/sdk/constructive-cli/src/public/cli/commands/user.ts @@ -77,7 +77,6 @@ async function handleList(_argv: Partial>, _prompter: In username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, @@ -112,7 +111,6 @@ async function handleGet(argv: Partial>, prompter: Inqui username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, @@ -152,13 +150,6 @@ async function handleCreate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, - { - type: 'text', - name: 'searchTsv', - message: 'searchTsv', - required: false, - skipPrompt: true, - }, { type: 'text', name: 'type', @@ -176,7 +167,6 @@ async function handleCreate(argv: Partial>, prompter: In username: cleanedData.username, displayName: cleanedData.displayName, profilePicture: cleanedData.profilePicture, - searchTsv: cleanedData.searchTsv, type: cleanedData.type, }, select: { @@ -184,7 +174,6 @@ async function handleCreate(argv: Partial>, prompter: In username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, @@ -230,13 +219,6 @@ async function handleUpdate(argv: Partial>, prompter: In required: false, skipPrompt: true, }, - { - type: 'text', - name: 'searchTsv', - message: 'searchTsv', - required: false, - skipPrompt: true, - }, { type: 'text', name: 'type', @@ -257,7 +239,6 @@ async function handleUpdate(argv: Partial>, prompter: In username: cleanedData.username, displayName: cleanedData.displayName, profilePicture: cleanedData.profilePicture, - searchTsv: cleanedData.searchTsv, type: cleanedData.type, }, select: { @@ -265,7 +246,6 @@ async function handleUpdate(argv: Partial>, prompter: In username: true, displayName: true, profilePicture: true, - searchTsv: true, type: true, createdAt: true, updatedAt: true, diff --git a/sdk/constructive-cli/src/public/orm/README.md b/sdk/constructive-cli/src/public/orm/README.md index 091da1716..3433a90fc 100644 --- a/sdk/constructive-cli/src/public/orm/README.md +++ b/sdk/constructive-cli/src/public/orm/README.md @@ -24,9 +24,9 @@ const db = createClient({ | `orgGetManagersRecord` | findMany, findOne, create, update, delete | | `orgGetSubordinatesRecord` | findMany, findOne, create, update, delete | | `getAllRecord` | findMany, findOne, create, update, delete | +| `object` | findMany, findOne, create, update, delete | | `appPermission` | findMany, findOne, create, update, delete | | `orgPermission` | findMany, findOne, create, update, delete | -| `object` | findMany, findOne, create, update, delete | | `appLevelRequirement` | findMany, findOne, create, update, delete | | `database` | findMany, findOne, create, update, delete | | `schema` | findMany, findOne, create, update, delete | @@ -112,17 +112,17 @@ const db = createClient({ | `connectedAccount` | findMany, findOne, create, update, delete | | `nodeTypeRegistry` | findMany, findOne, create, update, delete | | `membershipType` | findMany, findOne, create, update, delete | +| `commit` | 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 | | `sqlMigration` | findMany, findOne, create, update, delete | | `email` | findMany, findOne, create, update, delete | +| `user` | findMany, findOne, create, update, delete | | `astMigration` | 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 @@ -217,6 +217,42 @@ const updated = await db.getAllRecord.update({ where: { id: '' }, data: { const deleted = await db.getAllRecord.delete({ where: { id: '' } }).execute(); ``` +### `db.object` + +CRUD operations for Object records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `hashUuid` | UUID | Yes | +| `id` | UUID | No | +| `databaseId` | UUID | Yes | +| `kids` | UUID | Yes | +| `ktree` | String | Yes | +| `data` | JSON | Yes | +| `frzn` | Boolean | Yes | +| `createdAt` | Datetime | No | + +**Operations:** + +```typescript +// List all object records +const items = await db.object.findMany({ select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); + +// Get one by id +const item = await db.object.findOne({ id: '', select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); + +// Create +const created = await db.object.create({ data: { hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }, select: { id: true } }).execute(); + +// Update +const updated = await db.object.update({ where: { id: '' }, data: { hashUuid: '' }, select: { id: true } }).execute(); + +// Delete +const deleted = await db.object.delete({ where: { id: '' } }).execute(); +``` + ### `db.appPermission` CRUD operations for AppPermission records. @@ -287,42 +323,6 @@ const updated = await db.orgPermission.update({ where: { id: '' }, data: const deleted = await db.orgPermission.delete({ where: { id: '' } }).execute(); ``` -### `db.object` - -CRUD operations for Object records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `hashUuid` | UUID | Yes | -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `kids` | UUID | Yes | -| `ktree` | String | Yes | -| `data` | JSON | Yes | -| `frzn` | Boolean | Yes | -| `createdAt` | Datetime | No | - -**Operations:** - -```typescript -// List all object records -const items = await db.object.findMany({ select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); - -// Get one by id -const item = await db.object.findOne({ id: '', select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); - -// Create -const created = await db.object.create({ data: { hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.object.update({ where: { id: '' }, data: { hashUuid: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.object.delete({ where: { id: '' } }).execute(); -``` - ### `db.appLevelRequirement` CRUD operations for AppLevelRequirement records. @@ -3802,6 +3802,45 @@ const updated = await db.membershipType.update({ where: { id: '' }, data: const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` +### `db.commit` + +CRUD operations for Commit records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `id` | UUID | No | +| `message` | String | Yes | +| `databaseId` | UUID | Yes | +| `storeId` | UUID | Yes | +| `parentIds` | UUID | Yes | +| `authorId` | UUID | Yes | +| `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, 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, messageTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +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(); + +// Delete +const deleted = await db.commit.delete({ where: { id: '' } }).execute(); +``` + ### `db.appMembershipDefault` CRUD operations for AppMembershipDefault records. @@ -3881,45 +3920,6 @@ const updated = await db.rlsModule.update({ where: { id: '' }, data: { da const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); ``` -### `db.commit` - -CRUD operations for Commit records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `message` | String | Yes | -| `databaseId` | UUID | Yes | -| `storeId` | UUID | Yes | -| `parentIds` | UUID | Yes | -| `authorId` | UUID | Yes | -| `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, 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, messageTrgmSimilarity: true, searchScore: true } }).execute(); - -// Create -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(); - -// Delete -const deleted = await db.commit.delete({ where: { id: '' } }).execute(); -``` - ### `db.orgMembershipDefault` CRUD operations for OrgMembershipDefault records. @@ -4115,6 +4115,45 @@ const updated = await db.email.update({ where: { id: '' }, data: { ownerI const deleted = await db.email.delete({ where: { id: '' } }).execute(); ``` +### `db.user` + +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 | +| `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, 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, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +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(); + +// Delete +const deleted = await db.user.delete({ where: { id: '' } }).execute(); +``` + ### `db.astMigration` CRUD operations for AstMigration records. @@ -4202,45 +4241,6 @@ const updated = await db.appMembership.update({ where: { id: '' }, data: const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.user` - -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 | -| `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, 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, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); - -// Create -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(); - -// Delete -const deleted = await db.user.delete({ where: { id: '' } }).execute(); -``` - ### `db.hierarchyModule` CRUD operations for HierarchyModule records. @@ -4476,97 +4476,97 @@ orgPermissionsGetMaskByNames const result = await db.query.orgPermissionsGetMaskByNames({ names: '' }).execute(); ``` -### `db.query.appPermissionsGetByMask` +### `db.query.getAllObjectsFromRoot` -Reads and enables pagination through a set of `AppPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.appPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getAllObjectsFromRoot({ databaseId: '', id: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.orgPermissionsGetByMask` +### `db.query.getPathObjectsFromRoot` -Reads and enables pagination through a set of `OrgPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | + | `path` | [String] | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.orgPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getPathObjectsFromRoot({ databaseId: '', id: '', path: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.getAllObjectsFromRoot` +### `db.query.getObjectAtPath` -Reads and enables pagination through a set of `Object`. +getObjectAtPath - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `first` | Int | - | `offset` | Int | - | `after` | Cursor | + | `dbId` | UUID | + | `storeId` | UUID | + | `path` | [String] | + | `refname` | String | ```typescript -const result = await db.query.getAllObjectsFromRoot({ databaseId: '', id: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getObjectAtPath({ dbId: '', storeId: '', path: '', refname: '' }).execute(); ``` -### `db.query.getPathObjectsFromRoot` +### `db.query.appPermissionsGetByMask` -Reads and enables pagination through a set of `Object`. +Reads and enables pagination through a set of `AppPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `path` | [String] | + | `mask` | BitString | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.getPathObjectsFromRoot({ databaseId: '', id: '', path: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.appPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.getObjectAtPath` +### `db.query.orgPermissionsGetByMask` -getObjectAtPath +Reads and enables pagination through a set of `OrgPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `dbId` | UUID | - | `storeId` | UUID | - | `path` | [String] | - | `refname` | String | + | `mask` | BitString | + | `first` | Int | + | `offset` | Int | + | `after` | Cursor | ```typescript -const result = await db.query.getObjectAtPath({ dbId: '', storeId: '', path: '', refname: '' }).execute(); +const result = await db.query.orgPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); ``` ### `db.query.stepsRequired` @@ -4749,6 +4749,21 @@ verifyEmail const result = await db.mutation.verifyEmail({ input: '' }).execute(); ``` +### `db.mutation.removeNodeAtPath` + +removeNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `input` | RemoveNodeAtPathInput (required) | + +```typescript +const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +``` + ### `db.mutation.resetPassword` resetPassword @@ -4779,19 +4794,19 @@ bootstrapUser const result = await db.mutation.bootstrapUser({ input: '' }).execute(); ``` -### `db.mutation.removeNodeAtPath` +### `db.mutation.setFieldOrder` -removeNodeAtPath +setFieldOrder - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | SetFieldOrderInput (required) | ```typescript -const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.setFieldOrder({ input: '' }).execute(); ``` ### `db.mutation.setDataAtPath` @@ -4839,185 +4854,170 @@ provisionDatabaseWithUser const result = await db.mutation.provisionDatabaseWithUser({ input: '' }).execute(); ``` -### `db.mutation.signInOneTimeToken` +### `db.mutation.insertNodeAtPath` -signInOneTimeToken +insertNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInOneTimeTokenInput (required) | + | `input` | InsertNodeAtPathInput (required) | ```typescript -const result = await db.mutation.signInOneTimeToken({ input: '' }).execute(); +const result = await db.mutation.insertNodeAtPath({ input: '' }).execute(); ``` -### `db.mutation.createUserDatabase` - -Creates a new user database with all required modules, permissions, and RLS policies. - -Parameters: - - database_name: Name for the new database (required) - - owner_id: UUID of the owner user (required) - - include_invites: Include invite system (default: true) - - include_groups: Include group-level memberships (default: false) - - include_levels: Include levels/achievements (default: false) - - bitlen: Bit length for permission masks (default: 64) - - tokens_expiration: Token expiration interval (default: 30 days) - -Returns the database_id UUID of the newly created database. - -Example usage: - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups +### `db.mutation.updateNodeAtPath` +updateNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | CreateUserDatabaseInput (required) | + | `input` | UpdateNodeAtPathInput (required) | ```typescript -const result = await db.mutation.createUserDatabase({ input: '' }).execute(); +const result = await db.mutation.updateNodeAtPath({ input: '' }).execute(); ``` -### `db.mutation.extendTokenExpires` +### `db.mutation.setAndCommit` -extendTokenExpires +setAndCommit - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ExtendTokenExpiresInput (required) | + | `input` | SetAndCommitInput (required) | ```typescript -const result = await db.mutation.extendTokenExpires({ input: '' }).execute(); +const result = await db.mutation.setAndCommit({ input: '' }).execute(); ``` -### `db.mutation.signIn` +### `db.mutation.applyRls` -signIn +applyRls - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInInput (required) | + | `input` | ApplyRlsInput (required) | ```typescript -const result = await db.mutation.signIn({ input: '' }).execute(); +const result = await db.mutation.applyRls({ input: '' }).execute(); ``` -### `db.mutation.signUp` +### `db.mutation.signInOneTimeToken` -signUp +signInOneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignUpInput (required) | + | `input` | SignInOneTimeTokenInput (required) | ```typescript -const result = await db.mutation.signUp({ input: '' }).execute(); +const result = await db.mutation.signInOneTimeToken({ input: '' }).execute(); ``` -### `db.mutation.setFieldOrder` - -setFieldOrder +### `db.mutation.createUserDatabase` -- **Type:** mutation -- **Arguments:** +Creates a new user database with all required modules, permissions, and RLS policies. - | Argument | Type | - |----------|------| - | `input` | SetFieldOrderInput (required) | +Parameters: + - database_name: Name for the new database (required) + - owner_id: UUID of the owner user (required) + - include_invites: Include invite system (default: true) + - include_groups: Include group-level memberships (default: false) + - include_levels: Include levels/achievements (default: false) + - bitlen: Bit length for permission masks (default: 64) + - tokens_expiration: Token expiration interval (default: 30 days) -```typescript -const result = await db.mutation.setFieldOrder({ input: '' }).execute(); -``` +Returns the database_id UUID of the newly created database. -### `db.mutation.oneTimeToken` +Example usage: + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups -oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | OneTimeTokenInput (required) | + | `input` | CreateUserDatabaseInput (required) | ```typescript -const result = await db.mutation.oneTimeToken({ input: '' }).execute(); +const result = await db.mutation.createUserDatabase({ input: '' }).execute(); ``` -### `db.mutation.insertNodeAtPath` +### `db.mutation.extendTokenExpires` -insertNodeAtPath +extendTokenExpires - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | InsertNodeAtPathInput (required) | + | `input` | ExtendTokenExpiresInput (required) | ```typescript -const result = await db.mutation.insertNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.extendTokenExpires({ input: '' }).execute(); ``` -### `db.mutation.updateNodeAtPath` +### `db.mutation.signIn` -updateNodeAtPath +signIn - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | UpdateNodeAtPathInput (required) | + | `input` | SignInInput (required) | ```typescript -const result = await db.mutation.updateNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.signIn({ input: '' }).execute(); ``` -### `db.mutation.setAndCommit` +### `db.mutation.signUp` -setAndCommit +signUp - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SetAndCommitInput (required) | + | `input` | SignUpInput (required) | ```typescript -const result = await db.mutation.setAndCommit({ input: '' }).execute(); +const result = await db.mutation.signUp({ input: '' }).execute(); ``` -### `db.mutation.applyRls` +### `db.mutation.oneTimeToken` -applyRls +oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ApplyRlsInput (required) | + | `input` | OneTimeTokenInput (required) | ```typescript -const result = await db.mutation.applyRls({ input: '' }).execute(); +const result = await db.mutation.oneTimeToken({ input: '' }).execute(); ``` ### `db.mutation.forgotPassword` diff --git a/sdk/constructive-cli/src/public/orm/index.ts b/sdk/constructive-cli/src/public/orm/index.ts index ea4e03fbe..6a3b7a11a 100644 --- a/sdk/constructive-cli/src/public/orm/index.ts +++ b/sdk/constructive-cli/src/public/orm/index.ts @@ -8,9 +8,9 @@ import type { OrmClientConfig } from './client'; import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord'; import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord'; import { GetAllRecordModel } from './models/getAllRecord'; +import { ObjectModel } from './models/object'; import { AppPermissionModel } from './models/appPermission'; import { OrgPermissionModel } from './models/orgPermission'; -import { ObjectModel } from './models/object'; import { AppLevelRequirementModel } from './models/appLevelRequirement'; import { DatabaseModel } from './models/database'; import { SchemaModel } from './models/schema'; @@ -96,17 +96,17 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault'; import { ConnectedAccountModel } from './models/connectedAccount'; import { NodeTypeRegistryModel } from './models/nodeTypeRegistry'; import { MembershipTypeModel } from './models/membershipType'; +import { CommitModel } from './models/commit'; 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 { SqlMigrationModel } from './models/sqlMigration'; import { EmailModel } from './models/email'; +import { UserModel } from './models/user'; import { AstMigrationModel } from './models/astMigration'; import { AppMembershipModel } from './models/appMembership'; -import { UserModel } from './models/user'; import { HierarchyModuleModel } from './models/hierarchyModule'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -147,9 +147,9 @@ export function createClient(config: OrmClientConfig) { orgGetManagersRecord: new OrgGetManagersRecordModel(client), orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client), getAllRecord: new GetAllRecordModel(client), + object: new ObjectModel(client), appPermission: new AppPermissionModel(client), orgPermission: new OrgPermissionModel(client), - object: new ObjectModel(client), appLevelRequirement: new AppLevelRequirementModel(client), database: new DatabaseModel(client), schema: new SchemaModel(client), @@ -235,17 +235,17 @@ export function createClient(config: OrmClientConfig) { connectedAccount: new ConnectedAccountModel(client), nodeTypeRegistry: new NodeTypeRegistryModel(client), membershipType: new MembershipTypeModel(client), + commit: new CommitModel(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), sqlMigration: new SqlMigrationModel(client), email: new EmailModel(client), + user: new UserModel(client), astMigration: new AstMigrationModel(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 57cdc3b90..f4141b254 100644 --- a/sdk/constructive-cli/src/public/orm/input-types.ts +++ b/sdk/constructive-cli/src/public/orm/input-types.ts @@ -252,6 +252,16 @@ export interface GetAllRecord { path?: string | null; data?: Record | null; } +export interface Object { + hashUuid?: string | null; + id: string; + databaseId?: string | null; + kids?: string | null; + ktree?: string | null; + data?: Record | null; + frzn?: boolean | null; + createdAt?: string | null; +} /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface AppPermission { id: string; @@ -284,16 +294,6 @@ export interface OrgPermission { /** Composite search relevance score (0..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; - id: string; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: Record | null; - frzn?: boolean | null; - createdAt?: string | null; -} /** Defines the specific requirements that must be met to achieve a level */ export interface AppLevelRequirement { id: string; @@ -2186,6 +2186,29 @@ export interface MembershipType { /** Composite search relevance score (0..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. */ + id: string; + /** The commit message */ + message?: string | null; + /** The repository identifier */ + databaseId?: string | null; + storeId?: string | null; + /** Parent commits */ + parentIds?: string | null; + /** The author of the commit */ + authorId?: string | null; + /** The committer of the commit */ + committerId?: string | null; + /** 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 AppMembershipDefault { id: string; @@ -2221,29 +2244,6 @@ export interface RlsModule { /** Composite search relevance score (0..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. */ - id: string; - /** The commit message */ - message?: string | null; - /** The repository identifier */ - databaseId?: string | null; - storeId?: string | null; - /** Parent commits */ - parentIds?: string | null; - /** The author of the commit */ - authorId?: string | null; - /** The committer of the commit */ - committerId?: string | null; - /** 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 { id: string; @@ -2342,6 +2342,22 @@ export interface Email { createdAt?: string | null; updatedAt?: 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 AstMigration { id: number; databaseId?: string | null; @@ -2390,22 +2406,6 @@ 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; @@ -2466,9 +2466,9 @@ export interface PageInfo { export interface OrgGetManagersRecordRelations {} export interface OrgGetSubordinatesRecordRelations {} export interface GetAllRecordRelations {} +export interface ObjectRelations {} export interface AppPermissionRelations {} export interface OrgPermissionRelations {} -export interface ObjectRelations {} export interface AppLevelRequirementRelations {} export interface DatabaseRelations { owner?: User | null; @@ -2955,6 +2955,7 @@ export interface ConnectedAccountRelations { } export interface NodeTypeRegistryRelations {} export interface MembershipTypeRelations {} +export interface CommitRelations {} export interface AppMembershipDefaultRelations {} export interface RlsModuleRelations { database?: Database | null; @@ -2964,7 +2965,6 @@ export interface RlsModuleRelations { sessionsTable?: Table | null; usersTable?: Table | null; } -export interface CommitRelations {} export interface OrgMembershipDefaultRelations { entity?: User | null; } @@ -2978,10 +2978,6 @@ export interface SqlMigrationRelations {} export interface EmailRelations { owner?: User | null; } -export interface AstMigrationRelations {} -export interface AppMembershipRelations { - actor?: User | null; -} export interface UserRelations { roleType?: RoleType | null; appMembershipByActorId?: AppMembership | null; @@ -3020,6 +3016,10 @@ export interface UserRelations { orgClaimedInvitesByReceiverId?: ConnectionResult; orgClaimedInvitesBySenderId?: ConnectionResult; } +export interface AstMigrationRelations {} +export interface AppMembershipRelations { + actor?: User | null; +} export interface HierarchyModuleRelations { chartEdgeGrantsTable?: Table | null; chartEdgesTable?: Table | null; @@ -3036,9 +3036,9 @@ export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & export type OrgGetSubordinatesRecordWithRelations = OrgGetSubordinatesRecord & OrgGetSubordinatesRecordRelations; export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations; +export type ObjectWithRelations = Object & ObjectRelations; export type AppPermissionWithRelations = AppPermission & AppPermissionRelations; export type OrgPermissionWithRelations = OrgPermission & OrgPermissionRelations; -export type ObjectWithRelations = Object & ObjectRelations; export type AppLevelRequirementWithRelations = AppLevelRequirement & AppLevelRequirementRelations; export type DatabaseWithRelations = Database & DatabaseRelations; export type SchemaWithRelations = Schema & SchemaRelations; @@ -3135,19 +3135,19 @@ export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRela export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations; export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; +export type CommitWithRelations = Commit & CommitRelations; 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 SqlMigrationWithRelations = SqlMigration & SqlMigrationRelations; export type EmailWithRelations = Email & EmailRelations; +export type UserWithRelations = User & UserRelations; export type AstMigrationWithRelations = AstMigration & AstMigrationRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; -export type UserWithRelations = User & UserRelations; export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -3162,6 +3162,16 @@ export type GetAllRecordSelect = { path?: boolean; data?: boolean; }; +export type ObjectSelect = { + hashUuid?: boolean; + id?: boolean; + databaseId?: boolean; + kids?: boolean; + ktree?: boolean; + data?: boolean; + frzn?: boolean; + createdAt?: boolean; +}; export type AppPermissionSelect = { id?: boolean; name?: boolean; @@ -3180,16 +3190,6 @@ export type OrgPermissionSelect = { descriptionTrgmSimilarity?: boolean; searchScore?: boolean; }; -export type ObjectSelect = { - hashUuid?: boolean; - id?: boolean; - databaseId?: boolean; - kids?: boolean; - ktree?: boolean; - data?: boolean; - frzn?: boolean; - createdAt?: boolean; -}; export type AppLevelRequirementSelect = { id?: boolean; name?: boolean; @@ -5692,6 +5692,19 @@ export type MembershipTypeSelect = { prefixTrgmSimilarity?: boolean; searchScore?: boolean; }; +export type CommitSelect = { + id?: boolean; + message?: boolean; + databaseId?: boolean; + storeId?: boolean; + parentIds?: boolean; + authorId?: boolean; + committerId?: boolean; + treeId?: boolean; + date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; +}; export type AppMembershipDefaultSelect = { id?: boolean; createdAt?: boolean; @@ -5737,19 +5750,6 @@ export type RlsModuleSelect = { select: TableSelect; }; }; -export type CommitSelect = { - id?: boolean; - message?: boolean; - databaseId?: boolean; - storeId?: boolean; - parentIds?: boolean; - authorId?: boolean; - committerId?: boolean; - treeId?: boolean; - date?: boolean; - messageTrgmSimilarity?: boolean; - searchScore?: boolean; -}; export type OrgMembershipDefaultSelect = { id?: boolean; createdAt?: boolean; @@ -5827,44 +5827,6 @@ export type EmailSelect = { select: UserSelect; }; }; -export type AstMigrationSelect = { - id?: boolean; - databaseId?: boolean; - name?: boolean; - requires?: boolean; - payload?: boolean; - deploys?: boolean; - deploy?: boolean; - revert?: boolean; - verify?: boolean; - createdAt?: boolean; - 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; username?: boolean; @@ -6085,6 +6047,44 @@ export type UserSelect = { orderBy?: OrgClaimedInviteOrderBy[]; }; }; +export type AstMigrationSelect = { + id?: boolean; + databaseId?: boolean; + name?: boolean; + requires?: boolean; + payload?: boolean; + deploys?: boolean; + deploy?: boolean; + revert?: boolean; + verify?: boolean; + createdAt?: boolean; + 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 HierarchyModuleSelect = { id?: boolean; databaseId?: boolean; @@ -6164,6 +6164,19 @@ export interface GetAllRecordFilter { or?: GetAllRecordFilter[]; not?: GetAllRecordFilter; } +export interface ObjectFilter { + hashUuid?: UUIDFilter; + id?: UUIDFilter; + databaseId?: UUIDFilter; + kids?: UUIDFilter; + ktree?: StringFilter; + data?: JSONFilter; + frzn?: BooleanFilter; + createdAt?: DatetimeFilter; + and?: ObjectFilter[]; + or?: ObjectFilter[]; + not?: ObjectFilter; +} export interface AppPermissionFilter { id?: UUIDFilter; name?: StringFilter; @@ -6188,20 +6201,7 @@ export interface OrgPermissionFilter { or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; } -export interface ObjectFilter { - hashUuid?: UUIDFilter; - id?: UUIDFilter; - databaseId?: UUIDFilter; - kids?: UUIDFilter; - ktree?: StringFilter; - data?: JSONFilter; - frzn?: BooleanFilter; - createdAt?: DatetimeFilter; - and?: ObjectFilter[]; - or?: ObjectFilter[]; - not?: ObjectFilter; -} -export interface AppLevelRequirementFilter { +export interface AppLevelRequirementFilter { id?: UUIDFilter; name?: StringFilter; level?: StringFilter; @@ -7725,6 +7725,22 @@ export interface MembershipTypeFilter { or?: MembershipTypeFilter[]; not?: MembershipTypeFilter; } +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 AppMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -7758,22 +7774,6 @@ export interface 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; @@ -7854,6 +7854,22 @@ export interface EmailFilter { or?: EmailFilter[]; not?: EmailFilter; } +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 AstMigrationFilter { id?: IntFilter; databaseId?: UUIDFilter; @@ -7895,22 +7911,6 @@ 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; @@ -7972,6 +7972,26 @@ export type GetAllRecordsOrderBy = | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC'; +export type ObjectOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'HASH_UUID_ASC' + | 'HASH_UUID_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'KIDS_ASC' + | 'KIDS_DESC' + | 'KTREE_ASC' + | 'KTREE_DESC' + | 'DATA_ASC' + | 'DATA_DESC' + | 'FRZN_ASC' + | 'FRZN_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC'; export type AppPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8008,26 +8028,6 @@ export type OrgPermissionOrderBy = | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -export type ObjectOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'HASH_UUID_ASC' - | 'HASH_UUID_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'KIDS_ASC' - | 'KIDS_DESC' - | 'KTREE_ASC' - | 'KTREE_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'FRZN_ASC' - | 'FRZN_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; export type AppLevelRequirementOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10566,6 +10566,32 @@ export type MembershipTypeOrderBy = | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; +export type CommitOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'MESSAGE_ASC' + | 'MESSAGE_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'STORE_ID_ASC' + | 'STORE_ID_DESC' + | 'PARENT_IDS_ASC' + | 'PARENT_IDS_DESC' + | 'AUTHOR_ID_ASC' + | 'AUTHOR_ID_DESC' + | 'COMMITTER_ID_ASC' + | 'COMMITTER_ID_DESC' + | 'TREE_ID_ASC' + | 'TREE_ID_DESC' + | 'DATE_ASC' + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10620,32 +10646,6 @@ export type RlsModuleOrderBy = | 'CURRENT_ROLE_ID_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -export type CommitOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'MESSAGE_ASC' - | 'MESSAGE_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'STORE_ID_ASC' - | 'STORE_ID_DESC' - | 'PARENT_IDS_ASC' - | 'PARENT_IDS_DESC' - | 'AUTHOR_ID_ASC' - | 'AUTHOR_ID_DESC' - | 'COMMITTER_ID_ASC' - | 'COMMITTER_ID_DESC' - | 'TREE_ID_ASC' - | 'TREE_ID_DESC' - | 'DATE_ASC' - | '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' @@ -10776,6 +10776,32 @@ export type EmailOrderBy = | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_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 AstMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10846,32 +10872,6 @@ 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' @@ -10999,6 +10999,33 @@ export interface DeleteGetAllRecordInput { clientMutationId?: string; id: string; } +export interface CreateObjectInput { + clientMutationId?: string; + object: { + databaseId: string; + kids?: string[]; + ktree?: string[]; + data?: Record; + frzn?: boolean; + }; +} +export interface ObjectPatch { + hashUuid?: string | null; + databaseId?: string | null; + kids?: string | null; + ktree?: string | null; + data?: Record | null; + frzn?: boolean | null; +} +export interface UpdateObjectInput { + clientMutationId?: string; + id: string; + objectPatch: ObjectPatch; +} +export interface DeleteObjectInput { + clientMutationId?: string; + id: string; +} export interface CreateAppPermissionInput { clientMutationId?: string; appPermission: { @@ -11051,34 +11078,7 @@ export interface DeleteOrgPermissionInput { clientMutationId?: string; id: string; } -export interface CreateObjectInput { - clientMutationId?: string; - object: { - databaseId: string; - kids?: string[]; - ktree?: string[]; - data?: Record; - frzn?: boolean; - }; -} -export interface ObjectPatch { - hashUuid?: string | null; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: Record | null; - frzn?: boolean | null; -} -export interface UpdateObjectInput { - clientMutationId?: string; - id: string; - objectPatch: ObjectPatch; -} -export interface DeleteObjectInput { - clientMutationId?: string; - id: string; -} -export interface CreateAppLevelRequirementInput { +export interface CreateAppLevelRequirementInput { clientMutationId?: string; appLevelRequirement: { name: string; @@ -14053,6 +14053,40 @@ export interface DeleteMembershipTypeInput { clientMutationId?: string; id: number; } +export interface CreateCommitInput { + clientMutationId?: string; + commit: { + message?: string; + databaseId: string; + storeId: string; + parentIds?: string[]; + authorId?: string; + committerId?: string; + treeId?: string; + date?: string; + }; +} +export interface CommitPatch { + message?: string | null; + databaseId?: string | null; + storeId?: string | null; + parentIds?: string | null; + authorId?: string | null; + committerId?: string | null; + treeId?: string | null; + date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateCommitInput { + clientMutationId?: string; + id: string; + commitPatch: CommitPatch; +} +export interface DeleteCommitInput { + clientMutationId?: string; + id: string; +} export interface CreateAppMembershipDefaultInput { clientMutationId?: string; appMembershipDefault: { @@ -14118,40 +14152,6 @@ export interface DeleteRlsModuleInput { clientMutationId?: string; id: string; } -export interface CreateCommitInput { - clientMutationId?: string; - commit: { - message?: string; - databaseId: string; - storeId: string; - parentIds?: string[]; - authorId?: string; - committerId?: string; - treeId?: string; - date?: string; - }; -} -export interface CommitPatch { - message?: string | null; - databaseId?: string | null; - storeId?: string | null; - parentIds?: string | null; - authorId?: string | null; - committerId?: string | null; - treeId?: string | null; - date?: string | null; - messageTrgmSimilarity?: number | null; - searchScore?: number | null; -} -export interface UpdateCommitInput { - clientMutationId?: string; - id: string; - commitPatch: CommitPatch; -} -export interface DeleteCommitInput { - clientMutationId?: string; - id: string; -} export interface CreateOrgMembershipDefaultInput { clientMutationId?: string; orgMembershipDefault: { @@ -14305,6 +14305,34 @@ export interface DeleteEmailInput { clientMutationId?: string; id: string; } +export interface CreateUserInput { + clientMutationId?: string; + user: { + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + 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 CreateAstMigrationInput { clientMutationId?: string; astMigration: { @@ -14387,35 +14415,6 @@ 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: { @@ -14659,6 +14658,12 @@ export interface VerifyEmailInput { emailId?: string; token?: string; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface ResetPasswordInput { clientMutationId?: string; roleId?: string; @@ -14675,11 +14680,9 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } -export interface RemoveNodeAtPathInput { +export interface SetFieldOrderInput { clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; + fieldIds?: string[]; } export interface SetDataAtPathInput { clientMutationId?: string; @@ -14704,6 +14707,44 @@ export interface ProvisionDatabaseWithUserInput { pModules?: string[]; pOptions?: Record; } +export interface InsertNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface UpdateNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface SetAndCommitInput { + clientMutationId?: string; + dbId?: string; + storeId?: string; + refname?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface ApplyRlsInput { + clientMutationId?: string; + tableId?: string; + grants?: Record; + policyType?: string; + vars?: Record; + fieldIds?: string[]; + permissive?: boolean; + name?: string; +} export interface SignInOneTimeTokenInput { clientMutationId?: string; token?: string; @@ -14739,10 +14780,6 @@ export interface SignUpInput { credentialKind?: string; csrfToken?: string; } -export interface SetFieldOrderInput { - clientMutationId?: string; - fieldIds?: string[]; -} export interface OneTimeTokenInput { clientMutationId?: string; email?: string; @@ -14750,44 +14787,6 @@ export interface OneTimeTokenInput { origin?: ConstructiveInternalTypeOrigin; rememberMe?: boolean; } -export interface InsertNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface UpdateNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface SetAndCommitInput { - clientMutationId?: string; - dbId?: string; - storeId?: string; - refname?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface ApplyRlsInput { - clientMutationId?: string; - tableId?: string; - grants?: Record; - policyType?: string; - vars?: Record; - fieldIds?: string[]; - permissive?: boolean; - name?: string; -} export interface ForgotPasswordInput { clientMutationId?: string; email?: ConstructiveInternalTypeEmail; @@ -14823,8 +14822,27 @@ export interface IntervalInput { /** A quantity of years. */ years?: number; } -/** A connection to a list of `AppPermission` values. */ +/** A connection to a list of `Object` values. */ // ============ Payload/Return Types (for custom operations) ============ +export interface ObjectConnection { + nodes: Object[]; + edges: ObjectEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +export type ObjectConnectionSelect = { + nodes?: { + select: ObjectSelect; + }; + edges?: { + select: ObjectEdgeSelect; + }; + pageInfo?: { + select: PageInfoSelect; + }; + totalCount?: boolean; +}; +/** A connection to a list of `AppPermission` values. */ export interface AppPermissionConnection { nodes: AppPermission[]; edges: AppPermissionEdge[]; @@ -14862,25 +14880,6 @@ export type OrgPermissionConnectionSelect = { }; totalCount?: boolean; }; -/** A connection to a list of `Object` values. */ -export interface ObjectConnection { - nodes: Object[]; - edges: ObjectEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -export type ObjectConnectionSelect = { - nodes?: { - select: ObjectSelect; - }; - edges?: { - select: ObjectEdgeSelect; - }; - pageInfo?: { - select: PageInfoSelect; - }; - totalCount?: boolean; -}; /** A connection to a list of `AppLevelRequirement` values. */ export interface AppLevelRequirementConnection { nodes: AppLevelRequirement[]; @@ -14972,6 +14971,14 @@ export type VerifyEmailPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type RemoveNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; export interface ResetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; @@ -14990,13 +14997,11 @@ export type BootstrapUserPayloadSelect = { select: BootstrapUserRecordSelect; }; }; -export interface RemoveNodeAtPathPayload { +export interface SetFieldOrderPayload { clientMutationId?: string | null; - result?: string | null; } -export type RemoveNodeAtPathPayloadSelect = { +export type SetFieldOrderPayloadSelect = { clientMutationId?: boolean; - result?: boolean; }; export interface SetDataAtPathPayload { clientMutationId?: string | null; @@ -15024,6 +15029,36 @@ export type ProvisionDatabaseWithUserPayloadSelect = { select: ProvisionDatabaseWithUserRecordSelect; }; }; +export interface InsertNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type InsertNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface UpdateNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type UpdateNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface SetAndCommitPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type SetAndCommitPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface ApplyRlsPayload { + clientMutationId?: string | null; +} +export type ApplyRlsPayloadSelect = { + clientMutationId?: boolean; +}; export interface SignInOneTimeTokenPayload { clientMutationId?: string | null; result?: SignInOneTimeTokenRecord | null; @@ -15072,12 +15107,6 @@ export type SignUpPayloadSelect = { select: SignUpRecordSelect; }; }; -export interface SetFieldOrderPayload { - clientMutationId?: string | null; -} -export type SetFieldOrderPayloadSelect = { - clientMutationId?: boolean; -}; export interface OneTimeTokenPayload { clientMutationId?: string | null; result?: string | null; @@ -15086,36 +15115,6 @@ export type OneTimeTokenPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; -export interface InsertNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type InsertNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface UpdateNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type UpdateNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface SetAndCommitPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type SetAndCommitPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface ApplyRlsPayload { - clientMutationId?: string | null; -} -export type ApplyRlsPayloadSelect = { - clientMutationId?: boolean; -}; export interface ForgotPasswordPayload { clientMutationId?: string | null; } @@ -15150,6 +15149,51 @@ export type VerifyTotpPayloadSelect = { select: SessionSelect; }; }; +export interface CreateObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was created by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type CreateObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; +export interface UpdateObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was updated by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type UpdateObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; +export interface DeleteObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was deleted by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type DeleteObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; export interface CreateAppPermissionPayload { clientMutationId?: string | null; /** The `AppPermission` that was created by this mutation. */ @@ -15240,51 +15284,6 @@ export type DeleteOrgPermissionPayloadSelect = { select: OrgPermissionEdgeSelect; }; }; -export interface CreateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was created by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type CreateObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; -export interface UpdateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was updated by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type UpdateObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; -export interface DeleteObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was deleted by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type DeleteObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; export interface CreateAppLevelRequirementPayload { clientMutationId?: string | null; /** The `AppLevelRequirement` that was created by this mutation. */ @@ -19110,6 +19109,51 @@ export type DeleteMembershipTypePayloadSelect = { select: MembershipTypeEdgeSelect; }; }; +export interface CreateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was created by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type CreateCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; +export interface UpdateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was updated by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type UpdateCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; +export interface DeleteCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was deleted by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type DeleteCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; export interface CreateAppMembershipDefaultPayload { clientMutationId?: string | null; /** The `AppMembershipDefault` that was created by this mutation. */ @@ -19200,51 +19244,6 @@ export type DeleteRlsModulePayloadSelect = { select: RlsModuleEdgeSelect; }; }; -export interface CreateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was created by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type CreateCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; -export interface UpdateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was updated by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type UpdateCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; -export interface DeleteCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was deleted by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type DeleteCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; export interface CreateOrgMembershipDefaultPayload { clientMutationId?: string | null; /** The `OrgMembershipDefault` that was created by this mutation. */ @@ -19436,6 +19435,51 @@ export type DeleteEmailPayloadSelect = { select: EmailEdgeSelect; }; }; +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 CreateAstMigrationPayload { clientMutationId?: string | null; /** The `AstMigration` that was created by this mutation. */ @@ -19492,51 +19536,6 @@ 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. */ @@ -19582,16 +19581,16 @@ export type DeleteHierarchyModulePayloadSelect = { select: HierarchyModuleEdgeSelect; }; }; -/** A `AppPermission` edge in the connection. */ -export interface AppPermissionEdge { +/** A `Object` edge in the connection. */ +export interface ObjectEdge { cursor?: string | null; - /** The `AppPermission` at the end of the edge. */ - node?: AppPermission | null; + /** The `Object` at the end of the edge. */ + node?: Object | null; } -export type AppPermissionEdgeSelect = { +export type ObjectEdgeSelect = { cursor?: boolean; node?: { - select: AppPermissionSelect; + select: ObjectSelect; }; }; /** Information about pagination in a connection. */ @@ -19611,28 +19610,28 @@ export type PageInfoSelect = { startCursor?: boolean; endCursor?: boolean; }; -/** A `OrgPermission` edge in the connection. */ -export interface OrgPermissionEdge { +/** A `AppPermission` edge in the connection. */ +export interface AppPermissionEdge { cursor?: string | null; - /** The `OrgPermission` at the end of the edge. */ - node?: OrgPermission | null; + /** The `AppPermission` at the end of the edge. */ + node?: AppPermission | null; } -export type OrgPermissionEdgeSelect = { +export type AppPermissionEdgeSelect = { cursor?: boolean; node?: { - select: OrgPermissionSelect; + select: AppPermissionSelect; }; }; -/** A `Object` edge in the connection. */ -export interface ObjectEdge { +/** A `OrgPermission` edge in the connection. */ +export interface OrgPermissionEdge { cursor?: string | null; - /** The `Object` at the end of the edge. */ - node?: Object | null; + /** The `OrgPermission` at the end of the edge. */ + node?: OrgPermission | null; } -export type ObjectEdgeSelect = { +export type OrgPermissionEdgeSelect = { cursor?: boolean; node?: { - select: ObjectSelect; + select: OrgPermissionSelect; }; }; /** A `AppLevelRequirement` edge in the connection. */ @@ -20836,6 +20835,18 @@ export type MembershipTypeEdgeSelect = { select: MembershipTypeSelect; }; }; +/** A `Commit` edge in the connection. */ +export interface CommitEdge { + cursor?: string | null; + /** The `Commit` at the end of the edge. */ + node?: Commit | null; +} +export type CommitEdgeSelect = { + cursor?: boolean; + node?: { + select: CommitSelect; + }; +}; /** A `AppMembershipDefault` edge in the connection. */ export interface AppMembershipDefaultEdge { cursor?: string | null; @@ -20860,18 +20871,6 @@ export type RlsModuleEdgeSelect = { select: RlsModuleSelect; }; }; -/** A `Commit` edge in the connection. */ -export interface CommitEdge { - cursor?: string | null; - /** The `Commit` at the end of the edge. */ - node?: Commit | null; -} -export type CommitEdgeSelect = { - cursor?: boolean; - node?: { - select: CommitSelect; - }; -}; /** A `OrgMembershipDefault` edge in the connection. */ export interface OrgMembershipDefaultEdge { cursor?: string | null; @@ -20920,18 +20919,6 @@ export type EmailEdgeSelect = { select: EmailSelect; }; }; -/** A `AppMembership` edge in the connection. */ -export interface AppMembershipEdge { - cursor?: string | null; - /** The `AppMembership` at the end of the edge. */ - node?: AppMembership | null; -} -export type AppMembershipEdgeSelect = { - cursor?: boolean; - node?: { - select: AppMembershipSelect; - }; -}; /** A `User` edge in the connection. */ export interface UserEdge { cursor?: string | null; @@ -20944,6 +20931,18 @@ export type UserEdgeSelect = { select: UserSelect; }; }; +/** A `AppMembership` edge in the connection. */ +export interface AppMembershipEdge { + cursor?: string | null; + /** The `AppMembership` at the end of the edge. */ + node?: AppMembership | null; +} +export type AppMembershipEdgeSelect = { + cursor?: boolean; + node?: { + select: AppMembershipSelect; + }; +}; /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; diff --git a/sdk/constructive-cli/src/public/orm/models/index.ts b/sdk/constructive-cli/src/public/orm/models/index.ts index b871be98f..292be6a26 100644 --- a/sdk/constructive-cli/src/public/orm/models/index.ts +++ b/sdk/constructive-cli/src/public/orm/models/index.ts @@ -6,9 +6,9 @@ export { OrgGetManagersRecordModel } from './orgGetManagersRecord'; export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord'; export { GetAllRecordModel } from './getAllRecord'; +export { ObjectModel } from './object'; export { AppPermissionModel } from './appPermission'; export { OrgPermissionModel } from './orgPermission'; -export { ObjectModel } from './object'; export { AppLevelRequirementModel } from './appLevelRequirement'; export { DatabaseModel } from './database'; export { SchemaModel } from './schema'; @@ -94,15 +94,15 @@ export { OrgLimitDefaultModel } from './orgLimitDefault'; export { ConnectedAccountModel } from './connectedAccount'; export { NodeTypeRegistryModel } from './nodeTypeRegistry'; export { MembershipTypeModel } from './membershipType'; +export { CommitModel } from './commit'; 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 { SqlMigrationModel } from './sqlMigration'; export { EmailModel } from './email'; +export { UserModel } from './user'; export { AstMigrationModel } from './astMigration'; export { AppMembershipModel } from './appMembership'; -export { UserModel } from './user'; export { HierarchyModuleModel } from './hierarchyModule'; diff --git a/sdk/constructive-cli/src/public/orm/mutation/index.ts b/sdk/constructive-cli/src/public/orm/mutation/index.ts index 43b9fc6e9..e16b7ce43 100644 --- a/sdk/constructive-cli/src/public/orm/mutation/index.ts +++ b/sdk/constructive-cli/src/public/orm/mutation/index.ts @@ -17,23 +17,23 @@ import type { ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, + RemoveNodeAtPathInput, ResetPasswordInput, BootstrapUserInput, - RemoveNodeAtPathInput, + SetFieldOrderInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, + InsertNodeAtPathInput, + UpdateNodeAtPathInput, + SetAndCommitInput, + ApplyRlsInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, - SetFieldOrderInput, OneTimeTokenInput, - InsertNodeAtPathInput, - UpdateNodeAtPathInput, - SetAndCommitInput, - ApplyRlsInput, ForgotPasswordInput, SendVerificationEmailInput, VerifyPasswordInput, @@ -48,23 +48,23 @@ import type { ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, + RemoveNodeAtPathPayload, ResetPasswordPayload, BootstrapUserPayload, - RemoveNodeAtPathPayload, + SetFieldOrderPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, + InsertNodeAtPathPayload, + UpdateNodeAtPathPayload, + SetAndCommitPayload, + ApplyRlsPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, - SetFieldOrderPayload, OneTimeTokenPayload, - InsertNodeAtPathPayload, - UpdateNodeAtPathPayload, - SetAndCommitPayload, - ApplyRlsPayload, ForgotPasswordPayload, SendVerificationEmailPayload, VerifyPasswordPayload, @@ -79,23 +79,23 @@ import type { ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, + RemoveNodeAtPathPayloadSelect, ResetPasswordPayloadSelect, BootstrapUserPayloadSelect, - RemoveNodeAtPathPayloadSelect, + SetFieldOrderPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, + InsertNodeAtPathPayloadSelect, + UpdateNodeAtPathPayloadSelect, + SetAndCommitPayloadSelect, + ApplyRlsPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, - SetFieldOrderPayloadSelect, OneTimeTokenPayloadSelect, - InsertNodeAtPathPayloadSelect, - UpdateNodeAtPathPayloadSelect, - SetAndCommitPayloadSelect, - ApplyRlsPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, VerifyPasswordPayloadSelect, @@ -132,14 +132,17 @@ export interface SetPasswordVariables { export interface VerifyEmailVariables { input: VerifyEmailInput; } +export interface RemoveNodeAtPathVariables { + input: RemoveNodeAtPathInput; +} export interface ResetPasswordVariables { input: ResetPasswordInput; } export interface BootstrapUserVariables { input: BootstrapUserInput; } -export interface RemoveNodeAtPathVariables { - input: RemoveNodeAtPathInput; +export interface SetFieldOrderVariables { + input: SetFieldOrderInput; } export interface SetDataAtPathVariables { input: SetDataAtPathInput; @@ -150,6 +153,18 @@ export interface SetPropsAndCommitVariables { export interface ProvisionDatabaseWithUserVariables { input: ProvisionDatabaseWithUserInput; } +export interface InsertNodeAtPathVariables { + input: InsertNodeAtPathInput; +} +export interface UpdateNodeAtPathVariables { + input: UpdateNodeAtPathInput; +} +export interface SetAndCommitVariables { + input: SetAndCommitInput; +} +export interface ApplyRlsVariables { + input: ApplyRlsInput; +} export interface SignInOneTimeTokenVariables { input: SignInOneTimeTokenInput; } @@ -184,24 +199,9 @@ export interface SignInVariables { export interface SignUpVariables { input: SignUpInput; } -export interface SetFieldOrderVariables { - input: SetFieldOrderInput; -} export interface OneTimeTokenVariables { input: OneTimeTokenInput; } -export interface InsertNodeAtPathVariables { - input: InsertNodeAtPathInput; -} -export interface UpdateNodeAtPathVariables { - input: UpdateNodeAtPathInput; -} -export interface SetAndCommitVariables { - input: SetAndCommitInput; -} -export interface ApplyRlsVariables { - input: ApplyRlsInput; -} export interface ForgotPasswordVariables { input: ForgotPasswordInput; } @@ -506,6 +506,35 @@ export function createMutationOperations(client: OrmClient) { 'VerifyEmailPayload' ), }), + removeNodeAtPath: ( + args: RemoveNodeAtPathVariables, + options: { + select: S; + } & StrictSelect + ) => + new QueryBuilder<{ + removeNodeAtPath: InferSelectResult | null; + }>({ + client, + operation: 'mutation', + operationName: 'RemoveNodeAtPath', + fieldName: 'removeNodeAtPath', + ...buildCustomDocument( + 'mutation', + 'RemoveNodeAtPath', + 'removeNodeAtPath', + options.select, + args, + [ + { + name: 'input', + type: 'RemoveNodeAtPathInput!', + }, + ], + connectionFieldsMap, + 'RemoveNodeAtPathPayload' + ), + }), resetPassword: ( args: ResetPasswordVariables, options: { @@ -564,33 +593,33 @@ export function createMutationOperations(client: OrmClient) { 'BootstrapUserPayload' ), }), - removeNodeAtPath: ( - args: RemoveNodeAtPathVariables, + setFieldOrder: ( + args: SetFieldOrderVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - removeNodeAtPath: InferSelectResult | null; + setFieldOrder: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'RemoveNodeAtPath', - fieldName: 'removeNodeAtPath', + operationName: 'SetFieldOrder', + fieldName: 'setFieldOrder', ...buildCustomDocument( 'mutation', - 'RemoveNodeAtPath', - 'removeNodeAtPath', + 'SetFieldOrder', + 'setFieldOrder', options.select, args, [ { name: 'input', - type: 'RemoveNodeAtPathInput!', + type: 'SetFieldOrderInput!', }, ], connectionFieldsMap, - 'RemoveNodeAtPathPayload' + 'SetFieldOrderPayload' ), }), setDataAtPath: ( @@ -680,323 +709,294 @@ export function createMutationOperations(client: OrmClient) { 'ProvisionDatabaseWithUserPayload' ), }), - signInOneTimeToken: ( - args: SignInOneTimeTokenVariables, - options: { - select: S; - } & StrictSelect - ) => - new QueryBuilder<{ - signInOneTimeToken: InferSelectResult | null; - }>({ - client, - operation: 'mutation', - operationName: 'SignInOneTimeToken', - fieldName: 'signInOneTimeToken', - ...buildCustomDocument( - 'mutation', - 'SignInOneTimeToken', - 'signInOneTimeToken', - options.select, - args, - [ - { - name: 'input', - type: 'SignInOneTimeTokenInput!', - }, - ], - connectionFieldsMap, - 'SignInOneTimeTokenPayload' - ), - }), - createUserDatabase: ( - args: CreateUserDatabaseVariables, + insertNodeAtPath: ( + args: InsertNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - createUserDatabase: InferSelectResult | null; + insertNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'CreateUserDatabase', - fieldName: 'createUserDatabase', + operationName: 'InsertNodeAtPath', + fieldName: 'insertNodeAtPath', ...buildCustomDocument( 'mutation', - 'CreateUserDatabase', - 'createUserDatabase', + 'InsertNodeAtPath', + 'insertNodeAtPath', options.select, args, [ { name: 'input', - type: 'CreateUserDatabaseInput!', + type: 'InsertNodeAtPathInput!', }, ], connectionFieldsMap, - 'CreateUserDatabasePayload' + 'InsertNodeAtPathPayload' ), }), - extendTokenExpires: ( - args: ExtendTokenExpiresVariables, + updateNodeAtPath: ( + args: UpdateNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - extendTokenExpires: InferSelectResult | null; + updateNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'ExtendTokenExpires', - fieldName: 'extendTokenExpires', + operationName: 'UpdateNodeAtPath', + fieldName: 'updateNodeAtPath', ...buildCustomDocument( 'mutation', - 'ExtendTokenExpires', - 'extendTokenExpires', + 'UpdateNodeAtPath', + 'updateNodeAtPath', options.select, args, [ { name: 'input', - type: 'ExtendTokenExpiresInput!', + type: 'UpdateNodeAtPathInput!', }, ], connectionFieldsMap, - 'ExtendTokenExpiresPayload' + 'UpdateNodeAtPathPayload' ), }), - signIn: ( - args: SignInVariables, + setAndCommit: ( + args: SetAndCommitVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - signIn: InferSelectResult | null; + setAndCommit: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SignIn', - fieldName: 'signIn', + operationName: 'SetAndCommit', + fieldName: 'setAndCommit', ...buildCustomDocument( 'mutation', - 'SignIn', - 'signIn', + 'SetAndCommit', + 'setAndCommit', options.select, args, [ { name: 'input', - type: 'SignInInput!', + type: 'SetAndCommitInput!', }, ], connectionFieldsMap, - 'SignInPayload' + 'SetAndCommitPayload' ), }), - signUp: ( - args: SignUpVariables, + applyRls: ( + args: ApplyRlsVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - signUp: InferSelectResult | null; + applyRls: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SignUp', - fieldName: 'signUp', + operationName: 'ApplyRls', + fieldName: 'applyRls', ...buildCustomDocument( 'mutation', - 'SignUp', - 'signUp', + 'ApplyRls', + 'applyRls', options.select, args, [ { name: 'input', - type: 'SignUpInput!', + type: 'ApplyRlsInput!', }, ], connectionFieldsMap, - 'SignUpPayload' + 'ApplyRlsPayload' ), }), - setFieldOrder: ( - args: SetFieldOrderVariables, + signInOneTimeToken: ( + args: SignInOneTimeTokenVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - setFieldOrder: InferSelectResult | null; + signInOneTimeToken: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SetFieldOrder', - fieldName: 'setFieldOrder', + operationName: 'SignInOneTimeToken', + fieldName: 'signInOneTimeToken', ...buildCustomDocument( 'mutation', - 'SetFieldOrder', - 'setFieldOrder', + 'SignInOneTimeToken', + 'signInOneTimeToken', options.select, args, [ { name: 'input', - type: 'SetFieldOrderInput!', + type: 'SignInOneTimeTokenInput!', }, ], connectionFieldsMap, - 'SetFieldOrderPayload' + 'SignInOneTimeTokenPayload' ), }), - oneTimeToken: ( - args: OneTimeTokenVariables, + createUserDatabase: ( + args: CreateUserDatabaseVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - oneTimeToken: InferSelectResult | null; + createUserDatabase: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'OneTimeToken', - fieldName: 'oneTimeToken', + operationName: 'CreateUserDatabase', + fieldName: 'createUserDatabase', ...buildCustomDocument( 'mutation', - 'OneTimeToken', - 'oneTimeToken', + 'CreateUserDatabase', + 'createUserDatabase', options.select, args, [ { name: 'input', - type: 'OneTimeTokenInput!', + type: 'CreateUserDatabaseInput!', }, ], connectionFieldsMap, - 'OneTimeTokenPayload' + 'CreateUserDatabasePayload' ), }), - insertNodeAtPath: ( - args: InsertNodeAtPathVariables, + extendTokenExpires: ( + args: ExtendTokenExpiresVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - insertNodeAtPath: InferSelectResult | null; + extendTokenExpires: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'InsertNodeAtPath', - fieldName: 'insertNodeAtPath', + operationName: 'ExtendTokenExpires', + fieldName: 'extendTokenExpires', ...buildCustomDocument( 'mutation', - 'InsertNodeAtPath', - 'insertNodeAtPath', + 'ExtendTokenExpires', + 'extendTokenExpires', options.select, args, [ { name: 'input', - type: 'InsertNodeAtPathInput!', + type: 'ExtendTokenExpiresInput!', }, ], connectionFieldsMap, - 'InsertNodeAtPathPayload' + 'ExtendTokenExpiresPayload' ), }), - updateNodeAtPath: ( - args: UpdateNodeAtPathVariables, + signIn: ( + args: SignInVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - updateNodeAtPath: InferSelectResult | null; + signIn: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'UpdateNodeAtPath', - fieldName: 'updateNodeAtPath', + operationName: 'SignIn', + fieldName: 'signIn', ...buildCustomDocument( 'mutation', - 'UpdateNodeAtPath', - 'updateNodeAtPath', + 'SignIn', + 'signIn', options.select, args, [ { name: 'input', - type: 'UpdateNodeAtPathInput!', + type: 'SignInInput!', }, ], connectionFieldsMap, - 'UpdateNodeAtPathPayload' + 'SignInPayload' ), }), - setAndCommit: ( - args: SetAndCommitVariables, + signUp: ( + args: SignUpVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - setAndCommit: InferSelectResult | null; + signUp: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SetAndCommit', - fieldName: 'setAndCommit', + operationName: 'SignUp', + fieldName: 'signUp', ...buildCustomDocument( 'mutation', - 'SetAndCommit', - 'setAndCommit', + 'SignUp', + 'signUp', options.select, args, [ { name: 'input', - type: 'SetAndCommitInput!', + type: 'SignUpInput!', }, ], connectionFieldsMap, - 'SetAndCommitPayload' + 'SignUpPayload' ), }), - applyRls: ( - args: ApplyRlsVariables, + oneTimeToken: ( + args: OneTimeTokenVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - applyRls: InferSelectResult | null; + oneTimeToken: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'ApplyRls', - fieldName: 'applyRls', + operationName: 'OneTimeToken', + fieldName: 'oneTimeToken', ...buildCustomDocument( 'mutation', - 'ApplyRls', - 'applyRls', + 'OneTimeToken', + 'oneTimeToken', options.select, args, [ { name: 'input', - type: 'ApplyRlsInput!', + type: 'OneTimeTokenInput!', }, ], connectionFieldsMap, - 'ApplyRlsPayload' + 'OneTimeTokenPayload' ), }), forgotPassword: ( diff --git a/sdk/constructive-cli/src/public/orm/query/index.ts b/sdk/constructive-cli/src/public/orm/query/index.ts index 12a89b785..4cf985153 100644 --- a/sdk/constructive-cli/src/public/orm/query/index.ts +++ b/sdk/constructive-cli/src/public/orm/query/index.ts @@ -11,9 +11,9 @@ import type { User, ObjectSelect, UserSelect, + ObjectConnection, AppPermissionConnection, OrgPermissionConnection, - ObjectConnection, AppLevelRequirementConnection, } from '../input-types'; import { connectionFieldsMap } from '../input-types'; @@ -50,8 +50,9 @@ export interface AppPermissionsGetMaskByNamesVariables { export interface OrgPermissionsGetMaskByNamesVariables { names?: string[]; } -export interface AppPermissionsGetByMaskVariables { - mask?: string; +export interface GetAllObjectsFromRootVariables { + databaseId?: string; + id?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -62,8 +63,10 @@ export interface AppPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface OrgPermissionsGetByMaskVariables { - mask?: string; +export interface GetPathObjectsFromRootVariables { + databaseId?: string; + id?: string; + path?: string[]; /** Only read the first `n` values of the set. */ first?: number; /** @@ -74,9 +77,14 @@ export interface OrgPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetAllObjectsFromRootVariables { - databaseId?: string; - id?: string; +export interface GetObjectAtPathVariables { + dbId?: string; + storeId?: string; + path?: string[]; + refname?: string; +} +export interface AppPermissionsGetByMaskVariables { + mask?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -87,10 +95,8 @@ export interface GetAllObjectsFromRootVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetPathObjectsFromRootVariables { - databaseId?: string; - id?: string; - path?: string[]; +export interface OrgPermissionsGetByMaskVariables { + mask?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -101,12 +107,6 @@ export interface GetPathObjectsFromRootVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetObjectAtPathVariables { - dbId?: string; - storeId?: string; - path?: string[]; - refname?: string; -} export interface StepsRequiredVariables { vlevel?: string; vroleId?: string; @@ -464,29 +464,33 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - appPermissionsGetByMask: ( - args: AppPermissionsGetByMaskVariables, + getAllObjectsFromRoot: ( + args: GetAllObjectsFromRootVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - appPermissionsGetByMask: AppPermissionConnection | null; + getAllObjectsFromRoot: ObjectConnection | null; }>({ client, operation: 'query', - operationName: 'AppPermissionsGetByMask', - fieldName: 'appPermissionsGetByMask', + operationName: 'GetAllObjectsFromRoot', + fieldName: 'getAllObjectsFromRoot', ...buildCustomDocument( 'query', - 'AppPermissionsGetByMask', - 'appPermissionsGetByMask', + 'GetAllObjectsFromRoot', + 'getAllObjectsFromRoot', options?.select, args, [ { - name: 'mask', - type: 'BitString', + name: 'databaseId', + type: 'UUID', + }, + { + name: 'id', + type: 'UUID', }, { name: 'first', @@ -505,29 +509,37 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - orgPermissionsGetByMask: ( - args: OrgPermissionsGetByMaskVariables, + getPathObjectsFromRoot: ( + args: GetPathObjectsFromRootVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - orgPermissionsGetByMask: OrgPermissionConnection | null; + getPathObjectsFromRoot: ObjectConnection | null; }>({ client, operation: 'query', - operationName: 'OrgPermissionsGetByMask', - fieldName: 'orgPermissionsGetByMask', + operationName: 'GetPathObjectsFromRoot', + fieldName: 'getPathObjectsFromRoot', ...buildCustomDocument( 'query', - 'OrgPermissionsGetByMask', - 'orgPermissionsGetByMask', + 'GetPathObjectsFromRoot', + 'getPathObjectsFromRoot', options?.select, args, [ { - name: 'mask', - type: 'BitString', + name: 'databaseId', + type: 'UUID', + }, + { + name: 'id', + type: 'UUID', + }, + { + name: 'path', + type: '[String]', }, { name: 'first', @@ -546,82 +558,70 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - getAllObjectsFromRoot: ( - args: GetAllObjectsFromRootVariables, - options?: { - select?: Record; - } + getObjectAtPath: ( + args: GetObjectAtPathVariables, + options: { + select: S; + } & StrictSelect ) => new QueryBuilder<{ - getAllObjectsFromRoot: ObjectConnection | null; + getObjectAtPath: InferSelectResult | null; }>({ client, operation: 'query', - operationName: 'GetAllObjectsFromRoot', - fieldName: 'getAllObjectsFromRoot', + operationName: 'GetObjectAtPath', + fieldName: 'getObjectAtPath', ...buildCustomDocument( 'query', - 'GetAllObjectsFromRoot', - 'getAllObjectsFromRoot', - options?.select, + 'GetObjectAtPath', + 'getObjectAtPath', + options.select, args, [ { - name: 'databaseId', + name: 'dbId', type: 'UUID', }, { - name: 'id', + name: 'storeId', type: 'UUID', }, { - name: 'first', - type: 'Int', - }, - { - name: 'offset', - type: 'Int', + name: 'path', + type: '[String]', }, { - name: 'after', - type: 'Cursor', + name: 'refname', + type: 'String', }, ], connectionFieldsMap, - undefined + 'Object' ), }), - getPathObjectsFromRoot: ( - args: GetPathObjectsFromRootVariables, + appPermissionsGetByMask: ( + args: AppPermissionsGetByMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - getPathObjectsFromRoot: ObjectConnection | null; + appPermissionsGetByMask: AppPermissionConnection | null; }>({ client, operation: 'query', - operationName: 'GetPathObjectsFromRoot', - fieldName: 'getPathObjectsFromRoot', + operationName: 'AppPermissionsGetByMask', + fieldName: 'appPermissionsGetByMask', ...buildCustomDocument( 'query', - 'GetPathObjectsFromRoot', - 'getPathObjectsFromRoot', + 'AppPermissionsGetByMask', + 'appPermissionsGetByMask', options?.select, args, [ { - name: 'databaseId', - type: 'UUID', - }, - { - name: 'id', - type: 'UUID', - }, - { - name: 'path', - type: '[String]', + name: 'mask', + type: 'BitString', }, { name: 'first', @@ -640,45 +640,45 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - getObjectAtPath: ( - args: GetObjectAtPathVariables, - options: { - select: S; - } & StrictSelect + orgPermissionsGetByMask: ( + args: OrgPermissionsGetByMaskVariables, + options?: { + select?: Record; + } ) => new QueryBuilder<{ - getObjectAtPath: InferSelectResult | null; + orgPermissionsGetByMask: OrgPermissionConnection | null; }>({ client, operation: 'query', - operationName: 'GetObjectAtPath', - fieldName: 'getObjectAtPath', + operationName: 'OrgPermissionsGetByMask', + fieldName: 'orgPermissionsGetByMask', ...buildCustomDocument( 'query', - 'GetObjectAtPath', - 'getObjectAtPath', - options.select, + 'OrgPermissionsGetByMask', + 'orgPermissionsGetByMask', + options?.select, args, [ { - name: 'dbId', - type: 'UUID', + name: 'mask', + type: 'BitString', }, { - name: 'storeId', - type: 'UUID', + name: 'first', + type: 'Int', }, { - name: 'path', - type: '[String]', + name: 'offset', + type: 'Int', }, { - name: 'refname', - type: 'String', + name: 'after', + type: 'Cursor', }, ], connectionFieldsMap, - 'Object' + undefined ), }), stepsRequired: ( diff --git a/sdk/constructive-react/src/admin/hooks/README.md b/sdk/constructive-react/src/admin/hooks/README.md index 8bea00b89..54116bff8 100644 --- a/sdk/constructive-react/src/admin/hooks/README.md +++ b/sdk/constructive-react/src/admin/hooks/README.md @@ -189,9 +189,9 @@ function App() { | `useAppPermissionsGetPaddedMaskQuery` | Query | appPermissionsGetPaddedMask | | `useOrgPermissionsGetPaddedMaskQuery` | Query | orgPermissionsGetPaddedMask | | `useOrgIsManagerOfQuery` | Query | orgIsManagerOf | -| `useStepsAchievedQuery` | Query | stepsAchieved | | `useAppPermissionsGetMaskQuery` | Query | appPermissionsGetMask | | `useOrgPermissionsGetMaskQuery` | Query | orgPermissionsGetMask | +| `useStepsAchievedQuery` | Query | stepsAchieved | | `useAppPermissionsGetMaskByNamesQuery` | Query | appPermissionsGetMaskByNames | | `useOrgPermissionsGetMaskByNamesQuery` | Query | orgPermissionsGetMaskByNames | | `useAppPermissionsGetByMaskQuery` | Query | Reads and enables pagination through a set of `AppPermission`. | @@ -900,21 +900,20 @@ orgIsManagerOf | `pUserId` | UUID | | `pMaxDepth` | Int | -### `useStepsAchievedQuery` +### `useAppPermissionsGetMaskQuery` -stepsAchieved +appPermissionsGetMask - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `vlevel` | String | - | `vroleId` | UUID | + | `ids` | [UUID] | -### `useAppPermissionsGetMaskQuery` +### `useOrgPermissionsGetMaskQuery` -appPermissionsGetMask +orgPermissionsGetMask - **Type:** query - **Arguments:** @@ -923,16 +922,17 @@ appPermissionsGetMask |----------|------| | `ids` | [UUID] | -### `useOrgPermissionsGetMaskQuery` +### `useStepsAchievedQuery` -orgPermissionsGetMask +stepsAchieved - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `ids` | [UUID] | + | `vlevel` | String | + | `vroleId` | UUID | ### `useAppPermissionsGetMaskByNamesQuery` diff --git a/sdk/constructive-react/src/admin/hooks/queries/index.ts b/sdk/constructive-react/src/admin/hooks/queries/index.ts index a0417892e..c2cb705a0 100644 --- a/sdk/constructive-react/src/admin/hooks/queries/index.ts +++ b/sdk/constructive-react/src/admin/hooks/queries/index.ts @@ -68,9 +68,9 @@ export * from './useOrgInviteQuery'; export * from './useAppPermissionsGetPaddedMaskQuery'; export * from './useOrgPermissionsGetPaddedMaskQuery'; export * from './useOrgIsManagerOfQuery'; -export * from './useStepsAchievedQuery'; export * from './useAppPermissionsGetMaskQuery'; export * from './useOrgPermissionsGetMaskQuery'; +export * from './useStepsAchievedQuery'; export * from './useAppPermissionsGetMaskByNamesQuery'; export * from './useOrgPermissionsGetMaskByNamesQuery'; export * from './useAppPermissionsGetByMaskQuery'; diff --git a/sdk/constructive-react/src/admin/hooks/query-keys.ts b/sdk/constructive-react/src/admin/hooks/query-keys.ts index 2ffc28a32..4f55c47c0 100644 --- a/sdk/constructive-react/src/admin/hooks/query-keys.ts +++ b/sdk/constructive-react/src/admin/hooks/query-keys.ts @@ -321,12 +321,12 @@ export const customQueryKeys = { ) => ['orgPermissionsGetPaddedMask', variables] as const, /** Query key for orgIsManagerOf */ orgIsManagerOf: (variables?: object) => ['orgIsManagerOf', variables] as const, - /** Query key for stepsAchieved */ stepsAchieved: (variables?: object) => - ['stepsAchieved', variables] as const, /** Query key for appPermissionsGetMask */ appPermissionsGetMask: (variables?: object) => ['appPermissionsGetMask', variables] as const, /** Query key for orgPermissionsGetMask */ orgPermissionsGetMask: (variables?: object) => ['orgPermissionsGetMask', variables] as const, + /** Query key for stepsAchieved */ stepsAchieved: (variables?: object) => + ['stepsAchieved', variables] as const, /** Query key for appPermissionsGetMaskByNames */ appPermissionsGetMaskByNames: ( variables?: object ) => ['appPermissionsGetMaskByNames', variables] as const, diff --git a/sdk/constructive-react/src/admin/orm/README.md b/sdk/constructive-react/src/admin/orm/README.md index 02cd23d7a..74e966fea 100644 --- a/sdk/constructive-react/src/admin/orm/README.md +++ b/sdk/constructive-react/src/admin/orm/README.md @@ -1237,25 +1237,24 @@ orgIsManagerOf const result = await db.query.orgIsManagerOf({ pEntityId: '', pManagerId: '', pUserId: '', pMaxDepth: '' }).execute(); ``` -### `db.query.stepsAchieved` +### `db.query.appPermissionsGetMask` -stepsAchieved +appPermissionsGetMask - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `vlevel` | String | - | `vroleId` | UUID | + | `ids` | [UUID] | ```typescript -const result = await db.query.stepsAchieved({ vlevel: '', vroleId: '' }).execute(); +const result = await db.query.appPermissionsGetMask({ ids: '' }).execute(); ``` -### `db.query.appPermissionsGetMask` +### `db.query.orgPermissionsGetMask` -appPermissionsGetMask +orgPermissionsGetMask - **Type:** query - **Arguments:** @@ -1265,22 +1264,23 @@ appPermissionsGetMask | `ids` | [UUID] | ```typescript -const result = await db.query.appPermissionsGetMask({ ids: '' }).execute(); +const result = await db.query.orgPermissionsGetMask({ ids: '' }).execute(); ``` -### `db.query.orgPermissionsGetMask` +### `db.query.stepsAchieved` -orgPermissionsGetMask +stepsAchieved - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `ids` | [UUID] | + | `vlevel` | String | + | `vroleId` | UUID | ```typescript -const result = await db.query.orgPermissionsGetMask({ ids: '' }).execute(); +const result = await db.query.stepsAchieved({ vlevel: '', vroleId: '' }).execute(); ``` ### `db.query.appPermissionsGetMaskByNames` diff --git a/sdk/constructive-react/src/admin/orm/query/index.ts b/sdk/constructive-react/src/admin/orm/query/index.ts index db637075c..3c1e8285a 100644 --- a/sdk/constructive-react/src/admin/orm/query/index.ts +++ b/sdk/constructive-react/src/admin/orm/query/index.ts @@ -24,16 +24,16 @@ export interface OrgIsManagerOfVariables { pUserId?: string; pMaxDepth?: number; } -export interface StepsAchievedVariables { - vlevel?: string; - vroleId?: string; -} export interface AppPermissionsGetMaskVariables { ids?: string[]; } export interface OrgPermissionsGetMaskVariables { ids?: string[]; } +export interface StepsAchievedVariables { + vlevel?: string; + vroleId?: string; +} export interface AppPermissionsGetMaskByNamesVariables { names?: string[]; } @@ -178,56 +178,52 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - stepsAchieved: ( - args: StepsAchievedVariables, + appPermissionsGetMask: ( + args: AppPermissionsGetMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - stepsAchieved: boolean | null; + appPermissionsGetMask: string | null; }>({ client, operation: 'query', - operationName: 'StepsAchieved', - fieldName: 'stepsAchieved', + operationName: 'AppPermissionsGetMask', + fieldName: 'appPermissionsGetMask', ...buildCustomDocument( 'query', - 'StepsAchieved', - 'stepsAchieved', + 'AppPermissionsGetMask', + 'appPermissionsGetMask', options?.select, args, [ { - name: 'vlevel', - type: 'String', - }, - { - name: 'vroleId', - type: 'UUID', + name: 'ids', + type: '[UUID]', }, ], connectionFieldsMap, undefined ), }), - appPermissionsGetMask: ( - args: AppPermissionsGetMaskVariables, + orgPermissionsGetMask: ( + args: OrgPermissionsGetMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - appPermissionsGetMask: string | null; + orgPermissionsGetMask: string | null; }>({ client, operation: 'query', - operationName: 'AppPermissionsGetMask', - fieldName: 'appPermissionsGetMask', + operationName: 'OrgPermissionsGetMask', + fieldName: 'orgPermissionsGetMask', ...buildCustomDocument( 'query', - 'AppPermissionsGetMask', - 'appPermissionsGetMask', + 'OrgPermissionsGetMask', + 'orgPermissionsGetMask', options?.select, args, [ @@ -240,29 +236,33 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - orgPermissionsGetMask: ( - args: OrgPermissionsGetMaskVariables, + stepsAchieved: ( + args: StepsAchievedVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - orgPermissionsGetMask: string | null; + stepsAchieved: boolean | null; }>({ client, operation: 'query', - operationName: 'OrgPermissionsGetMask', - fieldName: 'orgPermissionsGetMask', + operationName: 'StepsAchieved', + fieldName: 'stepsAchieved', ...buildCustomDocument( 'query', - 'OrgPermissionsGetMask', - 'orgPermissionsGetMask', + 'StepsAchieved', + 'stepsAchieved', options?.select, args, [ { - name: 'ids', - type: '[UUID]', + name: 'vlevel', + type: 'String', + }, + { + name: 'vroleId', + type: 'UUID', }, ], connectionFieldsMap, diff --git a/sdk/constructive-react/src/auth/orm/input-types.ts b/sdk/constructive-react/src/auth/orm/input-types.ts index 0f48b534f..ba9c684f2 100644 --- a/sdk/constructive-react/src/auth/orm/input-types.ts +++ b/sdk/constructive-react/src/auth/orm/input-types.ts @@ -894,7 +894,6 @@ export interface CreateUserInput { username?: string; displayName?: string; profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; type?: number; }; } diff --git a/sdk/constructive-react/src/auth/schema-types.ts b/sdk/constructive-react/src/auth/schema-types.ts index 932874a87..076c3411e 100644 --- a/sdk/constructive-react/src/auth/schema-types.ts +++ b/sdk/constructive-react/src/auth/schema-types.ts @@ -134,8 +134,6 @@ export type UserOrderBy = | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' - | 'SEARCH_TSV_ASC' - | 'SEARCH_TSV_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' @@ -782,7 +780,6 @@ export interface UserInput { username?: string; displayName?: string; profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; type?: number; createdAt?: string; updatedAt?: string; @@ -914,7 +911,6 @@ export interface UserPatch { username?: string; displayName?: string; profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; type?: number; createdAt?: string; updatedAt?: string; diff --git a/sdk/constructive-react/src/public/hooks/README.md b/sdk/constructive-react/src/public/hooks/README.md index 747ec9a9d..01a5d5d90 100644 --- a/sdk/constructive-react/src/public/hooks/README.md +++ b/sdk/constructive-react/src/public/hooks/README.md @@ -38,6 +38,11 @@ function App() { | `useCreateOrgGetSubordinatesRecordMutation` | Mutation | Create a orgGetSubordinatesRecord | | `useGetAllQuery` | Query | List all getAll | | `useCreateGetAllRecordMutation` | Mutation | Create a getAllRecord | +| `useObjectsQuery` | Query | List all objects | +| `useObjectQuery` | Query | Get one object | +| `useCreateObjectMutation` | Mutation | Create a object | +| `useUpdateObjectMutation` | Mutation | Update a object | +| `useDeleteObjectMutation` | Mutation | Delete a object | | `useAppPermissionsQuery` | Query | Defines available permissions as named bits within a bitmask, used by the RBAC system for access control | | `useAppPermissionQuery` | Query | Defines available permissions as named bits within a bitmask, used by the RBAC system for access control | | `useCreateAppPermissionMutation` | Mutation | Defines available permissions as named bits within a bitmask, used by the RBAC system for access control | @@ -48,11 +53,6 @@ function App() { | `useCreateOrgPermissionMutation` | Mutation | Defines available permissions as named bits within a bitmask, used by the RBAC system for access control | | `useUpdateOrgPermissionMutation` | Mutation | Defines available permissions as named bits within a bitmask, used by the RBAC system for access control | | `useDeleteOrgPermissionMutation` | Mutation | Defines available permissions as named bits within a bitmask, used by the RBAC system for access control | -| `useObjectsQuery` | Query | List all objects | -| `useObjectQuery` | Query | Get one object | -| `useCreateObjectMutation` | Mutation | Create a object | -| `useUpdateObjectMutation` | Mutation | Update a object | -| `useDeleteObjectMutation` | Mutation | Delete a object | | `useAppLevelRequirementsQuery` | Query | Defines the specific requirements that must be met to achieve a level | | `useAppLevelRequirementQuery` | Query | Defines the specific requirements that must be met to achieve a level | | `useCreateAppLevelRequirementMutation` | Mutation | Defines the specific requirements that must be met to achieve a level | @@ -513,6 +513,11 @@ function App() { | `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) | +| `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. | +| `useUpdateCommitMutation` | Mutation | A commit records changes to the repository. | +| `useDeleteCommitMutation` | Mutation | A commit records changes to the repository. | | `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 | @@ -523,11 +528,6 @@ function App() { | `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. | -| `useUpdateCommitMutation` | Mutation | A commit records changes to the repository. | -| `useDeleteCommitMutation` | Mutation | A commit records changes to the repository. | | `useOrgMembershipDefaultsQuery` | Query | Default membership settings per entity, controlling initial approval and verification state for new members | | `useOrgMembershipDefaultQuery` | Query | Default membership settings per entity, controlling initial approval and verification state for new members | | `useCreateOrgMembershipDefaultMutation` | Mutation | Default membership settings per entity, controlling initial approval and verification state for new members | @@ -553,6 +553,11 @@ function App() { | `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 | +| `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 | | `useAstMigrationsQuery` | Query | List all astMigrations | | `useAstMigrationQuery` | Query | Get one astMigration | | `useCreateAstMigrationMutation` | Mutation | Create a astMigration | @@ -563,11 +568,6 @@ function App() { | `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 | @@ -585,11 +585,11 @@ function App() { | `useOrgPermissionsGetMaskQuery` | Query | orgPermissionsGetMask | | `useAppPermissionsGetMaskByNamesQuery` | Query | appPermissionsGetMaskByNames | | `useOrgPermissionsGetMaskByNamesQuery` | Query | orgPermissionsGetMaskByNames | -| `useAppPermissionsGetByMaskQuery` | Query | Reads and enables pagination through a set of `AppPermission`. | -| `useOrgPermissionsGetByMaskQuery` | Query | Reads and enables pagination through a set of `OrgPermission`. | | `useGetAllObjectsFromRootQuery` | Query | Reads and enables pagination through a set of `Object`. | | `useGetPathObjectsFromRootQuery` | Query | Reads and enables pagination through a set of `Object`. | | `useGetObjectAtPathQuery` | Query | getObjectAtPath | +| `useAppPermissionsGetByMaskQuery` | Query | Reads and enables pagination through a set of `AppPermission`. | +| `useOrgPermissionsGetByMaskQuery` | Query | Reads and enables pagination through a set of `OrgPermission`. | | `useStepsRequiredQuery` | Query | Reads and enables pagination through a set of `AppLevelRequirement`. | | `useCurrentUserQuery` | Query | currentUser | | `useSignOutMutation` | Mutation | signOut | @@ -602,12 +602,17 @@ function App() { | `useConfirmDeleteAccountMutation` | Mutation | confirmDeleteAccount | | `useSetPasswordMutation` | Mutation | setPassword | | `useVerifyEmailMutation` | Mutation | verifyEmail | +| `useRemoveNodeAtPathMutation` | Mutation | removeNodeAtPath | | `useResetPasswordMutation` | Mutation | resetPassword | | `useBootstrapUserMutation` | Mutation | bootstrapUser | -| `useRemoveNodeAtPathMutation` | Mutation | removeNodeAtPath | +| `useSetFieldOrderMutation` | Mutation | setFieldOrder | | `useSetDataAtPathMutation` | Mutation | setDataAtPath | | `useSetPropsAndCommitMutation` | Mutation | setPropsAndCommit | | `useProvisionDatabaseWithUserMutation` | Mutation | provisionDatabaseWithUser | +| `useInsertNodeAtPathMutation` | Mutation | insertNodeAtPath | +| `useUpdateNodeAtPathMutation` | Mutation | updateNodeAtPath | +| `useSetAndCommitMutation` | Mutation | setAndCommit | +| `useApplyRlsMutation` | Mutation | applyRls | | `useSignInOneTimeTokenMutation` | Mutation | signInOneTimeToken | | `useCreateUserDatabaseMutation` | Mutation | Creates a new user database with all required modules, permissions, and RLS policies. @@ -629,12 +634,7 @@ Example usage: | `useExtendTokenExpiresMutation` | Mutation | extendTokenExpires | | `useSignInMutation` | Mutation | signIn | | `useSignUpMutation` | Mutation | signUp | -| `useSetFieldOrderMutation` | Mutation | setFieldOrder | | `useOneTimeTokenMutation` | Mutation | oneTimeToken | -| `useInsertNodeAtPathMutation` | Mutation | insertNodeAtPath | -| `useUpdateNodeAtPathMutation` | Mutation | updateNodeAtPath | -| `useSetAndCommitMutation` | Mutation | setAndCommit | -| `useApplyRlsMutation` | Mutation | applyRls | | `useForgotPasswordMutation` | Mutation | forgotPassword | | `useSendVerificationEmailMutation` | Mutation | sendVerificationEmail | | `useVerifyPasswordMutation` | Mutation | verifyPassword | @@ -687,6 +687,27 @@ const { mutate: create } = useCreateGetAllRecordMutation({ create({ path: '', data: '' }); ``` +### Object + +```typescript +// List all objects +const { data, isLoading } = useObjectsQuery({ + selection: { fields: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }, +}); + +// Get one object +const { data: item } = useObjectQuery({ + id: '', + selection: { fields: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }, +}); + +// Create a object +const { mutate: create } = useCreateObjectMutation({ + selection: { fields: { id: true } }, +}); +create({ hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }); +``` + ### AppPermission ```typescript @@ -729,27 +750,6 @@ const { mutate: create } = useCreateOrgPermissionMutation({ create({ name: '', bitnum: '', bitstr: '', description: '', descriptionTrgmSimilarity: '', searchScore: '' }); ``` -### Object - -```typescript -// List all objects -const { data, isLoading } = useObjectsQuery({ - selection: { fields: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }, -}); - -// Get one object -const { data: item } = useObjectQuery({ - id: '', - selection: { fields: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }, -}); - -// Create a object -const { mutate: create } = useCreateObjectMutation({ - selection: { fields: { id: true } }, -}); -create({ hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }); -``` - ### AppLevelRequirement ```typescript @@ -2535,6 +2535,27 @@ const { mutate: create } = useCreateMembershipTypeMutation({ create({ name: '', description: '', prefix: '', descriptionTrgmSimilarity: '', prefixTrgmSimilarity: '', 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, 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, messageTrgmSimilarity: true, searchScore: true } }, +}); + +// Create a commit +const { mutate: create } = useCreateCommitMutation({ + selection: { fields: { id: true } }, +}); +create({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }); +``` + ### AppMembershipDefault ```typescript @@ -2577,27 +2598,6 @@ const { mutate: create } = useCreateRlsModuleMutation({ 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, 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, messageTrgmSimilarity: true, searchScore: true } }, -}); - -// Create a commit -const { mutate: create } = useCreateCommitMutation({ - selection: { fields: { id: true } }, -}); -create({ message: '', databaseId: '', storeId: '', parentIds: '', authorId: '', committerId: '', treeId: '', date: '', messageTrgmSimilarity: '', searchScore: '' }); -``` - ### OrgMembershipDefault ```typescript @@ -2703,6 +2703,27 @@ const { mutate: create } = useCreateEmailMutation({ create({ ownerId: '', email: '', isVerified: '', isPrimary: '' }); ``` +### User + +```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, 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, displayNameTrgmSimilarity: true, searchScore: true } }, +}); + +// Create a user +const { mutate: create } = useCreateUserMutation({ + selection: { fields: { id: true } }, +}); +create({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }); +``` + ### AstMigration ```typescript @@ -2745,27 +2766,6 @@ const { mutate: create } = useCreateAppMembershipMutation({ create({ createdBy: '', updatedBy: '', isApproved: '', isBanned: '', isDisabled: '', isVerified: '', isActive: '', isOwner: '', isAdmin: '', permissions: '', granted: '', actorId: '', profileId: '' }); ``` -### User - -```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, 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, displayNameTrgmSimilarity: true, searchScore: true } }, -}); - -// Create a user -const { mutate: create } = useCreateUserMutation({ - selection: { fields: { id: true } }, -}); -create({ username: '', displayName: '', profilePicture: '', searchTsv: '', type: '', searchTsvRank: '', displayNameTrgmSimilarity: '', searchScore: '' }); -``` - ### HierarchyModule ```typescript @@ -2915,78 +2915,78 @@ orgPermissionsGetMaskByNames |----------|------| | `names` | [String] | -### `useAppPermissionsGetByMaskQuery` +### `useGetAllObjectsFromRootQuery` -Reads and enables pagination through a set of `AppPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | | `first` | Int | | `offset` | Int | | `after` | Cursor | -### `useOrgPermissionsGetByMaskQuery` +### `useGetPathObjectsFromRootQuery` -Reads and enables pagination through a set of `OrgPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | + | `path` | [String] | | `first` | Int | | `offset` | Int | | `after` | Cursor | -### `useGetAllObjectsFromRootQuery` +### `useGetObjectAtPathQuery` -Reads and enables pagination through a set of `Object`. +getObjectAtPath - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `first` | Int | - | `offset` | Int | - | `after` | Cursor | + | `dbId` | UUID | + | `storeId` | UUID | + | `path` | [String] | + | `refname` | String | -### `useGetPathObjectsFromRootQuery` +### `useAppPermissionsGetByMaskQuery` -Reads and enables pagination through a set of `Object`. +Reads and enables pagination through a set of `AppPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `path` | [String] | + | `mask` | BitString | | `first` | Int | | `offset` | Int | | `after` | Cursor | -### `useGetObjectAtPathQuery` +### `useOrgPermissionsGetByMaskQuery` -getObjectAtPath +Reads and enables pagination through a set of `OrgPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `dbId` | UUID | - | `storeId` | UUID | - | `path` | [String] | - | `refname` | String | + | `mask` | BitString | + | `first` | Int | + | `offset` | Int | + | `after` | Cursor | ### `useStepsRequiredQuery` @@ -3120,6 +3120,17 @@ verifyEmail |----------|------| | `input` | VerifyEmailInput (required) | +### `useRemoveNodeAtPathMutation` + +removeNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `input` | RemoveNodeAtPathInput (required) | + ### `useResetPasswordMutation` resetPassword @@ -3142,16 +3153,16 @@ bootstrapUser |----------|------| | `input` | BootstrapUserInput (required) | -### `useRemoveNodeAtPathMutation` +### `useSetFieldOrderMutation` -removeNodeAtPath +setFieldOrder - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | SetFieldOrderInput (required) | ### `useSetDataAtPathMutation` @@ -3186,142 +3197,131 @@ provisionDatabaseWithUser |----------|------| | `input` | ProvisionDatabaseWithUserInput (required) | -### `useSignInOneTimeTokenMutation` +### `useInsertNodeAtPathMutation` -signInOneTimeToken +insertNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInOneTimeTokenInput (required) | - -### `useCreateUserDatabaseMutation` - -Creates a new user database with all required modules, permissions, and RLS policies. - -Parameters: - - database_name: Name for the new database (required) - - owner_id: UUID of the owner user (required) - - include_invites: Include invite system (default: true) - - include_groups: Include group-level memberships (default: false) - - include_levels: Include levels/achievements (default: false) - - bitlen: Bit length for permission masks (default: 64) - - tokens_expiration: Token expiration interval (default: 30 days) - -Returns the database_id UUID of the newly created database. + | `input` | InsertNodeAtPathInput (required) | -Example usage: - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups +### `useUpdateNodeAtPathMutation` +updateNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | CreateUserDatabaseInput (required) | + | `input` | UpdateNodeAtPathInput (required) | -### `useExtendTokenExpiresMutation` +### `useSetAndCommitMutation` -extendTokenExpires +setAndCommit - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ExtendTokenExpiresInput (required) | + | `input` | SetAndCommitInput (required) | -### `useSignInMutation` +### `useApplyRlsMutation` -signIn +applyRls - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInInput (required) | + | `input` | ApplyRlsInput (required) | -### `useSignUpMutation` +### `useSignInOneTimeTokenMutation` -signUp +signInOneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignUpInput (required) | + | `input` | SignInOneTimeTokenInput (required) | -### `useSetFieldOrderMutation` +### `useCreateUserDatabaseMutation` -setFieldOrder +Creates a new user database with all required modules, permissions, and RLS policies. -- **Type:** mutation -- **Arguments:** +Parameters: + - database_name: Name for the new database (required) + - owner_id: UUID of the owner user (required) + - include_invites: Include invite system (default: true) + - include_groups: Include group-level memberships (default: false) + - include_levels: Include levels/achievements (default: false) + - bitlen: Bit length for permission masks (default: 64) + - tokens_expiration: Token expiration interval (default: 30 days) - | Argument | Type | - |----------|------| - | `input` | SetFieldOrderInput (required) | +Returns the database_id UUID of the newly created database. -### `useOneTimeTokenMutation` +Example usage: + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups -oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | OneTimeTokenInput (required) | + | `input` | CreateUserDatabaseInput (required) | -### `useInsertNodeAtPathMutation` +### `useExtendTokenExpiresMutation` -insertNodeAtPath +extendTokenExpires - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | InsertNodeAtPathInput (required) | + | `input` | ExtendTokenExpiresInput (required) | -### `useUpdateNodeAtPathMutation` +### `useSignInMutation` -updateNodeAtPath +signIn - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | UpdateNodeAtPathInput (required) | + | `input` | SignInInput (required) | -### `useSetAndCommitMutation` +### `useSignUpMutation` -setAndCommit +signUp - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SetAndCommitInput (required) | + | `input` | SignUpInput (required) | -### `useApplyRlsMutation` +### `useOneTimeTokenMutation` -applyRls +oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ApplyRlsInput (required) | + | `input` | OneTimeTokenInput (required) | ### `useForgotPasswordMutation` diff --git a/sdk/constructive-react/src/public/hooks/index.ts b/sdk/constructive-react/src/public/hooks/index.ts index 38914b4e5..e7d977bec 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, 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 + * Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, Object, AppPermission, OrgPermission, 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, Commit, AppMembershipDefault, RlsModule, OrgMembershipDefault, AuditLog, AppLevel, SqlMigration, Email, User, AstMigration, AppMembership, HierarchyModule * * Usage: * diff --git a/sdk/constructive-react/src/public/hooks/invalidation.ts b/sdk/constructive-react/src/public/hooks/invalidation.ts index 43a02266c..c688273ec 100644 --- a/sdk/constructive-react/src/public/hooks/invalidation.ts +++ b/sdk/constructive-react/src/public/hooks/invalidation.ts @@ -18,9 +18,9 @@ import { orgGetManagersRecordKeys, orgGetSubordinatesRecordKeys, getAllRecordKeys, + objectKeys, appPermissionKeys, orgPermissionKeys, - objectKeys, appLevelRequirementKeys, databaseKeys, schemaKeys, @@ -106,17 +106,17 @@ import { connectedAccountKeys, nodeTypeRegistryKeys, membershipTypeKeys, + commitKeys, appMembershipDefaultKeys, rlsModuleKeys, - commitKeys, orgMembershipDefaultKeys, auditLogKeys, appLevelKeys, sqlMigrationKeys, emailKeys, + userKeys, astMigrationKeys, appMembershipKeys, - userKeys, hierarchyModuleKeys, } from './query-keys'; /** @@ -190,6 +190,20 @@ export const invalidate = { queryKey: getAllRecordKeys.detail(id), }), }, + /** Invalidate object queries */ object: { + /** Invalidate all object queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: objectKeys.all, + }), + /** Invalidate object list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: objectKeys.lists(), + }), + /** Invalidate a specific object */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: objectKeys.detail(id), + }), + }, /** Invalidate appPermission queries */ appPermission: { /** Invalidate all appPermission queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -224,20 +238,6 @@ export const invalidate = { queryKey: orgPermissionKeys.detail(id), }), }, - /** Invalidate object queries */ object: { - /** Invalidate all object queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: objectKeys.all, - }), - /** Invalidate object list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: objectKeys.lists(), - }), - /** Invalidate a specific object */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: objectKeys.detail(id), - }), - }, /** Invalidate appLevelRequirement queries */ appLevelRequirement: { /** Invalidate all appLevelRequirement queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1617,6 +1617,20 @@ export const invalidate = { queryKey: membershipTypeKeys.detail(id), }), }, + /** Invalidate commit queries */ commit: { + /** Invalidate all commit queries */ all: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: commitKeys.all, + }), + /** Invalidate commit list queries */ lists: (queryClient: QueryClient) => + queryClient.invalidateQueries({ + queryKey: commitKeys.lists(), + }), + /** Invalidate a specific commit */ detail: (queryClient: QueryClient, id: string | number) => + queryClient.invalidateQueries({ + queryKey: commitKeys.detail(id), + }), + }, /** Invalidate appMembershipDefault queries */ appMembershipDefault: { /** Invalidate all appMembershipDefault queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1651,20 +1665,6 @@ export const invalidate = { queryKey: rlsModuleKeys.detail(id), }), }, - /** Invalidate commit queries */ commit: { - /** Invalidate all commit queries */ all: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: commitKeys.all, - }), - /** Invalidate commit list queries */ lists: (queryClient: QueryClient) => - queryClient.invalidateQueries({ - queryKey: commitKeys.lists(), - }), - /** Invalidate a specific commit */ detail: (queryClient: QueryClient, id: string | number) => - queryClient.invalidateQueries({ - queryKey: commitKeys.detail(id), - }), - }, /** Invalidate orgMembershipDefault queries */ orgMembershipDefault: { /** Invalidate all orgMembershipDefault queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1741,6 +1741,20 @@ export const invalidate = { queryKey: emailKeys.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 astMigration queries */ astMigration: { /** Invalidate all astMigration queries */ all: (queryClient: QueryClient) => queryClient.invalidateQueries({ @@ -1775,20 +1789,6 @@ 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({ @@ -1843,6 +1843,11 @@ export const remove = { queryKey: getAllRecordKeys.detail(id), }); }, + /** Remove object from cache */ object: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: objectKeys.detail(id), + }); + }, /** Remove appPermission from cache */ appPermission: ( queryClient: QueryClient, id: string | number @@ -1859,11 +1864,6 @@ export const remove = { queryKey: orgPermissionKeys.detail(id), }); }, - /** Remove object from cache */ object: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: objectKeys.detail(id), - }); - }, /** Remove appLevelRequirement from cache */ appLevelRequirement: ( queryClient: QueryClient, id: string | number @@ -2457,6 +2457,11 @@ export const remove = { queryKey: membershipTypeKeys.detail(id), }); }, + /** Remove commit from cache */ commit: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: commitKeys.detail(id), + }); + }, /** Remove appMembershipDefault from cache */ appMembershipDefault: ( queryClient: QueryClient, id: string | number @@ -2470,11 +2475,6 @@ export const remove = { queryKey: rlsModuleKeys.detail(id), }); }, - /** Remove commit from cache */ commit: (queryClient: QueryClient, id: string | number) => { - queryClient.removeQueries({ - queryKey: commitKeys.detail(id), - }); - }, /** Remove orgMembershipDefault from cache */ orgMembershipDefault: ( queryClient: QueryClient, id: string | number @@ -2506,6 +2506,11 @@ export const remove = { queryKey: emailKeys.detail(id), }); }, + /** Remove user from cache */ user: (queryClient: QueryClient, id: string | number) => { + queryClient.removeQueries({ + queryKey: userKeys.detail(id), + }); + }, /** Remove astMigration from cache */ astMigration: ( queryClient: QueryClient, id: string | number @@ -2522,11 +2527,6 @@ 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 59143d97b..f8dbf43ef 100644 --- a/sdk/constructive-react/src/public/hooks/mutation-keys.ts +++ b/sdk/constructive-react/src/public/hooks/mutation-keys.ts @@ -48,6 +48,14 @@ export const getAllRecordMutationKeys = { /** Delete getAllRecord mutation key */ delete: (id: string | number) => ['mutation', 'getallrecord', 'delete', id] as const, } as const; +export const objectMutationKeys = { + /** All object mutation keys */ all: ['mutation', 'object'] as const, + /** Create object mutation key */ create: () => ['mutation', 'object', 'create'] as const, + /** Update object mutation key */ update: (id: string | number) => + ['mutation', 'object', 'update', id] as const, + /** Delete object mutation key */ delete: (id: string | number) => + ['mutation', 'object', 'delete', id] as const, +} as const; export const appPermissionMutationKeys = { /** All appPermission mutation keys */ all: ['mutation', 'apppermission'] as const, /** Create appPermission mutation key */ create: () => @@ -66,14 +74,6 @@ export const orgPermissionMutationKeys = { /** Delete orgPermission mutation key */ delete: (id: string | number) => ['mutation', 'orgpermission', 'delete', id] as const, } as const; -export const objectMutationKeys = { - /** All object mutation keys */ all: ['mutation', 'object'] as const, - /** Create object mutation key */ create: () => ['mutation', 'object', 'create'] as const, - /** Update object mutation key */ update: (id: string | number) => - ['mutation', 'object', 'update', id] as const, - /** Delete object mutation key */ delete: (id: string | number) => - ['mutation', 'object', 'delete', id] as const, -} as const; export const appLevelRequirementMutationKeys = { /** All appLevelRequirement mutation keys */ all: ['mutation', 'applevelrequirement'] as const, /** Create appLevelRequirement mutation key */ create: () => @@ -825,6 +825,14 @@ export const membershipTypeMutationKeys = { /** Delete membershipType mutation key */ delete: (id: string | number) => ['mutation', 'membershiptype', '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, + /** Update commit mutation key */ update: (id: string | number) => + ['mutation', 'commit', 'update', id] as const, + /** Delete commit mutation key */ delete: (id: string | number) => + ['mutation', 'commit', 'delete', id] as const, +} as const; export const appMembershipDefaultMutationKeys = { /** All appMembershipDefault mutation keys */ all: ['mutation', 'appmembershipdefault'] as const, /** Create appMembershipDefault mutation key */ create: () => @@ -842,14 +850,6 @@ export const rlsModuleMutationKeys = { /** 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, - /** Update commit mutation key */ update: (id: string | number) => - ['mutation', 'commit', 'update', id] as const, - /** Delete commit mutation key */ delete: (id: string | number) => - ['mutation', 'commit', 'delete', id] as const, -} as const; export const orgMembershipDefaultMutationKeys = { /** All orgMembershipDefault mutation keys */ all: ['mutation', 'orgmembershipdefault'] as const, /** Create orgMembershipDefault mutation key */ create: () => @@ -892,6 +892,14 @@ export const emailMutationKeys = { /** Delete email mutation key */ delete: (id: string | number) => ['mutation', 'email', '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 astMigrationMutationKeys = { /** All astMigration mutation keys */ all: ['mutation', 'astmigration'] as const, /** Create astMigration mutation key */ create: () => @@ -910,14 +918,6 @@ 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: () => @@ -975,6 +975,10 @@ export const customMutationKeys = { identifier ? (['mutation', 'verifyEmail', identifier] as const) : (['mutation', 'verifyEmail'] as const), + /** Mutation key for removeNodeAtPath */ removeNodeAtPath: (identifier?: string) => + identifier + ? (['mutation', 'removeNodeAtPath', identifier] as const) + : (['mutation', 'removeNodeAtPath'] as const), /** Mutation key for resetPassword */ resetPassword: (identifier?: string) => identifier ? (['mutation', 'resetPassword', identifier] as const) @@ -983,10 +987,10 @@ export const customMutationKeys = { identifier ? (['mutation', 'bootstrapUser', identifier] as const) : (['mutation', 'bootstrapUser'] as const), - /** Mutation key for removeNodeAtPath */ removeNodeAtPath: (identifier?: string) => + /** Mutation key for setFieldOrder */ setFieldOrder: (identifier?: string) => identifier - ? (['mutation', 'removeNodeAtPath', identifier] as const) - : (['mutation', 'removeNodeAtPath'] as const), + ? (['mutation', 'setFieldOrder', identifier] as const) + : (['mutation', 'setFieldOrder'] as const), /** Mutation key for setDataAtPath */ setDataAtPath: (identifier?: string) => identifier ? (['mutation', 'setDataAtPath', identifier] as const) @@ -1001,6 +1005,22 @@ export const customMutationKeys = { identifier ? (['mutation', 'provisionDatabaseWithUser', identifier] as const) : (['mutation', 'provisionDatabaseWithUser'] as const), + /** Mutation key for insertNodeAtPath */ insertNodeAtPath: (identifier?: string) => + identifier + ? (['mutation', 'insertNodeAtPath', identifier] as const) + : (['mutation', 'insertNodeAtPath'] as const), + /** Mutation key for updateNodeAtPath */ updateNodeAtPath: (identifier?: string) => + identifier + ? (['mutation', 'updateNodeAtPath', identifier] as const) + : (['mutation', 'updateNodeAtPath'] as const), + /** Mutation key for setAndCommit */ setAndCommit: (identifier?: string) => + identifier + ? (['mutation', 'setAndCommit', identifier] as const) + : (['mutation', 'setAndCommit'] as const), + /** Mutation key for applyRls */ applyRls: (identifier?: string) => + identifier + ? (['mutation', 'applyRls', identifier] as const) + : (['mutation', 'applyRls'] as const), /** Mutation key for signInOneTimeToken */ signInOneTimeToken: (identifier?: string) => identifier ? (['mutation', 'signInOneTimeToken', identifier] as const) @@ -1017,30 +1037,10 @@ export const customMutationKeys = { identifier ? (['mutation', 'signIn', identifier] as const) : (['mutation', 'signIn'] as const), /** Mutation key for signUp */ signUp: (identifier?: string) => identifier ? (['mutation', 'signUp', identifier] as const) : (['mutation', 'signUp'] as const), - /** Mutation key for setFieldOrder */ setFieldOrder: (identifier?: string) => - identifier - ? (['mutation', 'setFieldOrder', identifier] as const) - : (['mutation', 'setFieldOrder'] as const), /** Mutation key for oneTimeToken */ oneTimeToken: (identifier?: string) => identifier ? (['mutation', 'oneTimeToken', identifier] as const) : (['mutation', 'oneTimeToken'] as const), - /** Mutation key for insertNodeAtPath */ insertNodeAtPath: (identifier?: string) => - identifier - ? (['mutation', 'insertNodeAtPath', identifier] as const) - : (['mutation', 'insertNodeAtPath'] as const), - /** Mutation key for updateNodeAtPath */ updateNodeAtPath: (identifier?: string) => - identifier - ? (['mutation', 'updateNodeAtPath', identifier] as const) - : (['mutation', 'updateNodeAtPath'] as const), - /** Mutation key for setAndCommit */ setAndCommit: (identifier?: string) => - identifier - ? (['mutation', 'setAndCommit', identifier] as const) - : (['mutation', 'setAndCommit'] as const), - /** Mutation key for applyRls */ applyRls: (identifier?: string) => - identifier - ? (['mutation', 'applyRls', identifier] as const) - : (['mutation', 'applyRls'] as const), /** Mutation key for forgotPassword */ forgotPassword: (identifier?: string) => identifier ? (['mutation', 'forgotPassword', identifier] as const) @@ -1084,9 +1084,9 @@ export const mutationKeys = { orgGetManagersRecord: orgGetManagersRecordMutationKeys, orgGetSubordinatesRecord: orgGetSubordinatesRecordMutationKeys, getAllRecord: getAllRecordMutationKeys, + object: objectMutationKeys, appPermission: appPermissionMutationKeys, orgPermission: orgPermissionMutationKeys, - object: objectMutationKeys, appLevelRequirement: appLevelRequirementMutationKeys, database: databaseMutationKeys, schema: schemaMutationKeys, @@ -1172,17 +1172,17 @@ export const mutationKeys = { connectedAccount: connectedAccountMutationKeys, nodeTypeRegistry: nodeTypeRegistryMutationKeys, membershipType: membershipTypeMutationKeys, + commit: commitMutationKeys, appMembershipDefault: appMembershipDefaultMutationKeys, rlsModule: rlsModuleMutationKeys, - commit: commitMutationKeys, orgMembershipDefault: orgMembershipDefaultMutationKeys, auditLog: auditLogMutationKeys, appLevel: appLevelMutationKeys, sqlMigration: sqlMigrationMutationKeys, email: emailMutationKeys, + user: userMutationKeys, astMigration: astMigrationMutationKeys, 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 a0f94c0ec..e972756e6 100644 --- a/sdk/constructive-react/src/public/hooks/mutations/index.ts +++ b/sdk/constructive-react/src/public/hooks/mutations/index.ts @@ -6,15 +6,15 @@ export * from './useCreateOrgGetManagersRecordMutation'; export * from './useCreateOrgGetSubordinatesRecordMutation'; export * from './useCreateGetAllRecordMutation'; +export * from './useCreateObjectMutation'; +export * from './useUpdateObjectMutation'; +export * from './useDeleteObjectMutation'; export * from './useCreateAppPermissionMutation'; export * from './useUpdateAppPermissionMutation'; export * from './useDeleteAppPermissionMutation'; export * from './useCreateOrgPermissionMutation'; export * from './useUpdateOrgPermissionMutation'; export * from './useDeleteOrgPermissionMutation'; -export * from './useCreateObjectMutation'; -export * from './useUpdateObjectMutation'; -export * from './useDeleteObjectMutation'; export * from './useCreateAppLevelRequirementMutation'; export * from './useUpdateAppLevelRequirementMutation'; export * from './useDeleteAppLevelRequirementMutation'; @@ -270,15 +270,15 @@ export * from './useDeleteNodeTypeRegistryMutation'; export * from './useCreateMembershipTypeMutation'; export * from './useUpdateMembershipTypeMutation'; export * from './useDeleteMembershipTypeMutation'; +export * from './useCreateCommitMutation'; +export * from './useUpdateCommitMutation'; +export * from './useDeleteCommitMutation'; 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'; export * from './useCreateOrgMembershipDefaultMutation'; export * from './useUpdateOrgMembershipDefaultMutation'; export * from './useDeleteOrgMembershipDefaultMutation'; @@ -292,13 +292,13 @@ export * from './useCreateSqlMigrationMutation'; export * from './useCreateEmailMutation'; export * from './useUpdateEmailMutation'; export * from './useDeleteEmailMutation'; +export * from './useCreateUserMutation'; +export * from './useUpdateUserMutation'; +export * from './useDeleteUserMutation'; export * from './useCreateAstMigrationMutation'; 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'; @@ -312,23 +312,23 @@ export * from './useInitEmptyRepoMutation'; export * from './useConfirmDeleteAccountMutation'; export * from './useSetPasswordMutation'; export * from './useVerifyEmailMutation'; +export * from './useRemoveNodeAtPathMutation'; export * from './useResetPasswordMutation'; export * from './useBootstrapUserMutation'; -export * from './useRemoveNodeAtPathMutation'; +export * from './useSetFieldOrderMutation'; export * from './useSetDataAtPathMutation'; export * from './useSetPropsAndCommitMutation'; export * from './useProvisionDatabaseWithUserMutation'; +export * from './useInsertNodeAtPathMutation'; +export * from './useUpdateNodeAtPathMutation'; +export * from './useSetAndCommitMutation'; +export * from './useApplyRlsMutation'; export * from './useSignInOneTimeTokenMutation'; export * from './useCreateUserDatabaseMutation'; export * from './useExtendTokenExpiresMutation'; export * from './useSignInMutation'; export * from './useSignUpMutation'; -export * from './useSetFieldOrderMutation'; export * from './useOneTimeTokenMutation'; -export * from './useInsertNodeAtPathMutation'; -export * from './useUpdateNodeAtPathMutation'; -export * from './useSetAndCommitMutation'; -export * from './useApplyRlsMutation'; export * from './useForgotPasswordMutation'; export * from './useSendVerificationEmailMutation'; export * from './useVerifyPasswordMutation'; diff --git a/sdk/constructive-react/src/public/hooks/queries/index.ts b/sdk/constructive-react/src/public/hooks/queries/index.ts index 8aab74efa..c3dc01b30 100644 --- a/sdk/constructive-react/src/public/hooks/queries/index.ts +++ b/sdk/constructive-react/src/public/hooks/queries/index.ts @@ -6,12 +6,12 @@ export * from './useOrgGetManagersQuery'; export * from './useOrgGetSubordinatesQuery'; export * from './useGetAllQuery'; +export * from './useObjectsQuery'; +export * from './useObjectQuery'; export * from './useAppPermissionsQuery'; export * from './useAppPermissionQuery'; export * from './useOrgPermissionsQuery'; export * from './useOrgPermissionQuery'; -export * from './useObjectsQuery'; -export * from './useObjectQuery'; export * from './useAppLevelRequirementsQuery'; export * from './useAppLevelRequirementQuery'; export * from './useDatabasesQuery'; @@ -182,12 +182,12 @@ export * from './useNodeTypeRegistriesQuery'; export * from './useNodeTypeRegistryQuery'; export * from './useMembershipTypesQuery'; export * from './useMembershipTypeQuery'; +export * from './useCommitsQuery'; +export * from './useCommitQuery'; export * from './useAppMembershipDefaultsQuery'; export * from './useAppMembershipDefaultQuery'; export * from './useRlsModulesQuery'; export * from './useRlsModuleQuery'; -export * from './useCommitsQuery'; -export * from './useCommitQuery'; export * from './useOrgMembershipDefaultsQuery'; export * from './useOrgMembershipDefaultQuery'; export * from './useAuditLogsQuery'; @@ -198,12 +198,12 @@ export * from './useSqlMigrationsQuery'; export * from './useSqlMigrationQuery'; export * from './useEmailsQuery'; export * from './useEmailQuery'; +export * from './useUsersQuery'; +export * from './useUserQuery'; export * from './useAstMigrationsQuery'; export * from './useAstMigrationQuery'; export * from './useAppMembershipsQuery'; export * from './useAppMembershipQuery'; -export * from './useUsersQuery'; -export * from './useUserQuery'; export * from './useHierarchyModulesQuery'; export * from './useHierarchyModuleQuery'; export * from './useCurrentUserIdQuery'; @@ -218,10 +218,10 @@ export * from './useAppPermissionsGetMaskQuery'; export * from './useOrgPermissionsGetMaskQuery'; export * from './useAppPermissionsGetMaskByNamesQuery'; export * from './useOrgPermissionsGetMaskByNamesQuery'; -export * from './useAppPermissionsGetByMaskQuery'; -export * from './useOrgPermissionsGetByMaskQuery'; export * from './useGetAllObjectsFromRootQuery'; export * from './useGetPathObjectsFromRootQuery'; export * from './useGetObjectAtPathQuery'; +export * from './useAppPermissionsGetByMaskQuery'; +export * from './useOrgPermissionsGetByMaskQuery'; export * from './useStepsRequiredQuery'; export * from './useCurrentUserQuery'; diff --git a/sdk/constructive-react/src/public/hooks/query-keys.ts b/sdk/constructive-react/src/public/hooks/query-keys.ts index 215c60cf1..eaed3876d 100644 --- a/sdk/constructive-react/src/public/hooks/query-keys.ts +++ b/sdk/constructive-react/src/public/hooks/query-keys.ts @@ -46,6 +46,15 @@ export const getAllRecordKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...getAllRecordKeys.details(), id] as const, } as const; +export const objectKeys = { + /** All object queries */ all: ['object'] as const, + /** List query keys */ lists: () => [...objectKeys.all, 'list'] as const, + /** List query key with variables */ list: (variables?: object) => + [...objectKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...objectKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...objectKeys.details(), id] as const, +} as const; export const appPermissionKeys = { /** All appPermission queries */ all: ['apppermission'] as const, /** List query keys */ lists: () => [...appPermissionKeys.all, 'list'] as const, @@ -64,15 +73,6 @@ export const orgPermissionKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...orgPermissionKeys.details(), id] as const, } as const; -export const objectKeys = { - /** All object queries */ all: ['object'] as const, - /** List query keys */ lists: () => [...objectKeys.all, 'list'] as const, - /** List query key with variables */ list: (variables?: object) => - [...objectKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...objectKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...objectKeys.details(), id] as const, -} as const; export const appLevelRequirementKeys = { /** All appLevelRequirement queries */ all: ['applevelrequirement'] as const, /** List query keys */ lists: () => [...appLevelRequirementKeys.all, 'list'] as const, @@ -838,6 +838,15 @@ export const membershipTypeKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...membershipTypeKeys.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, + /** List query key with variables */ list: (variables?: object) => + [...commitKeys.lists(), variables] as const, + /** Detail query keys */ details: () => [...commitKeys.all, 'detail'] as const, + /** Detail query key for specific item */ detail: (id: string | number) => + [...commitKeys.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, @@ -856,15 +865,6 @@ export const rlsModuleKeys = { /** 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, - /** List query key with variables */ list: (variables?: object) => - [...commitKeys.lists(), variables] as const, - /** Detail query keys */ details: () => [...commitKeys.all, 'detail'] as const, - /** Detail query key for specific item */ detail: (id: string | number) => - [...commitKeys.details(), id] as const, -} as const; export const orgMembershipDefaultKeys = { /** All orgMembershipDefault queries */ all: ['orgmembershipdefault'] as const, /** List query keys */ lists: () => [...orgMembershipDefaultKeys.all, 'list'] as const, @@ -910,6 +910,15 @@ export const emailKeys = { /** Detail query key for specific item */ detail: (id: string | number) => [...emailKeys.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 astMigrationKeys = { /** All astMigration queries */ all: ['astmigration'] as const, /** List query keys */ lists: () => [...astMigrationKeys.all, 'list'] as const, @@ -928,15 +937,6 @@ 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, @@ -976,16 +976,16 @@ export const customQueryKeys = { /** Query key for orgPermissionsGetMaskByNames */ orgPermissionsGetMaskByNames: ( variables?: object ) => ['orgPermissionsGetMaskByNames', variables] as const, - /** Query key for appPermissionsGetByMask */ appPermissionsGetByMask: (variables?: object) => - ['appPermissionsGetByMask', variables] as const, - /** Query key for orgPermissionsGetByMask */ orgPermissionsGetByMask: (variables?: object) => - ['orgPermissionsGetByMask', variables] as const, /** Query key for getAllObjectsFromRoot */ getAllObjectsFromRoot: (variables?: object) => ['getAllObjectsFromRoot', variables] as const, /** Query key for getPathObjectsFromRoot */ getPathObjectsFromRoot: (variables?: object) => ['getPathObjectsFromRoot', variables] as const, /** Query key for getObjectAtPath */ getObjectAtPath: (variables?: object) => ['getObjectAtPath', variables] as const, + /** Query key for appPermissionsGetByMask */ appPermissionsGetByMask: (variables?: object) => + ['appPermissionsGetByMask', variables] as const, + /** Query key for orgPermissionsGetByMask */ orgPermissionsGetByMask: (variables?: object) => + ['orgPermissionsGetByMask', variables] as const, /** Query key for stepsRequired */ stepsRequired: (variables?: object) => ['stepsRequired', variables] as const, /** Query key for currentUser */ currentUser: () => ['currentUser'] as const, @@ -1016,9 +1016,9 @@ export const queryKeys = { orgGetManagersRecord: orgGetManagersRecordKeys, orgGetSubordinatesRecord: orgGetSubordinatesRecordKeys, getAllRecord: getAllRecordKeys, + object: objectKeys, appPermission: appPermissionKeys, orgPermission: orgPermissionKeys, - object: objectKeys, appLevelRequirement: appLevelRequirementKeys, database: databaseKeys, schema: schemaKeys, @@ -1104,17 +1104,17 @@ export const queryKeys = { connectedAccount: connectedAccountKeys, nodeTypeRegistry: nodeTypeRegistryKeys, membershipType: membershipTypeKeys, + commit: commitKeys, appMembershipDefault: appMembershipDefaultKeys, rlsModule: rlsModuleKeys, - commit: commitKeys, orgMembershipDefault: orgMembershipDefaultKeys, auditLog: auditLogKeys, appLevel: appLevelKeys, sqlMigration: sqlMigrationKeys, email: emailKeys, + user: userKeys, astMigration: astMigrationKeys, 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 091da1716..3433a90fc 100644 --- a/sdk/constructive-react/src/public/orm/README.md +++ b/sdk/constructive-react/src/public/orm/README.md @@ -24,9 +24,9 @@ const db = createClient({ | `orgGetManagersRecord` | findMany, findOne, create, update, delete | | `orgGetSubordinatesRecord` | findMany, findOne, create, update, delete | | `getAllRecord` | findMany, findOne, create, update, delete | +| `object` | findMany, findOne, create, update, delete | | `appPermission` | findMany, findOne, create, update, delete | | `orgPermission` | findMany, findOne, create, update, delete | -| `object` | findMany, findOne, create, update, delete | | `appLevelRequirement` | findMany, findOne, create, update, delete | | `database` | findMany, findOne, create, update, delete | | `schema` | findMany, findOne, create, update, delete | @@ -112,17 +112,17 @@ const db = createClient({ | `connectedAccount` | findMany, findOne, create, update, delete | | `nodeTypeRegistry` | findMany, findOne, create, update, delete | | `membershipType` | findMany, findOne, create, update, delete | +| `commit` | 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 | | `sqlMigration` | findMany, findOne, create, update, delete | | `email` | findMany, findOne, create, update, delete | +| `user` | findMany, findOne, create, update, delete | | `astMigration` | 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 @@ -217,6 +217,42 @@ const updated = await db.getAllRecord.update({ where: { id: '' }, data: { const deleted = await db.getAllRecord.delete({ where: { id: '' } }).execute(); ``` +### `db.object` + +CRUD operations for Object records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `hashUuid` | UUID | Yes | +| `id` | UUID | No | +| `databaseId` | UUID | Yes | +| `kids` | UUID | Yes | +| `ktree` | String | Yes | +| `data` | JSON | Yes | +| `frzn` | Boolean | Yes | +| `createdAt` | Datetime | No | + +**Operations:** + +```typescript +// List all object records +const items = await db.object.findMany({ select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); + +// Get one by id +const item = await db.object.findOne({ id: '', select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); + +// Create +const created = await db.object.create({ data: { hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }, select: { id: true } }).execute(); + +// Update +const updated = await db.object.update({ where: { id: '' }, data: { hashUuid: '' }, select: { id: true } }).execute(); + +// Delete +const deleted = await db.object.delete({ where: { id: '' } }).execute(); +``` + ### `db.appPermission` CRUD operations for AppPermission records. @@ -287,42 +323,6 @@ const updated = await db.orgPermission.update({ where: { id: '' }, data: const deleted = await db.orgPermission.delete({ where: { id: '' } }).execute(); ``` -### `db.object` - -CRUD operations for Object records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `hashUuid` | UUID | Yes | -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `kids` | UUID | Yes | -| `ktree` | String | Yes | -| `data` | JSON | Yes | -| `frzn` | Boolean | Yes | -| `createdAt` | Datetime | No | - -**Operations:** - -```typescript -// List all object records -const items = await db.object.findMany({ select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); - -// Get one by id -const item = await db.object.findOne({ id: '', select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); - -// Create -const created = await db.object.create({ data: { hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.object.update({ where: { id: '' }, data: { hashUuid: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.object.delete({ where: { id: '' } }).execute(); -``` - ### `db.appLevelRequirement` CRUD operations for AppLevelRequirement records. @@ -3802,6 +3802,45 @@ const updated = await db.membershipType.update({ where: { id: '' }, data: const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` +### `db.commit` + +CRUD operations for Commit records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `id` | UUID | No | +| `message` | String | Yes | +| `databaseId` | UUID | Yes | +| `storeId` | UUID | Yes | +| `parentIds` | UUID | Yes | +| `authorId` | UUID | Yes | +| `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, 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, messageTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +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(); + +// Delete +const deleted = await db.commit.delete({ where: { id: '' } }).execute(); +``` + ### `db.appMembershipDefault` CRUD operations for AppMembershipDefault records. @@ -3881,45 +3920,6 @@ const updated = await db.rlsModule.update({ where: { id: '' }, data: { da const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); ``` -### `db.commit` - -CRUD operations for Commit records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `message` | String | Yes | -| `databaseId` | UUID | Yes | -| `storeId` | UUID | Yes | -| `parentIds` | UUID | Yes | -| `authorId` | UUID | Yes | -| `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, 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, messageTrgmSimilarity: true, searchScore: true } }).execute(); - -// Create -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(); - -// Delete -const deleted = await db.commit.delete({ where: { id: '' } }).execute(); -``` - ### `db.orgMembershipDefault` CRUD operations for OrgMembershipDefault records. @@ -4115,6 +4115,45 @@ const updated = await db.email.update({ where: { id: '' }, data: { ownerI const deleted = await db.email.delete({ where: { id: '' } }).execute(); ``` +### `db.user` + +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 | +| `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, 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, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +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(); + +// Delete +const deleted = await db.user.delete({ where: { id: '' } }).execute(); +``` + ### `db.astMigration` CRUD operations for AstMigration records. @@ -4202,45 +4241,6 @@ const updated = await db.appMembership.update({ where: { id: '' }, data: const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.user` - -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 | -| `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, 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, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); - -// Create -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(); - -// Delete -const deleted = await db.user.delete({ where: { id: '' } }).execute(); -``` - ### `db.hierarchyModule` CRUD operations for HierarchyModule records. @@ -4476,97 +4476,97 @@ orgPermissionsGetMaskByNames const result = await db.query.orgPermissionsGetMaskByNames({ names: '' }).execute(); ``` -### `db.query.appPermissionsGetByMask` +### `db.query.getAllObjectsFromRoot` -Reads and enables pagination through a set of `AppPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.appPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getAllObjectsFromRoot({ databaseId: '', id: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.orgPermissionsGetByMask` +### `db.query.getPathObjectsFromRoot` -Reads and enables pagination through a set of `OrgPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | + | `path` | [String] | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.orgPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getPathObjectsFromRoot({ databaseId: '', id: '', path: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.getAllObjectsFromRoot` +### `db.query.getObjectAtPath` -Reads and enables pagination through a set of `Object`. +getObjectAtPath - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `first` | Int | - | `offset` | Int | - | `after` | Cursor | + | `dbId` | UUID | + | `storeId` | UUID | + | `path` | [String] | + | `refname` | String | ```typescript -const result = await db.query.getAllObjectsFromRoot({ databaseId: '', id: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getObjectAtPath({ dbId: '', storeId: '', path: '', refname: '' }).execute(); ``` -### `db.query.getPathObjectsFromRoot` +### `db.query.appPermissionsGetByMask` -Reads and enables pagination through a set of `Object`. +Reads and enables pagination through a set of `AppPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `path` | [String] | + | `mask` | BitString | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.getPathObjectsFromRoot({ databaseId: '', id: '', path: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.appPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.getObjectAtPath` +### `db.query.orgPermissionsGetByMask` -getObjectAtPath +Reads and enables pagination through a set of `OrgPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `dbId` | UUID | - | `storeId` | UUID | - | `path` | [String] | - | `refname` | String | + | `mask` | BitString | + | `first` | Int | + | `offset` | Int | + | `after` | Cursor | ```typescript -const result = await db.query.getObjectAtPath({ dbId: '', storeId: '', path: '', refname: '' }).execute(); +const result = await db.query.orgPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); ``` ### `db.query.stepsRequired` @@ -4749,6 +4749,21 @@ verifyEmail const result = await db.mutation.verifyEmail({ input: '' }).execute(); ``` +### `db.mutation.removeNodeAtPath` + +removeNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `input` | RemoveNodeAtPathInput (required) | + +```typescript +const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +``` + ### `db.mutation.resetPassword` resetPassword @@ -4779,19 +4794,19 @@ bootstrapUser const result = await db.mutation.bootstrapUser({ input: '' }).execute(); ``` -### `db.mutation.removeNodeAtPath` +### `db.mutation.setFieldOrder` -removeNodeAtPath +setFieldOrder - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | SetFieldOrderInput (required) | ```typescript -const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.setFieldOrder({ input: '' }).execute(); ``` ### `db.mutation.setDataAtPath` @@ -4839,185 +4854,170 @@ provisionDatabaseWithUser const result = await db.mutation.provisionDatabaseWithUser({ input: '' }).execute(); ``` -### `db.mutation.signInOneTimeToken` +### `db.mutation.insertNodeAtPath` -signInOneTimeToken +insertNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInOneTimeTokenInput (required) | + | `input` | InsertNodeAtPathInput (required) | ```typescript -const result = await db.mutation.signInOneTimeToken({ input: '' }).execute(); +const result = await db.mutation.insertNodeAtPath({ input: '' }).execute(); ``` -### `db.mutation.createUserDatabase` - -Creates a new user database with all required modules, permissions, and RLS policies. - -Parameters: - - database_name: Name for the new database (required) - - owner_id: UUID of the owner user (required) - - include_invites: Include invite system (default: true) - - include_groups: Include group-level memberships (default: false) - - include_levels: Include levels/achievements (default: false) - - bitlen: Bit length for permission masks (default: 64) - - tokens_expiration: Token expiration interval (default: 30 days) - -Returns the database_id UUID of the newly created database. - -Example usage: - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups +### `db.mutation.updateNodeAtPath` +updateNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | CreateUserDatabaseInput (required) | + | `input` | UpdateNodeAtPathInput (required) | ```typescript -const result = await db.mutation.createUserDatabase({ input: '' }).execute(); +const result = await db.mutation.updateNodeAtPath({ input: '' }).execute(); ``` -### `db.mutation.extendTokenExpires` +### `db.mutation.setAndCommit` -extendTokenExpires +setAndCommit - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ExtendTokenExpiresInput (required) | + | `input` | SetAndCommitInput (required) | ```typescript -const result = await db.mutation.extendTokenExpires({ input: '' }).execute(); +const result = await db.mutation.setAndCommit({ input: '' }).execute(); ``` -### `db.mutation.signIn` +### `db.mutation.applyRls` -signIn +applyRls - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInInput (required) | + | `input` | ApplyRlsInput (required) | ```typescript -const result = await db.mutation.signIn({ input: '' }).execute(); +const result = await db.mutation.applyRls({ input: '' }).execute(); ``` -### `db.mutation.signUp` +### `db.mutation.signInOneTimeToken` -signUp +signInOneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignUpInput (required) | + | `input` | SignInOneTimeTokenInput (required) | ```typescript -const result = await db.mutation.signUp({ input: '' }).execute(); +const result = await db.mutation.signInOneTimeToken({ input: '' }).execute(); ``` -### `db.mutation.setFieldOrder` - -setFieldOrder +### `db.mutation.createUserDatabase` -- **Type:** mutation -- **Arguments:** +Creates a new user database with all required modules, permissions, and RLS policies. - | Argument | Type | - |----------|------| - | `input` | SetFieldOrderInput (required) | +Parameters: + - database_name: Name for the new database (required) + - owner_id: UUID of the owner user (required) + - include_invites: Include invite system (default: true) + - include_groups: Include group-level memberships (default: false) + - include_levels: Include levels/achievements (default: false) + - bitlen: Bit length for permission masks (default: 64) + - tokens_expiration: Token expiration interval (default: 30 days) -```typescript -const result = await db.mutation.setFieldOrder({ input: '' }).execute(); -``` +Returns the database_id UUID of the newly created database. -### `db.mutation.oneTimeToken` +Example usage: + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups -oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | OneTimeTokenInput (required) | + | `input` | CreateUserDatabaseInput (required) | ```typescript -const result = await db.mutation.oneTimeToken({ input: '' }).execute(); +const result = await db.mutation.createUserDatabase({ input: '' }).execute(); ``` -### `db.mutation.insertNodeAtPath` +### `db.mutation.extendTokenExpires` -insertNodeAtPath +extendTokenExpires - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | InsertNodeAtPathInput (required) | + | `input` | ExtendTokenExpiresInput (required) | ```typescript -const result = await db.mutation.insertNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.extendTokenExpires({ input: '' }).execute(); ``` -### `db.mutation.updateNodeAtPath` +### `db.mutation.signIn` -updateNodeAtPath +signIn - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | UpdateNodeAtPathInput (required) | + | `input` | SignInInput (required) | ```typescript -const result = await db.mutation.updateNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.signIn({ input: '' }).execute(); ``` -### `db.mutation.setAndCommit` +### `db.mutation.signUp` -setAndCommit +signUp - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SetAndCommitInput (required) | + | `input` | SignUpInput (required) | ```typescript -const result = await db.mutation.setAndCommit({ input: '' }).execute(); +const result = await db.mutation.signUp({ input: '' }).execute(); ``` -### `db.mutation.applyRls` +### `db.mutation.oneTimeToken` -applyRls +oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ApplyRlsInput (required) | + | `input` | OneTimeTokenInput (required) | ```typescript -const result = await db.mutation.applyRls({ input: '' }).execute(); +const result = await db.mutation.oneTimeToken({ input: '' }).execute(); ``` ### `db.mutation.forgotPassword` diff --git a/sdk/constructive-react/src/public/orm/index.ts b/sdk/constructive-react/src/public/orm/index.ts index 2c747b98e..fa33edb4f 100644 --- a/sdk/constructive-react/src/public/orm/index.ts +++ b/sdk/constructive-react/src/public/orm/index.ts @@ -8,9 +8,9 @@ import type { OrmClientConfig } from './client'; import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord'; import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord'; import { GetAllRecordModel } from './models/getAllRecord'; +import { ObjectModel } from './models/object'; import { AppPermissionModel } from './models/appPermission'; import { OrgPermissionModel } from './models/orgPermission'; -import { ObjectModel } from './models/object'; import { AppLevelRequirementModel } from './models/appLevelRequirement'; import { DatabaseModel } from './models/database'; import { SchemaModel } from './models/schema'; @@ -96,17 +96,17 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault'; import { ConnectedAccountModel } from './models/connectedAccount'; import { NodeTypeRegistryModel } from './models/nodeTypeRegistry'; import { MembershipTypeModel } from './models/membershipType'; +import { CommitModel } from './models/commit'; 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 { SqlMigrationModel } from './models/sqlMigration'; import { EmailModel } from './models/email'; +import { UserModel } from './models/user'; import { AstMigrationModel } from './models/astMigration'; import { AppMembershipModel } from './models/appMembership'; -import { UserModel } from './models/user'; import { HierarchyModuleModel } from './models/hierarchyModule'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -146,9 +146,9 @@ export function createClient(config: OrmClientConfig) { orgGetManagersRecord: new OrgGetManagersRecordModel(client), orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client), getAllRecord: new GetAllRecordModel(client), + object: new ObjectModel(client), appPermission: new AppPermissionModel(client), orgPermission: new OrgPermissionModel(client), - object: new ObjectModel(client), appLevelRequirement: new AppLevelRequirementModel(client), database: new DatabaseModel(client), schema: new SchemaModel(client), @@ -234,17 +234,17 @@ export function createClient(config: OrmClientConfig) { connectedAccount: new ConnectedAccountModel(client), nodeTypeRegistry: new NodeTypeRegistryModel(client), membershipType: new MembershipTypeModel(client), + commit: new CommitModel(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), sqlMigration: new SqlMigrationModel(client), email: new EmailModel(client), + user: new UserModel(client), astMigration: new AstMigrationModel(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 57cdc3b90..f4141b254 100644 --- a/sdk/constructive-react/src/public/orm/input-types.ts +++ b/sdk/constructive-react/src/public/orm/input-types.ts @@ -252,6 +252,16 @@ export interface GetAllRecord { path?: string | null; data?: Record | null; } +export interface Object { + hashUuid?: string | null; + id: string; + databaseId?: string | null; + kids?: string | null; + ktree?: string | null; + data?: Record | null; + frzn?: boolean | null; + createdAt?: string | null; +} /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface AppPermission { id: string; @@ -284,16 +294,6 @@ export interface OrgPermission { /** Composite search relevance score (0..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; - id: string; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: Record | null; - frzn?: boolean | null; - createdAt?: string | null; -} /** Defines the specific requirements that must be met to achieve a level */ export interface AppLevelRequirement { id: string; @@ -2186,6 +2186,29 @@ export interface MembershipType { /** Composite search relevance score (0..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. */ + id: string; + /** The commit message */ + message?: string | null; + /** The repository identifier */ + databaseId?: string | null; + storeId?: string | null; + /** Parent commits */ + parentIds?: string | null; + /** The author of the commit */ + authorId?: string | null; + /** The committer of the commit */ + committerId?: string | null; + /** 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 AppMembershipDefault { id: string; @@ -2221,29 +2244,6 @@ export interface RlsModule { /** Composite search relevance score (0..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. */ - id: string; - /** The commit message */ - message?: string | null; - /** The repository identifier */ - databaseId?: string | null; - storeId?: string | null; - /** Parent commits */ - parentIds?: string | null; - /** The author of the commit */ - authorId?: string | null; - /** The committer of the commit */ - committerId?: string | null; - /** 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 { id: string; @@ -2342,6 +2342,22 @@ export interface Email { createdAt?: string | null; updatedAt?: 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 AstMigration { id: number; databaseId?: string | null; @@ -2390,22 +2406,6 @@ 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; @@ -2466,9 +2466,9 @@ export interface PageInfo { export interface OrgGetManagersRecordRelations {} export interface OrgGetSubordinatesRecordRelations {} export interface GetAllRecordRelations {} +export interface ObjectRelations {} export interface AppPermissionRelations {} export interface OrgPermissionRelations {} -export interface ObjectRelations {} export interface AppLevelRequirementRelations {} export interface DatabaseRelations { owner?: User | null; @@ -2955,6 +2955,7 @@ export interface ConnectedAccountRelations { } export interface NodeTypeRegistryRelations {} export interface MembershipTypeRelations {} +export interface CommitRelations {} export interface AppMembershipDefaultRelations {} export interface RlsModuleRelations { database?: Database | null; @@ -2964,7 +2965,6 @@ export interface RlsModuleRelations { sessionsTable?: Table | null; usersTable?: Table | null; } -export interface CommitRelations {} export interface OrgMembershipDefaultRelations { entity?: User | null; } @@ -2978,10 +2978,6 @@ export interface SqlMigrationRelations {} export interface EmailRelations { owner?: User | null; } -export interface AstMigrationRelations {} -export interface AppMembershipRelations { - actor?: User | null; -} export interface UserRelations { roleType?: RoleType | null; appMembershipByActorId?: AppMembership | null; @@ -3020,6 +3016,10 @@ export interface UserRelations { orgClaimedInvitesByReceiverId?: ConnectionResult; orgClaimedInvitesBySenderId?: ConnectionResult; } +export interface AstMigrationRelations {} +export interface AppMembershipRelations { + actor?: User | null; +} export interface HierarchyModuleRelations { chartEdgeGrantsTable?: Table | null; chartEdgesTable?: Table | null; @@ -3036,9 +3036,9 @@ export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & export type OrgGetSubordinatesRecordWithRelations = OrgGetSubordinatesRecord & OrgGetSubordinatesRecordRelations; export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations; +export type ObjectWithRelations = Object & ObjectRelations; export type AppPermissionWithRelations = AppPermission & AppPermissionRelations; export type OrgPermissionWithRelations = OrgPermission & OrgPermissionRelations; -export type ObjectWithRelations = Object & ObjectRelations; export type AppLevelRequirementWithRelations = AppLevelRequirement & AppLevelRequirementRelations; export type DatabaseWithRelations = Database & DatabaseRelations; export type SchemaWithRelations = Schema & SchemaRelations; @@ -3135,19 +3135,19 @@ export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRela export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations; export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; +export type CommitWithRelations = Commit & CommitRelations; 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 SqlMigrationWithRelations = SqlMigration & SqlMigrationRelations; export type EmailWithRelations = Email & EmailRelations; +export type UserWithRelations = User & UserRelations; export type AstMigrationWithRelations = AstMigration & AstMigrationRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; -export type UserWithRelations = User & UserRelations; export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -3162,6 +3162,16 @@ export type GetAllRecordSelect = { path?: boolean; data?: boolean; }; +export type ObjectSelect = { + hashUuid?: boolean; + id?: boolean; + databaseId?: boolean; + kids?: boolean; + ktree?: boolean; + data?: boolean; + frzn?: boolean; + createdAt?: boolean; +}; export type AppPermissionSelect = { id?: boolean; name?: boolean; @@ -3180,16 +3190,6 @@ export type OrgPermissionSelect = { descriptionTrgmSimilarity?: boolean; searchScore?: boolean; }; -export type ObjectSelect = { - hashUuid?: boolean; - id?: boolean; - databaseId?: boolean; - kids?: boolean; - ktree?: boolean; - data?: boolean; - frzn?: boolean; - createdAt?: boolean; -}; export type AppLevelRequirementSelect = { id?: boolean; name?: boolean; @@ -5692,6 +5692,19 @@ export type MembershipTypeSelect = { prefixTrgmSimilarity?: boolean; searchScore?: boolean; }; +export type CommitSelect = { + id?: boolean; + message?: boolean; + databaseId?: boolean; + storeId?: boolean; + parentIds?: boolean; + authorId?: boolean; + committerId?: boolean; + treeId?: boolean; + date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; +}; export type AppMembershipDefaultSelect = { id?: boolean; createdAt?: boolean; @@ -5737,19 +5750,6 @@ export type RlsModuleSelect = { select: TableSelect; }; }; -export type CommitSelect = { - id?: boolean; - message?: boolean; - databaseId?: boolean; - storeId?: boolean; - parentIds?: boolean; - authorId?: boolean; - committerId?: boolean; - treeId?: boolean; - date?: boolean; - messageTrgmSimilarity?: boolean; - searchScore?: boolean; -}; export type OrgMembershipDefaultSelect = { id?: boolean; createdAt?: boolean; @@ -5827,44 +5827,6 @@ export type EmailSelect = { select: UserSelect; }; }; -export type AstMigrationSelect = { - id?: boolean; - databaseId?: boolean; - name?: boolean; - requires?: boolean; - payload?: boolean; - deploys?: boolean; - deploy?: boolean; - revert?: boolean; - verify?: boolean; - createdAt?: boolean; - 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; username?: boolean; @@ -6085,6 +6047,44 @@ export type UserSelect = { orderBy?: OrgClaimedInviteOrderBy[]; }; }; +export type AstMigrationSelect = { + id?: boolean; + databaseId?: boolean; + name?: boolean; + requires?: boolean; + payload?: boolean; + deploys?: boolean; + deploy?: boolean; + revert?: boolean; + verify?: boolean; + createdAt?: boolean; + 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 HierarchyModuleSelect = { id?: boolean; databaseId?: boolean; @@ -6164,6 +6164,19 @@ export interface GetAllRecordFilter { or?: GetAllRecordFilter[]; not?: GetAllRecordFilter; } +export interface ObjectFilter { + hashUuid?: UUIDFilter; + id?: UUIDFilter; + databaseId?: UUIDFilter; + kids?: UUIDFilter; + ktree?: StringFilter; + data?: JSONFilter; + frzn?: BooleanFilter; + createdAt?: DatetimeFilter; + and?: ObjectFilter[]; + or?: ObjectFilter[]; + not?: ObjectFilter; +} export interface AppPermissionFilter { id?: UUIDFilter; name?: StringFilter; @@ -6188,20 +6201,7 @@ export interface OrgPermissionFilter { or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; } -export interface ObjectFilter { - hashUuid?: UUIDFilter; - id?: UUIDFilter; - databaseId?: UUIDFilter; - kids?: UUIDFilter; - ktree?: StringFilter; - data?: JSONFilter; - frzn?: BooleanFilter; - createdAt?: DatetimeFilter; - and?: ObjectFilter[]; - or?: ObjectFilter[]; - not?: ObjectFilter; -} -export interface AppLevelRequirementFilter { +export interface AppLevelRequirementFilter { id?: UUIDFilter; name?: StringFilter; level?: StringFilter; @@ -7725,6 +7725,22 @@ export interface MembershipTypeFilter { or?: MembershipTypeFilter[]; not?: MembershipTypeFilter; } +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 AppMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -7758,22 +7774,6 @@ export interface 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; @@ -7854,6 +7854,22 @@ export interface EmailFilter { or?: EmailFilter[]; not?: EmailFilter; } +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 AstMigrationFilter { id?: IntFilter; databaseId?: UUIDFilter; @@ -7895,22 +7911,6 @@ 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; @@ -7972,6 +7972,26 @@ export type GetAllRecordsOrderBy = | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC'; +export type ObjectOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'HASH_UUID_ASC' + | 'HASH_UUID_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'KIDS_ASC' + | 'KIDS_DESC' + | 'KTREE_ASC' + | 'KTREE_DESC' + | 'DATA_ASC' + | 'DATA_DESC' + | 'FRZN_ASC' + | 'FRZN_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC'; export type AppPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8008,26 +8028,6 @@ export type OrgPermissionOrderBy = | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -export type ObjectOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'HASH_UUID_ASC' - | 'HASH_UUID_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'KIDS_ASC' - | 'KIDS_DESC' - | 'KTREE_ASC' - | 'KTREE_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'FRZN_ASC' - | 'FRZN_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; export type AppLevelRequirementOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10566,6 +10566,32 @@ export type MembershipTypeOrderBy = | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; +export type CommitOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'MESSAGE_ASC' + | 'MESSAGE_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'STORE_ID_ASC' + | 'STORE_ID_DESC' + | 'PARENT_IDS_ASC' + | 'PARENT_IDS_DESC' + | 'AUTHOR_ID_ASC' + | 'AUTHOR_ID_DESC' + | 'COMMITTER_ID_ASC' + | 'COMMITTER_ID_DESC' + | 'TREE_ID_ASC' + | 'TREE_ID_DESC' + | 'DATE_ASC' + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10620,32 +10646,6 @@ export type RlsModuleOrderBy = | 'CURRENT_ROLE_ID_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -export type CommitOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'MESSAGE_ASC' - | 'MESSAGE_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'STORE_ID_ASC' - | 'STORE_ID_DESC' - | 'PARENT_IDS_ASC' - | 'PARENT_IDS_DESC' - | 'AUTHOR_ID_ASC' - | 'AUTHOR_ID_DESC' - | 'COMMITTER_ID_ASC' - | 'COMMITTER_ID_DESC' - | 'TREE_ID_ASC' - | 'TREE_ID_DESC' - | 'DATE_ASC' - | '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' @@ -10776,6 +10776,32 @@ export type EmailOrderBy = | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_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 AstMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10846,32 +10872,6 @@ 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' @@ -10999,6 +10999,33 @@ export interface DeleteGetAllRecordInput { clientMutationId?: string; id: string; } +export interface CreateObjectInput { + clientMutationId?: string; + object: { + databaseId: string; + kids?: string[]; + ktree?: string[]; + data?: Record; + frzn?: boolean; + }; +} +export interface ObjectPatch { + hashUuid?: string | null; + databaseId?: string | null; + kids?: string | null; + ktree?: string | null; + data?: Record | null; + frzn?: boolean | null; +} +export interface UpdateObjectInput { + clientMutationId?: string; + id: string; + objectPatch: ObjectPatch; +} +export interface DeleteObjectInput { + clientMutationId?: string; + id: string; +} export interface CreateAppPermissionInput { clientMutationId?: string; appPermission: { @@ -11051,34 +11078,7 @@ export interface DeleteOrgPermissionInput { clientMutationId?: string; id: string; } -export interface CreateObjectInput { - clientMutationId?: string; - object: { - databaseId: string; - kids?: string[]; - ktree?: string[]; - data?: Record; - frzn?: boolean; - }; -} -export interface ObjectPatch { - hashUuid?: string | null; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: Record | null; - frzn?: boolean | null; -} -export interface UpdateObjectInput { - clientMutationId?: string; - id: string; - objectPatch: ObjectPatch; -} -export interface DeleteObjectInput { - clientMutationId?: string; - id: string; -} -export interface CreateAppLevelRequirementInput { +export interface CreateAppLevelRequirementInput { clientMutationId?: string; appLevelRequirement: { name: string; @@ -14053,6 +14053,40 @@ export interface DeleteMembershipTypeInput { clientMutationId?: string; id: number; } +export interface CreateCommitInput { + clientMutationId?: string; + commit: { + message?: string; + databaseId: string; + storeId: string; + parentIds?: string[]; + authorId?: string; + committerId?: string; + treeId?: string; + date?: string; + }; +} +export interface CommitPatch { + message?: string | null; + databaseId?: string | null; + storeId?: string | null; + parentIds?: string | null; + authorId?: string | null; + committerId?: string | null; + treeId?: string | null; + date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateCommitInput { + clientMutationId?: string; + id: string; + commitPatch: CommitPatch; +} +export interface DeleteCommitInput { + clientMutationId?: string; + id: string; +} export interface CreateAppMembershipDefaultInput { clientMutationId?: string; appMembershipDefault: { @@ -14118,40 +14152,6 @@ export interface DeleteRlsModuleInput { clientMutationId?: string; id: string; } -export interface CreateCommitInput { - clientMutationId?: string; - commit: { - message?: string; - databaseId: string; - storeId: string; - parentIds?: string[]; - authorId?: string; - committerId?: string; - treeId?: string; - date?: string; - }; -} -export interface CommitPatch { - message?: string | null; - databaseId?: string | null; - storeId?: string | null; - parentIds?: string | null; - authorId?: string | null; - committerId?: string | null; - treeId?: string | null; - date?: string | null; - messageTrgmSimilarity?: number | null; - searchScore?: number | null; -} -export interface UpdateCommitInput { - clientMutationId?: string; - id: string; - commitPatch: CommitPatch; -} -export interface DeleteCommitInput { - clientMutationId?: string; - id: string; -} export interface CreateOrgMembershipDefaultInput { clientMutationId?: string; orgMembershipDefault: { @@ -14305,6 +14305,34 @@ export interface DeleteEmailInput { clientMutationId?: string; id: string; } +export interface CreateUserInput { + clientMutationId?: string; + user: { + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + 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 CreateAstMigrationInput { clientMutationId?: string; astMigration: { @@ -14387,35 +14415,6 @@ 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: { @@ -14659,6 +14658,12 @@ export interface VerifyEmailInput { emailId?: string; token?: string; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface ResetPasswordInput { clientMutationId?: string; roleId?: string; @@ -14675,11 +14680,9 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } -export interface RemoveNodeAtPathInput { +export interface SetFieldOrderInput { clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; + fieldIds?: string[]; } export interface SetDataAtPathInput { clientMutationId?: string; @@ -14704,6 +14707,44 @@ export interface ProvisionDatabaseWithUserInput { pModules?: string[]; pOptions?: Record; } +export interface InsertNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface UpdateNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface SetAndCommitInput { + clientMutationId?: string; + dbId?: string; + storeId?: string; + refname?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface ApplyRlsInput { + clientMutationId?: string; + tableId?: string; + grants?: Record; + policyType?: string; + vars?: Record; + fieldIds?: string[]; + permissive?: boolean; + name?: string; +} export interface SignInOneTimeTokenInput { clientMutationId?: string; token?: string; @@ -14739,10 +14780,6 @@ export interface SignUpInput { credentialKind?: string; csrfToken?: string; } -export interface SetFieldOrderInput { - clientMutationId?: string; - fieldIds?: string[]; -} export interface OneTimeTokenInput { clientMutationId?: string; email?: string; @@ -14750,44 +14787,6 @@ export interface OneTimeTokenInput { origin?: ConstructiveInternalTypeOrigin; rememberMe?: boolean; } -export interface InsertNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface UpdateNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface SetAndCommitInput { - clientMutationId?: string; - dbId?: string; - storeId?: string; - refname?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface ApplyRlsInput { - clientMutationId?: string; - tableId?: string; - grants?: Record; - policyType?: string; - vars?: Record; - fieldIds?: string[]; - permissive?: boolean; - name?: string; -} export interface ForgotPasswordInput { clientMutationId?: string; email?: ConstructiveInternalTypeEmail; @@ -14823,8 +14822,27 @@ export interface IntervalInput { /** A quantity of years. */ years?: number; } -/** A connection to a list of `AppPermission` values. */ +/** A connection to a list of `Object` values. */ // ============ Payload/Return Types (for custom operations) ============ +export interface ObjectConnection { + nodes: Object[]; + edges: ObjectEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +export type ObjectConnectionSelect = { + nodes?: { + select: ObjectSelect; + }; + edges?: { + select: ObjectEdgeSelect; + }; + pageInfo?: { + select: PageInfoSelect; + }; + totalCount?: boolean; +}; +/** A connection to a list of `AppPermission` values. */ export interface AppPermissionConnection { nodes: AppPermission[]; edges: AppPermissionEdge[]; @@ -14862,25 +14880,6 @@ export type OrgPermissionConnectionSelect = { }; totalCount?: boolean; }; -/** A connection to a list of `Object` values. */ -export interface ObjectConnection { - nodes: Object[]; - edges: ObjectEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -export type ObjectConnectionSelect = { - nodes?: { - select: ObjectSelect; - }; - edges?: { - select: ObjectEdgeSelect; - }; - pageInfo?: { - select: PageInfoSelect; - }; - totalCount?: boolean; -}; /** A connection to a list of `AppLevelRequirement` values. */ export interface AppLevelRequirementConnection { nodes: AppLevelRequirement[]; @@ -14972,6 +14971,14 @@ export type VerifyEmailPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type RemoveNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; export interface ResetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; @@ -14990,13 +14997,11 @@ export type BootstrapUserPayloadSelect = { select: BootstrapUserRecordSelect; }; }; -export interface RemoveNodeAtPathPayload { +export interface SetFieldOrderPayload { clientMutationId?: string | null; - result?: string | null; } -export type RemoveNodeAtPathPayloadSelect = { +export type SetFieldOrderPayloadSelect = { clientMutationId?: boolean; - result?: boolean; }; export interface SetDataAtPathPayload { clientMutationId?: string | null; @@ -15024,6 +15029,36 @@ export type ProvisionDatabaseWithUserPayloadSelect = { select: ProvisionDatabaseWithUserRecordSelect; }; }; +export interface InsertNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type InsertNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface UpdateNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type UpdateNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface SetAndCommitPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type SetAndCommitPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface ApplyRlsPayload { + clientMutationId?: string | null; +} +export type ApplyRlsPayloadSelect = { + clientMutationId?: boolean; +}; export interface SignInOneTimeTokenPayload { clientMutationId?: string | null; result?: SignInOneTimeTokenRecord | null; @@ -15072,12 +15107,6 @@ export type SignUpPayloadSelect = { select: SignUpRecordSelect; }; }; -export interface SetFieldOrderPayload { - clientMutationId?: string | null; -} -export type SetFieldOrderPayloadSelect = { - clientMutationId?: boolean; -}; export interface OneTimeTokenPayload { clientMutationId?: string | null; result?: string | null; @@ -15086,36 +15115,6 @@ export type OneTimeTokenPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; -export interface InsertNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type InsertNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface UpdateNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type UpdateNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface SetAndCommitPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type SetAndCommitPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface ApplyRlsPayload { - clientMutationId?: string | null; -} -export type ApplyRlsPayloadSelect = { - clientMutationId?: boolean; -}; export interface ForgotPasswordPayload { clientMutationId?: string | null; } @@ -15150,6 +15149,51 @@ export type VerifyTotpPayloadSelect = { select: SessionSelect; }; }; +export interface CreateObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was created by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type CreateObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; +export interface UpdateObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was updated by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type UpdateObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; +export interface DeleteObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was deleted by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type DeleteObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; export interface CreateAppPermissionPayload { clientMutationId?: string | null; /** The `AppPermission` that was created by this mutation. */ @@ -15240,51 +15284,6 @@ export type DeleteOrgPermissionPayloadSelect = { select: OrgPermissionEdgeSelect; }; }; -export interface CreateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was created by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type CreateObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; -export interface UpdateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was updated by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type UpdateObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; -export interface DeleteObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was deleted by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type DeleteObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; export interface CreateAppLevelRequirementPayload { clientMutationId?: string | null; /** The `AppLevelRequirement` that was created by this mutation. */ @@ -19110,6 +19109,51 @@ export type DeleteMembershipTypePayloadSelect = { select: MembershipTypeEdgeSelect; }; }; +export interface CreateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was created by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type CreateCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; +export interface UpdateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was updated by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type UpdateCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; +export interface DeleteCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was deleted by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type DeleteCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; export interface CreateAppMembershipDefaultPayload { clientMutationId?: string | null; /** The `AppMembershipDefault` that was created by this mutation. */ @@ -19200,51 +19244,6 @@ export type DeleteRlsModulePayloadSelect = { select: RlsModuleEdgeSelect; }; }; -export interface CreateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was created by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type CreateCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; -export interface UpdateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was updated by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type UpdateCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; -export interface DeleteCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was deleted by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type DeleteCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; export interface CreateOrgMembershipDefaultPayload { clientMutationId?: string | null; /** The `OrgMembershipDefault` that was created by this mutation. */ @@ -19436,6 +19435,51 @@ export type DeleteEmailPayloadSelect = { select: EmailEdgeSelect; }; }; +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 CreateAstMigrationPayload { clientMutationId?: string | null; /** The `AstMigration` that was created by this mutation. */ @@ -19492,51 +19536,6 @@ 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. */ @@ -19582,16 +19581,16 @@ export type DeleteHierarchyModulePayloadSelect = { select: HierarchyModuleEdgeSelect; }; }; -/** A `AppPermission` edge in the connection. */ -export interface AppPermissionEdge { +/** A `Object` edge in the connection. */ +export interface ObjectEdge { cursor?: string | null; - /** The `AppPermission` at the end of the edge. */ - node?: AppPermission | null; + /** The `Object` at the end of the edge. */ + node?: Object | null; } -export type AppPermissionEdgeSelect = { +export type ObjectEdgeSelect = { cursor?: boolean; node?: { - select: AppPermissionSelect; + select: ObjectSelect; }; }; /** Information about pagination in a connection. */ @@ -19611,28 +19610,28 @@ export type PageInfoSelect = { startCursor?: boolean; endCursor?: boolean; }; -/** A `OrgPermission` edge in the connection. */ -export interface OrgPermissionEdge { +/** A `AppPermission` edge in the connection. */ +export interface AppPermissionEdge { cursor?: string | null; - /** The `OrgPermission` at the end of the edge. */ - node?: OrgPermission | null; + /** The `AppPermission` at the end of the edge. */ + node?: AppPermission | null; } -export type OrgPermissionEdgeSelect = { +export type AppPermissionEdgeSelect = { cursor?: boolean; node?: { - select: OrgPermissionSelect; + select: AppPermissionSelect; }; }; -/** A `Object` edge in the connection. */ -export interface ObjectEdge { +/** A `OrgPermission` edge in the connection. */ +export interface OrgPermissionEdge { cursor?: string | null; - /** The `Object` at the end of the edge. */ - node?: Object | null; + /** The `OrgPermission` at the end of the edge. */ + node?: OrgPermission | null; } -export type ObjectEdgeSelect = { +export type OrgPermissionEdgeSelect = { cursor?: boolean; node?: { - select: ObjectSelect; + select: OrgPermissionSelect; }; }; /** A `AppLevelRequirement` edge in the connection. */ @@ -20836,6 +20835,18 @@ export type MembershipTypeEdgeSelect = { select: MembershipTypeSelect; }; }; +/** A `Commit` edge in the connection. */ +export interface CommitEdge { + cursor?: string | null; + /** The `Commit` at the end of the edge. */ + node?: Commit | null; +} +export type CommitEdgeSelect = { + cursor?: boolean; + node?: { + select: CommitSelect; + }; +}; /** A `AppMembershipDefault` edge in the connection. */ export interface AppMembershipDefaultEdge { cursor?: string | null; @@ -20860,18 +20871,6 @@ export type RlsModuleEdgeSelect = { select: RlsModuleSelect; }; }; -/** A `Commit` edge in the connection. */ -export interface CommitEdge { - cursor?: string | null; - /** The `Commit` at the end of the edge. */ - node?: Commit | null; -} -export type CommitEdgeSelect = { - cursor?: boolean; - node?: { - select: CommitSelect; - }; -}; /** A `OrgMembershipDefault` edge in the connection. */ export interface OrgMembershipDefaultEdge { cursor?: string | null; @@ -20920,18 +20919,6 @@ export type EmailEdgeSelect = { select: EmailSelect; }; }; -/** A `AppMembership` edge in the connection. */ -export interface AppMembershipEdge { - cursor?: string | null; - /** The `AppMembership` at the end of the edge. */ - node?: AppMembership | null; -} -export type AppMembershipEdgeSelect = { - cursor?: boolean; - node?: { - select: AppMembershipSelect; - }; -}; /** A `User` edge in the connection. */ export interface UserEdge { cursor?: string | null; @@ -20944,6 +20931,18 @@ export type UserEdgeSelect = { select: UserSelect; }; }; +/** A `AppMembership` edge in the connection. */ +export interface AppMembershipEdge { + cursor?: string | null; + /** The `AppMembership` at the end of the edge. */ + node?: AppMembership | null; +} +export type AppMembershipEdgeSelect = { + cursor?: boolean; + node?: { + select: AppMembershipSelect; + }; +}; /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; diff --git a/sdk/constructive-react/src/public/orm/models/index.ts b/sdk/constructive-react/src/public/orm/models/index.ts index b871be98f..292be6a26 100644 --- a/sdk/constructive-react/src/public/orm/models/index.ts +++ b/sdk/constructive-react/src/public/orm/models/index.ts @@ -6,9 +6,9 @@ export { OrgGetManagersRecordModel } from './orgGetManagersRecord'; export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord'; export { GetAllRecordModel } from './getAllRecord'; +export { ObjectModel } from './object'; export { AppPermissionModel } from './appPermission'; export { OrgPermissionModel } from './orgPermission'; -export { ObjectModel } from './object'; export { AppLevelRequirementModel } from './appLevelRequirement'; export { DatabaseModel } from './database'; export { SchemaModel } from './schema'; @@ -94,15 +94,15 @@ export { OrgLimitDefaultModel } from './orgLimitDefault'; export { ConnectedAccountModel } from './connectedAccount'; export { NodeTypeRegistryModel } from './nodeTypeRegistry'; export { MembershipTypeModel } from './membershipType'; +export { CommitModel } from './commit'; 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 { SqlMigrationModel } from './sqlMigration'; export { EmailModel } from './email'; +export { UserModel } from './user'; export { AstMigrationModel } from './astMigration'; export { AppMembershipModel } from './appMembership'; -export { UserModel } from './user'; export { HierarchyModuleModel } from './hierarchyModule'; diff --git a/sdk/constructive-react/src/public/orm/mutation/index.ts b/sdk/constructive-react/src/public/orm/mutation/index.ts index 43b9fc6e9..e16b7ce43 100644 --- a/sdk/constructive-react/src/public/orm/mutation/index.ts +++ b/sdk/constructive-react/src/public/orm/mutation/index.ts @@ -17,23 +17,23 @@ import type { ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, + RemoveNodeAtPathInput, ResetPasswordInput, BootstrapUserInput, - RemoveNodeAtPathInput, + SetFieldOrderInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, + InsertNodeAtPathInput, + UpdateNodeAtPathInput, + SetAndCommitInput, + ApplyRlsInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, - SetFieldOrderInput, OneTimeTokenInput, - InsertNodeAtPathInput, - UpdateNodeAtPathInput, - SetAndCommitInput, - ApplyRlsInput, ForgotPasswordInput, SendVerificationEmailInput, VerifyPasswordInput, @@ -48,23 +48,23 @@ import type { ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, + RemoveNodeAtPathPayload, ResetPasswordPayload, BootstrapUserPayload, - RemoveNodeAtPathPayload, + SetFieldOrderPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, + InsertNodeAtPathPayload, + UpdateNodeAtPathPayload, + SetAndCommitPayload, + ApplyRlsPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, - SetFieldOrderPayload, OneTimeTokenPayload, - InsertNodeAtPathPayload, - UpdateNodeAtPathPayload, - SetAndCommitPayload, - ApplyRlsPayload, ForgotPasswordPayload, SendVerificationEmailPayload, VerifyPasswordPayload, @@ -79,23 +79,23 @@ import type { ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, + RemoveNodeAtPathPayloadSelect, ResetPasswordPayloadSelect, BootstrapUserPayloadSelect, - RemoveNodeAtPathPayloadSelect, + SetFieldOrderPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, + InsertNodeAtPathPayloadSelect, + UpdateNodeAtPathPayloadSelect, + SetAndCommitPayloadSelect, + ApplyRlsPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, - SetFieldOrderPayloadSelect, OneTimeTokenPayloadSelect, - InsertNodeAtPathPayloadSelect, - UpdateNodeAtPathPayloadSelect, - SetAndCommitPayloadSelect, - ApplyRlsPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, VerifyPasswordPayloadSelect, @@ -132,14 +132,17 @@ export interface SetPasswordVariables { export interface VerifyEmailVariables { input: VerifyEmailInput; } +export interface RemoveNodeAtPathVariables { + input: RemoveNodeAtPathInput; +} export interface ResetPasswordVariables { input: ResetPasswordInput; } export interface BootstrapUserVariables { input: BootstrapUserInput; } -export interface RemoveNodeAtPathVariables { - input: RemoveNodeAtPathInput; +export interface SetFieldOrderVariables { + input: SetFieldOrderInput; } export interface SetDataAtPathVariables { input: SetDataAtPathInput; @@ -150,6 +153,18 @@ export interface SetPropsAndCommitVariables { export interface ProvisionDatabaseWithUserVariables { input: ProvisionDatabaseWithUserInput; } +export interface InsertNodeAtPathVariables { + input: InsertNodeAtPathInput; +} +export interface UpdateNodeAtPathVariables { + input: UpdateNodeAtPathInput; +} +export interface SetAndCommitVariables { + input: SetAndCommitInput; +} +export interface ApplyRlsVariables { + input: ApplyRlsInput; +} export interface SignInOneTimeTokenVariables { input: SignInOneTimeTokenInput; } @@ -184,24 +199,9 @@ export interface SignInVariables { export interface SignUpVariables { input: SignUpInput; } -export interface SetFieldOrderVariables { - input: SetFieldOrderInput; -} export interface OneTimeTokenVariables { input: OneTimeTokenInput; } -export interface InsertNodeAtPathVariables { - input: InsertNodeAtPathInput; -} -export interface UpdateNodeAtPathVariables { - input: UpdateNodeAtPathInput; -} -export interface SetAndCommitVariables { - input: SetAndCommitInput; -} -export interface ApplyRlsVariables { - input: ApplyRlsInput; -} export interface ForgotPasswordVariables { input: ForgotPasswordInput; } @@ -506,6 +506,35 @@ export function createMutationOperations(client: OrmClient) { 'VerifyEmailPayload' ), }), + removeNodeAtPath: ( + args: RemoveNodeAtPathVariables, + options: { + select: S; + } & StrictSelect + ) => + new QueryBuilder<{ + removeNodeAtPath: InferSelectResult | null; + }>({ + client, + operation: 'mutation', + operationName: 'RemoveNodeAtPath', + fieldName: 'removeNodeAtPath', + ...buildCustomDocument( + 'mutation', + 'RemoveNodeAtPath', + 'removeNodeAtPath', + options.select, + args, + [ + { + name: 'input', + type: 'RemoveNodeAtPathInput!', + }, + ], + connectionFieldsMap, + 'RemoveNodeAtPathPayload' + ), + }), resetPassword: ( args: ResetPasswordVariables, options: { @@ -564,33 +593,33 @@ export function createMutationOperations(client: OrmClient) { 'BootstrapUserPayload' ), }), - removeNodeAtPath: ( - args: RemoveNodeAtPathVariables, + setFieldOrder: ( + args: SetFieldOrderVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - removeNodeAtPath: InferSelectResult | null; + setFieldOrder: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'RemoveNodeAtPath', - fieldName: 'removeNodeAtPath', + operationName: 'SetFieldOrder', + fieldName: 'setFieldOrder', ...buildCustomDocument( 'mutation', - 'RemoveNodeAtPath', - 'removeNodeAtPath', + 'SetFieldOrder', + 'setFieldOrder', options.select, args, [ { name: 'input', - type: 'RemoveNodeAtPathInput!', + type: 'SetFieldOrderInput!', }, ], connectionFieldsMap, - 'RemoveNodeAtPathPayload' + 'SetFieldOrderPayload' ), }), setDataAtPath: ( @@ -680,323 +709,294 @@ export function createMutationOperations(client: OrmClient) { 'ProvisionDatabaseWithUserPayload' ), }), - signInOneTimeToken: ( - args: SignInOneTimeTokenVariables, - options: { - select: S; - } & StrictSelect - ) => - new QueryBuilder<{ - signInOneTimeToken: InferSelectResult | null; - }>({ - client, - operation: 'mutation', - operationName: 'SignInOneTimeToken', - fieldName: 'signInOneTimeToken', - ...buildCustomDocument( - 'mutation', - 'SignInOneTimeToken', - 'signInOneTimeToken', - options.select, - args, - [ - { - name: 'input', - type: 'SignInOneTimeTokenInput!', - }, - ], - connectionFieldsMap, - 'SignInOneTimeTokenPayload' - ), - }), - createUserDatabase: ( - args: CreateUserDatabaseVariables, + insertNodeAtPath: ( + args: InsertNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - createUserDatabase: InferSelectResult | null; + insertNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'CreateUserDatabase', - fieldName: 'createUserDatabase', + operationName: 'InsertNodeAtPath', + fieldName: 'insertNodeAtPath', ...buildCustomDocument( 'mutation', - 'CreateUserDatabase', - 'createUserDatabase', + 'InsertNodeAtPath', + 'insertNodeAtPath', options.select, args, [ { name: 'input', - type: 'CreateUserDatabaseInput!', + type: 'InsertNodeAtPathInput!', }, ], connectionFieldsMap, - 'CreateUserDatabasePayload' + 'InsertNodeAtPathPayload' ), }), - extendTokenExpires: ( - args: ExtendTokenExpiresVariables, + updateNodeAtPath: ( + args: UpdateNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - extendTokenExpires: InferSelectResult | null; + updateNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'ExtendTokenExpires', - fieldName: 'extendTokenExpires', + operationName: 'UpdateNodeAtPath', + fieldName: 'updateNodeAtPath', ...buildCustomDocument( 'mutation', - 'ExtendTokenExpires', - 'extendTokenExpires', + 'UpdateNodeAtPath', + 'updateNodeAtPath', options.select, args, [ { name: 'input', - type: 'ExtendTokenExpiresInput!', + type: 'UpdateNodeAtPathInput!', }, ], connectionFieldsMap, - 'ExtendTokenExpiresPayload' + 'UpdateNodeAtPathPayload' ), }), - signIn: ( - args: SignInVariables, + setAndCommit: ( + args: SetAndCommitVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - signIn: InferSelectResult | null; + setAndCommit: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SignIn', - fieldName: 'signIn', + operationName: 'SetAndCommit', + fieldName: 'setAndCommit', ...buildCustomDocument( 'mutation', - 'SignIn', - 'signIn', + 'SetAndCommit', + 'setAndCommit', options.select, args, [ { name: 'input', - type: 'SignInInput!', + type: 'SetAndCommitInput!', }, ], connectionFieldsMap, - 'SignInPayload' + 'SetAndCommitPayload' ), }), - signUp: ( - args: SignUpVariables, + applyRls: ( + args: ApplyRlsVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - signUp: InferSelectResult | null; + applyRls: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SignUp', - fieldName: 'signUp', + operationName: 'ApplyRls', + fieldName: 'applyRls', ...buildCustomDocument( 'mutation', - 'SignUp', - 'signUp', + 'ApplyRls', + 'applyRls', options.select, args, [ { name: 'input', - type: 'SignUpInput!', + type: 'ApplyRlsInput!', }, ], connectionFieldsMap, - 'SignUpPayload' + 'ApplyRlsPayload' ), }), - setFieldOrder: ( - args: SetFieldOrderVariables, + signInOneTimeToken: ( + args: SignInOneTimeTokenVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - setFieldOrder: InferSelectResult | null; + signInOneTimeToken: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SetFieldOrder', - fieldName: 'setFieldOrder', + operationName: 'SignInOneTimeToken', + fieldName: 'signInOneTimeToken', ...buildCustomDocument( 'mutation', - 'SetFieldOrder', - 'setFieldOrder', + 'SignInOneTimeToken', + 'signInOneTimeToken', options.select, args, [ { name: 'input', - type: 'SetFieldOrderInput!', + type: 'SignInOneTimeTokenInput!', }, ], connectionFieldsMap, - 'SetFieldOrderPayload' + 'SignInOneTimeTokenPayload' ), }), - oneTimeToken: ( - args: OneTimeTokenVariables, + createUserDatabase: ( + args: CreateUserDatabaseVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - oneTimeToken: InferSelectResult | null; + createUserDatabase: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'OneTimeToken', - fieldName: 'oneTimeToken', + operationName: 'CreateUserDatabase', + fieldName: 'createUserDatabase', ...buildCustomDocument( 'mutation', - 'OneTimeToken', - 'oneTimeToken', + 'CreateUserDatabase', + 'createUserDatabase', options.select, args, [ { name: 'input', - type: 'OneTimeTokenInput!', + type: 'CreateUserDatabaseInput!', }, ], connectionFieldsMap, - 'OneTimeTokenPayload' + 'CreateUserDatabasePayload' ), }), - insertNodeAtPath: ( - args: InsertNodeAtPathVariables, + extendTokenExpires: ( + args: ExtendTokenExpiresVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - insertNodeAtPath: InferSelectResult | null; + extendTokenExpires: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'InsertNodeAtPath', - fieldName: 'insertNodeAtPath', + operationName: 'ExtendTokenExpires', + fieldName: 'extendTokenExpires', ...buildCustomDocument( 'mutation', - 'InsertNodeAtPath', - 'insertNodeAtPath', + 'ExtendTokenExpires', + 'extendTokenExpires', options.select, args, [ { name: 'input', - type: 'InsertNodeAtPathInput!', + type: 'ExtendTokenExpiresInput!', }, ], connectionFieldsMap, - 'InsertNodeAtPathPayload' + 'ExtendTokenExpiresPayload' ), }), - updateNodeAtPath: ( - args: UpdateNodeAtPathVariables, + signIn: ( + args: SignInVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - updateNodeAtPath: InferSelectResult | null; + signIn: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'UpdateNodeAtPath', - fieldName: 'updateNodeAtPath', + operationName: 'SignIn', + fieldName: 'signIn', ...buildCustomDocument( 'mutation', - 'UpdateNodeAtPath', - 'updateNodeAtPath', + 'SignIn', + 'signIn', options.select, args, [ { name: 'input', - type: 'UpdateNodeAtPathInput!', + type: 'SignInInput!', }, ], connectionFieldsMap, - 'UpdateNodeAtPathPayload' + 'SignInPayload' ), }), - setAndCommit: ( - args: SetAndCommitVariables, + signUp: ( + args: SignUpVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - setAndCommit: InferSelectResult | null; + signUp: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SetAndCommit', - fieldName: 'setAndCommit', + operationName: 'SignUp', + fieldName: 'signUp', ...buildCustomDocument( 'mutation', - 'SetAndCommit', - 'setAndCommit', + 'SignUp', + 'signUp', options.select, args, [ { name: 'input', - type: 'SetAndCommitInput!', + type: 'SignUpInput!', }, ], connectionFieldsMap, - 'SetAndCommitPayload' + 'SignUpPayload' ), }), - applyRls: ( - args: ApplyRlsVariables, + oneTimeToken: ( + args: OneTimeTokenVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - applyRls: InferSelectResult | null; + oneTimeToken: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'ApplyRls', - fieldName: 'applyRls', + operationName: 'OneTimeToken', + fieldName: 'oneTimeToken', ...buildCustomDocument( 'mutation', - 'ApplyRls', - 'applyRls', + 'OneTimeToken', + 'oneTimeToken', options.select, args, [ { name: 'input', - type: 'ApplyRlsInput!', + type: 'OneTimeTokenInput!', }, ], connectionFieldsMap, - 'ApplyRlsPayload' + 'OneTimeTokenPayload' ), }), forgotPassword: ( diff --git a/sdk/constructive-react/src/public/orm/query/index.ts b/sdk/constructive-react/src/public/orm/query/index.ts index 12a89b785..4cf985153 100644 --- a/sdk/constructive-react/src/public/orm/query/index.ts +++ b/sdk/constructive-react/src/public/orm/query/index.ts @@ -11,9 +11,9 @@ import type { User, ObjectSelect, UserSelect, + ObjectConnection, AppPermissionConnection, OrgPermissionConnection, - ObjectConnection, AppLevelRequirementConnection, } from '../input-types'; import { connectionFieldsMap } from '../input-types'; @@ -50,8 +50,9 @@ export interface AppPermissionsGetMaskByNamesVariables { export interface OrgPermissionsGetMaskByNamesVariables { names?: string[]; } -export interface AppPermissionsGetByMaskVariables { - mask?: string; +export interface GetAllObjectsFromRootVariables { + databaseId?: string; + id?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -62,8 +63,10 @@ export interface AppPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface OrgPermissionsGetByMaskVariables { - mask?: string; +export interface GetPathObjectsFromRootVariables { + databaseId?: string; + id?: string; + path?: string[]; /** Only read the first `n` values of the set. */ first?: number; /** @@ -74,9 +77,14 @@ export interface OrgPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetAllObjectsFromRootVariables { - databaseId?: string; - id?: string; +export interface GetObjectAtPathVariables { + dbId?: string; + storeId?: string; + path?: string[]; + refname?: string; +} +export interface AppPermissionsGetByMaskVariables { + mask?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -87,10 +95,8 @@ export interface GetAllObjectsFromRootVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetPathObjectsFromRootVariables { - databaseId?: string; - id?: string; - path?: string[]; +export interface OrgPermissionsGetByMaskVariables { + mask?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -101,12 +107,6 @@ export interface GetPathObjectsFromRootVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetObjectAtPathVariables { - dbId?: string; - storeId?: string; - path?: string[]; - refname?: string; -} export interface StepsRequiredVariables { vlevel?: string; vroleId?: string; @@ -464,29 +464,33 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - appPermissionsGetByMask: ( - args: AppPermissionsGetByMaskVariables, + getAllObjectsFromRoot: ( + args: GetAllObjectsFromRootVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - appPermissionsGetByMask: AppPermissionConnection | null; + getAllObjectsFromRoot: ObjectConnection | null; }>({ client, operation: 'query', - operationName: 'AppPermissionsGetByMask', - fieldName: 'appPermissionsGetByMask', + operationName: 'GetAllObjectsFromRoot', + fieldName: 'getAllObjectsFromRoot', ...buildCustomDocument( 'query', - 'AppPermissionsGetByMask', - 'appPermissionsGetByMask', + 'GetAllObjectsFromRoot', + 'getAllObjectsFromRoot', options?.select, args, [ { - name: 'mask', - type: 'BitString', + name: 'databaseId', + type: 'UUID', + }, + { + name: 'id', + type: 'UUID', }, { name: 'first', @@ -505,29 +509,37 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - orgPermissionsGetByMask: ( - args: OrgPermissionsGetByMaskVariables, + getPathObjectsFromRoot: ( + args: GetPathObjectsFromRootVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - orgPermissionsGetByMask: OrgPermissionConnection | null; + getPathObjectsFromRoot: ObjectConnection | null; }>({ client, operation: 'query', - operationName: 'OrgPermissionsGetByMask', - fieldName: 'orgPermissionsGetByMask', + operationName: 'GetPathObjectsFromRoot', + fieldName: 'getPathObjectsFromRoot', ...buildCustomDocument( 'query', - 'OrgPermissionsGetByMask', - 'orgPermissionsGetByMask', + 'GetPathObjectsFromRoot', + 'getPathObjectsFromRoot', options?.select, args, [ { - name: 'mask', - type: 'BitString', + name: 'databaseId', + type: 'UUID', + }, + { + name: 'id', + type: 'UUID', + }, + { + name: 'path', + type: '[String]', }, { name: 'first', @@ -546,82 +558,70 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - getAllObjectsFromRoot: ( - args: GetAllObjectsFromRootVariables, - options?: { - select?: Record; - } + getObjectAtPath: ( + args: GetObjectAtPathVariables, + options: { + select: S; + } & StrictSelect ) => new QueryBuilder<{ - getAllObjectsFromRoot: ObjectConnection | null; + getObjectAtPath: InferSelectResult | null; }>({ client, operation: 'query', - operationName: 'GetAllObjectsFromRoot', - fieldName: 'getAllObjectsFromRoot', + operationName: 'GetObjectAtPath', + fieldName: 'getObjectAtPath', ...buildCustomDocument( 'query', - 'GetAllObjectsFromRoot', - 'getAllObjectsFromRoot', - options?.select, + 'GetObjectAtPath', + 'getObjectAtPath', + options.select, args, [ { - name: 'databaseId', + name: 'dbId', type: 'UUID', }, { - name: 'id', + name: 'storeId', type: 'UUID', }, { - name: 'first', - type: 'Int', - }, - { - name: 'offset', - type: 'Int', + name: 'path', + type: '[String]', }, { - name: 'after', - type: 'Cursor', + name: 'refname', + type: 'String', }, ], connectionFieldsMap, - undefined + 'Object' ), }), - getPathObjectsFromRoot: ( - args: GetPathObjectsFromRootVariables, + appPermissionsGetByMask: ( + args: AppPermissionsGetByMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - getPathObjectsFromRoot: ObjectConnection | null; + appPermissionsGetByMask: AppPermissionConnection | null; }>({ client, operation: 'query', - operationName: 'GetPathObjectsFromRoot', - fieldName: 'getPathObjectsFromRoot', + operationName: 'AppPermissionsGetByMask', + fieldName: 'appPermissionsGetByMask', ...buildCustomDocument( 'query', - 'GetPathObjectsFromRoot', - 'getPathObjectsFromRoot', + 'AppPermissionsGetByMask', + 'appPermissionsGetByMask', options?.select, args, [ { - name: 'databaseId', - type: 'UUID', - }, - { - name: 'id', - type: 'UUID', - }, - { - name: 'path', - type: '[String]', + name: 'mask', + type: 'BitString', }, { name: 'first', @@ -640,45 +640,45 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - getObjectAtPath: ( - args: GetObjectAtPathVariables, - options: { - select: S; - } & StrictSelect + orgPermissionsGetByMask: ( + args: OrgPermissionsGetByMaskVariables, + options?: { + select?: Record; + } ) => new QueryBuilder<{ - getObjectAtPath: InferSelectResult | null; + orgPermissionsGetByMask: OrgPermissionConnection | null; }>({ client, operation: 'query', - operationName: 'GetObjectAtPath', - fieldName: 'getObjectAtPath', + operationName: 'OrgPermissionsGetByMask', + fieldName: 'orgPermissionsGetByMask', ...buildCustomDocument( 'query', - 'GetObjectAtPath', - 'getObjectAtPath', - options.select, + 'OrgPermissionsGetByMask', + 'orgPermissionsGetByMask', + options?.select, args, [ { - name: 'dbId', - type: 'UUID', + name: 'mask', + type: 'BitString', }, { - name: 'storeId', - type: 'UUID', + name: 'first', + type: 'Int', }, { - name: 'path', - type: '[String]', + name: 'offset', + type: 'Int', }, { - name: 'refname', - type: 'String', + name: 'after', + type: 'Cursor', }, ], connectionFieldsMap, - 'Object' + undefined ), }), stepsRequired: ( diff --git a/sdk/constructive-react/src/public/schema-types.ts b/sdk/constructive-react/src/public/schema-types.ts index 598c684d6..c52280120 100644 --- a/sdk/constructive-react/src/public/schema-types.ts +++ b/sdk/constructive-react/src/public/schema-types.ts @@ -1755,6 +1755,30 @@ export type MembershipTypeOrderBy = | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; +/** Methods to use when ordering `Object`. */ +export type ObjectOrderBy = + | 'NATURAL' + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'FRZN_ASC' + | 'FRZN_DESC'; +/** Methods to use when ordering `Commit`. */ +export type 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'; /** Methods to use when ordering `AppPermission`. */ export type AppPermissionOrderBy = | 'NATURAL' @@ -1819,30 +1843,6 @@ export type RlsModuleOrderBy = | 'CURRENT_ROLE_ID_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -/** Methods to use when ordering `Object`. */ -export type ObjectOrderBy = - | 'NATURAL' - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'FRZN_ASC' - | 'FRZN_DESC'; -/** Methods to use when ordering `Commit`. */ -export type 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'; /** Methods to use when ordering `OrgMembershipDefault`. */ export type OrgMembershipDefaultOrderBy = | 'NATURAL' @@ -1963,6 +1963,25 @@ export type EmailOrderBy = | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_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' + | '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 `AstMigration`. */ export type AstMigrationOrderBy = | 'NATURAL' @@ -2009,27 +2028,6 @@ 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' @@ -7895,6 +7893,65 @@ export interface MembershipTypeFilter { */ fullTextSearch?: 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. */ + 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; +} +/** 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; + /** 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 `AppPermission` object types. All fields are combined with a logical ‘and.’ */ export interface AppPermissionFilter { /** Filter by the object’s `id` field. */ @@ -7974,65 +8031,6 @@ export interface AppMembershipDefaultFilter { /** Negates the expression. */ not?: AppMembershipDefaultFilter; } -/** 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. */ - 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; -} -/** 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; - /** 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 { /** Filter by the object’s `id` field. */ @@ -8380,6 +8378,12 @@ export interface VerifyEmailInput { emailId?: string; token?: string; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface ResetPasswordInput { clientMutationId?: string; roleId?: string; @@ -8396,11 +8400,9 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } -export interface RemoveNodeAtPathInput { +export interface SetFieldOrderInput { clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; + fieldIds?: string[]; } export interface SetDataAtPathInput { clientMutationId?: string; @@ -8425,6 +8427,44 @@ export interface ProvisionDatabaseWithUserInput { pModules?: string[]; pOptions?: unknown; } +export interface InsertNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: unknown; + kids?: string[]; + ktree?: string[]; +} +export interface UpdateNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: unknown; + kids?: string[]; + ktree?: string[]; +} +export interface SetAndCommitInput { + clientMutationId?: string; + dbId?: string; + storeId?: string; + refname?: string; + path?: string[]; + data?: unknown; + kids?: string[]; + ktree?: string[]; +} +export interface ApplyRlsInput { + clientMutationId?: string; + tableId?: string; + grants?: unknown; + policyType?: string; + vars?: unknown; + fieldIds?: string[]; + permissive?: boolean; + name?: string; +} export interface SignInOneTimeTokenInput { clientMutationId?: string; token?: string; @@ -8460,55 +8500,13 @@ export interface SignUpInput { credentialKind?: string; csrfToken?: string; } -export interface SetFieldOrderInput { - clientMutationId?: string; - fieldIds?: string[]; -} -export interface OneTimeTokenInput { +export interface OneTimeTokenInput { clientMutationId?: string; email?: string; password?: string; origin?: ConstructiveInternalTypeOrigin; rememberMe?: boolean; } -export interface InsertNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: unknown; - kids?: string[]; - ktree?: string[]; -} -export interface UpdateNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: unknown; - kids?: string[]; - ktree?: string[]; -} -export interface SetAndCommitInput { - clientMutationId?: string; - dbId?: string; - storeId?: string; - refname?: string; - path?: string[]; - data?: unknown; - kids?: string[]; - ktree?: string[]; -} -export interface ApplyRlsInput { - clientMutationId?: string; - tableId?: string; - grants?: unknown; - policyType?: string; - vars?: unknown; - fieldIds?: string[]; - permissive?: boolean; - name?: string; -} export interface ForgotPasswordInput { clientMutationId?: string; email?: ConstructiveInternalTypeEmail; @@ -9088,6 +9086,23 @@ export interface ConnectedAccountInput { createdAt?: string; updatedAt?: string; } +export interface CreateTableGrantInput { + clientMutationId?: string; + /** The `TableGrant` to be created by this mutation. */ + tableGrant: TableGrantInput; +} +/** An input for mutations affecting `TableGrant` */ +export interface TableGrantInput { + id?: string; + databaseId?: string; + tableId: string; + privilege: string; + granteeName: string; + fieldIds?: string[]; + isGrant?: boolean; + createdAt?: string; + updatedAt?: string; +} export interface CreateFieldModuleInput { clientMutationId?: string; /** The `FieldModule` to be created by this mutation. */ @@ -9187,23 +9202,62 @@ export interface MembershipTypeInput { /** Short prefix used to namespace tables and functions for this membership scope */ prefix: string; } -export interface CreateTableGrantInput { +export interface CreateObjectInput { clientMutationId?: string; - /** The `TableGrant` to be created by this mutation. */ - tableGrant: TableGrantInput; + /** The `Object` to be created by this mutation. */ + object: ObjectInput; } -/** An input for mutations affecting `TableGrant` */ -export interface TableGrantInput { +/** An input for mutations affecting `Object` */ +export interface ObjectInput { + id: string; + databaseId: string; + kids?: string[]; + ktree?: string[]; + data?: unknown; + frzn?: boolean; + createdAt?: string; +} +export interface CreateFullTextSearchInput { + clientMutationId?: string; + /** The `FullTextSearch` to be created by this mutation. */ + fullTextSearch: FullTextSearchInput; +} +/** An input for mutations affecting `FullTextSearch` */ +export interface FullTextSearchInput { id?: string; databaseId?: string; tableId: string; - privilege: string; - granteeName: string; - fieldIds?: string[]; - isGrant?: boolean; + fieldId: string; + fieldIds: string[]; + weights: string[]; + langs: string[]; createdAt?: string; updatedAt?: string; } +export interface CreateCommitInput { + clientMutationId?: string; + /** The `Commit` to be created by this mutation. */ + commit: CommitInput; +} +/** An input for mutations affecting `Commit` */ +export interface CommitInput { + /** The primary unique identifier for the commit. */ + id?: string; + /** The commit message */ + message?: string; + /** The repository identifier */ + databaseId: string; + storeId: string; + /** Parent commits */ + parentIds?: string[]; + /** The author of the commit */ + authorId?: string; + /** The committer of the commit */ + committerId?: string; + /** The root of the tree */ + treeId?: string; + date?: string; +} export interface CreateAppPermissionInput { clientMutationId?: string; /** The `AppPermission` to be created by this mutation. */ @@ -9379,62 +9433,6 @@ export interface SessionsModuleInput { sessionCredentialsTable?: string; authSettingsTable?: string; } -export interface CreateObjectInput { - clientMutationId?: string; - /** The `Object` to be created by this mutation. */ - object: ObjectInput; -} -/** An input for mutations affecting `Object` */ -export interface ObjectInput { - id: string; - databaseId: string; - kids?: string[]; - ktree?: string[]; - data?: unknown; - frzn?: boolean; - createdAt?: string; -} -export interface CreateFullTextSearchInput { - clientMutationId?: string; - /** The `FullTextSearch` to be created by this mutation. */ - fullTextSearch: FullTextSearchInput; -} -/** An input for mutations affecting `FullTextSearch` */ -export interface FullTextSearchInput { - id?: string; - databaseId?: string; - tableId: string; - fieldId: string; - fieldIds: string[]; - weights: string[]; - langs: string[]; - createdAt?: string; - updatedAt?: string; -} -export interface CreateCommitInput { - clientMutationId?: string; - /** The `Commit` to be created by this mutation. */ - commit: CommitInput; -} -/** An input for mutations affecting `Commit` */ -export interface CommitInput { - /** The primary unique identifier for the commit. */ - id?: string; - /** The commit message */ - message?: string; - /** The repository identifier */ - databaseId: string; - storeId: string; - /** Parent commits */ - parentIds?: string[]; - /** The author of the commit */ - authorId?: string; - /** The committer of the commit */ - committerId?: string; - /** The root of the tree */ - treeId?: string; - date?: string; -} export interface CreateOrgLimitInput { clientMutationId?: string; /** The `OrgLimit` to be created by this mutation. */ @@ -9550,6 +9548,26 @@ export interface OrgGrantInput { 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 CreateOrgMembershipDefaultInput { clientMutationId?: string; /** The `OrgMembershipDefault` to be created by this mutation. */ @@ -9730,26 +9748,6 @@ 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. */ @@ -9913,42 +9911,35 @@ 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 CreateTriggerInput { +export interface CreateUserInput { clientMutationId?: string; - /** The `Trigger` to be created by this mutation. */ - trigger: TriggerInput; + /** The `User` to be created by this mutation. */ + user: UserInput; } -/** An input for mutations affecting `Trigger` */ -export interface TriggerInput { +/** An input for mutations affecting `User` */ +export interface UserInput { id?: string; - databaseId?: string; - tableId: string; - name: string; - event?: string; - functionName?: string; - smartTags?: unknown; - category?: ObjectCategory; - module?: string; - scope?: number; - tags?: string[]; + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + type?: number; createdAt?: string; updatedAt?: string; } -export interface CreateUniqueConstraintInput { +export interface CreatePrimaryKeyConstraintInput { clientMutationId?: string; - /** The `UniqueConstraint` to be created by this mutation. */ - uniqueConstraint: UniqueConstraintInput; + /** The `PrimaryKeyConstraint` to be created by this mutation. */ + primaryKeyConstraint: PrimaryKeyConstraintInput; } -/** An input for mutations affecting `UniqueConstraint` */ -export interface UniqueConstraintInput { +/** An input for mutations affecting `PrimaryKeyConstraint` */ +export interface PrimaryKeyConstraintInput { id?: string; databaseId?: string; tableId: string; name?: string; - description?: string; - smartTags?: unknown; type?: string; fieldIds: string[]; + smartTags?: unknown; category?: ObjectCategory; module?: string; scope?: number; @@ -9956,19 +9947,19 @@ export interface UniqueConstraintInput { createdAt?: string; updatedAt?: string; } -export interface CreatePrimaryKeyConstraintInput { +export interface CreateTriggerInput { clientMutationId?: string; - /** The `PrimaryKeyConstraint` to be created by this mutation. */ - primaryKeyConstraint: PrimaryKeyConstraintInput; + /** The `Trigger` to be created by this mutation. */ + trigger: TriggerInput; } -/** An input for mutations affecting `PrimaryKeyConstraint` */ -export interface PrimaryKeyConstraintInput { +/** An input for mutations affecting `Trigger` */ +export interface TriggerInput { id?: string; databaseId?: string; tableId: string; - name?: string; - type?: string; - fieldIds: string[]; + name: string; + event?: string; + functionName?: string; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -9999,6 +9990,28 @@ export interface CheckConstraintInput { createdAt?: string; updatedAt?: string; } +export interface CreateUniqueConstraintInput { + clientMutationId?: string; + /** The `UniqueConstraint` to be created by this mutation. */ + uniqueConstraint: UniqueConstraintInput; +} +/** An input for mutations affecting `UniqueConstraint` */ +export interface UniqueConstraintInput { + id?: string; + databaseId?: string; + tableId: string; + name?: string; + description?: string; + smartTags?: unknown; + type?: string; + fieldIds: string[]; + category?: ObjectCategory; + module?: string; + scope?: number; + tags?: string[]; + createdAt?: string; + updatedAt?: string; +} export interface CreatePolicyInput { clientMutationId?: string; /** The `Policy` to be created by this mutation. */ @@ -10045,6 +10058,33 @@ export interface AstMigrationInput { actionId?: string; actorId?: 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 CreateAppMembershipInput { clientMutationId?: string; /** The `AppMembership` to be created by this mutation. */ @@ -10187,22 +10227,6 @@ export interface SiteInput { /** 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. */ @@ -10260,33 +10284,6 @@ export interface InviteInput { createdAt?: string; updatedAt?: 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; /** The `ForeignKeyConstraint` to be created by this mutation. */ @@ -11250,6 +11247,24 @@ export interface ConnectedAccountPatch { createdAt?: string; updatedAt?: string; } +export interface UpdateTableGrantInput { + clientMutationId?: string; + id: string; + /** 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. */ +export interface TableGrantPatch { + id?: string; + databaseId?: string; + tableId?: string; + privilege?: string; + granteeName?: string; + fieldIds?: string[]; + isGrant?: boolean; + createdAt?: string; + updatedAt?: string; +} export interface UpdateFieldModuleInput { clientMutationId?: string; id: string; @@ -11356,24 +11371,69 @@ export interface MembershipTypePatch { /** Short prefix used to namespace tables and functions for this membership scope */ prefix?: string; } -export interface UpdateTableGrantInput { +export interface UpdateObjectInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `TableGrant` being updated. */ - tableGrantPatch: TableGrantPatch; + databaseId: string; + /** An object where the defined keys will be set on the `Object` being updated. */ + objectPatch: ObjectPatch; } -/** Represents an update to a `TableGrant`. Fields that are set will be updated. */ -export interface TableGrantPatch { +/** Represents an update to a `Object`. Fields that are set will be updated. */ +export interface ObjectPatch { + id?: string; + databaseId?: string; + kids?: string[]; + ktree?: string[]; + data?: unknown; + frzn?: boolean; + createdAt?: string; +} +export interface UpdateFullTextSearchInput { + clientMutationId?: string; + id: string; + /** 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. */ +export interface FullTextSearchPatch { id?: string; databaseId?: string; tableId?: string; - privilege?: string; - granteeName?: string; + fieldId?: string; fieldIds?: string[]; - isGrant?: boolean; + weights?: string[]; + langs?: string[]; createdAt?: string; updatedAt?: string; } +export interface UpdateCommitInput { + clientMutationId?: string; + /** The primary unique identifier for the commit. */ + id: string; + /** The repository identifier */ + databaseId: string; + /** 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. */ +export interface CommitPatch { + /** The primary unique identifier for the commit. */ + id?: string; + /** The commit message */ + message?: string; + /** The repository identifier */ + databaseId?: string; + storeId?: string; + /** Parent commits */ + parentIds?: string[]; + /** The author of the commit */ + authorId?: string; + /** The committer of the commit */ + committerId?: string; + /** The root of the tree */ + treeId?: string; + date?: string; +} export interface UpdateAppPermissionInput { clientMutationId?: string; id: string; @@ -11562,69 +11622,6 @@ export interface SessionsModulePatch { sessionCredentialsTable?: string; authSettingsTable?: string; } -export interface UpdateObjectInput { - clientMutationId?: string; - id: string; - databaseId: string; - /** 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. */ -export interface ObjectPatch { - id?: string; - databaseId?: string; - kids?: string[]; - ktree?: string[]; - data?: unknown; - frzn?: boolean; - createdAt?: string; -} -export interface UpdateFullTextSearchInput { - clientMutationId?: string; - id: string; - /** 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. */ -export interface FullTextSearchPatch { - id?: string; - databaseId?: string; - tableId?: string; - fieldId?: string; - fieldIds?: string[]; - weights?: string[]; - langs?: string[]; - createdAt?: string; - updatedAt?: string; -} -export interface UpdateCommitInput { - clientMutationId?: string; - /** The primary unique identifier for the commit. */ - id: string; - /** The repository identifier */ - databaseId: string; - /** 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. */ -export interface CommitPatch { - /** The primary unique identifier for the commit. */ - id?: string; - /** The commit message */ - message?: string; - /** The repository identifier */ - databaseId?: string; - storeId?: string; - /** Parent commits */ - parentIds?: string[]; - /** The author of the commit */ - authorId?: string; - /** The committer of the commit */ - committerId?: string; - /** The root of the tree */ - treeId?: string; - date?: string; -} export interface UpdateOrgLimitInput { clientMutationId?: string; id: string; @@ -11747,19 +11744,40 @@ export interface OrgGrantPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateOrgMembershipDefaultInput { +export interface UpdateDenormalizedTableFieldInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `OrgMembershipDefault` being updated. */ - orgMembershipDefaultPatch: OrgMembershipDefaultPatch; + /** An object where the defined keys will be set on the `DenormalizedTableField` being updated. */ + denormalizedTableFieldPatch: DenormalizedTableFieldPatch; } -/** Represents an update to a `OrgMembershipDefault`. Fields that are set will be updated. */ -export interface OrgMembershipDefaultPatch { +/** Represents an update to a `DenormalizedTableField`. Fields that are set will be updated. */ +export interface DenormalizedTableFieldPatch { id?: string; - createdAt?: string; - updatedAt?: string; - createdBy?: string; - updatedBy?: 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 UpdateOrgMembershipDefaultInput { + clientMutationId?: string; + id: string; + /** 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. */ +export interface OrgMembershipDefaultPatch { + id?: string; + createdAt?: string; + updatedAt?: string; + createdBy?: string; + updatedBy?: string; /** Whether new members are automatically approved upon joining */ isApproved?: boolean; /** References the entity these membership defaults apply to */ @@ -11915,27 +11933,6 @@ 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; @@ -12106,20 +12103,38 @@ export interface SecureTableProvisionPatch { /** 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 UpdateTriggerInput { +export interface UpdateUserInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `Trigger` being updated. */ - triggerPatch: TriggerPatch; + /** An object where the defined keys will be set on the `User` being updated. */ + userPatch: UserPatch; } -/** Represents an update to a `Trigger`. Fields that are set will be updated. */ -export interface TriggerPatch { +/** Represents an update to a `User`. Fields that are set will be updated. */ +export interface UserPatch { + id?: string; + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + type?: number; + createdAt?: string; + updatedAt?: string; + /** File upload for the `profilePicture` field. */ + profilePictureUpload?: File; +} +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; - event?: string; - functionName?: string; + type?: string; + fieldIds?: string[]; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -12128,22 +12143,21 @@ export interface TriggerPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateUniqueConstraintInput { +export interface UpdateTriggerInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `UniqueConstraint` being updated. */ - uniqueConstraintPatch: UniqueConstraintPatch; + /** An object where the defined keys will be set on the `Trigger` being updated. */ + triggerPatch: TriggerPatch; } -/** Represents an update to a `UniqueConstraint`. Fields that are set will be updated. */ -export interface UniqueConstraintPatch { +/** Represents an update to a `Trigger`. Fields that are set will be updated. */ +export interface TriggerPatch { id?: string; databaseId?: string; tableId?: string; name?: string; - description?: string; + event?: string; + functionName?: string; smartTags?: unknown; - type?: string; - fieldIds?: string[]; category?: ObjectCategory; module?: string; scope?: number; @@ -12151,20 +12165,21 @@ export interface UniqueConstraintPatch { createdAt?: string; updatedAt?: string; } -export interface UpdatePrimaryKeyConstraintInput { +export interface UpdateCheckConstraintInput { clientMutationId?: string; id: string; - /** An object where the defined keys will be set on the `PrimaryKeyConstraint` being updated. */ - primaryKeyConstraintPatch: PrimaryKeyConstraintPatch; + /** An object where the defined keys will be set on the `CheckConstraint` being updated. */ + checkConstraintPatch: CheckConstraintPatch; } -/** Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. */ -export interface PrimaryKeyConstraintPatch { +/** Represents an update to a `CheckConstraint`. Fields that are set will be updated. */ +export interface CheckConstraintPatch { id?: string; databaseId?: string; tableId?: string; name?: string; type?: string; fieldIds?: string[]; + expr?: unknown; smartTags?: unknown; category?: ObjectCategory; module?: string; @@ -12173,22 +12188,22 @@ export interface PrimaryKeyConstraintPatch { createdAt?: string; updatedAt?: string; } -export interface UpdateCheckConstraintInput { +export interface UpdateUniqueConstraintInput { 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 `UniqueConstraint` being updated. */ + uniqueConstraintPatch: UniqueConstraintPatch; } -/** Represents an update to a `CheckConstraint`. Fields that are set will be updated. */ -export interface CheckConstraintPatch { +/** Represents an update to a `UniqueConstraint`. Fields that are set will be updated. */ +export interface UniqueConstraintPatch { id?: string; databaseId?: string; tableId?: string; name?: string; + description?: string; + smartTags?: unknown; type?: string; fieldIds?: string[]; - expr?: unknown; - smartTags?: unknown; category?: ObjectCategory; module?: string; scope?: number; @@ -12222,6 +12237,34 @@ export interface PolicyPatch { createdAt?: string; updatedAt?: 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 UpdateAppMembershipInput { clientMutationId?: string; id: string; @@ -12381,25 +12424,6 @@ export interface SitePatch { /** 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; @@ -12459,34 +12483,6 @@ export interface InvitePatch { createdAt?: string; updatedAt?: 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; id: string; @@ -13007,6 +13003,10 @@ export interface DeleteConnectedAccountInput { clientMutationId?: string; id: string; } +export interface DeleteTableGrantInput { + clientMutationId?: string; + id: string; +} export interface DeleteFieldModuleInput { clientMutationId?: string; id: string; @@ -13029,9 +13029,21 @@ export interface DeleteMembershipTypeInput { /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */ id: number; } -export interface DeleteTableGrantInput { +export interface DeleteObjectInput { + clientMutationId?: string; + id: string; + databaseId: string; +} +export interface DeleteFullTextSearchInput { + clientMutationId?: string; + id: string; +} +export interface DeleteCommitInput { clientMutationId?: string; + /** The primary unique identifier for the commit. */ id: string; + /** The repository identifier */ + databaseId: string; } export interface DeleteAppPermissionInput { clientMutationId?: string; @@ -13074,22 +13086,6 @@ export interface DeleteSessionsModuleInput { clientMutationId?: string; id: string; } -export interface DeleteObjectInput { - clientMutationId?: string; - id: string; - databaseId: string; -} -export interface DeleteFullTextSearchInput { - clientMutationId?: string; - id: string; -} -export interface DeleteCommitInput { - clientMutationId?: string; - /** The primary unique identifier for the commit. */ - id: string; - /** The repository identifier */ - databaseId: string; -} export interface DeleteOrgLimitInput { clientMutationId?: string; id: string; @@ -13115,6 +13111,10 @@ export interface DeleteOrgGrantInput { clientMutationId?: string; id: string; } +export interface DeleteDenormalizedTableFieldInput { + clientMutationId?: string; + id: string; +} export interface DeleteOrgMembershipDefaultInput { clientMutationId?: string; id: string; @@ -13143,10 +13143,6 @@ export interface DeleteInvitesModuleInput { clientMutationId?: string; id: string; } -export interface DeleteDenormalizedTableFieldInput { - clientMutationId?: string; - id: string; -} export interface DeleteEmailInput { clientMutationId?: string; id: string; @@ -13172,15 +13168,15 @@ export interface DeleteSecureTableProvisionInput { /** Unique identifier for this provision row. */ id: string; } -export interface DeleteTriggerInput { +export interface DeleteUserInput { clientMutationId?: string; id: string; } -export interface DeleteUniqueConstraintInput { +export interface DeletePrimaryKeyConstraintInput { clientMutationId?: string; id: string; } -export interface DeletePrimaryKeyConstraintInput { +export interface DeleteTriggerInput { clientMutationId?: string; id: string; } @@ -13188,10 +13184,18 @@ export interface DeleteCheckConstraintInput { clientMutationId?: string; id: string; } +export interface DeleteUniqueConstraintInput { + clientMutationId?: string; + id: string; +} export interface DeletePolicyInput { clientMutationId?: string; id: string; } +export interface DeleteIndexInput { + clientMutationId?: string; + id: string; +} export interface DeleteAppMembershipInput { clientMutationId?: string; id: string; @@ -13214,10 +13218,6 @@ export interface DeleteSiteInput { /** Unique identifier for this site */ id: string; } -export interface DeleteUserInput { - clientMutationId?: string; - id: string; -} export interface DeleteHierarchyModuleInput { clientMutationId?: string; id: string; @@ -13226,10 +13226,6 @@ export interface DeleteInviteInput { clientMutationId?: string; id: string; } -export interface DeleteIndexInput { - clientMutationId?: string; - id: string; -} export interface DeleteForeignKeyConstraintInput { clientMutationId?: string; id: string; @@ -13284,6 +13280,13 @@ export interface GetAllConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `Object` values. */ +export interface ObjectConnection { + nodes: Object[]; + edges: ObjectEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `AppPermission` values. */ export interface AppPermissionConnection { nodes: AppPermission[]; @@ -13298,13 +13301,6 @@ export interface OrgPermissionConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Object` values. */ -export interface ObjectConnection { - nodes: Object[]; - edges: ObjectEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `AppLevelRequirement` values. */ export interface AppLevelRequirementConnection { nodes: AppLevelRequirement[]; @@ -13571,6 +13567,13 @@ export interface ConnectedAccountConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `TableGrant` values. */ +export interface TableGrantConnection { + nodes: TableGrant[]; + edges: TableGrantEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `FieldModule` values. */ export interface FieldModuleConnection { nodes: FieldModule[]; @@ -13606,10 +13609,17 @@ export interface MembershipTypeConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `TableGrant` values. */ -export interface TableGrantConnection { - nodes: TableGrant[]; - edges: TableGrantEdge[]; +/** A connection to a list of `FullTextSearch` values. */ +export interface FullTextSearchConnection { + nodes: FullTextSearch[]; + edges: FullTextSearchEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +/** A connection to a list of `Commit` values. */ +export interface CommitConnection { + nodes: Commit[]; + edges: CommitEdge[]; pageInfo: PageInfo; totalCount: number; } @@ -13669,20 +13679,6 @@ export interface SessionsModuleConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `FullTextSearch` values. */ -export interface FullTextSearchConnection { - nodes: FullTextSearch[]; - edges: FullTextSearchEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -/** A connection to a list of `Commit` values. */ -export interface CommitConnection { - nodes: Commit[]; - edges: CommitEdge[]; - pageInfo: PageInfo; - totalCount: number; -} /** A connection to a list of `OrgLimit` values. */ export interface OrgLimitConnection { nodes: OrgLimit[]; @@ -13725,6 +13721,13 @@ export interface OrgGrantConnection { 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 `OrgMembershipDefault` values. */ export interface OrgMembershipDefaultConnection { nodes: OrgMembershipDefault[]; @@ -13774,13 +13777,6 @@ 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[]; @@ -13823,17 +13819,10 @@ export interface SecureTableProvisionConnection { pageInfo: PageInfo; totalCount: number; } -/** A connection to a list of `Trigger` values. */ -export interface TriggerConnection { - nodes: Trigger[]; - edges: TriggerEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -/** A connection to a list of `UniqueConstraint` values. */ -export interface UniqueConstraintConnection { - nodes: UniqueConstraint[]; - edges: UniqueConstraintEdge[]; +/** A connection to a list of `User` values. */ +export interface UserConnection { + nodes: User[]; + edges: UserEdge[]; pageInfo: PageInfo; totalCount: number; } @@ -13844,6 +13833,13 @@ export interface PrimaryKeyConstraintConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `Trigger` values. */ +export interface TriggerConnection { + nodes: Trigger[]; + edges: TriggerEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `CheckConstraint` values. */ export interface CheckConstraintConnection { nodes: CheckConstraint[]; @@ -13851,6 +13847,13 @@ export interface CheckConstraintConnection { pageInfo: PageInfo; totalCount: number; } +/** A connection to a list of `UniqueConstraint` values. */ +export interface UniqueConstraintConnection { + nodes: UniqueConstraint[]; + edges: UniqueConstraintEdge[]; + pageInfo: PageInfo; + totalCount: number; +} /** A connection to a list of `Policy` values. */ export interface PolicyConnection { nodes: Policy[]; @@ -13865,6 +13868,13 @@ export interface AstMigrationConnection { pageInfo: PageInfo; totalCount: number; } +/** 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 `AppMembership` values. */ export interface AppMembershipConnection { nodes: AppMembership[]; @@ -13900,13 +13910,6 @@ export interface SiteConnection { pageInfo: PageInfo; totalCount: number; } -/** 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 `HierarchyModule` values. */ export interface HierarchyModuleConnection { nodes: HierarchyModule[]; @@ -13921,13 +13924,6 @@ export interface InviteConnection { pageInfo: PageInfo; totalCount: number; } -/** 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 `ForeignKeyConstraint` values. */ export interface ForeignKeyConstraintConnection { nodes: ForeignKeyConstraint[]; @@ -14024,6 +14020,10 @@ export interface VerifyEmailPayload { clientMutationId?: string | null; result?: boolean | null; } +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} export interface ResetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; @@ -14032,9 +14032,8 @@ export interface BootstrapUserPayload { clientMutationId?: string | null; result?: BootstrapUserRecord[] | null; } -export interface RemoveNodeAtPathPayload { +export interface SetFieldOrderPayload { clientMutationId?: string | null; - result?: string | null; } export interface SetDataAtPathPayload { clientMutationId?: string | null; @@ -14048,6 +14047,21 @@ export interface ProvisionDatabaseWithUserPayload { clientMutationId?: string | null; result?: ProvisionDatabaseWithUserRecord[] | null; } +export interface InsertNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export interface UpdateNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export interface SetAndCommitPayload { + clientMutationId?: string | null; + result?: string | null; +} +export interface ApplyRlsPayload { + clientMutationId?: string | null; +} export interface SignInOneTimeTokenPayload { clientMutationId?: string | null; result?: SignInOneTimeTokenRecord | null; @@ -14068,28 +14082,10 @@ export interface SignUpPayload { clientMutationId?: string | null; result?: SignUpRecord | null; } -export interface SetFieldOrderPayload { - clientMutationId?: string | null; -} export interface OneTimeTokenPayload { clientMutationId?: string | null; result?: string | null; } -export interface InsertNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export interface UpdateNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export interface SetAndCommitPayload { - clientMutationId?: string | null; - result?: string | null; -} -export interface ApplyRlsPayload { - clientMutationId?: string | null; -} export interface ForgotPasswordPayload { clientMutationId?: string | null; } @@ -14327,6 +14323,12 @@ export interface CreateConnectedAccountPayload { connectedAccount?: ConnectedAccount | null; connectedAccountEdge?: ConnectedAccountEdge | null; } +export interface CreateTableGrantPayload { + clientMutationId?: string | null; + /** The `TableGrant` that was created by this mutation. */ + tableGrant?: TableGrant | null; + tableGrantEdge?: TableGrantEdge | null; +} export interface CreateFieldModulePayload { clientMutationId?: string | null; /** The `FieldModule` that was created by this mutation. */ @@ -14357,11 +14359,23 @@ export interface CreateMembershipTypePayload { membershipType?: MembershipType | null; membershipTypeEdge?: MembershipTypeEdge | null; } -export interface CreateTableGrantPayload { +export interface CreateObjectPayload { clientMutationId?: string | null; - /** The `TableGrant` that was created by this mutation. */ - tableGrant?: TableGrant | null; - tableGrantEdge?: TableGrantEdge | null; + /** The `Object` that was created by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export interface CreateFullTextSearchPayload { + clientMutationId?: string | null; + /** The `FullTextSearch` that was created by this mutation. */ + fullTextSearch?: FullTextSearch | null; + fullTextSearchEdge?: FullTextSearchEdge | null; +} +export interface CreateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was created by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; } export interface CreateAppPermissionPayload { clientMutationId?: string | null; @@ -14423,24 +14437,6 @@ export interface CreateSessionsModulePayload { sessionsModule?: SessionsModule | null; sessionsModuleEdge?: SessionsModuleEdge | null; } -export interface CreateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was created by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export interface CreateFullTextSearchPayload { - clientMutationId?: string | null; - /** The `FullTextSearch` that was created by this mutation. */ - fullTextSearch?: FullTextSearch | null; - fullTextSearchEdge?: FullTextSearchEdge | null; -} -export interface CreateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was created by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} export interface CreateOrgLimitPayload { clientMutationId?: string | null; /** The `OrgLimit` that was created by this mutation. */ @@ -14477,6 +14473,12 @@ export interface CreateOrgGrantPayload { orgGrant?: OrgGrant | null; orgGrantEdge?: OrgGrantEdge | null; } +export interface CreateDenormalizedTableFieldPayload { + clientMutationId?: string | null; + /** The `DenormalizedTableField` that was created by this mutation. */ + denormalizedTableField?: DenormalizedTableField | null; + denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; +} export interface CreateOrgMembershipDefaultPayload { clientMutationId?: string | null; /** The `OrgMembershipDefault` that was created by this mutation. */ @@ -14524,12 +14526,6 @@ 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. */ @@ -14566,17 +14562,11 @@ export interface CreateSecureTableProvisionPayload { secureTableProvision?: SecureTableProvision | null; secureTableProvisionEdge?: SecureTableProvisionEdge | null; } -export interface CreateTriggerPayload { - clientMutationId?: string | null; - /** The `Trigger` that was created by this mutation. */ - trigger?: Trigger | null; - triggerEdge?: TriggerEdge | null; -} -export interface CreateUniqueConstraintPayload { +export interface CreateUserPayload { clientMutationId?: string | null; - /** The `UniqueConstraint` that was created by this mutation. */ - uniqueConstraint?: UniqueConstraint | null; - uniqueConstraintEdge?: UniqueConstraintEdge | null; + /** The `User` that was created by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; } export interface CreatePrimaryKeyConstraintPayload { clientMutationId?: string | null; @@ -14584,12 +14574,24 @@ export interface CreatePrimaryKeyConstraintPayload { primaryKeyConstraint?: PrimaryKeyConstraint | null; primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; } +export interface CreateTriggerPayload { + clientMutationId?: string | null; + /** The `Trigger` that was created by this mutation. */ + trigger?: Trigger | null; + triggerEdge?: TriggerEdge | null; +} export interface CreateCheckConstraintPayload { clientMutationId?: string | null; /** The `CheckConstraint` that was created by this mutation. */ checkConstraint?: CheckConstraint | null; checkConstraintEdge?: CheckConstraintEdge | null; } +export interface CreateUniqueConstraintPayload { + clientMutationId?: string | null; + /** The `UniqueConstraint` that was created by this mutation. */ + uniqueConstraint?: UniqueConstraint | null; + uniqueConstraintEdge?: UniqueConstraintEdge | null; +} export interface CreatePolicyPayload { clientMutationId?: string | null; /** The `Policy` that was created by this mutation. */ @@ -14601,6 +14603,12 @@ export interface CreateAstMigrationPayload { /** The `AstMigration` that was created by this mutation. */ astMigration?: AstMigration | 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. */ @@ -14631,12 +14639,6 @@ export interface CreateSitePayload { site?: Site | null; siteEdge?: SiteEdge | null; } -export interface CreateUserPayload { - clientMutationId?: string | null; - /** The `User` that was created by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} export interface CreateHierarchyModulePayload { clientMutationId?: string | null; /** The `HierarchyModule` that was created by this mutation. */ @@ -14649,12 +14651,6 @@ export interface CreateInvitePayload { invite?: Invite | null; inviteEdge?: InviteEdge | null; } -export interface CreateIndexPayload { - clientMutationId?: string | null; - /** The `Index` that was created by this mutation. */ - index?: Index | null; - indexEdge?: IndexEdge | null; -} export interface CreateForeignKeyConstraintPayload { clientMutationId?: string | null; /** The `ForeignKeyConstraint` that was created by this mutation. */ @@ -14925,7 +14921,13 @@ export interface UpdateConnectedAccountPayload { connectedAccount?: ConnectedAccount | null; connectedAccountEdge?: ConnectedAccountEdge | null; } -export interface UpdateFieldModulePayload { +export interface UpdateTableGrantPayload { + clientMutationId?: string | null; + /** The `TableGrant` that was updated by this mutation. */ + tableGrant?: TableGrant | null; + tableGrantEdge?: TableGrantEdge | null; +} +export interface UpdateFieldModulePayload { clientMutationId?: string | null; /** The `FieldModule` that was updated by this mutation. */ fieldModule?: FieldModule | null; @@ -14955,11 +14957,23 @@ export interface UpdateMembershipTypePayload { membershipType?: MembershipType | null; membershipTypeEdge?: MembershipTypeEdge | null; } -export interface UpdateTableGrantPayload { +export interface UpdateObjectPayload { clientMutationId?: string | null; - /** The `TableGrant` that was updated by this mutation. */ - tableGrant?: TableGrant | null; - tableGrantEdge?: TableGrantEdge | null; + /** The `Object` that was updated by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export interface UpdateFullTextSearchPayload { + clientMutationId?: string | null; + /** The `FullTextSearch` that was updated by this mutation. */ + fullTextSearch?: FullTextSearch | null; + fullTextSearchEdge?: FullTextSearchEdge | null; +} +export interface UpdateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was updated by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; } export interface UpdateAppPermissionPayload { clientMutationId?: string | null; @@ -15021,24 +15035,6 @@ export interface UpdateSessionsModulePayload { sessionsModule?: SessionsModule | null; sessionsModuleEdge?: SessionsModuleEdge | null; } -export interface UpdateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was updated by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export interface UpdateFullTextSearchPayload { - clientMutationId?: string | null; - /** The `FullTextSearch` that was updated by this mutation. */ - fullTextSearch?: FullTextSearch | null; - fullTextSearchEdge?: FullTextSearchEdge | null; -} -export interface UpdateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was updated by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} export interface UpdateOrgLimitPayload { clientMutationId?: string | null; /** The `OrgLimit` that was updated by this mutation. */ @@ -15075,6 +15071,12 @@ export interface UpdateOrgGrantPayload { orgGrant?: OrgGrant | null; orgGrantEdge?: OrgGrantEdge | null; } +export interface UpdateDenormalizedTableFieldPayload { + clientMutationId?: string | null; + /** The `DenormalizedTableField` that was updated by this mutation. */ + denormalizedTableField?: DenormalizedTableField | null; + denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; +} export interface UpdateOrgMembershipDefaultPayload { clientMutationId?: string | null; /** The `OrgMembershipDefault` that was updated by this mutation. */ @@ -15117,12 +15119,6 @@ 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. */ @@ -15159,17 +15155,11 @@ export interface UpdateSecureTableProvisionPayload { secureTableProvision?: SecureTableProvision | null; secureTableProvisionEdge?: SecureTableProvisionEdge | null; } -export interface UpdateTriggerPayload { - clientMutationId?: string | null; - /** The `Trigger` that was updated by this mutation. */ - trigger?: Trigger | null; - triggerEdge?: TriggerEdge | null; -} -export interface UpdateUniqueConstraintPayload { +export interface UpdateUserPayload { clientMutationId?: string | null; - /** The `UniqueConstraint` that was updated by this mutation. */ - uniqueConstraint?: UniqueConstraint | null; - uniqueConstraintEdge?: UniqueConstraintEdge | null; + /** The `User` that was updated by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; } export interface UpdatePrimaryKeyConstraintPayload { clientMutationId?: string | null; @@ -15177,18 +15167,36 @@ export interface UpdatePrimaryKeyConstraintPayload { primaryKeyConstraint?: PrimaryKeyConstraint | null; primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; } +export interface UpdateTriggerPayload { + clientMutationId?: string | null; + /** The `Trigger` that was updated by this mutation. */ + trigger?: Trigger | null; + triggerEdge?: TriggerEdge | null; +} export interface UpdateCheckConstraintPayload { clientMutationId?: string | null; /** The `CheckConstraint` that was updated by this mutation. */ checkConstraint?: CheckConstraint | null; checkConstraintEdge?: CheckConstraintEdge | null; } +export interface UpdateUniqueConstraintPayload { + clientMutationId?: string | null; + /** The `UniqueConstraint` that was updated by this mutation. */ + uniqueConstraint?: UniqueConstraint | null; + uniqueConstraintEdge?: UniqueConstraintEdge | null; +} export interface UpdatePolicyPayload { clientMutationId?: string | null; /** The `Policy` that was updated by this mutation. */ policy?: Policy | null; policyEdge?: PolicyEdge | 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. */ @@ -15219,12 +15227,6 @@ export interface UpdateSitePayload { site?: Site | null; siteEdge?: SiteEdge | null; } -export interface UpdateUserPayload { - clientMutationId?: string | null; - /** The `User` that was updated by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} export interface UpdateHierarchyModulePayload { clientMutationId?: string | null; /** The `HierarchyModule` that was updated by this mutation. */ @@ -15237,12 +15239,6 @@ export interface UpdateInvitePayload { invite?: Invite | null; inviteEdge?: InviteEdge | null; } -export interface UpdateIndexPayload { - clientMutationId?: string | null; - /** The `Index` that was updated by this mutation. */ - index?: Index | null; - indexEdge?: IndexEdge | null; -} export interface UpdateForeignKeyConstraintPayload { clientMutationId?: string | null; /** The `ForeignKeyConstraint` that was updated by this mutation. */ @@ -15513,6 +15509,12 @@ export interface DeleteConnectedAccountPayload { connectedAccount?: ConnectedAccount | null; connectedAccountEdge?: ConnectedAccountEdge | null; } +export interface DeleteTableGrantPayload { + clientMutationId?: string | null; + /** The `TableGrant` that was deleted by this mutation. */ + tableGrant?: TableGrant | null; + tableGrantEdge?: TableGrantEdge | null; +} export interface DeleteFieldModulePayload { clientMutationId?: string | null; /** The `FieldModule` that was deleted by this mutation. */ @@ -15543,11 +15545,23 @@ export interface DeleteMembershipTypePayload { membershipType?: MembershipType | null; membershipTypeEdge?: MembershipTypeEdge | null; } -export interface DeleteTableGrantPayload { +export interface DeleteObjectPayload { clientMutationId?: string | null; - /** The `TableGrant` that was deleted by this mutation. */ - tableGrant?: TableGrant | null; - tableGrantEdge?: TableGrantEdge | null; + /** The `Object` that was deleted by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export interface DeleteFullTextSearchPayload { + clientMutationId?: string | null; + /** The `FullTextSearch` that was deleted by this mutation. */ + fullTextSearch?: FullTextSearch | null; + fullTextSearchEdge?: FullTextSearchEdge | null; +} +export interface DeleteCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was deleted by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; } export interface DeleteAppPermissionPayload { clientMutationId?: string | null; @@ -15609,24 +15623,6 @@ export interface DeleteSessionsModulePayload { sessionsModule?: SessionsModule | null; sessionsModuleEdge?: SessionsModuleEdge | null; } -export interface DeleteObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was deleted by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export interface DeleteFullTextSearchPayload { - clientMutationId?: string | null; - /** The `FullTextSearch` that was deleted by this mutation. */ - fullTextSearch?: FullTextSearch | null; - fullTextSearchEdge?: FullTextSearchEdge | null; -} -export interface DeleteCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was deleted by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} export interface DeleteOrgLimitPayload { clientMutationId?: string | null; /** The `OrgLimit` that was deleted by this mutation. */ @@ -15663,6 +15659,12 @@ export interface DeleteOrgGrantPayload { orgGrant?: OrgGrant | null; orgGrantEdge?: OrgGrantEdge | null; } +export interface DeleteDenormalizedTableFieldPayload { + clientMutationId?: string | null; + /** The `DenormalizedTableField` that was deleted by this mutation. */ + denormalizedTableField?: DenormalizedTableField | null; + denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null; +} export interface DeleteOrgMembershipDefaultPayload { clientMutationId?: string | null; /** The `OrgMembershipDefault` that was deleted by this mutation. */ @@ -15705,12 +15707,6 @@ 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. */ @@ -15747,17 +15743,11 @@ export interface DeleteSecureTableProvisionPayload { secureTableProvision?: SecureTableProvision | null; secureTableProvisionEdge?: SecureTableProvisionEdge | null; } -export interface DeleteTriggerPayload { - clientMutationId?: string | null; - /** The `Trigger` that was deleted by this mutation. */ - trigger?: Trigger | null; - triggerEdge?: TriggerEdge | null; -} -export interface DeleteUniqueConstraintPayload { +export interface DeleteUserPayload { clientMutationId?: string | null; - /** The `UniqueConstraint` that was deleted by this mutation. */ - uniqueConstraint?: UniqueConstraint | null; - uniqueConstraintEdge?: UniqueConstraintEdge | null; + /** The `User` that was deleted by this mutation. */ + user?: User | null; + userEdge?: UserEdge | null; } export interface DeletePrimaryKeyConstraintPayload { clientMutationId?: string | null; @@ -15765,18 +15755,36 @@ export interface DeletePrimaryKeyConstraintPayload { primaryKeyConstraint?: PrimaryKeyConstraint | null; primaryKeyConstraintEdge?: PrimaryKeyConstraintEdge | null; } +export interface DeleteTriggerPayload { + clientMutationId?: string | null; + /** The `Trigger` that was deleted by this mutation. */ + trigger?: Trigger | null; + triggerEdge?: TriggerEdge | null; +} export interface DeleteCheckConstraintPayload { clientMutationId?: string | null; /** The `CheckConstraint` that was deleted by this mutation. */ checkConstraint?: CheckConstraint | null; checkConstraintEdge?: CheckConstraintEdge | null; } +export interface DeleteUniqueConstraintPayload { + clientMutationId?: string | null; + /** The `UniqueConstraint` that was deleted by this mutation. */ + uniqueConstraint?: UniqueConstraint | null; + uniqueConstraintEdge?: UniqueConstraintEdge | null; +} export interface DeletePolicyPayload { clientMutationId?: string | null; /** The `Policy` that was deleted by this mutation. */ policy?: Policy | null; policyEdge?: PolicyEdge | 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. */ @@ -15807,12 +15815,6 @@ export interface DeleteSitePayload { site?: Site | null; siteEdge?: SiteEdge | null; } -export interface DeleteUserPayload { - clientMutationId?: string | null; - /** The `User` that was deleted by this mutation. */ - user?: User | null; - userEdge?: UserEdge | null; -} export interface DeleteHierarchyModulePayload { clientMutationId?: string | null; /** The `HierarchyModule` that was deleted by this mutation. */ @@ -15825,12 +15827,6 @@ export interface DeleteInvitePayload { invite?: Invite | null; inviteEdge?: InviteEdge | null; } -export interface DeleteIndexPayload { - clientMutationId?: string | null; - /** The `Index` that was deleted by this mutation. */ - index?: Index | null; - indexEdge?: IndexEdge | null; -} export interface DeleteForeignKeyConstraintPayload { clientMutationId?: string | null; /** The `ForeignKeyConstraint` that was deleted by this mutation. */ @@ -15908,6 +15904,12 @@ export interface GetAllEdge { /** The `GetAllRecord` at the end of the edge. */ node?: GetAllRecord | null; } +/** A `Object` edge in the connection. */ +export interface ObjectEdge { + cursor?: string | null; + /** The `Object` at the end of the edge. */ + node?: Object | null; +} /** A `AppPermission` edge in the connection. */ export interface AppPermissionEdge { cursor?: string | null; @@ -15920,12 +15922,6 @@ export interface OrgPermissionEdge { /** The `OrgPermission` at the end of the edge. */ node?: OrgPermission | null; } -/** A `Object` edge in the connection. */ -export interface ObjectEdge { - cursor?: string | null; - /** The `Object` at the end of the edge. */ - node?: Object | null; -} /** A `AppLevelRequirement` edge in the connection. */ export interface AppLevelRequirementEdge { cursor?: string | null; @@ -16154,6 +16150,12 @@ export interface ConnectedAccountEdge { /** The `ConnectedAccount` at the end of the edge. */ node?: ConnectedAccount | null; } +/** A `TableGrant` edge in the connection. */ +export interface TableGrantEdge { + cursor?: string | null; + /** The `TableGrant` at the end of the edge. */ + node?: TableGrant | null; +} /** A `FieldModule` edge in the connection. */ export interface FieldModuleEdge { cursor?: string | null; @@ -16184,11 +16186,17 @@ export interface MembershipTypeEdge { /** The `MembershipType` at the end of the edge. */ node?: MembershipType | null; } -/** A `TableGrant` edge in the connection. */ -export interface TableGrantEdge { +/** A `FullTextSearch` edge in the connection. */ +export interface FullTextSearchEdge { cursor?: string | null; - /** The `TableGrant` at the end of the edge. */ - node?: TableGrant | null; + /** The `FullTextSearch` at the end of the edge. */ + node?: FullTextSearch | null; +} +/** A `Commit` edge in the connection. */ +export interface CommitEdge { + cursor?: string | null; + /** The `Commit` at the end of the edge. */ + node?: Commit | null; } /** A `AppLimit` edge in the connection. */ export interface AppLimitEdge { @@ -16238,18 +16246,6 @@ export interface SessionsModuleEdge { /** The `SessionsModule` at the end of the edge. */ node?: SessionsModule | null; } -/** A `FullTextSearch` edge in the connection. */ -export interface FullTextSearchEdge { - cursor?: string | null; - /** The `FullTextSearch` at the end of the edge. */ - node?: FullTextSearch | null; -} -/** A `Commit` edge in the connection. */ -export interface CommitEdge { - cursor?: string | null; - /** The `Commit` at the end of the edge. */ - node?: Commit | null; -} /** A `OrgLimit` edge in the connection. */ export interface OrgLimitEdge { cursor?: string | null; @@ -16286,6 +16282,12 @@ export interface OrgGrantEdge { /** The `OrgGrant` at the end of the edge. */ node?: OrgGrant | 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 `OrgMembershipDefault` edge in the connection. */ export interface OrgMembershipDefaultEdge { cursor?: string | null; @@ -16328,12 +16330,6 @@ 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; @@ -16370,17 +16366,11 @@ export interface SecureTableProvisionEdge { /** The `SecureTableProvision` at the end of the edge. */ node?: SecureTableProvision | 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 `UniqueConstraint` edge in the connection. */ -export interface UniqueConstraintEdge { +/** A `User` edge in the connection. */ +export interface UserEdge { cursor?: string | null; - /** The `UniqueConstraint` at the end of the edge. */ - node?: UniqueConstraint | null; + /** The `User` at the end of the edge. */ + node?: User | null; } /** A `PrimaryKeyConstraint` edge in the connection. */ export interface PrimaryKeyConstraintEdge { @@ -16388,12 +16378,24 @@ export interface PrimaryKeyConstraintEdge { /** The `PrimaryKeyConstraint` at the end of the edge. */ node?: PrimaryKeyConstraint | 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 `CheckConstraint` edge in the connection. */ export interface CheckConstraintEdge { cursor?: string | null; /** The `CheckConstraint` at the end of the edge. */ node?: CheckConstraint | 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 `Policy` edge in the connection. */ export interface PolicyEdge { cursor?: string | null; @@ -16406,6 +16408,12 @@ export interface AstMigrationEdge { /** The `AstMigration` at the end of the edge. */ node?: AstMigration | 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; @@ -16436,12 +16444,6 @@ export interface SiteEdge { /** The `Site` at the end of the edge. */ node?: Site | null; } -/** A `User` edge in the connection. */ -export interface UserEdge { - cursor?: string | null; - /** The `User` at the end of the edge. */ - node?: User | null; -} /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; @@ -16454,12 +16456,6 @@ export interface InviteEdge { /** The `Invite` at the end of the edge. */ node?: Invite | 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 `ForeignKeyConstraint` edge in the connection. */ export interface ForeignKeyConstraintEdge { cursor?: string | null; diff --git a/sdk/constructive-react/src/public/types.ts b/sdk/constructive-react/src/public/types.ts index c2d619eef..b6051592f 100644 --- a/sdk/constructive-react/src/public/types.ts +++ b/sdk/constructive-react/src/public/types.ts @@ -22,6 +22,16 @@ export interface GetAllRecord { path: string[] | null; data: unknown | null; } +export interface Object { + 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 AppPermission { id: string | null; name: string | null; @@ -40,16 +50,6 @@ export interface OrgPermission { descriptionTrgmSimilarity: number | null; searchScore: number | null; } -export interface Object { - 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 AppLevelRequirement { id: string | null; name: string | null; @@ -1319,6 +1319,19 @@ export interface MembershipType { prefixTrgmSimilarity: number | null; searchScore: number | null; } +export interface Commit { + 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; + messageTrgmSimilarity: number | null; + searchScore: number | null; +} export interface AppMembershipDefault { id: string | null; createdAt: string | null; @@ -1346,19 +1359,6 @@ export interface RlsModule { currentRoleIdTrgmSimilarity: number | null; searchScore: number | null; } -export interface Commit { - 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; - messageTrgmSimilarity: number | null; - searchScore: number | null; -} export interface OrgMembershipDefault { id: string | null; createdAt: string | null; @@ -1424,6 +1424,19 @@ export interface Email { createdAt: string | null; updatedAt: 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 AstMigration { id: number | null; databaseId: string | null; @@ -1459,19 +1472,6 @@ 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; diff --git a/sdk/constructive-sdk/schemas/admin.graphql b/sdk/constructive-sdk/schemas/admin.graphql index e5cb1d098..8f9b1f689 100644 --- a/sdk/constructive-sdk/schemas/admin.graphql +++ b/sdk/constructive-sdk/schemas/admin.graphql @@ -43,9 +43,9 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor ): OrgGetSubordinatesConnection - stepsAchieved(vlevel: String, vroleId: UUID): Boolean appPermissionsGetMask(ids: [UUID]): BitString orgPermissionsGetMask(ids: [UUID]): BitString + stepsAchieved(vlevel: String, vroleId: UUID): Boolean appPermissionsGetMaskByNames(names: [String]): BitString orgPermissionsGetMaskByNames(names: [String]): BitString diff --git a/sdk/constructive-sdk/schemas/auth.graphql b/sdk/constructive-sdk/schemas/auth.graphql index 6384885bf..0e71c1397 100644 --- a/sdk/constructive-sdk/schemas/auth.graphql +++ b/sdk/constructive-sdk/schemas/auth.graphql @@ -1886,8 +1886,6 @@ enum UserOrderBy { ID_DESC USERNAME_ASC USERNAME_DESC - SEARCH_TSV_ASC - SEARCH_TSV_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC @@ -3253,7 +3251,6 @@ input UserInput { username: String displayName: String profilePicture: ConstructiveInternalTypeImage - searchTsv: FullText type: Int createdAt: Datetime updatedAt: Datetime @@ -3653,7 +3650,6 @@ input UserPatch { username: String displayName: String profilePicture: ConstructiveInternalTypeImage - searchTsv: FullText type: Int createdAt: Datetime updatedAt: Datetime diff --git a/sdk/constructive-sdk/schemas/private.graphql b/sdk/constructive-sdk/schemas/private.graphql deleted file mode 100644 index f98fbaf3e..000000000 --- a/sdk/constructive-sdk/schemas/private.graphql +++ /dev/null @@ -1,44789 +0,0 @@ -"""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 f98fbaf3e..ea9fb6e65 100644 --- a/sdk/constructive-sdk/schemas/public.graphql +++ b/sdk/constructive-sdk/schemas/public.graphql @@ -48,6 +48,8 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor ): OrgGetSubordinatesConnection + appPermissionsGetMask(ids: [UUID]): BitString + orgPermissionsGetMask(ids: [UUID]): BitString """Reads and enables pagination through a set of `GetAllRecord`.""" getAll( @@ -66,14 +68,13 @@ type Query { """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 + """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 @@ -86,11 +87,14 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - ): AppPermissionConnection + ): ObjectConnection + getNodeAtPath(databaseId: UUID, id: UUID, path: [String]): Object - """Reads and enables pagination through a set of `OrgPermission`.""" - orgPermissionsGetByMask( - mask: BitString + """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 @@ -103,12 +107,12 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - ): OrgPermissionConnection + ): ObjectConnection + getObjectAtPath(dbId: UUID, storeId: UUID, path: [String], refname: String): Object - """Reads and enables pagination through a set of `Object`.""" - getAllObjectsFromRoot( - databaseId: UUID - id: UUID + """Reads and enables pagination through a set of `AppPermission`.""" + appPermissionsGetByMask( + mask: BitString """Only read the first `n` values of the set.""" first: Int @@ -121,14 +125,11 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - ): ObjectConnection - getNodeAtPath(databaseId: UUID, id: UUID, path: [String]): Object + ): AppPermissionConnection - """Reads and enables pagination through a set of `Object`.""" - getPathObjectsFromRoot( - databaseId: UUID - id: UUID - path: [String] + """Reads and enables pagination through a set of `OrgPermission`.""" + orgPermissionsGetByMask( + mask: BitString """Only read the first `n` values of the set.""" first: Int @@ -141,8 +142,7 @@ type Query { """Read all values in the set after (below) this cursor.""" after: Cursor - ): ObjectConnection - getObjectAtPath(dbId: UUID, storeId: UUID, path: [String], refname: String): Object + ): OrgPermissionConnection """Reads and enables pagination through a set of `AppLevelRequirement`.""" stepsRequired( @@ -1240,6 +1240,35 @@ type Query { orderBy: [ConnectedAccountOrderBy!] = [PRIMARY_KEY_ASC] ): ConnectedAccountConnection + """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 `FieldModule`.""" fieldModules( """Only read the first `n` values of the set.""" @@ -1385,8 +1414,8 @@ type Query { orderBy: [MembershipTypeOrderBy!] = [PRIMARY_KEY_ASC] ): MembershipTypeConnection - """Reads and enables pagination through a set of `TableGrant`.""" - tableGrants( + """Reads and enables pagination through a set of `Object`.""" + objects( """Only read the first `n` values of the set.""" first: Int @@ -1408,11 +1437,69 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: TableGrantFilter + where: ObjectFilter - """The method to use when ordering `TableGrant`.""" - orderBy: [TableGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): TableGrantConnection + """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 `AppPermission`.""" appPermissions( @@ -1704,8 +1791,8 @@ type Query { orderBy: [SessionsModuleOrderBy!] = [PRIMARY_KEY_ASC] ): SessionsModuleConnection - """Reads and enables pagination through a set of `Object`.""" - objects( + """Reads and enables pagination through a set of `OrgLimit`.""" + orgLimits( """Only read the first `n` values of the set.""" first: Int @@ -1727,14 +1814,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: ObjectFilter + where: OrgLimitFilter - """The method to use when ordering `Object`.""" - orderBy: [ObjectOrderBy!] = [PRIMARY_KEY_ASC] - ): ObjectConnection + """The method to use when ordering `OrgLimit`.""" + orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgLimitConnection - """Reads and enables pagination through a set of `FullTextSearch`.""" - fullTextSearches( + """Reads and enables pagination through a set of `AppGrant`.""" + appGrants( """Only read the first `n` values of the set.""" first: Int @@ -1756,14 +1843,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: FullTextSearchFilter + where: AppGrantFilter - """The method to use when ordering `FullTextSearch`.""" - orderBy: [FullTextSearchOrderBy!] = [PRIMARY_KEY_ASC] - ): FullTextSearchConnection + """The method to use when ordering `AppGrant`.""" + orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): AppGrantConnection - """Reads and enables pagination through a set of `Commit`.""" - commits( + """Reads and enables pagination through a set of `OrgClaimedInvite`.""" + orgClaimedInvites( """Only read the first `n` values of the set.""" first: Int @@ -1785,14 +1872,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: CommitFilter + where: OrgClaimedInviteFilter - """The method to use when ordering `Commit`.""" - orderBy: [CommitOrderBy!] = [PRIMARY_KEY_ASC] - ): CommitConnection + """The method to use when ordering `OrgClaimedInvite`.""" + orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgClaimedInviteConnection - """Reads and enables pagination through a set of `OrgLimit`.""" - orgLimits( + """Reads and enables pagination through a set of `OrgChartEdge`.""" + orgChartEdges( """Only read the first `n` values of the set.""" first: Int @@ -1814,14 +1901,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: OrgLimitFilter + where: OrgChartEdgeFilter - """The method to use when ordering `OrgLimit`.""" - orderBy: [OrgLimitOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgLimitConnection + """The method to use when ordering `OrgChartEdge`.""" + orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgChartEdgeConnection - """Reads and enables pagination through a set of `AppGrant`.""" - appGrants( + """Reads and enables pagination through a set of `Domain`.""" + domains( """Only read the first `n` values of the set.""" first: Int @@ -1843,14 +1930,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: AppGrantFilter + where: DomainFilter - """The method to use when ordering `AppGrant`.""" - orderBy: [AppGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): AppGrantConnection + """The method to use when ordering `Domain`.""" + orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] + ): DomainConnection - """Reads and enables pagination through a set of `OrgClaimedInvite`.""" - orgClaimedInvites( + """Reads and enables pagination through a set of `OrgGrant`.""" + orgGrants( """Only read the first `n` values of the set.""" first: Int @@ -1872,14 +1959,16 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: OrgClaimedInviteFilter + where: OrgGrantFilter - """The method to use when ordering `OrgClaimedInvite`.""" - orderBy: [OrgClaimedInviteOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgClaimedInviteConnection + """The method to use when ordering `OrgGrant`.""" + orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgGrantConnection - """Reads and enables pagination through a set of `OrgChartEdge`.""" - orgChartEdges( + """ + Reads and enables pagination through a set of `DenormalizedTableField`. + """ + denormalizedTableFields( """Only read the first `n` values of the set.""" first: Int @@ -1901,14 +1990,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: OrgChartEdgeFilter + where: DenormalizedTableFieldFilter - """The method to use when ordering `OrgChartEdge`.""" - orderBy: [OrgChartEdgeOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgChartEdgeConnection + """The method to use when ordering `DenormalizedTableField`.""" + orderBy: [DenormalizedTableFieldOrderBy!] = [PRIMARY_KEY_ASC] + ): DenormalizedTableFieldConnection - """Reads and enables pagination through a set of `Domain`.""" - domains( + """Reads and enables pagination through a set of `OrgMembershipDefault`.""" + orgMembershipDefaults( """Only read the first `n` values of the set.""" first: Int @@ -1930,14 +2019,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: DomainFilter + where: OrgMembershipDefaultFilter - """The method to use when ordering `Domain`.""" - orderBy: [DomainOrderBy!] = [PRIMARY_KEY_ASC] - ): DomainConnection + """The method to use when ordering `OrgMembershipDefault`.""" + orderBy: [OrgMembershipDefaultOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgMembershipDefaultConnection - """Reads and enables pagination through a set of `OrgGrant`.""" - orgGrants( + """Reads and enables pagination through a set of `AppLevelRequirement`.""" + appLevelRequirements( """Only read the first `n` values of the set.""" first: Int @@ -1959,72 +2048,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: OrgGrantFilter + where: AppLevelRequirementFilter - """The method to use when ordering `OrgGrant`.""" - orderBy: [OrgGrantOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgGrantConnection + """The method to use when ordering `AppLevelRequirement`.""" + orderBy: [AppLevelRequirementOrderBy!] = [PRIMARY_KEY_ASC] + ): AppLevelRequirementConnection - """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( + """Reads and enables pagination through a set of `AuditLog`.""" + auditLogs( """Only read the first `n` values of the set.""" first: Int @@ -2199,37 +2230,6 @@ type Query { 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.""" @@ -2404,8 +2404,8 @@ type Query { orderBy: [SecureTableProvisionOrderBy!] = [PRIMARY_KEY_ASC] ): SecureTableProvisionConnection - """Reads and enables pagination through a set of `Trigger`.""" - triggers( + """Reads and enables pagination through a set of `User`.""" + users( """Only read the first `n` values of the set.""" first: Int @@ -2427,14 +2427,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: TriggerFilter + where: UserFilter - """The method to use when ordering `Trigger`.""" - orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] - ): TriggerConnection + """The method to use when ordering `User`.""" + orderBy: [UserOrderBy!] = [PRIMARY_KEY_ASC] + ): UserConnection - """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 @@ -2456,14 +2456,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: 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 `PrimaryKeyConstraint`.""" - primaryKeyConstraints( + """Reads and enables pagination through a set of `Trigger`.""" + triggers( """Only read the first `n` values of the set.""" first: Int @@ -2485,11 +2485,11 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: PrimaryKeyConstraintFilter + where: TriggerFilter - """The method to use when ordering `PrimaryKeyConstraint`.""" - orderBy: [PrimaryKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] - ): PrimaryKeyConstraintConnection + """The method to use when ordering `Trigger`.""" + orderBy: [TriggerOrderBy!] = [PRIMARY_KEY_ASC] + ): TriggerConnection """Reads and enables pagination through a set of `CheckConstraint`.""" checkConstraints( @@ -2520,6 +2520,35 @@ type Query { orderBy: [CheckConstraintOrderBy!] = [PRIMARY_KEY_ASC] ): CheckConstraintConnection + """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 `Policy`.""" policies( """Only read the first `n` values of the set.""" @@ -2578,6 +2607,35 @@ type Query { orderBy: [AstMigrationOrderBy!] = [NATURAL] ): AstMigrationConnection + """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 `AppMembership`.""" appMemberships( """Only read the first `n` values of the set.""" @@ -2723,8 +2781,8 @@ type Query { orderBy: [SiteOrderBy!] = [PRIMARY_KEY_ASC] ): SiteConnection - """Reads and enables pagination through a set of `User`.""" - users( + """Reads and enables pagination through a set of `HierarchyModule`.""" + hierarchyModules( """Only read the first `n` values of the set.""" first: Int @@ -2746,14 +2804,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: UserFilter + where: HierarchyModuleFilter - """The method to use when ordering `User`.""" - orderBy: [UserOrderBy!] = [PRIMARY_KEY_ASC] - ): UserConnection + """The method to use when ordering `HierarchyModule`.""" + orderBy: [HierarchyModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): HierarchyModuleConnection - """Reads and enables pagination through a set of `HierarchyModule`.""" - hierarchyModules( + """Reads and enables pagination through a set of `Invite`.""" + invites( """Only read the first `n` values of the set.""" first: Int @@ -2775,14 +2833,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: HierarchyModuleFilter + where: InviteFilter - """The method to use when ordering `HierarchyModule`.""" - orderBy: [HierarchyModuleOrderBy!] = [PRIMARY_KEY_ASC] - ): HierarchyModuleConnection + """The method to use when ordering `Invite`.""" + orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] + ): InviteConnection - """Reads and enables pagination through a set of `Invite`.""" - invites( + """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" + foreignKeyConstraints( """Only read the first `n` values of the set.""" first: Int @@ -2804,14 +2862,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: InviteFilter + where: ForeignKeyConstraintFilter - """The method to use when ordering `Invite`.""" - orderBy: [InviteOrderBy!] = [PRIMARY_KEY_ASC] - ): InviteConnection + """The method to use when ordering `ForeignKeyConstraint`.""" + orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] + ): ForeignKeyConstraintConnection - """Reads and enables pagination through a set of `Index`.""" - indices( + """Reads and enables pagination through a set of `OrgInvite`.""" + orgInvites( """Only read the first `n` values of the set.""" first: Int @@ -2833,14 +2891,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: IndexFilter + where: OrgInviteFilter - """The method to use when ordering `Index`.""" - orderBy: [IndexOrderBy!] = [PRIMARY_KEY_ASC] - ): IndexConnection + """The method to use when ordering `OrgInvite`.""" + orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] + ): OrgInviteConnection - """Reads and enables pagination through a set of `ForeignKeyConstraint`.""" - foreignKeyConstraints( + """Reads and enables pagination through a set of `Table`.""" + tables( """Only read the first `n` values of the set.""" first: Int @@ -2862,14 +2920,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: ForeignKeyConstraintFilter + where: TableFilter - """The method to use when ordering `ForeignKeyConstraint`.""" - orderBy: [ForeignKeyConstraintOrderBy!] = [PRIMARY_KEY_ASC] - ): ForeignKeyConstraintConnection + """The method to use when ordering `Table`.""" + orderBy: [TableOrderBy!] = [PRIMARY_KEY_ASC] + ): TableConnection - """Reads and enables pagination through a set of `OrgInvite`.""" - orgInvites( + """Reads and enables pagination through a set of `LevelsModule`.""" + levelsModules( """Only read the first `n` values of the set.""" first: Int @@ -2891,72 +2949,14 @@ type Query { """ A filter to be used in determining which values should be returned by the collection. """ - where: OrgInviteFilter + where: LevelsModuleFilter - """The method to use when ordering `OrgInvite`.""" - orderBy: [OrgInviteOrderBy!] = [PRIMARY_KEY_ASC] - ): OrgInviteConnection + """The method to use when ordering `LevelsModule`.""" + orderBy: [LevelsModuleOrderBy!] = [PRIMARY_KEY_ASC] + ): LevelsModuleConnection - """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( + """Reads and enables pagination through a set of `UserAuthModule`.""" + userAuthModules( """Only read the first `n` values of the set.""" first: Int @@ -3208,6 +3208,52 @@ type GetAllEdge { node: GetAllRecord } +"""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 `AppPermission` values.""" type AppPermissionConnection { """A list of `AppPermission` objects.""" @@ -3326,52 +3372,6 @@ type OrgPermissionEdge { 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.""" @@ -24538,6 +24538,183 @@ enum MembershipTypeOrderBy { 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 filter to be used against `AppPermission` object types. All fields are combined with a logical ‘and.’ """ @@ -24796,183 +24973,6 @@ enum RlsModuleOrderBy { 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.""" @@ -25843,198 +25843,6 @@ enum EmailOrderBy { 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.""" @@ -26070,8 +25878,6 @@ enum UserOrderBy { ID_DESC USERNAME_ASC USERNAME_DESC - SEARCH_TSV_ASC - SEARCH_TSV_DESC CREATED_AT_ASC CREATED_AT_DESC UPDATED_AT_ASC @@ -26084,6 +25890,198 @@ enum UserOrderBy { SEARCH_SCORE_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 `HierarchyModule` values.""" type HierarchyModuleConnection { """A list of `HierarchyModule` objects.""" @@ -26355,6 +26353,12 @@ type Mutation { """ input: VerifyEmailInput! ): VerifyEmailPayload + removeNodeAtPath( + """ + The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. + """ + input: RemoveNodeAtPathInput! + ): RemoveNodeAtPathPayload resetPassword( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26367,12 +26371,12 @@ type Mutation { """ input: BootstrapUserInput! ): BootstrapUserPayload - removeNodeAtPath( + setFieldOrder( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. """ - input: RemoveNodeAtPathInput! - ): RemoveNodeAtPathPayload + input: SetFieldOrderInput! + ): SetFieldOrderPayload setDataAtPath( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26391,6 +26395,30 @@ type Mutation { """ input: ProvisionDatabaseWithUserInput! ): ProvisionDatabaseWithUserPayload + 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 signInOneTimeToken( """ The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields. @@ -26423,42 +26451,12 @@ type Mutation { """ 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. @@ -26780,6 +26778,14 @@ type Mutation { input: CreateConnectedAccountInput! ): CreateConnectedAccountPayload + """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 `FieldModule`.""" createFieldModule( """ @@ -26820,13 +26826,29 @@ type Mutation { input: CreateMembershipTypeInput! ): CreateMembershipTypePayload - """Creates a single `TableGrant`.""" - createTableGrant( + """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: CreateTableGrantInput! - ): CreateTableGrantPayload + 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 `AppPermission`.""" createAppPermission( @@ -26908,30 +26930,6 @@ type Mutation { 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( """ @@ -26980,6 +26978,14 @@ type Mutation { input: CreateOrgGrantInput! ): CreateOrgGrantPayload + """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 `OrgMembershipDefault`.""" createOrgMembershipDefault( """ @@ -27044,14 +27050,6 @@ 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( """ @@ -27100,21 +27098,13 @@ type Mutation { 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( + """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: CreateUniqueConstraintInput! - ): CreateUniqueConstraintPayload + input: CreateUserInput! + ): CreateUserPayload """Creates a single `PrimaryKeyConstraint`.""" createPrimaryKeyConstraint( @@ -27124,6 +27114,14 @@ type Mutation { input: CreatePrimaryKeyConstraintInput! ): CreatePrimaryKeyConstraintPayload + """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 `CheckConstraint`.""" createCheckConstraint( """ @@ -27132,6 +27130,14 @@ type Mutation { input: CreateCheckConstraintInput! ): CreateCheckConstraintPayload + """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 `Policy`.""" createPolicy( """ @@ -27148,6 +27154,14 @@ type Mutation { input: CreateAstMigrationInput! ): CreateAstMigrationPayload + """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( """ @@ -27188,14 +27202,6 @@ type Mutation { 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( """ @@ -27212,14 +27218,6 @@ type Mutation { 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( """ @@ -27592,6 +27590,14 @@ type Mutation { input: UpdateConnectedAccountInput! ): UpdateConnectedAccountPayload + """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 `FieldModule` using a unique key and a patch.""" updateFieldModule( """ @@ -27632,13 +27638,29 @@ type Mutation { input: UpdateMembershipTypeInput! ): UpdateMembershipTypePayload - """Updates a single `TableGrant` using a unique key and a patch.""" - updateTableGrant( + """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: UpdateTableGrantInput! - ): UpdateTableGrantPayload + 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 `AppPermission` using a unique key and a patch.""" updateAppPermission( @@ -27722,30 +27744,6 @@ type Mutation { 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( """ @@ -27794,6 +27792,16 @@ type Mutation { input: UpdateOrgGrantInput! ): UpdateOrgGrantPayload + """ + 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 `OrgMembershipDefault` using a unique key and a patch. """ @@ -27854,16 +27862,6 @@ 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( """ @@ -27914,21 +27912,13 @@ type Mutation { 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( + """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: UpdateUniqueConstraintInput! - ): UpdateUniqueConstraintPayload + input: UpdateUserInput! + ): UpdateUserPayload """ Updates a single `PrimaryKeyConstraint` using a unique key and a patch. @@ -27940,6 +27930,14 @@ type Mutation { input: UpdatePrimaryKeyConstraintInput! ): UpdatePrimaryKeyConstraintPayload + """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 `CheckConstraint` using a unique key and a patch.""" updateCheckConstraint( """ @@ -27948,6 +27946,14 @@ type Mutation { input: UpdateCheckConstraintInput! ): UpdateCheckConstraintPayload + """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 `Policy` using a unique key and a patch.""" updatePolicy( """ @@ -27956,6 +27962,14 @@ type Mutation { input: UpdatePolicyInput! ): UpdatePolicyPayload + """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 `AppMembership` using a unique key and a patch.""" updateAppMembership( """ @@ -27996,14 +28010,6 @@ type Mutation { 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( """ @@ -28020,14 +28026,6 @@ type Mutation { 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. """ @@ -28390,6 +28388,14 @@ type Mutation { input: DeleteConnectedAccountInput! ): DeleteConnectedAccountPayload + """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 `FieldModule` using a unique key.""" deleteFieldModule( """ @@ -28430,13 +28436,29 @@ type Mutation { input: DeleteMembershipTypeInput! ): DeleteMembershipTypePayload - """Deletes a single `TableGrant` using a unique key.""" - deleteTableGrant( + """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: DeleteTableGrantInput! - ): DeleteTableGrantPayload + 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 `AppPermission` using a unique key.""" deleteAppPermission( @@ -28518,30 +28540,6 @@ type Mutation { 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( """ @@ -28590,6 +28588,14 @@ type Mutation { input: DeleteOrgGrantInput! ): DeleteOrgGrantPayload + """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 `OrgMembershipDefault` using a unique key.""" deleteOrgMembershipDefault( """ @@ -28646,14 +28652,6 @@ 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( """ @@ -28702,21 +28700,13 @@ type Mutation { 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( + """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: DeleteUniqueConstraintInput! - ): DeleteUniqueConstraintPayload + input: DeleteUserInput! + ): DeleteUserPayload """Deletes a single `PrimaryKeyConstraint` using a unique key.""" deletePrimaryKeyConstraint( @@ -28726,6 +28716,14 @@ type Mutation { input: DeletePrimaryKeyConstraintInput! ): DeletePrimaryKeyConstraintPayload + """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 `CheckConstraint` using a unique key.""" deleteCheckConstraint( """ @@ -28734,6 +28732,14 @@ type Mutation { input: DeleteCheckConstraintInput! ): DeleteCheckConstraintPayload + """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 `Policy` using a unique key.""" deletePolicy( """ @@ -28742,6 +28748,14 @@ type Mutation { input: DeletePolicyInput! ): DeletePolicyPayload + """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 `AppMembership` using a unique key.""" deleteAppMembership( """ @@ -28782,14 +28796,6 @@ type Mutation { 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( """ @@ -28806,14 +28812,6 @@ type Mutation { 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( """ @@ -29128,6 +29126,33 @@ input VerifyEmailInput { token: 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 `resetPassword` mutation.""" type ResetPasswordPayload { """ @@ -29222,14 +29247,13 @@ input BootstrapUserInput { returnApiKey: Boolean } -"""The output of our `removeNodeAtPath` mutation.""" -type RemoveNodeAtPathPayload { +"""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 - result: UUID """ Our root query field type. Allows us to run any query from our mutation payload. @@ -29237,16 +29261,14 @@ type RemoveNodeAtPathPayload { query: Query } -"""All input for the `removeNodeAtPath` mutation.""" -input RemoveNodeAtPathInput { +"""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 - dbId: UUID - root: UUID - path: [String] + fieldIds: [UUID] } """The output of our `setDataAtPath` mutation.""" @@ -29350,6 +29372,127 @@ input ProvisionDatabaseWithUserInput { pOptions: JSON } +"""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 `signInOneTimeToken` mutation.""" type SignInOneTimeTokenPayload { """ @@ -29553,30 +29696,6 @@ input SignUpInput { 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 { """ @@ -29605,127 +29724,6 @@ input OneTimeTokenInput { 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 { """ @@ -31670,6 +31668,54 @@ input ConnectedAccountInput { updatedAt: Datetime } +"""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 `FieldModule` mutation.""" type CreateFieldModulePayload { """ @@ -31953,54 +31999,161 @@ input MembershipTypeInput { prefix: String! } -"""The output of our create `TableGrant` mutation.""" -type CreateTableGrantPayload { +"""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 `TableGrant` that was created by this mutation.""" - tableGrant: TableGrant + """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 `TableGrant`. May be used by Relay 1.""" - tableGrantEdge( - """The method to use when ordering `TableGrant`.""" - orderBy: [TableGrantOrderBy!]! = [PRIMARY_KEY_ASC] - ): TableGrantEdge + """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 `TableGrant` mutation.""" -input CreateTableGrantInput { +"""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 `TableGrant` to be created by this mutation.""" - tableGrant: TableGrantInput! + """The `Object` to be created by this mutation.""" + object: ObjectInput! } -"""An input for mutations affecting `TableGrant`""" -input TableGrantInput { +"""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! - privilege: String! - granteeName: String! - fieldIds: [UUID] - isGrant: Boolean + 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 `AppPermission` mutation.""" type CreateAppPermissionPayload { """ @@ -32520,161 +32673,6 @@ input SessionsModuleInput { 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 { """ @@ -33002,6 +33000,57 @@ input OrgGrantInput { 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 `OrgMembershipDefault` mutation.""" type CreateOrgMembershipDefaultPayload { """ @@ -33463,57 +33512,6 @@ input InvitesModuleInput { 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 { """ @@ -33915,103 +33913,96 @@ input SecureTableProvisionInput { outFields: [UUID] } -"""The output of our create `Trigger` mutation.""" -type CreateTriggerPayload { +"""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 `Trigger` that was created by this mutation.""" - trigger: Trigger + """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 `Trigger`. May be used by Relay 1.""" - triggerEdge( - """The method to use when ordering `Trigger`.""" - orderBy: [TriggerOrderBy!]! = [PRIMARY_KEY_ASC] - ): TriggerEdge + """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 `Trigger` mutation.""" -input CreateTriggerInput { +"""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 `Trigger` to be created by this mutation.""" - trigger: TriggerInput! + """The `User` to be created by this mutation.""" + user: UserInput! } -"""An input for mutations affecting `Trigger`""" -input TriggerInput { +"""An input for mutations affecting `User`""" +input UserInput { id: UUID - databaseId: UUID - tableId: UUID! - name: String! - event: String - functionName: String - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + type: Int createdAt: Datetime updatedAt: Datetime } -"""The output of our create `UniqueConstraint` mutation.""" -type CreateUniqueConstraintPayload { +"""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 `UniqueConstraint` that was created by this mutation.""" - uniqueConstraint: UniqueConstraint + """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 `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 create `UniqueConstraint` mutation.""" -input CreateUniqueConstraintInput { +"""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 `UniqueConstraint` to be created by this mutation.""" - uniqueConstraint: UniqueConstraintInput! + """The `PrimaryKeyConstraint` to be created by this mutation.""" + primaryKeyConstraint: PrimaryKeyConstraintInput! } -"""An input for mutations affecting `UniqueConstraint`""" -input UniqueConstraintInput { +"""An input for mutations affecting `PrimaryKeyConstraint`""" +input PrimaryKeyConstraintInput { id: UUID databaseId: UUID tableId: UUID! name: String - description: String - smartTags: JSON type: String fieldIds: [UUID]! + smartTags: JSON category: ObjectCategory module: String scope: Int @@ -34020,49 +34011,49 @@ input UniqueConstraintInput { updatedAt: Datetime } -"""The output of our create `PrimaryKeyConstraint` mutation.""" -type CreatePrimaryKeyConstraintPayload { +"""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 `PrimaryKeyConstraint` that was created by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraint + """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 `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 `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 `PrimaryKeyConstraint` mutation.""" -input CreatePrimaryKeyConstraintInput { +"""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 `PrimaryKeyConstraint` to be created by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraintInput! + """The `Trigger` to be created by this mutation.""" + trigger: TriggerInput! } -"""An input for mutations affecting `PrimaryKeyConstraint`""" -input PrimaryKeyConstraintInput { +"""An input for mutations affecting `Trigger`""" +input TriggerInput { id: UUID databaseId: UUID tableId: UUID! - name: String - type: String - fieldIds: [UUID]! + name: String! + event: String + functionName: String smartTags: JSON category: ObjectCategory module: String @@ -34125,6 +34116,59 @@ input CheckConstraintInput { 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 `Policy` mutation.""" type CreatePolicyPayload { """ @@ -34227,6 +34271,64 @@ input AstMigrationInput { actorId: 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 `AppMembership` mutation.""" type CreateAppMembershipPayload { """ @@ -34574,53 +34676,6 @@ input SiteInput { 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 { """ @@ -34749,64 +34804,6 @@ input InviteInput { 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 { """ @@ -37446,6 +37443,59 @@ input ConnectedAccountPatch { updatedAt: Datetime } +"""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 `FieldModule` mutation.""" type UpdateFieldModulePayload { """ @@ -37762,59 +37812,182 @@ input MembershipTypePatch { prefix: String } -"""The output of our update `TableGrant` mutation.""" -type UpdateTableGrantPayload { +"""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 `TableGrant` that was updated by this mutation.""" - tableGrant: TableGrant + """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 `TableGrant`. May be used by Relay 1.""" - tableGrantEdge( - """The method to use when ordering `TableGrant`.""" - orderBy: [TableGrantOrderBy!]! = [PRIMARY_KEY_ASC] - ): TableGrantEdge + """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 `updateTableGrant` mutation.""" -input UpdateTableGrantInput { +"""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 `TableGrant` being updated. + An object where the defined keys will be set on the `Object` being updated. """ - tableGrantPatch: TableGrantPatch! + objectPatch: ObjectPatch! } """ -Represents an update to a `TableGrant`. Fields that are set will be updated. +Represents an update to a `Object`. Fields that are set will be updated. """ -input TableGrantPatch { +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 - privilege: String - granteeName: String + fieldId: UUID fieldIds: [UUID] - isGrant: Boolean + 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 `AppPermission` mutation.""" type UpdateAppPermissionPayload { """ @@ -38392,182 +38565,6 @@ input SessionsModulePatch { 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 { """ @@ -38927,6 +38924,62 @@ input OrgGrantPatch { 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 `OrgMembershipDefault` mutation.""" type UpdateOrgMembershipDefaultPayload { """ @@ -39380,62 +39433,6 @@ 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 { """ @@ -39867,31 +39864,31 @@ input SecureTableProvisionPatch { outFields: [UUID] } -"""The output of our update `Trigger` mutation.""" -type UpdateTriggerPayload { +"""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 `Trigger` that was updated by this mutation.""" - trigger: Trigger + """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 `Trigger`. May be used by Relay 1.""" - triggerEdge( - """The method to use when ordering `Trigger`.""" - orderBy: [TriggerOrderBy!]! = [PRIMARY_KEY_ASC] - ): TriggerEdge + """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 `updateTrigger` mutation.""" -input UpdateTriggerInput { +"""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. @@ -39900,55 +39897,50 @@ input UpdateTriggerInput { id: UUID! """ - An object where the defined keys will be set on the `Trigger` being updated. + An object where the defined keys will be set on the `User` being updated. """ - triggerPatch: TriggerPatch! + userPatch: UserPatch! } -""" -Represents an update to a `Trigger`. Fields that are set will be updated. -""" -input TriggerPatch { +"""Represents an update to a `User`. Fields that are set will be updated.""" +input UserPatch { id: UUID - databaseId: UUID - tableId: UUID - name: String - event: String - functionName: String - smartTags: JSON - category: ObjectCategory - module: String - scope: Int - tags: [String] + username: String + displayName: String + profilePicture: ConstructiveInternalTypeImage + type: Int createdAt: Datetime updatedAt: Datetime + + """File upload for the `profilePicture` field.""" + profilePictureUpload: Upload } -"""The output of our update `UniqueConstraint` mutation.""" -type UpdateUniqueConstraintPayload { +"""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 `UniqueConstraint` that was updated by this mutation.""" - uniqueConstraint: UniqueConstraint + """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 `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 `updateUniqueConstraint` mutation.""" -input UpdateUniqueConstraintInput { +"""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. @@ -39957,23 +39949,22 @@ input UpdateUniqueConstraintInput { id: UUID! """ - An object where the defined keys will be set on the `UniqueConstraint` being updated. + An object where the defined keys will be set on the `PrimaryKeyConstraint` being updated. """ - uniqueConstraintPatch: UniqueConstraintPatch! + primaryKeyConstraintPatch: PrimaryKeyConstraintPatch! } """ -Represents an update to a `UniqueConstraint`. Fields that are set will be updated. +Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. """ -input UniqueConstraintPatch { +input PrimaryKeyConstraintPatch { id: UUID databaseId: UUID tableId: UUID name: String - description: String - smartTags: JSON type: String fieldIds: [UUID] + smartTags: JSON category: ObjectCategory module: String scope: Int @@ -39982,31 +39973,31 @@ input UniqueConstraintPatch { updatedAt: Datetime } -"""The output of our update `PrimaryKeyConstraint` mutation.""" -type UpdatePrimaryKeyConstraintPayload { +"""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 `PrimaryKeyConstraint` that was updated by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraint + """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 `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 `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 `updatePrimaryKeyConstraint` mutation.""" -input UpdatePrimaryKeyConstraintInput { +"""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. @@ -40015,21 +40006,21 @@ input UpdatePrimaryKeyConstraintInput { id: UUID! """ - An object where the defined keys will be set on the `PrimaryKeyConstraint` being updated. + An object where the defined keys will be set on the `Trigger` being updated. """ - primaryKeyConstraintPatch: PrimaryKeyConstraintPatch! + triggerPatch: TriggerPatch! } """ -Represents an update to a `PrimaryKeyConstraint`. Fields that are set will be updated. +Represents an update to a `Trigger`. Fields that are set will be updated. """ -input PrimaryKeyConstraintPatch { +input TriggerPatch { id: UUID databaseId: UUID tableId: UUID name: String - type: String - fieldIds: [UUID] + event: String + functionName: String smartTags: JSON category: ObjectCategory module: String @@ -40097,6 +40088,64 @@ input CheckConstraintPatch { 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 `Policy` mutation.""" type UpdatePolicyPayload { """ @@ -40158,6 +40207,69 @@ input PolicyPatch { 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 `AppMembership` mutation.""" type UpdateAppMembershipPayload { """ @@ -40545,59 +40657,6 @@ input SitePatch { 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 { """ @@ -40736,69 +40795,6 @@ input InvitePatch { 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 { """ @@ -42749,6 +42745,39 @@ input DeleteConnectedAccountInput { id: UUID! } +"""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 `FieldModule` mutation.""" type DeleteFieldModulePayload { """ @@ -42922,37 +42951,109 @@ input DeleteMembershipTypeInput { id: Int! } -"""The output of our delete `TableGrant` mutation.""" -type DeleteTableGrantPayload { +"""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 `TableGrant` that was deleted by this mutation.""" - tableGrant: TableGrant + """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 `TableGrant`. May be used by Relay 1.""" - tableGrantEdge( - """The method to use when ordering `TableGrant`.""" - orderBy: [TableGrantOrderBy!]! = [PRIMARY_KEY_ASC] - ): TableGrantEdge + """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 `deleteTableGrant` mutation.""" -input DeleteTableGrantInput { +"""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 `AppPermission` mutation.""" @@ -43287,111 +43388,6 @@ input DeleteSessionsModuleInput { 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 { """ @@ -43592,6 +43588,39 @@ input DeleteOrgGrantInput { 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 `OrgMembershipDefault` mutation.""" type DeleteOrgMembershipDefaultPayload { """ @@ -43823,39 +43852,6 @@ input DeleteInvitesModuleInput { 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 { """ @@ -44056,31 +44052,31 @@ input DeleteSecureTableProvisionInput { id: UUID! } -"""The output of our delete `Trigger` mutation.""" -type DeleteTriggerPayload { +"""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 `Trigger` that was deleted by this mutation.""" - trigger: Trigger + """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 `Trigger`. May be used by Relay 1.""" - triggerEdge( - """The method to use when ordering `Trigger`.""" - orderBy: [TriggerOrderBy!]! = [PRIMARY_KEY_ASC] - ): TriggerEdge + """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 `deleteTrigger` mutation.""" -input DeleteTriggerInput { +"""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. @@ -44089,31 +44085,31 @@ input DeleteTriggerInput { 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. @@ -44122,31 +44118,31 @@ input DeleteUniqueConstraintInput { id: UUID! } -"""The output of our delete `PrimaryKeyConstraint` mutation.""" -type DeletePrimaryKeyConstraintPayload { +"""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 `PrimaryKeyConstraint` that was deleted by this mutation.""" - primaryKeyConstraint: PrimaryKeyConstraint + """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 `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 `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 `deletePrimaryKeyConstraint` mutation.""" -input DeletePrimaryKeyConstraintInput { +"""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. @@ -44188,6 +44184,39 @@ input DeleteCheckConstraintInput { 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 `Policy` mutation.""" type DeletePolicyPayload { """ @@ -44221,6 +44250,39 @@ input DeletePolicyInput { 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 `AppMembership` mutation.""" type DeleteAppMembershipPayload { """ @@ -44390,39 +44452,6 @@ input DeleteSiteInput { 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 { """ @@ -44489,39 +44518,6 @@ input DeleteInviteInput { 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 { """ diff --git a/sdk/constructive-sdk/src/admin/orm/README.md b/sdk/constructive-sdk/src/admin/orm/README.md index 02cd23d7a..74e966fea 100644 --- a/sdk/constructive-sdk/src/admin/orm/README.md +++ b/sdk/constructive-sdk/src/admin/orm/README.md @@ -1237,25 +1237,24 @@ orgIsManagerOf const result = await db.query.orgIsManagerOf({ pEntityId: '', pManagerId: '', pUserId: '', pMaxDepth: '' }).execute(); ``` -### `db.query.stepsAchieved` +### `db.query.appPermissionsGetMask` -stepsAchieved +appPermissionsGetMask - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `vlevel` | String | - | `vroleId` | UUID | + | `ids` | [UUID] | ```typescript -const result = await db.query.stepsAchieved({ vlevel: '', vroleId: '' }).execute(); +const result = await db.query.appPermissionsGetMask({ ids: '' }).execute(); ``` -### `db.query.appPermissionsGetMask` +### `db.query.orgPermissionsGetMask` -appPermissionsGetMask +orgPermissionsGetMask - **Type:** query - **Arguments:** @@ -1265,22 +1264,23 @@ appPermissionsGetMask | `ids` | [UUID] | ```typescript -const result = await db.query.appPermissionsGetMask({ ids: '' }).execute(); +const result = await db.query.orgPermissionsGetMask({ ids: '' }).execute(); ``` -### `db.query.orgPermissionsGetMask` +### `db.query.stepsAchieved` -orgPermissionsGetMask +stepsAchieved - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `ids` | [UUID] | + | `vlevel` | String | + | `vroleId` | UUID | ```typescript -const result = await db.query.orgPermissionsGetMask({ ids: '' }).execute(); +const result = await db.query.stepsAchieved({ vlevel: '', vroleId: '' }).execute(); ``` ### `db.query.appPermissionsGetMaskByNames` diff --git a/sdk/constructive-sdk/src/admin/orm/query/index.ts b/sdk/constructive-sdk/src/admin/orm/query/index.ts index db637075c..3c1e8285a 100644 --- a/sdk/constructive-sdk/src/admin/orm/query/index.ts +++ b/sdk/constructive-sdk/src/admin/orm/query/index.ts @@ -24,16 +24,16 @@ export interface OrgIsManagerOfVariables { pUserId?: string; pMaxDepth?: number; } -export interface StepsAchievedVariables { - vlevel?: string; - vroleId?: string; -} export interface AppPermissionsGetMaskVariables { ids?: string[]; } export interface OrgPermissionsGetMaskVariables { ids?: string[]; } +export interface StepsAchievedVariables { + vlevel?: string; + vroleId?: string; +} export interface AppPermissionsGetMaskByNamesVariables { names?: string[]; } @@ -178,56 +178,52 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - stepsAchieved: ( - args: StepsAchievedVariables, + appPermissionsGetMask: ( + args: AppPermissionsGetMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - stepsAchieved: boolean | null; + appPermissionsGetMask: string | null; }>({ client, operation: 'query', - operationName: 'StepsAchieved', - fieldName: 'stepsAchieved', + operationName: 'AppPermissionsGetMask', + fieldName: 'appPermissionsGetMask', ...buildCustomDocument( 'query', - 'StepsAchieved', - 'stepsAchieved', + 'AppPermissionsGetMask', + 'appPermissionsGetMask', options?.select, args, [ { - name: 'vlevel', - type: 'String', - }, - { - name: 'vroleId', - type: 'UUID', + name: 'ids', + type: '[UUID]', }, ], connectionFieldsMap, undefined ), }), - appPermissionsGetMask: ( - args: AppPermissionsGetMaskVariables, + orgPermissionsGetMask: ( + args: OrgPermissionsGetMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - appPermissionsGetMask: string | null; + orgPermissionsGetMask: string | null; }>({ client, operation: 'query', - operationName: 'AppPermissionsGetMask', - fieldName: 'appPermissionsGetMask', + operationName: 'OrgPermissionsGetMask', + fieldName: 'orgPermissionsGetMask', ...buildCustomDocument( 'query', - 'AppPermissionsGetMask', - 'appPermissionsGetMask', + 'OrgPermissionsGetMask', + 'orgPermissionsGetMask', options?.select, args, [ @@ -240,29 +236,33 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - orgPermissionsGetMask: ( - args: OrgPermissionsGetMaskVariables, + stepsAchieved: ( + args: StepsAchievedVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - orgPermissionsGetMask: string | null; + stepsAchieved: boolean | null; }>({ client, operation: 'query', - operationName: 'OrgPermissionsGetMask', - fieldName: 'orgPermissionsGetMask', + operationName: 'StepsAchieved', + fieldName: 'stepsAchieved', ...buildCustomDocument( 'query', - 'OrgPermissionsGetMask', - 'orgPermissionsGetMask', + 'StepsAchieved', + 'stepsAchieved', options?.select, args, [ { - name: 'ids', - type: '[UUID]', + name: 'vlevel', + type: 'String', + }, + { + name: 'vroleId', + type: 'UUID', }, ], connectionFieldsMap, diff --git a/sdk/constructive-sdk/src/auth/orm/input-types.ts b/sdk/constructive-sdk/src/auth/orm/input-types.ts index 0f48b534f..ba9c684f2 100644 --- a/sdk/constructive-sdk/src/auth/orm/input-types.ts +++ b/sdk/constructive-sdk/src/auth/orm/input-types.ts @@ -894,7 +894,6 @@ export interface CreateUserInput { username?: string; displayName?: string; profilePicture?: ConstructiveInternalTypeImage; - searchTsv?: string; type?: number; }; } diff --git a/sdk/constructive-sdk/src/public/orm/README.md b/sdk/constructive-sdk/src/public/orm/README.md index 091da1716..3433a90fc 100644 --- a/sdk/constructive-sdk/src/public/orm/README.md +++ b/sdk/constructive-sdk/src/public/orm/README.md @@ -24,9 +24,9 @@ const db = createClient({ | `orgGetManagersRecord` | findMany, findOne, create, update, delete | | `orgGetSubordinatesRecord` | findMany, findOne, create, update, delete | | `getAllRecord` | findMany, findOne, create, update, delete | +| `object` | findMany, findOne, create, update, delete | | `appPermission` | findMany, findOne, create, update, delete | | `orgPermission` | findMany, findOne, create, update, delete | -| `object` | findMany, findOne, create, update, delete | | `appLevelRequirement` | findMany, findOne, create, update, delete | | `database` | findMany, findOne, create, update, delete | | `schema` | findMany, findOne, create, update, delete | @@ -112,17 +112,17 @@ const db = createClient({ | `connectedAccount` | findMany, findOne, create, update, delete | | `nodeTypeRegistry` | findMany, findOne, create, update, delete | | `membershipType` | findMany, findOne, create, update, delete | +| `commit` | 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 | | `sqlMigration` | findMany, findOne, create, update, delete | | `email` | findMany, findOne, create, update, delete | +| `user` | findMany, findOne, create, update, delete | | `astMigration` | 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 @@ -217,6 +217,42 @@ const updated = await db.getAllRecord.update({ where: { id: '' }, data: { const deleted = await db.getAllRecord.delete({ where: { id: '' } }).execute(); ``` +### `db.object` + +CRUD operations for Object records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `hashUuid` | UUID | Yes | +| `id` | UUID | No | +| `databaseId` | UUID | Yes | +| `kids` | UUID | Yes | +| `ktree` | String | Yes | +| `data` | JSON | Yes | +| `frzn` | Boolean | Yes | +| `createdAt` | Datetime | No | + +**Operations:** + +```typescript +// List all object records +const items = await db.object.findMany({ select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); + +// Get one by id +const item = await db.object.findOne({ id: '', select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); + +// Create +const created = await db.object.create({ data: { hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }, select: { id: true } }).execute(); + +// Update +const updated = await db.object.update({ where: { id: '' }, data: { hashUuid: '' }, select: { id: true } }).execute(); + +// Delete +const deleted = await db.object.delete({ where: { id: '' } }).execute(); +``` + ### `db.appPermission` CRUD operations for AppPermission records. @@ -287,42 +323,6 @@ const updated = await db.orgPermission.update({ where: { id: '' }, data: const deleted = await db.orgPermission.delete({ where: { id: '' } }).execute(); ``` -### `db.object` - -CRUD operations for Object records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `hashUuid` | UUID | Yes | -| `id` | UUID | No | -| `databaseId` | UUID | Yes | -| `kids` | UUID | Yes | -| `ktree` | String | Yes | -| `data` | JSON | Yes | -| `frzn` | Boolean | Yes | -| `createdAt` | Datetime | No | - -**Operations:** - -```typescript -// List all object records -const items = await db.object.findMany({ select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); - -// Get one by id -const item = await db.object.findOne({ id: '', select: { hashUuid: true, id: true, databaseId: true, kids: true, ktree: true, data: true, frzn: true, createdAt: true } }).execute(); - -// Create -const created = await db.object.create({ data: { hashUuid: '', databaseId: '', kids: '', ktree: '', data: '', frzn: '' }, select: { id: true } }).execute(); - -// Update -const updated = await db.object.update({ where: { id: '' }, data: { hashUuid: '' }, select: { id: true } }).execute(); - -// Delete -const deleted = await db.object.delete({ where: { id: '' } }).execute(); -``` - ### `db.appLevelRequirement` CRUD operations for AppLevelRequirement records. @@ -3802,6 +3802,45 @@ const updated = await db.membershipType.update({ where: { id: '' }, data: const deleted = await db.membershipType.delete({ where: { id: '' } }).execute(); ``` +### `db.commit` + +CRUD operations for Commit records. + +**Fields:** + +| Field | Type | Editable | +|-------|------|----------| +| `id` | UUID | No | +| `message` | String | Yes | +| `databaseId` | UUID | Yes | +| `storeId` | UUID | Yes | +| `parentIds` | UUID | Yes | +| `authorId` | UUID | Yes | +| `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, 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, messageTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +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(); + +// Delete +const deleted = await db.commit.delete({ where: { id: '' } }).execute(); +``` + ### `db.appMembershipDefault` CRUD operations for AppMembershipDefault records. @@ -3881,45 +3920,6 @@ const updated = await db.rlsModule.update({ where: { id: '' }, data: { da const deleted = await db.rlsModule.delete({ where: { id: '' } }).execute(); ``` -### `db.commit` - -CRUD operations for Commit records. - -**Fields:** - -| Field | Type | Editable | -|-------|------|----------| -| `id` | UUID | No | -| `message` | String | Yes | -| `databaseId` | UUID | Yes | -| `storeId` | UUID | Yes | -| `parentIds` | UUID | Yes | -| `authorId` | UUID | Yes | -| `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, 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, messageTrgmSimilarity: true, searchScore: true } }).execute(); - -// Create -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(); - -// Delete -const deleted = await db.commit.delete({ where: { id: '' } }).execute(); -``` - ### `db.orgMembershipDefault` CRUD operations for OrgMembershipDefault records. @@ -4115,6 +4115,45 @@ const updated = await db.email.update({ where: { id: '' }, data: { ownerI const deleted = await db.email.delete({ where: { id: '' } }).execute(); ``` +### `db.user` + +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 | +| `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, 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, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); + +// Create +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(); + +// Delete +const deleted = await db.user.delete({ where: { id: '' } }).execute(); +``` + ### `db.astMigration` CRUD operations for AstMigration records. @@ -4202,45 +4241,6 @@ const updated = await db.appMembership.update({ where: { id: '' }, data: const deleted = await db.appMembership.delete({ where: { id: '' } }).execute(); ``` -### `db.user` - -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 | -| `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, 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, displayNameTrgmSimilarity: true, searchScore: true } }).execute(); - -// Create -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(); - -// Delete -const deleted = await db.user.delete({ where: { id: '' } }).execute(); -``` - ### `db.hierarchyModule` CRUD operations for HierarchyModule records. @@ -4476,97 +4476,97 @@ orgPermissionsGetMaskByNames const result = await db.query.orgPermissionsGetMaskByNames({ names: '' }).execute(); ``` -### `db.query.appPermissionsGetByMask` +### `db.query.getAllObjectsFromRoot` -Reads and enables pagination through a set of `AppPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.appPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getAllObjectsFromRoot({ databaseId: '', id: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.orgPermissionsGetByMask` +### `db.query.getPathObjectsFromRoot` -Reads and enables pagination through a set of `OrgPermission`. +Reads and enables pagination through a set of `Object`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `mask` | BitString | + | `databaseId` | UUID | + | `id` | UUID | + | `path` | [String] | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.orgPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getPathObjectsFromRoot({ databaseId: '', id: '', path: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.getAllObjectsFromRoot` +### `db.query.getObjectAtPath` -Reads and enables pagination through a set of `Object`. +getObjectAtPath - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `first` | Int | - | `offset` | Int | - | `after` | Cursor | + | `dbId` | UUID | + | `storeId` | UUID | + | `path` | [String] | + | `refname` | String | ```typescript -const result = await db.query.getAllObjectsFromRoot({ databaseId: '', id: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.getObjectAtPath({ dbId: '', storeId: '', path: '', refname: '' }).execute(); ``` -### `db.query.getPathObjectsFromRoot` +### `db.query.appPermissionsGetByMask` -Reads and enables pagination through a set of `Object`. +Reads and enables pagination through a set of `AppPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `databaseId` | UUID | - | `id` | UUID | - | `path` | [String] | + | `mask` | BitString | | `first` | Int | | `offset` | Int | | `after` | Cursor | ```typescript -const result = await db.query.getPathObjectsFromRoot({ databaseId: '', id: '', path: '', first: '', offset: '', after: '' }).execute(); +const result = await db.query.appPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); ``` -### `db.query.getObjectAtPath` +### `db.query.orgPermissionsGetByMask` -getObjectAtPath +Reads and enables pagination through a set of `OrgPermission`. - **Type:** query - **Arguments:** | Argument | Type | |----------|------| - | `dbId` | UUID | - | `storeId` | UUID | - | `path` | [String] | - | `refname` | String | + | `mask` | BitString | + | `first` | Int | + | `offset` | Int | + | `after` | Cursor | ```typescript -const result = await db.query.getObjectAtPath({ dbId: '', storeId: '', path: '', refname: '' }).execute(); +const result = await db.query.orgPermissionsGetByMask({ mask: '', first: '', offset: '', after: '' }).execute(); ``` ### `db.query.stepsRequired` @@ -4749,6 +4749,21 @@ verifyEmail const result = await db.mutation.verifyEmail({ input: '' }).execute(); ``` +### `db.mutation.removeNodeAtPath` + +removeNodeAtPath + +- **Type:** mutation +- **Arguments:** + + | Argument | Type | + |----------|------| + | `input` | RemoveNodeAtPathInput (required) | + +```typescript +const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +``` + ### `db.mutation.resetPassword` resetPassword @@ -4779,19 +4794,19 @@ bootstrapUser const result = await db.mutation.bootstrapUser({ input: '' }).execute(); ``` -### `db.mutation.removeNodeAtPath` +### `db.mutation.setFieldOrder` -removeNodeAtPath +setFieldOrder - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | RemoveNodeAtPathInput (required) | + | `input` | SetFieldOrderInput (required) | ```typescript -const result = await db.mutation.removeNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.setFieldOrder({ input: '' }).execute(); ``` ### `db.mutation.setDataAtPath` @@ -4839,185 +4854,170 @@ provisionDatabaseWithUser const result = await db.mutation.provisionDatabaseWithUser({ input: '' }).execute(); ``` -### `db.mutation.signInOneTimeToken` +### `db.mutation.insertNodeAtPath` -signInOneTimeToken +insertNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInOneTimeTokenInput (required) | + | `input` | InsertNodeAtPathInput (required) | ```typescript -const result = await db.mutation.signInOneTimeToken({ input: '' }).execute(); +const result = await db.mutation.insertNodeAtPath({ input: '' }).execute(); ``` -### `db.mutation.createUserDatabase` - -Creates a new user database with all required modules, permissions, and RLS policies. - -Parameters: - - database_name: Name for the new database (required) - - owner_id: UUID of the owner user (required) - - include_invites: Include invite system (default: true) - - include_groups: Include group-level memberships (default: false) - - include_levels: Include levels/achievements (default: false) - - bitlen: Bit length for permission masks (default: 64) - - tokens_expiration: Token expiration interval (default: 30 days) - -Returns the database_id UUID of the newly created database. - -Example usage: - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); - SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups +### `db.mutation.updateNodeAtPath` +updateNodeAtPath - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | CreateUserDatabaseInput (required) | + | `input` | UpdateNodeAtPathInput (required) | ```typescript -const result = await db.mutation.createUserDatabase({ input: '' }).execute(); +const result = await db.mutation.updateNodeAtPath({ input: '' }).execute(); ``` -### `db.mutation.extendTokenExpires` +### `db.mutation.setAndCommit` -extendTokenExpires +setAndCommit - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ExtendTokenExpiresInput (required) | + | `input` | SetAndCommitInput (required) | ```typescript -const result = await db.mutation.extendTokenExpires({ input: '' }).execute(); +const result = await db.mutation.setAndCommit({ input: '' }).execute(); ``` -### `db.mutation.signIn` +### `db.mutation.applyRls` -signIn +applyRls - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignInInput (required) | + | `input` | ApplyRlsInput (required) | ```typescript -const result = await db.mutation.signIn({ input: '' }).execute(); +const result = await db.mutation.applyRls({ input: '' }).execute(); ``` -### `db.mutation.signUp` +### `db.mutation.signInOneTimeToken` -signUp +signInOneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SignUpInput (required) | + | `input` | SignInOneTimeTokenInput (required) | ```typescript -const result = await db.mutation.signUp({ input: '' }).execute(); +const result = await db.mutation.signInOneTimeToken({ input: '' }).execute(); ``` -### `db.mutation.setFieldOrder` - -setFieldOrder +### `db.mutation.createUserDatabase` -- **Type:** mutation -- **Arguments:** +Creates a new user database with all required modules, permissions, and RLS policies. - | Argument | Type | - |----------|------| - | `input` | SetFieldOrderInput (required) | +Parameters: + - database_name: Name for the new database (required) + - owner_id: UUID of the owner user (required) + - include_invites: Include invite system (default: true) + - include_groups: Include group-level memberships (default: false) + - include_levels: Include levels/achievements (default: false) + - bitlen: Bit length for permission masks (default: 64) + - tokens_expiration: Token expiration interval (default: 30 days) -```typescript -const result = await db.mutation.setFieldOrder({ input: '' }).execute(); -``` +Returns the database_id UUID of the newly created database. -### `db.mutation.oneTimeToken` +Example usage: + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid); + SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups -oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | OneTimeTokenInput (required) | + | `input` | CreateUserDatabaseInput (required) | ```typescript -const result = await db.mutation.oneTimeToken({ input: '' }).execute(); +const result = await db.mutation.createUserDatabase({ input: '' }).execute(); ``` -### `db.mutation.insertNodeAtPath` +### `db.mutation.extendTokenExpires` -insertNodeAtPath +extendTokenExpires - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | InsertNodeAtPathInput (required) | + | `input` | ExtendTokenExpiresInput (required) | ```typescript -const result = await db.mutation.insertNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.extendTokenExpires({ input: '' }).execute(); ``` -### `db.mutation.updateNodeAtPath` +### `db.mutation.signIn` -updateNodeAtPath +signIn - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | UpdateNodeAtPathInput (required) | + | `input` | SignInInput (required) | ```typescript -const result = await db.mutation.updateNodeAtPath({ input: '' }).execute(); +const result = await db.mutation.signIn({ input: '' }).execute(); ``` -### `db.mutation.setAndCommit` +### `db.mutation.signUp` -setAndCommit +signUp - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | SetAndCommitInput (required) | + | `input` | SignUpInput (required) | ```typescript -const result = await db.mutation.setAndCommit({ input: '' }).execute(); +const result = await db.mutation.signUp({ input: '' }).execute(); ``` -### `db.mutation.applyRls` +### `db.mutation.oneTimeToken` -applyRls +oneTimeToken - **Type:** mutation - **Arguments:** | Argument | Type | |----------|------| - | `input` | ApplyRlsInput (required) | + | `input` | OneTimeTokenInput (required) | ```typescript -const result = await db.mutation.applyRls({ input: '' }).execute(); +const result = await db.mutation.oneTimeToken({ input: '' }).execute(); ``` ### `db.mutation.forgotPassword` diff --git a/sdk/constructive-sdk/src/public/orm/index.ts b/sdk/constructive-sdk/src/public/orm/index.ts index 2c747b98e..fa33edb4f 100644 --- a/sdk/constructive-sdk/src/public/orm/index.ts +++ b/sdk/constructive-sdk/src/public/orm/index.ts @@ -8,9 +8,9 @@ import type { OrmClientConfig } from './client'; import { OrgGetManagersRecordModel } from './models/orgGetManagersRecord'; import { OrgGetSubordinatesRecordModel } from './models/orgGetSubordinatesRecord'; import { GetAllRecordModel } from './models/getAllRecord'; +import { ObjectModel } from './models/object'; import { AppPermissionModel } from './models/appPermission'; import { OrgPermissionModel } from './models/orgPermission'; -import { ObjectModel } from './models/object'; import { AppLevelRequirementModel } from './models/appLevelRequirement'; import { DatabaseModel } from './models/database'; import { SchemaModel } from './models/schema'; @@ -96,17 +96,17 @@ import { OrgLimitDefaultModel } from './models/orgLimitDefault'; import { ConnectedAccountModel } from './models/connectedAccount'; import { NodeTypeRegistryModel } from './models/nodeTypeRegistry'; import { MembershipTypeModel } from './models/membershipType'; +import { CommitModel } from './models/commit'; 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 { SqlMigrationModel } from './models/sqlMigration'; import { EmailModel } from './models/email'; +import { UserModel } from './models/user'; import { AstMigrationModel } from './models/astMigration'; import { AppMembershipModel } from './models/appMembership'; -import { UserModel } from './models/user'; import { HierarchyModuleModel } from './models/hierarchyModule'; import { createQueryOperations } from './query'; import { createMutationOperations } from './mutation'; @@ -146,9 +146,9 @@ export function createClient(config: OrmClientConfig) { orgGetManagersRecord: new OrgGetManagersRecordModel(client), orgGetSubordinatesRecord: new OrgGetSubordinatesRecordModel(client), getAllRecord: new GetAllRecordModel(client), + object: new ObjectModel(client), appPermission: new AppPermissionModel(client), orgPermission: new OrgPermissionModel(client), - object: new ObjectModel(client), appLevelRequirement: new AppLevelRequirementModel(client), database: new DatabaseModel(client), schema: new SchemaModel(client), @@ -234,17 +234,17 @@ export function createClient(config: OrmClientConfig) { connectedAccount: new ConnectedAccountModel(client), nodeTypeRegistry: new NodeTypeRegistryModel(client), membershipType: new MembershipTypeModel(client), + commit: new CommitModel(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), sqlMigration: new SqlMigrationModel(client), email: new EmailModel(client), + user: new UserModel(client), astMigration: new AstMigrationModel(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 57cdc3b90..f4141b254 100644 --- a/sdk/constructive-sdk/src/public/orm/input-types.ts +++ b/sdk/constructive-sdk/src/public/orm/input-types.ts @@ -252,6 +252,16 @@ export interface GetAllRecord { path?: string | null; data?: Record | null; } +export interface Object { + hashUuid?: string | null; + id: string; + databaseId?: string | null; + kids?: string | null; + ktree?: string | null; + data?: Record | null; + frzn?: boolean | null; + createdAt?: string | null; +} /** Defines available permissions as named bits within a bitmask, used by the RBAC system for access control */ export interface AppPermission { id: string; @@ -284,16 +294,6 @@ export interface OrgPermission { /** Composite search relevance score (0..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; - id: string; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: Record | null; - frzn?: boolean | null; - createdAt?: string | null; -} /** Defines the specific requirements that must be met to achieve a level */ export interface AppLevelRequirement { id: string; @@ -2186,6 +2186,29 @@ export interface MembershipType { /** Composite search relevance score (0..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. */ + id: string; + /** The commit message */ + message?: string | null; + /** The repository identifier */ + databaseId?: string | null; + storeId?: string | null; + /** Parent commits */ + parentIds?: string | null; + /** The author of the commit */ + authorId?: string | null; + /** The committer of the commit */ + committerId?: string | null; + /** 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 AppMembershipDefault { id: string; @@ -2221,29 +2244,6 @@ export interface RlsModule { /** Composite search relevance score (0..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. */ - id: string; - /** The commit message */ - message?: string | null; - /** The repository identifier */ - databaseId?: string | null; - storeId?: string | null; - /** Parent commits */ - parentIds?: string | null; - /** The author of the commit */ - authorId?: string | null; - /** The committer of the commit */ - committerId?: string | null; - /** 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 { id: string; @@ -2342,6 +2342,22 @@ export interface Email { createdAt?: string | null; updatedAt?: 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 AstMigration { id: number; databaseId?: string | null; @@ -2390,22 +2406,6 @@ 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; @@ -2466,9 +2466,9 @@ export interface PageInfo { export interface OrgGetManagersRecordRelations {} export interface OrgGetSubordinatesRecordRelations {} export interface GetAllRecordRelations {} +export interface ObjectRelations {} export interface AppPermissionRelations {} export interface OrgPermissionRelations {} -export interface ObjectRelations {} export interface AppLevelRequirementRelations {} export interface DatabaseRelations { owner?: User | null; @@ -2955,6 +2955,7 @@ export interface ConnectedAccountRelations { } export interface NodeTypeRegistryRelations {} export interface MembershipTypeRelations {} +export interface CommitRelations {} export interface AppMembershipDefaultRelations {} export interface RlsModuleRelations { database?: Database | null; @@ -2964,7 +2965,6 @@ export interface RlsModuleRelations { sessionsTable?: Table | null; usersTable?: Table | null; } -export interface CommitRelations {} export interface OrgMembershipDefaultRelations { entity?: User | null; } @@ -2978,10 +2978,6 @@ export interface SqlMigrationRelations {} export interface EmailRelations { owner?: User | null; } -export interface AstMigrationRelations {} -export interface AppMembershipRelations { - actor?: User | null; -} export interface UserRelations { roleType?: RoleType | null; appMembershipByActorId?: AppMembership | null; @@ -3020,6 +3016,10 @@ export interface UserRelations { orgClaimedInvitesByReceiverId?: ConnectionResult; orgClaimedInvitesBySenderId?: ConnectionResult; } +export interface AstMigrationRelations {} +export interface AppMembershipRelations { + actor?: User | null; +} export interface HierarchyModuleRelations { chartEdgeGrantsTable?: Table | null; chartEdgesTable?: Table | null; @@ -3036,9 +3036,9 @@ export type OrgGetManagersRecordWithRelations = OrgGetManagersRecord & export type OrgGetSubordinatesRecordWithRelations = OrgGetSubordinatesRecord & OrgGetSubordinatesRecordRelations; export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations; +export type ObjectWithRelations = Object & ObjectRelations; export type AppPermissionWithRelations = AppPermission & AppPermissionRelations; export type OrgPermissionWithRelations = OrgPermission & OrgPermissionRelations; -export type ObjectWithRelations = Object & ObjectRelations; export type AppLevelRequirementWithRelations = AppLevelRequirement & AppLevelRequirementRelations; export type DatabaseWithRelations = Database & DatabaseRelations; export type SchemaWithRelations = Schema & SchemaRelations; @@ -3135,19 +3135,19 @@ export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRela export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations; export type NodeTypeRegistryWithRelations = NodeTypeRegistry & NodeTypeRegistryRelations; export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations; +export type CommitWithRelations = Commit & CommitRelations; 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 SqlMigrationWithRelations = SqlMigration & SqlMigrationRelations; export type EmailWithRelations = Email & EmailRelations; +export type UserWithRelations = User & UserRelations; export type AstMigrationWithRelations = AstMigration & AstMigrationRelations; export type AppMembershipWithRelations = AppMembership & AppMembershipRelations; -export type UserWithRelations = User & UserRelations; export type HierarchyModuleWithRelations = HierarchyModule & HierarchyModuleRelations; // ============ Entity Select Types ============ export type OrgGetManagersRecordSelect = { @@ -3162,6 +3162,16 @@ export type GetAllRecordSelect = { path?: boolean; data?: boolean; }; +export type ObjectSelect = { + hashUuid?: boolean; + id?: boolean; + databaseId?: boolean; + kids?: boolean; + ktree?: boolean; + data?: boolean; + frzn?: boolean; + createdAt?: boolean; +}; export type AppPermissionSelect = { id?: boolean; name?: boolean; @@ -3180,16 +3190,6 @@ export type OrgPermissionSelect = { descriptionTrgmSimilarity?: boolean; searchScore?: boolean; }; -export type ObjectSelect = { - hashUuid?: boolean; - id?: boolean; - databaseId?: boolean; - kids?: boolean; - ktree?: boolean; - data?: boolean; - frzn?: boolean; - createdAt?: boolean; -}; export type AppLevelRequirementSelect = { id?: boolean; name?: boolean; @@ -5692,6 +5692,19 @@ export type MembershipTypeSelect = { prefixTrgmSimilarity?: boolean; searchScore?: boolean; }; +export type CommitSelect = { + id?: boolean; + message?: boolean; + databaseId?: boolean; + storeId?: boolean; + parentIds?: boolean; + authorId?: boolean; + committerId?: boolean; + treeId?: boolean; + date?: boolean; + messageTrgmSimilarity?: boolean; + searchScore?: boolean; +}; export type AppMembershipDefaultSelect = { id?: boolean; createdAt?: boolean; @@ -5737,19 +5750,6 @@ export type RlsModuleSelect = { select: TableSelect; }; }; -export type CommitSelect = { - id?: boolean; - message?: boolean; - databaseId?: boolean; - storeId?: boolean; - parentIds?: boolean; - authorId?: boolean; - committerId?: boolean; - treeId?: boolean; - date?: boolean; - messageTrgmSimilarity?: boolean; - searchScore?: boolean; -}; export type OrgMembershipDefaultSelect = { id?: boolean; createdAt?: boolean; @@ -5827,44 +5827,6 @@ export type EmailSelect = { select: UserSelect; }; }; -export type AstMigrationSelect = { - id?: boolean; - databaseId?: boolean; - name?: boolean; - requires?: boolean; - payload?: boolean; - deploys?: boolean; - deploy?: boolean; - revert?: boolean; - verify?: boolean; - createdAt?: boolean; - 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; username?: boolean; @@ -6085,6 +6047,44 @@ export type UserSelect = { orderBy?: OrgClaimedInviteOrderBy[]; }; }; +export type AstMigrationSelect = { + id?: boolean; + databaseId?: boolean; + name?: boolean; + requires?: boolean; + payload?: boolean; + deploys?: boolean; + deploy?: boolean; + revert?: boolean; + verify?: boolean; + createdAt?: boolean; + 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 HierarchyModuleSelect = { id?: boolean; databaseId?: boolean; @@ -6164,6 +6164,19 @@ export interface GetAllRecordFilter { or?: GetAllRecordFilter[]; not?: GetAllRecordFilter; } +export interface ObjectFilter { + hashUuid?: UUIDFilter; + id?: UUIDFilter; + databaseId?: UUIDFilter; + kids?: UUIDFilter; + ktree?: StringFilter; + data?: JSONFilter; + frzn?: BooleanFilter; + createdAt?: DatetimeFilter; + and?: ObjectFilter[]; + or?: ObjectFilter[]; + not?: ObjectFilter; +} export interface AppPermissionFilter { id?: UUIDFilter; name?: StringFilter; @@ -6188,20 +6201,7 @@ export interface OrgPermissionFilter { or?: OrgPermissionFilter[]; not?: OrgPermissionFilter; } -export interface ObjectFilter { - hashUuid?: UUIDFilter; - id?: UUIDFilter; - databaseId?: UUIDFilter; - kids?: UUIDFilter; - ktree?: StringFilter; - data?: JSONFilter; - frzn?: BooleanFilter; - createdAt?: DatetimeFilter; - and?: ObjectFilter[]; - or?: ObjectFilter[]; - not?: ObjectFilter; -} -export interface AppLevelRequirementFilter { +export interface AppLevelRequirementFilter { id?: UUIDFilter; name?: StringFilter; level?: StringFilter; @@ -7725,6 +7725,22 @@ export interface MembershipTypeFilter { or?: MembershipTypeFilter[]; not?: MembershipTypeFilter; } +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 AppMembershipDefaultFilter { id?: UUIDFilter; createdAt?: DatetimeFilter; @@ -7758,22 +7774,6 @@ export interface 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; @@ -7854,6 +7854,22 @@ export interface EmailFilter { or?: EmailFilter[]; not?: EmailFilter; } +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 AstMigrationFilter { id?: IntFilter; databaseId?: UUIDFilter; @@ -7895,22 +7911,6 @@ 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; @@ -7972,6 +7972,26 @@ export type GetAllRecordsOrderBy = | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC'; +export type ObjectOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'HASH_UUID_ASC' + | 'HASH_UUID_DESC' + | 'ID_ASC' + | 'ID_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'KIDS_ASC' + | 'KIDS_DESC' + | 'KTREE_ASC' + | 'KTREE_DESC' + | 'DATA_ASC' + | 'DATA_DESC' + | 'FRZN_ASC' + | 'FRZN_DESC' + | 'CREATED_AT_ASC' + | 'CREATED_AT_DESC'; export type AppPermissionOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -8008,26 +8028,6 @@ export type OrgPermissionOrderBy = | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -export type ObjectOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'HASH_UUID_ASC' - | 'HASH_UUID_DESC' - | 'ID_ASC' - | 'ID_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'KIDS_ASC' - | 'KIDS_DESC' - | 'KTREE_ASC' - | 'KTREE_DESC' - | 'DATA_ASC' - | 'DATA_DESC' - | 'FRZN_ASC' - | 'FRZN_DESC' - | 'CREATED_AT_ASC' - | 'CREATED_AT_DESC'; export type AppLevelRequirementOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10566,6 +10566,32 @@ export type MembershipTypeOrderBy = | 'PREFIX_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; +export type CommitOrderBy = + | 'PRIMARY_KEY_ASC' + | 'PRIMARY_KEY_DESC' + | 'NATURAL' + | 'ID_ASC' + | 'ID_DESC' + | 'MESSAGE_ASC' + | 'MESSAGE_DESC' + | 'DATABASE_ID_ASC' + | 'DATABASE_ID_DESC' + | 'STORE_ID_ASC' + | 'STORE_ID_DESC' + | 'PARENT_IDS_ASC' + | 'PARENT_IDS_DESC' + | 'AUTHOR_ID_ASC' + | 'AUTHOR_ID_DESC' + | 'COMMITTER_ID_ASC' + | 'COMMITTER_ID_DESC' + | 'TREE_ID_ASC' + | 'TREE_ID_DESC' + | 'DATE_ASC' + | 'DATE_DESC' + | 'MESSAGE_TRGM_SIMILARITY_ASC' + | 'MESSAGE_TRGM_SIMILARITY_DESC' + | 'SEARCH_SCORE_ASC' + | 'SEARCH_SCORE_DESC'; export type AppMembershipDefaultOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10620,32 +10646,6 @@ export type RlsModuleOrderBy = | 'CURRENT_ROLE_ID_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC'; -export type CommitOrderBy = - | 'PRIMARY_KEY_ASC' - | 'PRIMARY_KEY_DESC' - | 'NATURAL' - | 'ID_ASC' - | 'ID_DESC' - | 'MESSAGE_ASC' - | 'MESSAGE_DESC' - | 'DATABASE_ID_ASC' - | 'DATABASE_ID_DESC' - | 'STORE_ID_ASC' - | 'STORE_ID_DESC' - | 'PARENT_IDS_ASC' - | 'PARENT_IDS_DESC' - | 'AUTHOR_ID_ASC' - | 'AUTHOR_ID_DESC' - | 'COMMITTER_ID_ASC' - | 'COMMITTER_ID_DESC' - | 'TREE_ID_ASC' - | 'TREE_ID_DESC' - | 'DATE_ASC' - | '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' @@ -10776,6 +10776,32 @@ export type EmailOrderBy = | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_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 AstMigrationOrderBy = | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' @@ -10846,32 +10872,6 @@ 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' @@ -10999,6 +10999,33 @@ export interface DeleteGetAllRecordInput { clientMutationId?: string; id: string; } +export interface CreateObjectInput { + clientMutationId?: string; + object: { + databaseId: string; + kids?: string[]; + ktree?: string[]; + data?: Record; + frzn?: boolean; + }; +} +export interface ObjectPatch { + hashUuid?: string | null; + databaseId?: string | null; + kids?: string | null; + ktree?: string | null; + data?: Record | null; + frzn?: boolean | null; +} +export interface UpdateObjectInput { + clientMutationId?: string; + id: string; + objectPatch: ObjectPatch; +} +export interface DeleteObjectInput { + clientMutationId?: string; + id: string; +} export interface CreateAppPermissionInput { clientMutationId?: string; appPermission: { @@ -11051,34 +11078,7 @@ export interface DeleteOrgPermissionInput { clientMutationId?: string; id: string; } -export interface CreateObjectInput { - clientMutationId?: string; - object: { - databaseId: string; - kids?: string[]; - ktree?: string[]; - data?: Record; - frzn?: boolean; - }; -} -export interface ObjectPatch { - hashUuid?: string | null; - databaseId?: string | null; - kids?: string | null; - ktree?: string | null; - data?: Record | null; - frzn?: boolean | null; -} -export interface UpdateObjectInput { - clientMutationId?: string; - id: string; - objectPatch: ObjectPatch; -} -export interface DeleteObjectInput { - clientMutationId?: string; - id: string; -} -export interface CreateAppLevelRequirementInput { +export interface CreateAppLevelRequirementInput { clientMutationId?: string; appLevelRequirement: { name: string; @@ -14053,6 +14053,40 @@ export interface DeleteMembershipTypeInput { clientMutationId?: string; id: number; } +export interface CreateCommitInput { + clientMutationId?: string; + commit: { + message?: string; + databaseId: string; + storeId: string; + parentIds?: string[]; + authorId?: string; + committerId?: string; + treeId?: string; + date?: string; + }; +} +export interface CommitPatch { + message?: string | null; + databaseId?: string | null; + storeId?: string | null; + parentIds?: string | null; + authorId?: string | null; + committerId?: string | null; + treeId?: string | null; + date?: string | null; + messageTrgmSimilarity?: number | null; + searchScore?: number | null; +} +export interface UpdateCommitInput { + clientMutationId?: string; + id: string; + commitPatch: CommitPatch; +} +export interface DeleteCommitInput { + clientMutationId?: string; + id: string; +} export interface CreateAppMembershipDefaultInput { clientMutationId?: string; appMembershipDefault: { @@ -14118,40 +14152,6 @@ export interface DeleteRlsModuleInput { clientMutationId?: string; id: string; } -export interface CreateCommitInput { - clientMutationId?: string; - commit: { - message?: string; - databaseId: string; - storeId: string; - parentIds?: string[]; - authorId?: string; - committerId?: string; - treeId?: string; - date?: string; - }; -} -export interface CommitPatch { - message?: string | null; - databaseId?: string | null; - storeId?: string | null; - parentIds?: string | null; - authorId?: string | null; - committerId?: string | null; - treeId?: string | null; - date?: string | null; - messageTrgmSimilarity?: number | null; - searchScore?: number | null; -} -export interface UpdateCommitInput { - clientMutationId?: string; - id: string; - commitPatch: CommitPatch; -} -export interface DeleteCommitInput { - clientMutationId?: string; - id: string; -} export interface CreateOrgMembershipDefaultInput { clientMutationId?: string; orgMembershipDefault: { @@ -14305,6 +14305,34 @@ export interface DeleteEmailInput { clientMutationId?: string; id: string; } +export interface CreateUserInput { + clientMutationId?: string; + user: { + username?: string; + displayName?: string; + profilePicture?: ConstructiveInternalTypeImage; + 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 CreateAstMigrationInput { clientMutationId?: string; astMigration: { @@ -14387,35 +14415,6 @@ 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: { @@ -14659,6 +14658,12 @@ export interface VerifyEmailInput { emailId?: string; token?: string; } +export interface RemoveNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; +} export interface ResetPasswordInput { clientMutationId?: string; roleId?: string; @@ -14675,11 +14680,9 @@ export interface BootstrapUserInput { displayName?: string; returnApiKey?: boolean; } -export interface RemoveNodeAtPathInput { +export interface SetFieldOrderInput { clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; + fieldIds?: string[]; } export interface SetDataAtPathInput { clientMutationId?: string; @@ -14704,6 +14707,44 @@ export interface ProvisionDatabaseWithUserInput { pModules?: string[]; pOptions?: Record; } +export interface InsertNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface UpdateNodeAtPathInput { + clientMutationId?: string; + dbId?: string; + root?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface SetAndCommitInput { + clientMutationId?: string; + dbId?: string; + storeId?: string; + refname?: string; + path?: string[]; + data?: Record; + kids?: string[]; + ktree?: string[]; +} +export interface ApplyRlsInput { + clientMutationId?: string; + tableId?: string; + grants?: Record; + policyType?: string; + vars?: Record; + fieldIds?: string[]; + permissive?: boolean; + name?: string; +} export interface SignInOneTimeTokenInput { clientMutationId?: string; token?: string; @@ -14739,10 +14780,6 @@ export interface SignUpInput { credentialKind?: string; csrfToken?: string; } -export interface SetFieldOrderInput { - clientMutationId?: string; - fieldIds?: string[]; -} export interface OneTimeTokenInput { clientMutationId?: string; email?: string; @@ -14750,44 +14787,6 @@ export interface OneTimeTokenInput { origin?: ConstructiveInternalTypeOrigin; rememberMe?: boolean; } -export interface InsertNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface UpdateNodeAtPathInput { - clientMutationId?: string; - dbId?: string; - root?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface SetAndCommitInput { - clientMutationId?: string; - dbId?: string; - storeId?: string; - refname?: string; - path?: string[]; - data?: Record; - kids?: string[]; - ktree?: string[]; -} -export interface ApplyRlsInput { - clientMutationId?: string; - tableId?: string; - grants?: Record; - policyType?: string; - vars?: Record; - fieldIds?: string[]; - permissive?: boolean; - name?: string; -} export interface ForgotPasswordInput { clientMutationId?: string; email?: ConstructiveInternalTypeEmail; @@ -14823,8 +14822,27 @@ export interface IntervalInput { /** A quantity of years. */ years?: number; } -/** A connection to a list of `AppPermission` values. */ +/** A connection to a list of `Object` values. */ // ============ Payload/Return Types (for custom operations) ============ +export interface ObjectConnection { + nodes: Object[]; + edges: ObjectEdge[]; + pageInfo: PageInfo; + totalCount: number; +} +export type ObjectConnectionSelect = { + nodes?: { + select: ObjectSelect; + }; + edges?: { + select: ObjectEdgeSelect; + }; + pageInfo?: { + select: PageInfoSelect; + }; + totalCount?: boolean; +}; +/** A connection to a list of `AppPermission` values. */ export interface AppPermissionConnection { nodes: AppPermission[]; edges: AppPermissionEdge[]; @@ -14862,25 +14880,6 @@ export type OrgPermissionConnectionSelect = { }; totalCount?: boolean; }; -/** A connection to a list of `Object` values. */ -export interface ObjectConnection { - nodes: Object[]; - edges: ObjectEdge[]; - pageInfo: PageInfo; - totalCount: number; -} -export type ObjectConnectionSelect = { - nodes?: { - select: ObjectSelect; - }; - edges?: { - select: ObjectEdgeSelect; - }; - pageInfo?: { - select: PageInfoSelect; - }; - totalCount?: boolean; -}; /** A connection to a list of `AppLevelRequirement` values. */ export interface AppLevelRequirementConnection { nodes: AppLevelRequirement[]; @@ -14972,6 +14971,14 @@ export type VerifyEmailPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; +export interface RemoveNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type RemoveNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; export interface ResetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; @@ -14990,13 +14997,11 @@ export type BootstrapUserPayloadSelect = { select: BootstrapUserRecordSelect; }; }; -export interface RemoveNodeAtPathPayload { +export interface SetFieldOrderPayload { clientMutationId?: string | null; - result?: string | null; } -export type RemoveNodeAtPathPayloadSelect = { +export type SetFieldOrderPayloadSelect = { clientMutationId?: boolean; - result?: boolean; }; export interface SetDataAtPathPayload { clientMutationId?: string | null; @@ -15024,6 +15029,36 @@ export type ProvisionDatabaseWithUserPayloadSelect = { select: ProvisionDatabaseWithUserRecordSelect; }; }; +export interface InsertNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type InsertNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface UpdateNodeAtPathPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type UpdateNodeAtPathPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface SetAndCommitPayload { + clientMutationId?: string | null; + result?: string | null; +} +export type SetAndCommitPayloadSelect = { + clientMutationId?: boolean; + result?: boolean; +}; +export interface ApplyRlsPayload { + clientMutationId?: string | null; +} +export type ApplyRlsPayloadSelect = { + clientMutationId?: boolean; +}; export interface SignInOneTimeTokenPayload { clientMutationId?: string | null; result?: SignInOneTimeTokenRecord | null; @@ -15072,12 +15107,6 @@ export type SignUpPayloadSelect = { select: SignUpRecordSelect; }; }; -export interface SetFieldOrderPayload { - clientMutationId?: string | null; -} -export type SetFieldOrderPayloadSelect = { - clientMutationId?: boolean; -}; export interface OneTimeTokenPayload { clientMutationId?: string | null; result?: string | null; @@ -15086,36 +15115,6 @@ export type OneTimeTokenPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; -export interface InsertNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type InsertNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface UpdateNodeAtPathPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type UpdateNodeAtPathPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface SetAndCommitPayload { - clientMutationId?: string | null; - result?: string | null; -} -export type SetAndCommitPayloadSelect = { - clientMutationId?: boolean; - result?: boolean; -}; -export interface ApplyRlsPayload { - clientMutationId?: string | null; -} -export type ApplyRlsPayloadSelect = { - clientMutationId?: boolean; -}; export interface ForgotPasswordPayload { clientMutationId?: string | null; } @@ -15150,6 +15149,51 @@ export type VerifyTotpPayloadSelect = { select: SessionSelect; }; }; +export interface CreateObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was created by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type CreateObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; +export interface UpdateObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was updated by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type UpdateObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; +export interface DeleteObjectPayload { + clientMutationId?: string | null; + /** The `Object` that was deleted by this mutation. */ + object?: Object | null; + objectEdge?: ObjectEdge | null; +} +export type DeleteObjectPayloadSelect = { + clientMutationId?: boolean; + object?: { + select: ObjectSelect; + }; + objectEdge?: { + select: ObjectEdgeSelect; + }; +}; export interface CreateAppPermissionPayload { clientMutationId?: string | null; /** The `AppPermission` that was created by this mutation. */ @@ -15240,51 +15284,6 @@ export type DeleteOrgPermissionPayloadSelect = { select: OrgPermissionEdgeSelect; }; }; -export interface CreateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was created by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type CreateObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; -export interface UpdateObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was updated by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type UpdateObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; -export interface DeleteObjectPayload { - clientMutationId?: string | null; - /** The `Object` that was deleted by this mutation. */ - object?: Object | null; - objectEdge?: ObjectEdge | null; -} -export type DeleteObjectPayloadSelect = { - clientMutationId?: boolean; - object?: { - select: ObjectSelect; - }; - objectEdge?: { - select: ObjectEdgeSelect; - }; -}; export interface CreateAppLevelRequirementPayload { clientMutationId?: string | null; /** The `AppLevelRequirement` that was created by this mutation. */ @@ -19110,6 +19109,51 @@ export type DeleteMembershipTypePayloadSelect = { select: MembershipTypeEdgeSelect; }; }; +export interface CreateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was created by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type CreateCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; +export interface UpdateCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was updated by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type UpdateCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; +export interface DeleteCommitPayload { + clientMutationId?: string | null; + /** The `Commit` that was deleted by this mutation. */ + commit?: Commit | null; + commitEdge?: CommitEdge | null; +} +export type DeleteCommitPayloadSelect = { + clientMutationId?: boolean; + commit?: { + select: CommitSelect; + }; + commitEdge?: { + select: CommitEdgeSelect; + }; +}; export interface CreateAppMembershipDefaultPayload { clientMutationId?: string | null; /** The `AppMembershipDefault` that was created by this mutation. */ @@ -19200,51 +19244,6 @@ export type DeleteRlsModulePayloadSelect = { select: RlsModuleEdgeSelect; }; }; -export interface CreateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was created by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type CreateCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; -export interface UpdateCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was updated by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type UpdateCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; -export interface DeleteCommitPayload { - clientMutationId?: string | null; - /** The `Commit` that was deleted by this mutation. */ - commit?: Commit | null; - commitEdge?: CommitEdge | null; -} -export type DeleteCommitPayloadSelect = { - clientMutationId?: boolean; - commit?: { - select: CommitSelect; - }; - commitEdge?: { - select: CommitEdgeSelect; - }; -}; export interface CreateOrgMembershipDefaultPayload { clientMutationId?: string | null; /** The `OrgMembershipDefault` that was created by this mutation. */ @@ -19436,6 +19435,51 @@ export type DeleteEmailPayloadSelect = { select: EmailEdgeSelect; }; }; +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 CreateAstMigrationPayload { clientMutationId?: string | null; /** The `AstMigration` that was created by this mutation. */ @@ -19492,51 +19536,6 @@ 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. */ @@ -19582,16 +19581,16 @@ export type DeleteHierarchyModulePayloadSelect = { select: HierarchyModuleEdgeSelect; }; }; -/** A `AppPermission` edge in the connection. */ -export interface AppPermissionEdge { +/** A `Object` edge in the connection. */ +export interface ObjectEdge { cursor?: string | null; - /** The `AppPermission` at the end of the edge. */ - node?: AppPermission | null; + /** The `Object` at the end of the edge. */ + node?: Object | null; } -export type AppPermissionEdgeSelect = { +export type ObjectEdgeSelect = { cursor?: boolean; node?: { - select: AppPermissionSelect; + select: ObjectSelect; }; }; /** Information about pagination in a connection. */ @@ -19611,28 +19610,28 @@ export type PageInfoSelect = { startCursor?: boolean; endCursor?: boolean; }; -/** A `OrgPermission` edge in the connection. */ -export interface OrgPermissionEdge { +/** A `AppPermission` edge in the connection. */ +export interface AppPermissionEdge { cursor?: string | null; - /** The `OrgPermission` at the end of the edge. */ - node?: OrgPermission | null; + /** The `AppPermission` at the end of the edge. */ + node?: AppPermission | null; } -export type OrgPermissionEdgeSelect = { +export type AppPermissionEdgeSelect = { cursor?: boolean; node?: { - select: OrgPermissionSelect; + select: AppPermissionSelect; }; }; -/** A `Object` edge in the connection. */ -export interface ObjectEdge { +/** A `OrgPermission` edge in the connection. */ +export interface OrgPermissionEdge { cursor?: string | null; - /** The `Object` at the end of the edge. */ - node?: Object | null; + /** The `OrgPermission` at the end of the edge. */ + node?: OrgPermission | null; } -export type ObjectEdgeSelect = { +export type OrgPermissionEdgeSelect = { cursor?: boolean; node?: { - select: ObjectSelect; + select: OrgPermissionSelect; }; }; /** A `AppLevelRequirement` edge in the connection. */ @@ -20836,6 +20835,18 @@ export type MembershipTypeEdgeSelect = { select: MembershipTypeSelect; }; }; +/** A `Commit` edge in the connection. */ +export interface CommitEdge { + cursor?: string | null; + /** The `Commit` at the end of the edge. */ + node?: Commit | null; +} +export type CommitEdgeSelect = { + cursor?: boolean; + node?: { + select: CommitSelect; + }; +}; /** A `AppMembershipDefault` edge in the connection. */ export interface AppMembershipDefaultEdge { cursor?: string | null; @@ -20860,18 +20871,6 @@ export type RlsModuleEdgeSelect = { select: RlsModuleSelect; }; }; -/** A `Commit` edge in the connection. */ -export interface CommitEdge { - cursor?: string | null; - /** The `Commit` at the end of the edge. */ - node?: Commit | null; -} -export type CommitEdgeSelect = { - cursor?: boolean; - node?: { - select: CommitSelect; - }; -}; /** A `OrgMembershipDefault` edge in the connection. */ export interface OrgMembershipDefaultEdge { cursor?: string | null; @@ -20920,18 +20919,6 @@ export type EmailEdgeSelect = { select: EmailSelect; }; }; -/** A `AppMembership` edge in the connection. */ -export interface AppMembershipEdge { - cursor?: string | null; - /** The `AppMembership` at the end of the edge. */ - node?: AppMembership | null; -} -export type AppMembershipEdgeSelect = { - cursor?: boolean; - node?: { - select: AppMembershipSelect; - }; -}; /** A `User` edge in the connection. */ export interface UserEdge { cursor?: string | null; @@ -20944,6 +20931,18 @@ export type UserEdgeSelect = { select: UserSelect; }; }; +/** A `AppMembership` edge in the connection. */ +export interface AppMembershipEdge { + cursor?: string | null; + /** The `AppMembership` at the end of the edge. */ + node?: AppMembership | null; +} +export type AppMembershipEdgeSelect = { + cursor?: boolean; + node?: { + select: AppMembershipSelect; + }; +}; /** A `HierarchyModule` edge in the connection. */ export interface HierarchyModuleEdge { cursor?: string | null; diff --git a/sdk/constructive-sdk/src/public/orm/models/index.ts b/sdk/constructive-sdk/src/public/orm/models/index.ts index b871be98f..292be6a26 100644 --- a/sdk/constructive-sdk/src/public/orm/models/index.ts +++ b/sdk/constructive-sdk/src/public/orm/models/index.ts @@ -6,9 +6,9 @@ export { OrgGetManagersRecordModel } from './orgGetManagersRecord'; export { OrgGetSubordinatesRecordModel } from './orgGetSubordinatesRecord'; export { GetAllRecordModel } from './getAllRecord'; +export { ObjectModel } from './object'; export { AppPermissionModel } from './appPermission'; export { OrgPermissionModel } from './orgPermission'; -export { ObjectModel } from './object'; export { AppLevelRequirementModel } from './appLevelRequirement'; export { DatabaseModel } from './database'; export { SchemaModel } from './schema'; @@ -94,15 +94,15 @@ export { OrgLimitDefaultModel } from './orgLimitDefault'; export { ConnectedAccountModel } from './connectedAccount'; export { NodeTypeRegistryModel } from './nodeTypeRegistry'; export { MembershipTypeModel } from './membershipType'; +export { CommitModel } from './commit'; 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 { SqlMigrationModel } from './sqlMigration'; export { EmailModel } from './email'; +export { UserModel } from './user'; export { AstMigrationModel } from './astMigration'; export { AppMembershipModel } from './appMembership'; -export { UserModel } from './user'; export { HierarchyModuleModel } from './hierarchyModule'; diff --git a/sdk/constructive-sdk/src/public/orm/mutation/index.ts b/sdk/constructive-sdk/src/public/orm/mutation/index.ts index 43b9fc6e9..e16b7ce43 100644 --- a/sdk/constructive-sdk/src/public/orm/mutation/index.ts +++ b/sdk/constructive-sdk/src/public/orm/mutation/index.ts @@ -17,23 +17,23 @@ import type { ConfirmDeleteAccountInput, SetPasswordInput, VerifyEmailInput, + RemoveNodeAtPathInput, ResetPasswordInput, BootstrapUserInput, - RemoveNodeAtPathInput, + SetFieldOrderInput, SetDataAtPathInput, SetPropsAndCommitInput, ProvisionDatabaseWithUserInput, + InsertNodeAtPathInput, + UpdateNodeAtPathInput, + SetAndCommitInput, + ApplyRlsInput, SignInOneTimeTokenInput, CreateUserDatabaseInput, ExtendTokenExpiresInput, SignInInput, SignUpInput, - SetFieldOrderInput, OneTimeTokenInput, - InsertNodeAtPathInput, - UpdateNodeAtPathInput, - SetAndCommitInput, - ApplyRlsInput, ForgotPasswordInput, SendVerificationEmailInput, VerifyPasswordInput, @@ -48,23 +48,23 @@ import type { ConfirmDeleteAccountPayload, SetPasswordPayload, VerifyEmailPayload, + RemoveNodeAtPathPayload, ResetPasswordPayload, BootstrapUserPayload, - RemoveNodeAtPathPayload, + SetFieldOrderPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, ProvisionDatabaseWithUserPayload, + InsertNodeAtPathPayload, + UpdateNodeAtPathPayload, + SetAndCommitPayload, + ApplyRlsPayload, SignInOneTimeTokenPayload, CreateUserDatabasePayload, ExtendTokenExpiresPayload, SignInPayload, SignUpPayload, - SetFieldOrderPayload, OneTimeTokenPayload, - InsertNodeAtPathPayload, - UpdateNodeAtPathPayload, - SetAndCommitPayload, - ApplyRlsPayload, ForgotPasswordPayload, SendVerificationEmailPayload, VerifyPasswordPayload, @@ -79,23 +79,23 @@ import type { ConfirmDeleteAccountPayloadSelect, SetPasswordPayloadSelect, VerifyEmailPayloadSelect, + RemoveNodeAtPathPayloadSelect, ResetPasswordPayloadSelect, BootstrapUserPayloadSelect, - RemoveNodeAtPathPayloadSelect, + SetFieldOrderPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, ProvisionDatabaseWithUserPayloadSelect, + InsertNodeAtPathPayloadSelect, + UpdateNodeAtPathPayloadSelect, + SetAndCommitPayloadSelect, + ApplyRlsPayloadSelect, SignInOneTimeTokenPayloadSelect, CreateUserDatabasePayloadSelect, ExtendTokenExpiresPayloadSelect, SignInPayloadSelect, SignUpPayloadSelect, - SetFieldOrderPayloadSelect, OneTimeTokenPayloadSelect, - InsertNodeAtPathPayloadSelect, - UpdateNodeAtPathPayloadSelect, - SetAndCommitPayloadSelect, - ApplyRlsPayloadSelect, ForgotPasswordPayloadSelect, SendVerificationEmailPayloadSelect, VerifyPasswordPayloadSelect, @@ -132,14 +132,17 @@ export interface SetPasswordVariables { export interface VerifyEmailVariables { input: VerifyEmailInput; } +export interface RemoveNodeAtPathVariables { + input: RemoveNodeAtPathInput; +} export interface ResetPasswordVariables { input: ResetPasswordInput; } export interface BootstrapUserVariables { input: BootstrapUserInput; } -export interface RemoveNodeAtPathVariables { - input: RemoveNodeAtPathInput; +export interface SetFieldOrderVariables { + input: SetFieldOrderInput; } export interface SetDataAtPathVariables { input: SetDataAtPathInput; @@ -150,6 +153,18 @@ export interface SetPropsAndCommitVariables { export interface ProvisionDatabaseWithUserVariables { input: ProvisionDatabaseWithUserInput; } +export interface InsertNodeAtPathVariables { + input: InsertNodeAtPathInput; +} +export interface UpdateNodeAtPathVariables { + input: UpdateNodeAtPathInput; +} +export interface SetAndCommitVariables { + input: SetAndCommitInput; +} +export interface ApplyRlsVariables { + input: ApplyRlsInput; +} export interface SignInOneTimeTokenVariables { input: SignInOneTimeTokenInput; } @@ -184,24 +199,9 @@ export interface SignInVariables { export interface SignUpVariables { input: SignUpInput; } -export interface SetFieldOrderVariables { - input: SetFieldOrderInput; -} export interface OneTimeTokenVariables { input: OneTimeTokenInput; } -export interface InsertNodeAtPathVariables { - input: InsertNodeAtPathInput; -} -export interface UpdateNodeAtPathVariables { - input: UpdateNodeAtPathInput; -} -export interface SetAndCommitVariables { - input: SetAndCommitInput; -} -export interface ApplyRlsVariables { - input: ApplyRlsInput; -} export interface ForgotPasswordVariables { input: ForgotPasswordInput; } @@ -506,6 +506,35 @@ export function createMutationOperations(client: OrmClient) { 'VerifyEmailPayload' ), }), + removeNodeAtPath: ( + args: RemoveNodeAtPathVariables, + options: { + select: S; + } & StrictSelect + ) => + new QueryBuilder<{ + removeNodeAtPath: InferSelectResult | null; + }>({ + client, + operation: 'mutation', + operationName: 'RemoveNodeAtPath', + fieldName: 'removeNodeAtPath', + ...buildCustomDocument( + 'mutation', + 'RemoveNodeAtPath', + 'removeNodeAtPath', + options.select, + args, + [ + { + name: 'input', + type: 'RemoveNodeAtPathInput!', + }, + ], + connectionFieldsMap, + 'RemoveNodeAtPathPayload' + ), + }), resetPassword: ( args: ResetPasswordVariables, options: { @@ -564,33 +593,33 @@ export function createMutationOperations(client: OrmClient) { 'BootstrapUserPayload' ), }), - removeNodeAtPath: ( - args: RemoveNodeAtPathVariables, + setFieldOrder: ( + args: SetFieldOrderVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - removeNodeAtPath: InferSelectResult | null; + setFieldOrder: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'RemoveNodeAtPath', - fieldName: 'removeNodeAtPath', + operationName: 'SetFieldOrder', + fieldName: 'setFieldOrder', ...buildCustomDocument( 'mutation', - 'RemoveNodeAtPath', - 'removeNodeAtPath', + 'SetFieldOrder', + 'setFieldOrder', options.select, args, [ { name: 'input', - type: 'RemoveNodeAtPathInput!', + type: 'SetFieldOrderInput!', }, ], connectionFieldsMap, - 'RemoveNodeAtPathPayload' + 'SetFieldOrderPayload' ), }), setDataAtPath: ( @@ -680,323 +709,294 @@ export function createMutationOperations(client: OrmClient) { 'ProvisionDatabaseWithUserPayload' ), }), - signInOneTimeToken: ( - args: SignInOneTimeTokenVariables, - options: { - select: S; - } & StrictSelect - ) => - new QueryBuilder<{ - signInOneTimeToken: InferSelectResult | null; - }>({ - client, - operation: 'mutation', - operationName: 'SignInOneTimeToken', - fieldName: 'signInOneTimeToken', - ...buildCustomDocument( - 'mutation', - 'SignInOneTimeToken', - 'signInOneTimeToken', - options.select, - args, - [ - { - name: 'input', - type: 'SignInOneTimeTokenInput!', - }, - ], - connectionFieldsMap, - 'SignInOneTimeTokenPayload' - ), - }), - createUserDatabase: ( - args: CreateUserDatabaseVariables, + insertNodeAtPath: ( + args: InsertNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - createUserDatabase: InferSelectResult | null; + insertNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'CreateUserDatabase', - fieldName: 'createUserDatabase', + operationName: 'InsertNodeAtPath', + fieldName: 'insertNodeAtPath', ...buildCustomDocument( 'mutation', - 'CreateUserDatabase', - 'createUserDatabase', + 'InsertNodeAtPath', + 'insertNodeAtPath', options.select, args, [ { name: 'input', - type: 'CreateUserDatabaseInput!', + type: 'InsertNodeAtPathInput!', }, ], connectionFieldsMap, - 'CreateUserDatabasePayload' + 'InsertNodeAtPathPayload' ), }), - extendTokenExpires: ( - args: ExtendTokenExpiresVariables, + updateNodeAtPath: ( + args: UpdateNodeAtPathVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - extendTokenExpires: InferSelectResult | null; + updateNodeAtPath: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'ExtendTokenExpires', - fieldName: 'extendTokenExpires', + operationName: 'UpdateNodeAtPath', + fieldName: 'updateNodeAtPath', ...buildCustomDocument( 'mutation', - 'ExtendTokenExpires', - 'extendTokenExpires', + 'UpdateNodeAtPath', + 'updateNodeAtPath', options.select, args, [ { name: 'input', - type: 'ExtendTokenExpiresInput!', + type: 'UpdateNodeAtPathInput!', }, ], connectionFieldsMap, - 'ExtendTokenExpiresPayload' + 'UpdateNodeAtPathPayload' ), }), - signIn: ( - args: SignInVariables, + setAndCommit: ( + args: SetAndCommitVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - signIn: InferSelectResult | null; + setAndCommit: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SignIn', - fieldName: 'signIn', + operationName: 'SetAndCommit', + fieldName: 'setAndCommit', ...buildCustomDocument( 'mutation', - 'SignIn', - 'signIn', + 'SetAndCommit', + 'setAndCommit', options.select, args, [ { name: 'input', - type: 'SignInInput!', + type: 'SetAndCommitInput!', }, ], connectionFieldsMap, - 'SignInPayload' + 'SetAndCommitPayload' ), }), - signUp: ( - args: SignUpVariables, + applyRls: ( + args: ApplyRlsVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - signUp: InferSelectResult | null; + applyRls: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SignUp', - fieldName: 'signUp', + operationName: 'ApplyRls', + fieldName: 'applyRls', ...buildCustomDocument( 'mutation', - 'SignUp', - 'signUp', + 'ApplyRls', + 'applyRls', options.select, args, [ { name: 'input', - type: 'SignUpInput!', + type: 'ApplyRlsInput!', }, ], connectionFieldsMap, - 'SignUpPayload' + 'ApplyRlsPayload' ), }), - setFieldOrder: ( - args: SetFieldOrderVariables, + signInOneTimeToken: ( + args: SignInOneTimeTokenVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - setFieldOrder: InferSelectResult | null; + signInOneTimeToken: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SetFieldOrder', - fieldName: 'setFieldOrder', + operationName: 'SignInOneTimeToken', + fieldName: 'signInOneTimeToken', ...buildCustomDocument( 'mutation', - 'SetFieldOrder', - 'setFieldOrder', + 'SignInOneTimeToken', + 'signInOneTimeToken', options.select, args, [ { name: 'input', - type: 'SetFieldOrderInput!', + type: 'SignInOneTimeTokenInput!', }, ], connectionFieldsMap, - 'SetFieldOrderPayload' + 'SignInOneTimeTokenPayload' ), }), - oneTimeToken: ( - args: OneTimeTokenVariables, + createUserDatabase: ( + args: CreateUserDatabaseVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - oneTimeToken: InferSelectResult | null; + createUserDatabase: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'OneTimeToken', - fieldName: 'oneTimeToken', + operationName: 'CreateUserDatabase', + fieldName: 'createUserDatabase', ...buildCustomDocument( 'mutation', - 'OneTimeToken', - 'oneTimeToken', + 'CreateUserDatabase', + 'createUserDatabase', options.select, args, [ { name: 'input', - type: 'OneTimeTokenInput!', + type: 'CreateUserDatabaseInput!', }, ], connectionFieldsMap, - 'OneTimeTokenPayload' + 'CreateUserDatabasePayload' ), }), - insertNodeAtPath: ( - args: InsertNodeAtPathVariables, + extendTokenExpires: ( + args: ExtendTokenExpiresVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - insertNodeAtPath: InferSelectResult | null; + extendTokenExpires: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'InsertNodeAtPath', - fieldName: 'insertNodeAtPath', + operationName: 'ExtendTokenExpires', + fieldName: 'extendTokenExpires', ...buildCustomDocument( 'mutation', - 'InsertNodeAtPath', - 'insertNodeAtPath', + 'ExtendTokenExpires', + 'extendTokenExpires', options.select, args, [ { name: 'input', - type: 'InsertNodeAtPathInput!', + type: 'ExtendTokenExpiresInput!', }, ], connectionFieldsMap, - 'InsertNodeAtPathPayload' + 'ExtendTokenExpiresPayload' ), }), - updateNodeAtPath: ( - args: UpdateNodeAtPathVariables, + signIn: ( + args: SignInVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - updateNodeAtPath: InferSelectResult | null; + signIn: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'UpdateNodeAtPath', - fieldName: 'updateNodeAtPath', + operationName: 'SignIn', + fieldName: 'signIn', ...buildCustomDocument( 'mutation', - 'UpdateNodeAtPath', - 'updateNodeAtPath', + 'SignIn', + 'signIn', options.select, args, [ { name: 'input', - type: 'UpdateNodeAtPathInput!', + type: 'SignInInput!', }, ], connectionFieldsMap, - 'UpdateNodeAtPathPayload' + 'SignInPayload' ), }), - setAndCommit: ( - args: SetAndCommitVariables, + signUp: ( + args: SignUpVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - setAndCommit: InferSelectResult | null; + signUp: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'SetAndCommit', - fieldName: 'setAndCommit', + operationName: 'SignUp', + fieldName: 'signUp', ...buildCustomDocument( 'mutation', - 'SetAndCommit', - 'setAndCommit', + 'SignUp', + 'signUp', options.select, args, [ { name: 'input', - type: 'SetAndCommitInput!', + type: 'SignUpInput!', }, ], connectionFieldsMap, - 'SetAndCommitPayload' + 'SignUpPayload' ), }), - applyRls: ( - args: ApplyRlsVariables, + oneTimeToken: ( + args: OneTimeTokenVariables, options: { select: S; - } & StrictSelect + } & StrictSelect ) => new QueryBuilder<{ - applyRls: InferSelectResult | null; + oneTimeToken: InferSelectResult | null; }>({ client, operation: 'mutation', - operationName: 'ApplyRls', - fieldName: 'applyRls', + operationName: 'OneTimeToken', + fieldName: 'oneTimeToken', ...buildCustomDocument( 'mutation', - 'ApplyRls', - 'applyRls', + 'OneTimeToken', + 'oneTimeToken', options.select, args, [ { name: 'input', - type: 'ApplyRlsInput!', + type: 'OneTimeTokenInput!', }, ], connectionFieldsMap, - 'ApplyRlsPayload' + 'OneTimeTokenPayload' ), }), forgotPassword: ( diff --git a/sdk/constructive-sdk/src/public/orm/query/index.ts b/sdk/constructive-sdk/src/public/orm/query/index.ts index 12a89b785..4cf985153 100644 --- a/sdk/constructive-sdk/src/public/orm/query/index.ts +++ b/sdk/constructive-sdk/src/public/orm/query/index.ts @@ -11,9 +11,9 @@ import type { User, ObjectSelect, UserSelect, + ObjectConnection, AppPermissionConnection, OrgPermissionConnection, - ObjectConnection, AppLevelRequirementConnection, } from '../input-types'; import { connectionFieldsMap } from '../input-types'; @@ -50,8 +50,9 @@ export interface AppPermissionsGetMaskByNamesVariables { export interface OrgPermissionsGetMaskByNamesVariables { names?: string[]; } -export interface AppPermissionsGetByMaskVariables { - mask?: string; +export interface GetAllObjectsFromRootVariables { + databaseId?: string; + id?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -62,8 +63,10 @@ export interface AppPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface OrgPermissionsGetByMaskVariables { - mask?: string; +export interface GetPathObjectsFromRootVariables { + databaseId?: string; + id?: string; + path?: string[]; /** Only read the first `n` values of the set. */ first?: number; /** @@ -74,9 +77,14 @@ export interface OrgPermissionsGetByMaskVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetAllObjectsFromRootVariables { - databaseId?: string; - id?: string; +export interface GetObjectAtPathVariables { + dbId?: string; + storeId?: string; + path?: string[]; + refname?: string; +} +export interface AppPermissionsGetByMaskVariables { + mask?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -87,10 +95,8 @@ export interface GetAllObjectsFromRootVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetPathObjectsFromRootVariables { - databaseId?: string; - id?: string; - path?: string[]; +export interface OrgPermissionsGetByMaskVariables { + mask?: string; /** Only read the first `n` values of the set. */ first?: number; /** @@ -101,12 +107,6 @@ export interface GetPathObjectsFromRootVariables { /** Read all values in the set after (below) this cursor. */ after?: string; } -export interface GetObjectAtPathVariables { - dbId?: string; - storeId?: string; - path?: string[]; - refname?: string; -} export interface StepsRequiredVariables { vlevel?: string; vroleId?: string; @@ -464,29 +464,33 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - appPermissionsGetByMask: ( - args: AppPermissionsGetByMaskVariables, + getAllObjectsFromRoot: ( + args: GetAllObjectsFromRootVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - appPermissionsGetByMask: AppPermissionConnection | null; + getAllObjectsFromRoot: ObjectConnection | null; }>({ client, operation: 'query', - operationName: 'AppPermissionsGetByMask', - fieldName: 'appPermissionsGetByMask', + operationName: 'GetAllObjectsFromRoot', + fieldName: 'getAllObjectsFromRoot', ...buildCustomDocument( 'query', - 'AppPermissionsGetByMask', - 'appPermissionsGetByMask', + 'GetAllObjectsFromRoot', + 'getAllObjectsFromRoot', options?.select, args, [ { - name: 'mask', - type: 'BitString', + name: 'databaseId', + type: 'UUID', + }, + { + name: 'id', + type: 'UUID', }, { name: 'first', @@ -505,29 +509,37 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - orgPermissionsGetByMask: ( - args: OrgPermissionsGetByMaskVariables, + getPathObjectsFromRoot: ( + args: GetPathObjectsFromRootVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - orgPermissionsGetByMask: OrgPermissionConnection | null; + getPathObjectsFromRoot: ObjectConnection | null; }>({ client, operation: 'query', - operationName: 'OrgPermissionsGetByMask', - fieldName: 'orgPermissionsGetByMask', + operationName: 'GetPathObjectsFromRoot', + fieldName: 'getPathObjectsFromRoot', ...buildCustomDocument( 'query', - 'OrgPermissionsGetByMask', - 'orgPermissionsGetByMask', + 'GetPathObjectsFromRoot', + 'getPathObjectsFromRoot', options?.select, args, [ { - name: 'mask', - type: 'BitString', + name: 'databaseId', + type: 'UUID', + }, + { + name: 'id', + type: 'UUID', + }, + { + name: 'path', + type: '[String]', }, { name: 'first', @@ -546,82 +558,70 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - getAllObjectsFromRoot: ( - args: GetAllObjectsFromRootVariables, - options?: { - select?: Record; - } + getObjectAtPath: ( + args: GetObjectAtPathVariables, + options: { + select: S; + } & StrictSelect ) => new QueryBuilder<{ - getAllObjectsFromRoot: ObjectConnection | null; + getObjectAtPath: InferSelectResult | null; }>({ client, operation: 'query', - operationName: 'GetAllObjectsFromRoot', - fieldName: 'getAllObjectsFromRoot', + operationName: 'GetObjectAtPath', + fieldName: 'getObjectAtPath', ...buildCustomDocument( 'query', - 'GetAllObjectsFromRoot', - 'getAllObjectsFromRoot', - options?.select, + 'GetObjectAtPath', + 'getObjectAtPath', + options.select, args, [ { - name: 'databaseId', + name: 'dbId', type: 'UUID', }, { - name: 'id', + name: 'storeId', type: 'UUID', }, { - name: 'first', - type: 'Int', - }, - { - name: 'offset', - type: 'Int', + name: 'path', + type: '[String]', }, { - name: 'after', - type: 'Cursor', + name: 'refname', + type: 'String', }, ], connectionFieldsMap, - undefined + 'Object' ), }), - getPathObjectsFromRoot: ( - args: GetPathObjectsFromRootVariables, + appPermissionsGetByMask: ( + args: AppPermissionsGetByMaskVariables, options?: { select?: Record; } ) => new QueryBuilder<{ - getPathObjectsFromRoot: ObjectConnection | null; + appPermissionsGetByMask: AppPermissionConnection | null; }>({ client, operation: 'query', - operationName: 'GetPathObjectsFromRoot', - fieldName: 'getPathObjectsFromRoot', + operationName: 'AppPermissionsGetByMask', + fieldName: 'appPermissionsGetByMask', ...buildCustomDocument( 'query', - 'GetPathObjectsFromRoot', - 'getPathObjectsFromRoot', + 'AppPermissionsGetByMask', + 'appPermissionsGetByMask', options?.select, args, [ { - name: 'databaseId', - type: 'UUID', - }, - { - name: 'id', - type: 'UUID', - }, - { - name: 'path', - type: '[String]', + name: 'mask', + type: 'BitString', }, { name: 'first', @@ -640,45 +640,45 @@ export function createQueryOperations(client: OrmClient) { undefined ), }), - getObjectAtPath: ( - args: GetObjectAtPathVariables, - options: { - select: S; - } & StrictSelect + orgPermissionsGetByMask: ( + args: OrgPermissionsGetByMaskVariables, + options?: { + select?: Record; + } ) => new QueryBuilder<{ - getObjectAtPath: InferSelectResult | null; + orgPermissionsGetByMask: OrgPermissionConnection | null; }>({ client, operation: 'query', - operationName: 'GetObjectAtPath', - fieldName: 'getObjectAtPath', + operationName: 'OrgPermissionsGetByMask', + fieldName: 'orgPermissionsGetByMask', ...buildCustomDocument( 'query', - 'GetObjectAtPath', - 'getObjectAtPath', - options.select, + 'OrgPermissionsGetByMask', + 'orgPermissionsGetByMask', + options?.select, args, [ { - name: 'dbId', - type: 'UUID', + name: 'mask', + type: 'BitString', }, { - name: 'storeId', - type: 'UUID', + name: 'first', + type: 'Int', }, { - name: 'path', - type: '[String]', + name: 'offset', + type: 'Int', }, { - name: 'refname', - type: 'String', + name: 'after', + type: 'Cursor', }, ], connectionFieldsMap, - 'Object' + undefined ), }), stepsRequired: ( diff --git a/skills/cli-admin/SKILL.md b/skills/cli-admin/SKILL.md index c0c7fbd6a..0cf71cd15 100644 --- a/skills/cli-admin/SKILL.md +++ b/skills/cli-admin/SKILL.md @@ -91,9 +91,9 @@ See the `references/` directory for detailed per-entity API documentation: - [app-permissions-get-padded-mask](references/app-permissions-get-padded-mask.md) - [org-permissions-get-padded-mask](references/org-permissions-get-padded-mask.md) - [org-is-manager-of](references/org-is-manager-of.md) -- [steps-achieved](references/steps-achieved.md) - [app-permissions-get-mask](references/app-permissions-get-mask.md) - [org-permissions-get-mask](references/org-permissions-get-mask.md) +- [steps-achieved](references/steps-achieved.md) - [app-permissions-get-mask-by-names](references/app-permissions-get-mask-by-names.md) - [org-permissions-get-mask-by-names](references/org-permissions-get-mask-by-names.md) - [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) diff --git a/skills/cli-auth/references/user.md b/skills/cli-auth/references/user.md index 0ef1bc400..c83058c90 100644 --- a/skills/cli-auth/references/user.md +++ b/skills/cli-auth/references/user.md @@ -9,7 +9,7 @@ CRUD operations for User records via csdk CLI ```bash csdk user list csdk user get --id -csdk user create --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user create --searchTsv --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--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 --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user create --searchTsv --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--type ] ``` ### Get a user by id diff --git a/skills/cli-public/SKILL.md b/skills/cli-public/SKILL.md index 5e9c64865..05413b685 100644 --- a/skills/cli-public/SKILL.md +++ b/skills/cli-public/SKILL.md @@ -59,9 +59,9 @@ See the `references/` directory for detailed per-entity API documentation: - [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) +- [object](references/object.md) - [app-permission](references/app-permission.md) - [org-permission](references/org-permission.md) -- [object](references/object.md) - [app-level-requirement](references/app-level-requirement.md) - [database](references/database.md) - [schema](references/schema.md) @@ -147,17 +147,17 @@ See the `references/` directory for detailed per-entity API documentation: - [connected-account](references/connected-account.md) - [node-type-registry](references/node-type-registry.md) - [membership-type](references/membership-type.md) +- [commit](references/commit.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) - [sql-migration](references/sql-migration.md) - [email](references/email.md) +- [user](references/user.md) - [ast-migration](references/ast-migration.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,11 +171,11 @@ See the `references/` directory for detailed per-entity API documentation: - [org-permissions-get-mask](references/org-permissions-get-mask.md) - [app-permissions-get-mask-by-names](references/app-permissions-get-mask-by-names.md) - [org-permissions-get-mask-by-names](references/org-permissions-get-mask-by-names.md) -- [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) -- [org-permissions-get-by-mask](references/org-permissions-get-by-mask.md) - [get-all-objects-from-root](references/get-all-objects-from-root.md) - [get-path-objects-from-root](references/get-path-objects-from-root.md) - [get-object-at-path](references/get-object-at-path.md) +- [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) +- [org-permissions-get-by-mask](references/org-permissions-get-by-mask.md) - [steps-required](references/steps-required.md) - [current-user](references/current-user.md) - [sign-out](references/sign-out.md) @@ -188,23 +188,23 @@ See the `references/` directory for detailed per-entity API documentation: - [confirm-delete-account](references/confirm-delete-account.md) - [set-password](references/set-password.md) - [verify-email](references/verify-email.md) +- [remove-node-at-path](references/remove-node-at-path.md) - [reset-password](references/reset-password.md) - [bootstrap-user](references/bootstrap-user.md) -- [remove-node-at-path](references/remove-node-at-path.md) +- [set-field-order](references/set-field-order.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) +- [insert-node-at-path](references/insert-node-at-path.md) +- [update-node-at-path](references/update-node-at-path.md) +- [set-and-commit](references/set-and-commit.md) +- [apply-rls](references/apply-rls.md) - [sign-in-one-time-token](references/sign-in-one-time-token.md) - [create-user-database](references/create-user-database.md) - [extend-token-expires](references/extend-token-expires.md) - [sign-in](references/sign-in.md) - [sign-up](references/sign-up.md) -- [set-field-order](references/set-field-order.md) - [one-time-token](references/one-time-token.md) -- [insert-node-at-path](references/insert-node-at-path.md) -- [update-node-at-path](references/update-node-at-path.md) -- [set-and-commit](references/set-and-commit.md) -- [apply-rls](references/apply-rls.md) - [forgot-password](references/forgot-password.md) - [send-verification-email](references/send-verification-email.md) - [verify-password](references/verify-password.md) diff --git a/skills/cli-public/references/user.md b/skills/cli-public/references/user.md index 0ef1bc400..c83058c90 100644 --- a/skills/cli-public/references/user.md +++ b/skills/cli-public/references/user.md @@ -9,7 +9,7 @@ CRUD operations for User records via csdk CLI ```bash csdk user list csdk user get --id -csdk user create --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user create --searchTsv --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--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 --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--searchTsv ] [--type ] +csdk user create --searchTsv --searchTsvRank --displayNameTrgmSimilarity --searchScore [--username ] [--displayName ] [--profilePicture ] [--type ] ``` ### Get a user by id diff --git a/skills/hooks-admin/SKILL.md b/skills/hooks-admin/SKILL.md index 136c4f582..b6595b47b 100644 --- a/skills/hooks-admin/SKILL.md +++ b/skills/hooks-admin/SKILL.md @@ -72,9 +72,9 @@ See the `references/` directory for detailed per-entity API documentation: - [app-permissions-get-padded-mask](references/app-permissions-get-padded-mask.md) - [org-permissions-get-padded-mask](references/org-permissions-get-padded-mask.md) - [org-is-manager-of](references/org-is-manager-of.md) -- [steps-achieved](references/steps-achieved.md) - [app-permissions-get-mask](references/app-permissions-get-mask.md) - [org-permissions-get-mask](references/org-permissions-get-mask.md) +- [steps-achieved](references/steps-achieved.md) - [app-permissions-get-mask-by-names](references/app-permissions-get-mask-by-names.md) - [org-permissions-get-mask-by-names](references/org-permissions-get-mask-by-names.md) - [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) diff --git a/skills/hooks-public/SKILL.md b/skills/hooks-public/SKILL.md index 5c7b8e958..87f9d9063 100644 --- a/skills/hooks-public/SKILL.md +++ b/skills/hooks-public/SKILL.md @@ -40,9 +40,9 @@ See the `references/` directory for detailed per-entity API documentation: - [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) +- [object](references/object.md) - [app-permission](references/app-permission.md) - [org-permission](references/org-permission.md) -- [object](references/object.md) - [app-level-requirement](references/app-level-requirement.md) - [database](references/database.md) - [schema](references/schema.md) @@ -128,17 +128,17 @@ See the `references/` directory for detailed per-entity API documentation: - [connected-account](references/connected-account.md) - [node-type-registry](references/node-type-registry.md) - [membership-type](references/membership-type.md) +- [commit](references/commit.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) - [sql-migration](references/sql-migration.md) - [email](references/email.md) +- [user](references/user.md) - [ast-migration](references/ast-migration.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) @@ -152,11 +152,11 @@ See the `references/` directory for detailed per-entity API documentation: - [org-permissions-get-mask](references/org-permissions-get-mask.md) - [app-permissions-get-mask-by-names](references/app-permissions-get-mask-by-names.md) - [org-permissions-get-mask-by-names](references/org-permissions-get-mask-by-names.md) -- [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) -- [org-permissions-get-by-mask](references/org-permissions-get-by-mask.md) - [get-all-objects-from-root](references/get-all-objects-from-root.md) - [get-path-objects-from-root](references/get-path-objects-from-root.md) - [get-object-at-path](references/get-object-at-path.md) +- [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) +- [org-permissions-get-by-mask](references/org-permissions-get-by-mask.md) - [steps-required](references/steps-required.md) - [current-user](references/current-user.md) - [sign-out](references/sign-out.md) @@ -169,23 +169,23 @@ See the `references/` directory for detailed per-entity API documentation: - [confirm-delete-account](references/confirm-delete-account.md) - [set-password](references/set-password.md) - [verify-email](references/verify-email.md) +- [remove-node-at-path](references/remove-node-at-path.md) - [reset-password](references/reset-password.md) - [bootstrap-user](references/bootstrap-user.md) -- [remove-node-at-path](references/remove-node-at-path.md) +- [set-field-order](references/set-field-order.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) +- [insert-node-at-path](references/insert-node-at-path.md) +- [update-node-at-path](references/update-node-at-path.md) +- [set-and-commit](references/set-and-commit.md) +- [apply-rls](references/apply-rls.md) - [sign-in-one-time-token](references/sign-in-one-time-token.md) - [create-user-database](references/create-user-database.md) - [extend-token-expires](references/extend-token-expires.md) - [sign-in](references/sign-in.md) - [sign-up](references/sign-up.md) -- [set-field-order](references/set-field-order.md) - [one-time-token](references/one-time-token.md) -- [insert-node-at-path](references/insert-node-at-path.md) -- [update-node-at-path](references/update-node-at-path.md) -- [set-and-commit](references/set-and-commit.md) -- [apply-rls](references/apply-rls.md) - [forgot-password](references/forgot-password.md) - [send-verification-email](references/send-verification-email.md) - [verify-password](references/verify-password.md) diff --git a/skills/orm-admin/SKILL.md b/skills/orm-admin/SKILL.md index 26fff5bbf..fedb63474 100644 --- a/skills/orm-admin/SKILL.md +++ b/skills/orm-admin/SKILL.md @@ -72,9 +72,9 @@ See the `references/` directory for detailed per-entity API documentation: - [app-permissions-get-padded-mask](references/app-permissions-get-padded-mask.md) - [org-permissions-get-padded-mask](references/org-permissions-get-padded-mask.md) - [org-is-manager-of](references/org-is-manager-of.md) -- [steps-achieved](references/steps-achieved.md) - [app-permissions-get-mask](references/app-permissions-get-mask.md) - [org-permissions-get-mask](references/org-permissions-get-mask.md) +- [steps-achieved](references/steps-achieved.md) - [app-permissions-get-mask-by-names](references/app-permissions-get-mask-by-names.md) - [org-permissions-get-mask-by-names](references/org-permissions-get-mask-by-names.md) - [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) diff --git a/skills/orm-public/SKILL.md b/skills/orm-public/SKILL.md index f79010165..7bba5c906 100644 --- a/skills/orm-public/SKILL.md +++ b/skills/orm-public/SKILL.md @@ -15,7 +15,7 @@ ORM client for the public API — provides typed CRUD operations for 103 tables // Import the ORM client import { db } from './orm'; -// Available models: orgGetManagersRecord, orgGetSubordinatesRecord, getAllRecord, appPermission, orgPermission, object, appLevelRequirement, database, ... +// Available models: orgGetManagersRecord, orgGetSubordinatesRecord, getAllRecord, object, appPermission, orgPermission, appLevelRequirement, database, ... db..findMany({ select: { id: true } }).execute() db..findOne({ id: '', select: { id: true } }).execute() db..create({ data: { ... }, select: { id: true } }).execute() @@ -40,9 +40,9 @@ See the `references/` directory for detailed per-entity API documentation: - [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) +- [object](references/object.md) - [app-permission](references/app-permission.md) - [org-permission](references/org-permission.md) -- [object](references/object.md) - [app-level-requirement](references/app-level-requirement.md) - [database](references/database.md) - [schema](references/schema.md) @@ -128,17 +128,17 @@ See the `references/` directory for detailed per-entity API documentation: - [connected-account](references/connected-account.md) - [node-type-registry](references/node-type-registry.md) - [membership-type](references/membership-type.md) +- [commit](references/commit.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) - [sql-migration](references/sql-migration.md) - [email](references/email.md) +- [user](references/user.md) - [ast-migration](references/ast-migration.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) @@ -152,11 +152,11 @@ See the `references/` directory for detailed per-entity API documentation: - [org-permissions-get-mask](references/org-permissions-get-mask.md) - [app-permissions-get-mask-by-names](references/app-permissions-get-mask-by-names.md) - [org-permissions-get-mask-by-names](references/org-permissions-get-mask-by-names.md) -- [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) -- [org-permissions-get-by-mask](references/org-permissions-get-by-mask.md) - [get-all-objects-from-root](references/get-all-objects-from-root.md) - [get-path-objects-from-root](references/get-path-objects-from-root.md) - [get-object-at-path](references/get-object-at-path.md) +- [app-permissions-get-by-mask](references/app-permissions-get-by-mask.md) +- [org-permissions-get-by-mask](references/org-permissions-get-by-mask.md) - [steps-required](references/steps-required.md) - [current-user](references/current-user.md) - [sign-out](references/sign-out.md) @@ -169,23 +169,23 @@ See the `references/` directory for detailed per-entity API documentation: - [confirm-delete-account](references/confirm-delete-account.md) - [set-password](references/set-password.md) - [verify-email](references/verify-email.md) +- [remove-node-at-path](references/remove-node-at-path.md) - [reset-password](references/reset-password.md) - [bootstrap-user](references/bootstrap-user.md) -- [remove-node-at-path](references/remove-node-at-path.md) +- [set-field-order](references/set-field-order.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) +- [insert-node-at-path](references/insert-node-at-path.md) +- [update-node-at-path](references/update-node-at-path.md) +- [set-and-commit](references/set-and-commit.md) +- [apply-rls](references/apply-rls.md) - [sign-in-one-time-token](references/sign-in-one-time-token.md) - [create-user-database](references/create-user-database.md) - [extend-token-expires](references/extend-token-expires.md) - [sign-in](references/sign-in.md) - [sign-up](references/sign-up.md) -- [set-field-order](references/set-field-order.md) - [one-time-token](references/one-time-token.md) -- [insert-node-at-path](references/insert-node-at-path.md) -- [update-node-at-path](references/update-node-at-path.md) -- [set-and-commit](references/set-and-commit.md) -- [apply-rls](references/apply-rls.md) - [forgot-password](references/forgot-password.md) - [send-verification-email](references/send-verification-email.md) - [verify-password](references/verify-password.md)