@constructive-io/react 1.21.34 → 1.21.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/mutations/index.d.ts +0 -4
- package/admin/hooks/mutations/index.js +0 -4
- package/admin/orm/input-types.d.ts +32 -32
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingAppInvitesRecord.js +0 -11
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingOrgInvitesRecord.js +0 -11
- package/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/admin/orm/models/orgGetManagersRecord.js +0 -11
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/admin/orm/models/orgGetSubordinatesRecord.js +0 -11
- package/admin/orm/query-builder.js +1 -3
- package/admin/orm/select-types.d.ts +1 -1
- package/admin/schema-types.d.ts +54 -19
- package/admin/types.d.ts +3 -0
- package/agent/orm/input-types.d.ts +36 -8
- package/agent/orm/query-builder.js +1 -3
- package/agent/orm/select-types.d.ts +1 -1
- package/agent/schema-types.d.ts +76 -29
- package/agent/types.d.ts +4 -0
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +3 -5
- package/api/hooks/mutations/index.js +3 -5
- package/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +6 -6
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js +39 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +2 -4
- package/api/hooks/queries/index.js +2 -4
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.js +53 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +14 -8
- package/api/hooks/query-keys.js +10 -6
- package/api/orm/index.d.ts +2 -20
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +281 -159
- package/api/orm/models/astMigration.d.ts +2 -9
- package/api/orm/models/astMigration.js +0 -11
- package/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/getSitePreviewsRecord.js +0 -11
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/api/orm/models/listSuspendedDatabasesRecord.js +0 -11
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/platformGetSitePreviewsRecord.js +0 -11
- package/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/api/orm/models/platformReservedSubdomain.js +104 -0
- package/api/orm/models/sqlAction.d.ts +2 -9
- package/api/orm/models/sqlAction.js +0 -11
- package/api/orm/query/index.d.ts +0 -37
- package/api/orm/query/index.js +0 -60
- package/api/orm/query-builder.js +1 -3
- package/api/orm/select-types.d.ts +1 -1
- package/api/schema-types.d.ts +161 -88
- package/api/types.d.ts +29 -5
- package/auth/hooks/mutation-keys.d.ts +8 -0
- package/auth/hooks/mutation-keys.js +12 -0
- package/auth/hooks/mutations/index.d.ts +4 -6
- package/auth/hooks/mutations/index.js +4 -6
- package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/auth/hooks/mutations/useCreatePrincipalMutation.js +4 -12
- package/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
- package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useRequestDeviceApprovalMutation.js} +6 -14
- package/auth/hooks/queries/index.d.ts +1 -0
- package/auth/hooks/queries/index.js +1 -0
- package/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +15 -19
- package/auth/hooks/query-keys.d.ts +2 -0
- package/auth/hooks/query-keys.js +1 -0
- package/auth/orm/index.d.ts +25 -0
- package/auth/orm/input-types.d.ts +159 -78
- package/auth/orm/models/identityProvider.d.ts +2 -9
- package/auth/orm/models/identityProvider.js +0 -11
- package/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/auth/orm/models/orgApiKeyList.js +0 -11
- package/auth/orm/models/principal.d.ts +2 -9
- package/auth/orm/models/principal.js +0 -11
- package/auth/orm/models/principalEntity.d.ts +2 -9
- package/auth/orm/models/principalEntity.js +0 -11
- package/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/auth/orm/models/principalScopeOverride.js +0 -11
- package/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/auth/orm/models/userConnectedAccount.js +0 -11
- package/auth/orm/mutation/index.d.ts +37 -1
- package/auth/orm/mutation/index.js +48 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/auth/orm/query-builder.js +1 -3
- package/auth/orm/select-types.d.ts +1 -1
- package/auth/schema-types.d.ts +119 -20
- package/auth/types.d.ts +3 -0
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -12
- package/compute/hooks/invalidation.js +32 -32
- package/compute/hooks/mutation-keys.d.ts +26 -24
- package/compute/hooks/mutation-keys.js +23 -20
- package/compute/hooks/mutations/index.d.ts +7 -24
- package/compute/hooks/mutations/index.js +7 -24
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.js +4 -12
- package/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/compute/hooks/mutations/{useCreateBuilderBindingMutation.js → useCreateServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeleteBuilderBindingMutation.js → useDeleteServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +9 -9
- package/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdateBuilderBindingMutation.js → useUpdateServiceBindingMutation.js} +9 -9
- package/compute/hooks/queries/index.d.ts +4 -4
- package/compute/hooks/queries/index.js +4 -4
- package/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.js +38 -0
- package/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/{useBuilderBindingsQuery.js → useServiceBindingsQuery.js} +14 -14
- package/compute/hooks/query-keys.d.ts +28 -28
- package/compute/hooks/query-keys.js +19 -19
- package/compute/orm/index.d.ts +9 -4
- package/compute/orm/index.js +4 -4
- package/compute/orm/input-types.d.ts +965 -1025
- package/compute/orm/input-types.js +8 -8
- package/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/compute/orm/models/databaseFunctionGraph.js +0 -11
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/functionGraph.d.ts +2 -9
- package/compute/orm/models/functionGraph.js +0 -11
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/getAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/index.d.ts +2 -2
- package/compute/orm/models/index.js +7 -7
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/platformResourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/platformResourceObservedStorage.js +0 -11
- package/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/compute/orm/models/platformResourceUtilization.js +0 -11
- package/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/compute/orm/models/platformResourcesHealth.js +0 -11
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/platformResourcesRequirementsState.js +0 -11
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/platformResourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +27 -27
- package/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/resourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/resourceObservedStorage.js +0 -11
- package/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/compute/orm/models/resourceUtilization.js +0 -11
- package/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/compute/orm/models/resourcesHealth.js +0 -11
- package/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/resourcesRequirementsState.js +0 -11
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/resourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/serviceBinding.d.ts +54 -0
- package/compute/orm/models/{builderBinding.js → serviceBinding.js} +27 -27
- package/compute/orm/mutation/index.d.ts +9 -1
- package/compute/orm/mutation/index.js +12 -0
- package/compute/orm/query-builder.js +1 -3
- package/compute/orm/select-types.d.ts +1 -1
- package/compute/schema-types.d.ts +467 -386
- package/compute/types.d.ts +60 -33
- package/config/hooks/mutations/index.d.ts +0 -5
- package/config/hooks/mutations/index.js +0 -5
- package/config/orm/input-types.d.ts +0 -66
- package/config/orm/models/appInternalSecret.d.ts +2 -9
- package/config/orm/models/appInternalSecret.js +0 -11
- package/config/orm/models/internalSecret.d.ts +2 -9
- package/config/orm/models/internalSecret.js +0 -11
- package/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/config/orm/models/platformInternalSecret.js +0 -11
- package/config/orm/models/platformSecret.d.ts +2 -9
- package/config/orm/models/platformSecret.js +0 -11
- package/config/orm/models/secret.d.ts +2 -9
- package/config/orm/models/secret.js +0 -11
- package/config/orm/query-builder.js +1 -3
- package/config/orm/select-types.d.ts +1 -1
- package/config/schema-types.d.ts +54 -17
- package/esm/admin/hooks/mutations/index.d.ts +0 -4
- package/esm/admin/hooks/mutations/index.js +0 -4
- package/esm/admin/orm/input-types.d.ts +32 -32
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +1 -12
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +1 -12
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetManagersRecord.js +1 -12
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +1 -12
- package/esm/admin/orm/query-builder.js +1 -3
- package/esm/admin/orm/select-types.d.ts +1 -1
- package/esm/admin/schema-types.d.ts +54 -19
- package/esm/admin/types.d.ts +3 -0
- package/esm/agent/orm/input-types.d.ts +36 -8
- package/esm/agent/orm/query-builder.js +1 -3
- package/esm/agent/orm/select-types.d.ts +1 -1
- package/esm/agent/schema-types.d.ts +76 -29
- package/esm/agent/types.d.ts +4 -0
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +3 -5
- package/esm/api/hooks/mutations/index.js +3 -5
- package/esm/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/esm/{compute/hooks/mutations/useDeleteBuilderBindingMutation.js → api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js} +8 -8
- package/esm/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/esm/{compute/hooks/mutations/useUpdateBuilderBindingMutation.js → api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js} +10 -10
- package/esm/api/hooks/queries/index.d.ts +2 -4
- package/esm/api/hooks/queries/index.js +2 -4
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +14 -8
- package/esm/api/hooks/query-keys.js +8 -4
- package/esm/api/orm/index.d.ts +2 -20
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +281 -159
- package/esm/api/orm/models/astMigration.d.ts +2 -9
- package/esm/api/orm/models/astMigration.js +1 -12
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/getSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +1 -12
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/esm/api/orm/models/platformReservedSubdomain.js +100 -0
- package/esm/api/orm/models/sqlAction.d.ts +2 -9
- package/esm/api/orm/models/sqlAction.js +1 -12
- package/esm/api/orm/query/index.d.ts +0 -37
- package/esm/api/orm/query/index.js +0 -60
- package/esm/api/orm/query-builder.js +1 -3
- package/esm/api/orm/select-types.d.ts +1 -1
- package/esm/api/schema-types.d.ts +161 -88
- package/esm/api/types.d.ts +29 -5
- package/esm/auth/hooks/mutation-keys.d.ts +8 -0
- package/esm/auth/hooks/mutation-keys.js +12 -0
- package/esm/auth/hooks/mutations/index.d.ts +4 -6
- package/esm/auth/hooks/mutations/index.js +4 -6
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +6 -14
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.js +23 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +23 -0
- package/esm/auth/hooks/queries/index.d.ts +1 -0
- package/esm/auth/hooks/queries/index.js +1 -0
- package/esm/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/esm/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +11 -15
- package/esm/auth/hooks/query-keys.d.ts +2 -0
- package/esm/auth/hooks/query-keys.js +1 -0
- package/esm/auth/orm/index.d.ts +25 -0
- package/esm/auth/orm/input-types.d.ts +159 -78
- package/esm/auth/orm/models/identityProvider.d.ts +2 -9
- package/esm/auth/orm/models/identityProvider.js +1 -12
- package/esm/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/esm/auth/orm/models/orgApiKeyList.js +1 -12
- package/esm/auth/orm/models/principal.d.ts +2 -9
- package/esm/auth/orm/models/principal.js +1 -12
- package/esm/auth/orm/models/principalEntity.d.ts +2 -9
- package/esm/auth/orm/models/principalEntity.js +1 -12
- package/esm/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/esm/auth/orm/models/principalScopeOverride.js +1 -12
- package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/esm/auth/orm/models/userConnectedAccount.js +1 -12
- package/esm/auth/orm/mutation/index.d.ts +37 -1
- package/esm/auth/orm/mutation/index.js +48 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/auth/orm/query-builder.js +1 -3
- package/esm/auth/orm/select-types.d.ts +1 -1
- package/esm/auth/schema-types.d.ts +119 -20
- package/esm/auth/types.d.ts +3 -0
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -12
- package/esm/compute/hooks/invalidation.js +33 -33
- package/esm/compute/hooks/mutation-keys.d.ts +26 -24
- package/esm/compute/hooks/mutation-keys.js +20 -17
- package/esm/compute/hooks/mutations/index.d.ts +7 -24
- package/esm/compute/hooks/mutations/index.js +7 -24
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.js +6 -14
- package/esm/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/esm/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/esm/{api/hooks/mutations/useCreateSqlActionMutation.js → compute/hooks/mutations/useCreateServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +8 -8
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.js +36 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +10 -10
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -4
- package/esm/compute/hooks/queries/index.js +4 -4
- package/esm/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -28
- package/esm/compute/hooks/query-keys.js +16 -16
- package/esm/compute/orm/index.d.ts +9 -4
- package/esm/compute/orm/index.js +4 -4
- package/esm/compute/orm/input-types.d.ts +965 -1025
- package/esm/compute/orm/input-types.js +8 -8
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/esm/compute/orm/models/databaseFunctionGraph.js +1 -12
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/functionGraph.d.ts +2 -9
- package/esm/compute/orm/models/functionGraph.js +1 -12
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/index.d.ts +2 -2
- package/esm/compute/orm/models/index.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceUtilization.js +1 -12
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesHealth.js +1 -12
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +25 -25
- package/esm/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/resourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/resourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/resourceUtilization.js +1 -12
- package/esm/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/resourcesHealth.js +1 -12
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/resourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/serviceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{builderBinding.js → serviceBinding.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +9 -1
- package/esm/compute/orm/mutation/index.js +12 -0
- package/esm/compute/orm/query-builder.js +1 -3
- package/esm/compute/orm/select-types.d.ts +1 -1
- package/esm/compute/schema-types.d.ts +467 -386
- package/esm/compute/types.d.ts +60 -33
- package/esm/config/hooks/mutations/index.d.ts +0 -5
- package/esm/config/hooks/mutations/index.js +0 -5
- package/esm/config/orm/input-types.d.ts +0 -66
- package/esm/config/orm/models/appInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/appInternalSecret.js +1 -12
- package/esm/config/orm/models/internalSecret.d.ts +2 -9
- package/esm/config/orm/models/internalSecret.js +1 -12
- package/esm/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/platformInternalSecret.js +1 -12
- package/esm/config/orm/models/platformSecret.d.ts +2 -9
- package/esm/config/orm/models/platformSecret.js +1 -12
- package/esm/config/orm/models/secret.d.ts +2 -9
- package/esm/config/orm/models/secret.js +1 -12
- package/esm/config/orm/query-builder.js +1 -3
- package/esm/config/orm/select-types.d.ts +1 -1
- package/esm/config/schema-types.d.ts +54 -17
- package/esm/infra/hooks/mutations/index.d.ts +0 -1
- package/esm/infra/hooks/mutations/index.js +0 -1
- package/esm/infra/orm/input-types.d.ts +0 -7
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/infra/orm/query-builder.js +1 -3
- package/esm/infra/orm/select-types.d.ts +1 -1
- package/esm/infra/schema-types.d.ts +54 -17
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/esm/modules/orm/input-types.d.ts +95 -38
- package/esm/modules/orm/mutation/index.d.ts +1 -1
- package/esm/modules/orm/query-builder.js +1 -3
- package/esm/modules/orm/select-types.d.ts +1 -1
- package/esm/modules/schema-types.d.ts +104 -39
- package/esm/modules/types.d.ts +10 -3
- package/esm/objects/hooks/mutations/index.d.ts +0 -1
- package/esm/objects/hooks/mutations/index.js +0 -1
- package/esm/objects/orm/input-types.d.ts +0 -7
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/objects/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/objects/orm/query-builder.js +1 -3
- package/esm/objects/orm/select-types.d.ts +1 -1
- package/esm/objects/schema-types.d.ts +54 -17
- package/esm/remote/hooks/queries/index.d.ts +1 -0
- package/esm/remote/hooks/queries/index.js +1 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.js +43 -0
- package/esm/remote/hooks/query-keys.d.ts +6 -0
- package/esm/remote/hooks/query-keys.js +7 -0
- package/esm/remote/orm/index.d.ts +8 -0
- package/esm/remote/orm/index.js +3 -0
- package/esm/remote/orm/query/index.d.ts +14 -0
- package/esm/remote/orm/query/index.js +13 -0
- package/esm/remote/orm/query-builder.js +1 -3
- package/esm/remote/orm/select-types.d.ts +1 -1
- package/esm/remote/schema-types.d.ts +54 -17
- package/esm/storage/hooks/mutations/index.d.ts +0 -2
- package/esm/storage/hooks/mutations/index.js +0 -2
- package/esm/storage/orm/input-types.d.ts +84 -139
- package/esm/storage/orm/models/file.d.ts +2 -9
- package/esm/storage/orm/models/file.js +1 -12
- package/esm/storage/orm/models/platformFile.d.ts +2 -9
- package/esm/storage/orm/models/platformFile.js +1 -12
- package/esm/storage/orm/query-builder.js +1 -3
- package/esm/storage/orm/select-types.d.ts +1 -1
- package/esm/storage/schema-types.d.ts +79 -112
- package/esm/storage/types.d.ts +7 -0
- package/esm/usage/orm/query-builder.js +1 -3
- package/esm/usage/orm/select-types.d.ts +1 -1
- package/esm/usage/schema-types.d.ts +54 -17
- package/infra/hooks/mutations/index.d.ts +0 -1
- package/infra/hooks/mutations/index.js +0 -1
- package/infra/orm/input-types.d.ts +0 -7
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/infra/orm/query-builder.js +1 -3
- package/infra/orm/select-types.d.ts +1 -1
- package/infra/schema-types.d.ts +54 -17
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/modules/orm/input-types.d.ts +95 -38
- package/modules/orm/mutation/index.d.ts +1 -1
- package/modules/orm/query-builder.js +1 -3
- package/modules/orm/select-types.d.ts +1 -1
- package/modules/schema-types.d.ts +104 -39
- package/modules/types.d.ts +10 -3
- package/objects/hooks/mutations/index.d.ts +0 -1
- package/objects/hooks/mutations/index.js +0 -1
- package/objects/orm/input-types.d.ts +0 -7
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/objects/orm/models/getAllTreeNodesRecord.js +0 -11
- package/objects/orm/query-builder.js +1 -3
- package/objects/orm/select-types.d.ts +1 -1
- package/objects/schema-types.d.ts +54 -17
- package/package.json +5 -5
- package/remote/hooks/queries/index.d.ts +1 -0
- package/remote/hooks/queries/index.js +1 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.js +49 -0
- package/remote/hooks/query-keys.d.ts +6 -0
- package/remote/hooks/query-keys.js +8 -1
- package/remote/orm/index.d.ts +8 -0
- package/remote/orm/index.js +5 -1
- package/remote/orm/query/index.d.ts +14 -0
- package/remote/orm/query/index.js +16 -0
- package/remote/orm/query-builder.js +1 -3
- package/remote/orm/select-types.d.ts +1 -1
- package/remote/schema-types.d.ts +54 -17
- package/storage/hooks/mutations/index.d.ts +0 -2
- package/storage/hooks/mutations/index.js +0 -2
- package/storage/orm/input-types.d.ts +84 -139
- package/storage/orm/models/file.d.ts +2 -9
- package/storage/orm/models/file.js +0 -11
- package/storage/orm/models/platformFile.d.ts +2 -9
- package/storage/orm/models/platformFile.js +0 -11
- package/storage/orm/query-builder.js +1 -3
- package/storage/orm/select-types.d.ts +1 -1
- package/storage/schema-types.d.ts +79 -112
- package/storage/types.d.ts +7 -0
- package/usage/orm/query-builder.js +1 -3
- package/usage/orm/select-types.d.ts +1 -1
- package/usage/schema-types.d.ts +54 -17
- package/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/api/hooks/queries/useApiSchemaNamesQuery.js +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.js +0 -53
- package/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -53
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -34
- package/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -38
- package/compute/orm/models/builderBinding.d.ts +0 -54
- package/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -47
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.js +0 -32
- package/esm/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -32
- package/esm/compute/orm/models/builderBinding.d.ts +0 -54
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateSecretMutation.js +0 -31
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreateFileMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -31
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreateFileMutation.js +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Custom query hook for
|
|
2
|
+
* Custom query hook for signInOptions
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -8,39 +8,35 @@ import { getClient } from '../client';
|
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
9
|
import { customQueryKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
13
|
-
const variables = params.variables ?? {};
|
|
11
|
+
export const signInOptionsQueryKey = customQueryKeys.signInOptions;
|
|
12
|
+
export function useSignInOptionsQuery(params) {
|
|
14
13
|
const args = buildSelectionArgs(params.selection);
|
|
15
|
-
const {
|
|
16
|
-
void _variables;
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
17
15
|
void _selection;
|
|
18
16
|
return useQuery({
|
|
19
|
-
queryKey:
|
|
17
|
+
queryKey: signInOptionsQueryKey(),
|
|
20
18
|
queryFn: () => getClient()
|
|
21
|
-
.query.
|
|
19
|
+
.query.signInOptions({
|
|
22
20
|
select: args.select,
|
|
23
21
|
})
|
|
24
22
|
.unwrap(),
|
|
25
23
|
...queryOptions,
|
|
26
24
|
});
|
|
27
25
|
}
|
|
28
|
-
export async function
|
|
29
|
-
const variables = params.variables ?? {};
|
|
26
|
+
export async function fetchSignInOptionsQuery(params) {
|
|
30
27
|
const args = buildSelectionArgs(params.selection);
|
|
31
28
|
return getClient()
|
|
32
|
-
.query.
|
|
29
|
+
.query.signInOptions({
|
|
33
30
|
select: args.select,
|
|
34
31
|
})
|
|
35
32
|
.unwrap();
|
|
36
33
|
}
|
|
37
|
-
export async function
|
|
38
|
-
const variables = params.variables ?? {};
|
|
34
|
+
export async function prefetchSignInOptionsQuery(queryClient, params) {
|
|
39
35
|
const args = buildSelectionArgs(params.selection);
|
|
40
36
|
await queryClient.prefetchQuery({
|
|
41
|
-
queryKey:
|
|
37
|
+
queryKey: signInOptionsQueryKey(),
|
|
42
38
|
queryFn: () => getClient()
|
|
43
|
-
.query.
|
|
39
|
+
.query.signInOptions({
|
|
44
40
|
select: args.select,
|
|
45
41
|
})
|
|
46
42
|
.unwrap(),
|
|
@@ -115,6 +115,7 @@ export declare const customQueryKeys: {
|
|
|
115
115
|
/** Query key for currentUserId */ readonly currentUserId: () => readonly ["currentUserId"];
|
|
116
116
|
/** Query key for getMfaStatus */ readonly getMfaStatus: () => readonly ["getMfaStatus"];
|
|
117
117
|
/** Query key for requireStepUp */ readonly requireStepUp: (variables?: object) => readonly ["requireStepUp", object];
|
|
118
|
+
/** Query key for signInOptions */ readonly signInOptions: () => readonly ["signInOptions"];
|
|
118
119
|
};
|
|
119
120
|
/**
|
|
120
121
|
|
|
@@ -251,6 +252,7 @@ export declare const queryKeys: {
|
|
|
251
252
|
/** Query key for currentUserId */ readonly currentUserId: () => readonly ["currentUserId"];
|
|
252
253
|
/** Query key for getMfaStatus */ readonly getMfaStatus: () => readonly ["getMfaStatus"];
|
|
253
254
|
/** Query key for requireStepUp */ readonly requireStepUp: (variables?: object) => readonly ["requireStepUp", object];
|
|
255
|
+
/** Query key for signInOptions */ readonly signInOptions: () => readonly ["signInOptions"];
|
|
254
256
|
};
|
|
255
257
|
};
|
|
256
258
|
/** Type representing all available query key scopes */
|
|
@@ -131,6 +131,7 @@ export const customQueryKeys = {
|
|
|
131
131
|
/** Query key for currentUserId */ currentUserId: () => ['currentUserId'],
|
|
132
132
|
/** Query key for getMfaStatus */ getMfaStatus: () => ['getMfaStatus'],
|
|
133
133
|
/** Query key for requireStepUp */ requireStepUp: (variables) => ['requireStepUp', variables],
|
|
134
|
+
/** Query key for signInOptions */ signInOptions: () => ['signInOptions'],
|
|
134
135
|
};
|
|
135
136
|
/**
|
|
136
137
|
|
package/esm/auth/orm/index.d.ts
CHANGED
|
@@ -91,6 +91,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
91
91
|
}) => import("./query-builder").QueryBuilder<{
|
|
92
92
|
requireStepUp: boolean | null;
|
|
93
93
|
}>;
|
|
94
|
+
signInOptions: <S extends import("./input-types").SignInOptionsRecordSelect>(options: {
|
|
95
|
+
select: S;
|
|
96
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInOptionsRecordSelect>) => import("./query-builder").QueryBuilder<{
|
|
97
|
+
signInOptions: import("./select-types").InferSelectResult<import("./input-types").SignInOptionsRecord, S> | null;
|
|
98
|
+
}>;
|
|
94
99
|
};
|
|
95
100
|
mutation: {
|
|
96
101
|
approveDevice: <S extends import("./input-types").ApproveDevicePayloadSelect>(args: import("./mutation").ApproveDeviceVariables, options: {
|
|
@@ -138,6 +143,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
138
143
|
} & import("./select-types").StrictSelect<S, import("./input-types").CreateOrgPrincipalPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
139
144
|
createOrgPrincipal: import("./select-types").InferSelectResult<import("./input-types").CreateOrgPrincipalPayload, S> | null;
|
|
140
145
|
}>;
|
|
146
|
+
createPrincipal: <S extends import("./input-types").CreatePrincipalPayloadSelect>(args: import("./mutation").CreatePrincipalVariables, options: {
|
|
147
|
+
select: S;
|
|
148
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CreatePrincipalPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
149
|
+
createPrincipal: import("./select-types").InferSelectResult<import("./input-types").CreatePrincipalPayload, S> | null;
|
|
150
|
+
}>;
|
|
141
151
|
createPrincipalFromPreset: <S extends import("./input-types").CreatePrincipalFromPresetPayloadSelect>(args: import("./mutation").CreatePrincipalFromPresetVariables, options: {
|
|
142
152
|
select: S;
|
|
143
153
|
} & import("./select-types").StrictSelect<S, import("./input-types").CreatePrincipalFromPresetPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -188,6 +198,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
188
198
|
} & import("./select-types").StrictSelect<S, import("./input-types").EnableTotpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
189
199
|
enableTotp: import("./select-types").InferSelectResult<import("./input-types").EnableTotpPayload, S> | null;
|
|
190
200
|
}>;
|
|
201
|
+
ensureAuthCsrf: <S extends import("./input-types").EnsureAuthCsrfPayloadSelect>(args: import("./mutation").EnsureAuthCsrfVariables, options: {
|
|
202
|
+
select: S;
|
|
203
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").EnsureAuthCsrfPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
204
|
+
ensureAuthCsrf: import("./select-types").InferSelectResult<import("./input-types").EnsureAuthCsrfPayload, S> | null;
|
|
205
|
+
}>;
|
|
206
|
+
exchangeNativeHandoff: <S extends import("./input-types").ExchangeNativeHandoffPayloadSelect>(args: import("./mutation").ExchangeNativeHandoffVariables, options: {
|
|
207
|
+
select: S;
|
|
208
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").ExchangeNativeHandoffPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
209
|
+
exchangeNativeHandoff: import("./select-types").InferSelectResult<import("./input-types").ExchangeNativeHandoffPayload, S> | null;
|
|
210
|
+
}>;
|
|
191
211
|
extendTokenExpires: <S extends import("./input-types").ExtendTokenExpiresPayloadSelect>(args: import("./mutation").ExtendTokenExpiresVariables, options: {
|
|
192
212
|
select: S;
|
|
193
213
|
} & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -228,6 +248,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
228
248
|
} & import("./select-types").StrictSelect<S, import("./input-types").RequestCrossOriginTokenPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
229
249
|
requestCrossOriginToken: import("./select-types").InferSelectResult<import("./input-types").RequestCrossOriginTokenPayload, S> | null;
|
|
230
250
|
}>;
|
|
251
|
+
requestDeviceApproval: <S extends import("./input-types").RequestDeviceApprovalPayloadSelect>(args: import("./mutation").RequestDeviceApprovalVariables, options: {
|
|
252
|
+
select: S;
|
|
253
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").RequestDeviceApprovalPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
254
|
+
requestDeviceApproval: import("./select-types").InferSelectResult<import("./input-types").RequestDeviceApprovalPayload, S> | null;
|
|
255
|
+
}>;
|
|
231
256
|
requestMagicLink: <S extends import("./input-types").RequestMagicLinkPayloadSelect>(args: import("./mutation").RequestMagicLinkVariables, options: {
|
|
232
257
|
select: S;
|
|
233
258
|
} & import("./select-types").StrictSelect<S, import("./input-types").RequestMagicLinkPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -399,6 +399,10 @@ export interface User {
|
|
|
399
399
|
displayNameTrgmSimilarity?: number | null;
|
|
400
400
|
id: string;
|
|
401
401
|
profilePicture?: ConstructiveInternalTypeImage | null;
|
|
402
|
+
/** URL to fetch `profilePicture`: the narrowest rendered version at least `width` pixels wide, else the source file. Null when the column names no file the reader can fetch. */
|
|
403
|
+
profilePictureUrl?: string | null;
|
|
404
|
+
/** The versions rendered beside `profilePicture`, narrowest first, each with a URL. Empty when there are none. */
|
|
405
|
+
profilePictureVersions?: FileVersion[] | null;
|
|
402
406
|
/** Composite search relevance score (0..1, higher = more relevant). Computed using Reciprocal Rank Fusion (RRF) across all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */
|
|
403
407
|
searchScore?: number | null;
|
|
404
408
|
searchTsv?: string | null;
|
|
@@ -712,6 +716,15 @@ export type UserSelect = {
|
|
|
712
716
|
displayNameTrgmSimilarity?: boolean;
|
|
713
717
|
id?: boolean;
|
|
714
718
|
profilePicture?: boolean;
|
|
719
|
+
profilePictureUrl?: {
|
|
720
|
+
args: {
|
|
721
|
+
width?: number;
|
|
722
|
+
};
|
|
723
|
+
select?: Record<string, boolean>;
|
|
724
|
+
};
|
|
725
|
+
profilePictureVersions?: {
|
|
726
|
+
select: FileVersionSelect;
|
|
727
|
+
};
|
|
715
728
|
searchScore?: boolean;
|
|
716
729
|
searchTsv?: boolean;
|
|
717
730
|
searchTsvRank?: boolean;
|
|
@@ -1374,15 +1387,6 @@ export interface DeleteEmailInput {
|
|
|
1374
1387
|
clientMutationId?: string;
|
|
1375
1388
|
id: string;
|
|
1376
1389
|
}
|
|
1377
|
-
export interface CreateIdentityProviderInput {
|
|
1378
|
-
clientMutationId?: string;
|
|
1379
|
-
identityProvider: {
|
|
1380
|
-
displayName?: string;
|
|
1381
|
-
enabled?: boolean;
|
|
1382
|
-
kind?: string;
|
|
1383
|
-
slug?: string;
|
|
1384
|
-
};
|
|
1385
|
-
}
|
|
1386
1390
|
export interface IdentityProviderPatch {
|
|
1387
1391
|
displayName?: string | null;
|
|
1388
1392
|
enabled?: boolean | null;
|
|
@@ -1398,20 +1402,6 @@ export interface DeleteIdentityProviderInput {
|
|
|
1398
1402
|
clientMutationId?: string;
|
|
1399
1403
|
id: string;
|
|
1400
1404
|
}
|
|
1401
|
-
export interface CreateOrgApiKeyListInput {
|
|
1402
|
-
clientMutationId?: string;
|
|
1403
|
-
orgApiKeyList: {
|
|
1404
|
-
accessLevel?: string;
|
|
1405
|
-
expiresAt?: string;
|
|
1406
|
-
keyId: string;
|
|
1407
|
-
lastUsedAt?: string;
|
|
1408
|
-
mfaLevel?: string;
|
|
1409
|
-
name?: string;
|
|
1410
|
-
orgId: string;
|
|
1411
|
-
principalId: string;
|
|
1412
|
-
revokedAt?: string;
|
|
1413
|
-
};
|
|
1414
|
-
}
|
|
1415
1405
|
export interface OrgApiKeyListPatch {
|
|
1416
1406
|
accessLevel?: string | null;
|
|
1417
1407
|
expiresAt?: string | null;
|
|
@@ -1460,22 +1450,6 @@ export interface DeletePhoneNumberInput {
|
|
|
1460
1450
|
clientMutationId?: string;
|
|
1461
1451
|
id: string;
|
|
1462
1452
|
}
|
|
1463
|
-
export interface CreatePrincipalInput {
|
|
1464
|
-
clientMutationId?: string;
|
|
1465
|
-
principal: {
|
|
1466
|
-
apiKeyMaxDuration?: string;
|
|
1467
|
-
bypassStepUp?: boolean;
|
|
1468
|
-
createdBySessionId: string;
|
|
1469
|
-
depth?: number;
|
|
1470
|
-
expiresAt?: string;
|
|
1471
|
-
isReadOnly?: boolean;
|
|
1472
|
-
name?: string;
|
|
1473
|
-
ownerId: string;
|
|
1474
|
-
parentPrincipalId: string;
|
|
1475
|
-
useAdminOwner?: boolean;
|
|
1476
|
-
userId: string;
|
|
1477
|
-
};
|
|
1478
|
-
}
|
|
1479
1453
|
export interface PrincipalPatch {
|
|
1480
1454
|
apiKeyMaxDuration?: string | null;
|
|
1481
1455
|
bypassStepUp?: boolean | null;
|
|
@@ -1498,14 +1472,6 @@ export interface DeletePrincipalInput {
|
|
|
1498
1472
|
clientMutationId?: string;
|
|
1499
1473
|
principalId: string;
|
|
1500
1474
|
}
|
|
1501
|
-
export interface CreatePrincipalEntityInput {
|
|
1502
|
-
clientMutationId?: string;
|
|
1503
|
-
principalEntity: {
|
|
1504
|
-
entityId: string;
|
|
1505
|
-
ownerId: string;
|
|
1506
|
-
principalId: string;
|
|
1507
|
-
};
|
|
1508
|
-
}
|
|
1509
1475
|
export interface PrincipalEntityPatch {
|
|
1510
1476
|
entityId?: string | null;
|
|
1511
1477
|
ownerId?: string | null;
|
|
@@ -1520,17 +1486,6 @@ export interface DeletePrincipalEntityInput {
|
|
|
1520
1486
|
clientMutationId?: string;
|
|
1521
1487
|
id: string;
|
|
1522
1488
|
}
|
|
1523
|
-
export interface CreatePrincipalScopeOverrideInput {
|
|
1524
|
-
clientMutationId?: string;
|
|
1525
|
-
principalScopeOverride: {
|
|
1526
|
-
allowedMask?: string;
|
|
1527
|
-
isActive?: boolean;
|
|
1528
|
-
isReadOnly?: boolean;
|
|
1529
|
-
membershipType?: number;
|
|
1530
|
-
principalId: string;
|
|
1531
|
-
useAdminOwner?: boolean;
|
|
1532
|
-
};
|
|
1533
|
-
}
|
|
1534
1489
|
export interface PrincipalScopeOverridePatch {
|
|
1535
1490
|
allowedMask?: string | null;
|
|
1536
1491
|
isActive?: boolean | null;
|
|
@@ -1566,16 +1521,6 @@ export interface DeleteRoleTypeInput {
|
|
|
1566
1521
|
clientMutationId?: string;
|
|
1567
1522
|
id: number;
|
|
1568
1523
|
}
|
|
1569
|
-
export interface CreateUserConnectedAccountInput {
|
|
1570
|
-
clientMutationId?: string;
|
|
1571
|
-
userConnectedAccount: {
|
|
1572
|
-
details?: Record<string, unknown>;
|
|
1573
|
-
identifier?: string;
|
|
1574
|
-
isVerified?: boolean;
|
|
1575
|
-
ownerId: string;
|
|
1576
|
-
service?: string;
|
|
1577
|
-
};
|
|
1578
|
-
}
|
|
1579
1524
|
export interface UserConnectedAccountPatch {
|
|
1580
1525
|
details?: Record<string, unknown> | null;
|
|
1581
1526
|
identifier?: string | null;
|
|
@@ -1604,7 +1549,6 @@ export interface CreateUserInput {
|
|
|
1604
1549
|
export interface UserPatch {
|
|
1605
1550
|
displayName?: string | null;
|
|
1606
1551
|
profilePicture?: ConstructiveInternalTypeImage | null;
|
|
1607
|
-
profilePictureUpload?: File | null;
|
|
1608
1552
|
type?: number | null;
|
|
1609
1553
|
username?: string | null;
|
|
1610
1554
|
}
|
|
@@ -1767,6 +1711,14 @@ export interface CreateOrgPrincipalInput {
|
|
|
1767
1711
|
orgId?: string;
|
|
1768
1712
|
useAdminOwner?: boolean;
|
|
1769
1713
|
}
|
|
1714
|
+
export interface CreatePrincipalInput {
|
|
1715
|
+
bypassStepUp?: boolean;
|
|
1716
|
+
clientMutationId?: string;
|
|
1717
|
+
entityIds?: string[];
|
|
1718
|
+
isReadOnly?: boolean;
|
|
1719
|
+
name?: string;
|
|
1720
|
+
useAdminOwner?: boolean;
|
|
1721
|
+
}
|
|
1770
1722
|
export interface CreatePrincipalFromPresetInput {
|
|
1771
1723
|
clientMutationId?: string;
|
|
1772
1724
|
entityIds?: string[];
|
|
@@ -1801,6 +1753,16 @@ export interface EnableSmsMfaInput {
|
|
|
1801
1753
|
export interface EnableTotpInput {
|
|
1802
1754
|
clientMutationId?: string;
|
|
1803
1755
|
}
|
|
1756
|
+
export interface EnsureAuthCsrfInput {
|
|
1757
|
+
clientMutationId?: string;
|
|
1758
|
+
existingToken?: string;
|
|
1759
|
+
}
|
|
1760
|
+
export interface ExchangeNativeHandoffInput {
|
|
1761
|
+
clientMutationId?: string;
|
|
1762
|
+
code?: string;
|
|
1763
|
+
codeVerifier?: string;
|
|
1764
|
+
credentialKind?: string;
|
|
1765
|
+
}
|
|
1804
1766
|
export interface ExtendTokenExpiresInput {
|
|
1805
1767
|
amount?: IntervalInput;
|
|
1806
1768
|
clientMutationId?: string;
|
|
@@ -1814,7 +1776,7 @@ export interface GenerateBackupCodesInput {
|
|
|
1814
1776
|
}
|
|
1815
1777
|
export interface LinkIdentityInput {
|
|
1816
1778
|
clientMutationId?: string;
|
|
1817
|
-
ticket
|
|
1779
|
+
ticket?: string;
|
|
1818
1780
|
}
|
|
1819
1781
|
export interface MintAccessTokenInput {
|
|
1820
1782
|
accessTtl?: IntervalInput;
|
|
@@ -1842,9 +1804,17 @@ export interface RequestCrossOriginTokenInput {
|
|
|
1842
1804
|
password?: string;
|
|
1843
1805
|
rememberMe?: boolean;
|
|
1844
1806
|
}
|
|
1807
|
+
export interface RequestDeviceApprovalInput {
|
|
1808
|
+
clientMutationId?: string;
|
|
1809
|
+
deviceToken?: string;
|
|
1810
|
+
next?: string;
|
|
1811
|
+
userId?: string;
|
|
1812
|
+
}
|
|
1845
1813
|
export interface RequestMagicLinkInput {
|
|
1846
1814
|
clientMutationId?: string;
|
|
1815
|
+
codeChallenge?: string;
|
|
1847
1816
|
email?: string;
|
|
1817
|
+
nativeRedirectUri?: string;
|
|
1848
1818
|
next?: string;
|
|
1849
1819
|
}
|
|
1850
1820
|
export interface ResetPasswordInput {
|
|
@@ -1895,6 +1865,7 @@ export interface SetPasswordInput {
|
|
|
1895
1865
|
clientMutationId?: string;
|
|
1896
1866
|
currentPassword?: string;
|
|
1897
1867
|
newPassword?: string;
|
|
1868
|
+
signOutOtherSessions?: boolean;
|
|
1898
1869
|
}
|
|
1899
1870
|
export interface SetPrincipalEntitiesInput {
|
|
1900
1871
|
clientMutationId?: string;
|
|
@@ -1969,6 +1940,7 @@ export interface SignUpSmsInput {
|
|
|
1969
1940
|
export interface VerifyEmailInput {
|
|
1970
1941
|
clientMutationId?: string;
|
|
1971
1942
|
emailId?: string;
|
|
1943
|
+
password?: string;
|
|
1972
1944
|
token?: string;
|
|
1973
1945
|
}
|
|
1974
1946
|
export interface VerifyPasswordInput {
|
|
@@ -3322,6 +3294,46 @@ export type GetMfaStatusRecordSelect = {
|
|
|
3322
3294
|
smsMfaEnabled?: boolean;
|
|
3323
3295
|
totpEnabled?: boolean;
|
|
3324
3296
|
};
|
|
3297
|
+
export interface SignInOptionsRecord {
|
|
3298
|
+
allowAnonymousSessions?: boolean | null;
|
|
3299
|
+
allowEmailOtpSignIn?: boolean | null;
|
|
3300
|
+
allowIdentitySignIn?: boolean | null;
|
|
3301
|
+
allowIdentitySignUp?: boolean | null;
|
|
3302
|
+
allowMagicLinkSignIn?: boolean | null;
|
|
3303
|
+
allowMagicLinkSignUp?: boolean | null;
|
|
3304
|
+
allowPasswordSignIn?: boolean | null;
|
|
3305
|
+
allowPasswordSignUp?: boolean | null;
|
|
3306
|
+
allowSignUp?: boolean | null;
|
|
3307
|
+
allowSmsSignIn?: boolean | null;
|
|
3308
|
+
allowSmsSignUp?: boolean | null;
|
|
3309
|
+
allowWebauthnSignIn?: boolean | null;
|
|
3310
|
+
allowWebauthnSignUp?: boolean | null;
|
|
3311
|
+
allowWebauthnUsernameless?: boolean | null;
|
|
3312
|
+
enableCaptcha?: boolean | null;
|
|
3313
|
+
identityProviders?: Record<string, unknown> | null;
|
|
3314
|
+
requireMfa?: boolean | null;
|
|
3315
|
+
signUpRequiresInvite?: boolean | null;
|
|
3316
|
+
}
|
|
3317
|
+
export type SignInOptionsRecordSelect = {
|
|
3318
|
+
allowAnonymousSessions?: boolean;
|
|
3319
|
+
allowEmailOtpSignIn?: boolean;
|
|
3320
|
+
allowIdentitySignIn?: boolean;
|
|
3321
|
+
allowIdentitySignUp?: boolean;
|
|
3322
|
+
allowMagicLinkSignIn?: boolean;
|
|
3323
|
+
allowMagicLinkSignUp?: boolean;
|
|
3324
|
+
allowPasswordSignIn?: boolean;
|
|
3325
|
+
allowPasswordSignUp?: boolean;
|
|
3326
|
+
allowSignUp?: boolean;
|
|
3327
|
+
allowSmsSignIn?: boolean;
|
|
3328
|
+
allowSmsSignUp?: boolean;
|
|
3329
|
+
allowWebauthnSignIn?: boolean;
|
|
3330
|
+
allowWebauthnSignUp?: boolean;
|
|
3331
|
+
allowWebauthnUsernameless?: boolean;
|
|
3332
|
+
enableCaptcha?: boolean;
|
|
3333
|
+
identityProviders?: boolean;
|
|
3334
|
+
requireMfa?: boolean;
|
|
3335
|
+
signUpRequiresInvite?: boolean;
|
|
3336
|
+
};
|
|
3325
3337
|
export interface ApproveDevicePayload {
|
|
3326
3338
|
clientMutationId?: string | null;
|
|
3327
3339
|
result?: boolean | null;
|
|
@@ -3398,6 +3410,14 @@ export type CreateOrgPrincipalPayloadSelect = {
|
|
|
3398
3410
|
clientMutationId?: boolean;
|
|
3399
3411
|
result?: boolean;
|
|
3400
3412
|
};
|
|
3413
|
+
export interface CreatePrincipalPayload {
|
|
3414
|
+
clientMutationId?: string | null;
|
|
3415
|
+
result?: string | null;
|
|
3416
|
+
}
|
|
3417
|
+
export type CreatePrincipalPayloadSelect = {
|
|
3418
|
+
clientMutationId?: boolean;
|
|
3419
|
+
result?: boolean;
|
|
3420
|
+
};
|
|
3401
3421
|
export interface CreatePrincipalFromPresetPayload {
|
|
3402
3422
|
clientMutationId?: string | null;
|
|
3403
3423
|
result?: string | null;
|
|
@@ -3478,6 +3498,24 @@ export type EnableTotpPayloadSelect = {
|
|
|
3478
3498
|
clientMutationId?: boolean;
|
|
3479
3499
|
result?: boolean;
|
|
3480
3500
|
};
|
|
3501
|
+
export interface EnsureAuthCsrfPayload {
|
|
3502
|
+
clientMutationId?: string | null;
|
|
3503
|
+
result?: string | null;
|
|
3504
|
+
}
|
|
3505
|
+
export type EnsureAuthCsrfPayloadSelect = {
|
|
3506
|
+
clientMutationId?: boolean;
|
|
3507
|
+
result?: boolean;
|
|
3508
|
+
};
|
|
3509
|
+
export interface ExchangeNativeHandoffPayload {
|
|
3510
|
+
clientMutationId?: string | null;
|
|
3511
|
+
result?: ExchangeNativeHandoffRecord | null;
|
|
3512
|
+
}
|
|
3513
|
+
export type ExchangeNativeHandoffPayloadSelect = {
|
|
3514
|
+
clientMutationId?: boolean;
|
|
3515
|
+
result?: {
|
|
3516
|
+
select: ExchangeNativeHandoffRecordSelect;
|
|
3517
|
+
};
|
|
3518
|
+
};
|
|
3481
3519
|
export interface ExtendTokenExpiresPayload {
|
|
3482
3520
|
clientMutationId?: string | null;
|
|
3483
3521
|
result?: ExtendTokenExpiresRecord[] | null;
|
|
@@ -3553,6 +3591,14 @@ export type RequestCrossOriginTokenPayloadSelect = {
|
|
|
3553
3591
|
clientMutationId?: boolean;
|
|
3554
3592
|
result?: boolean;
|
|
3555
3593
|
};
|
|
3594
|
+
export interface RequestDeviceApprovalPayload {
|
|
3595
|
+
clientMutationId?: string | null;
|
|
3596
|
+
result?: boolean | null;
|
|
3597
|
+
}
|
|
3598
|
+
export type RequestDeviceApprovalPayloadSelect = {
|
|
3599
|
+
clientMutationId?: boolean;
|
|
3600
|
+
result?: boolean;
|
|
3601
|
+
};
|
|
3556
3602
|
export interface RequestMagicLinkPayload {
|
|
3557
3603
|
clientMutationId?: string | null;
|
|
3558
3604
|
}
|
|
@@ -3963,14 +4009,6 @@ export type DeletePhoneNumberPayloadSelect = {
|
|
|
3963
4009
|
select: PhoneNumberEdgeSelect;
|
|
3964
4010
|
};
|
|
3965
4011
|
};
|
|
3966
|
-
export interface CreatePrincipalPayload {
|
|
3967
|
-
clientMutationId?: string | null;
|
|
3968
|
-
result?: string | null;
|
|
3969
|
-
}
|
|
3970
|
-
export type CreatePrincipalPayloadSelect = {
|
|
3971
|
-
clientMutationId?: boolean;
|
|
3972
|
-
result?: boolean;
|
|
3973
|
-
};
|
|
3974
4012
|
export interface CreateRoleTypePayload {
|
|
3975
4013
|
clientMutationId?: string | null;
|
|
3976
4014
|
/** The `RoleType` that was created by this mutation. */
|
|
@@ -4196,6 +4234,25 @@ export type DeleteWebauthnCredentialPayloadSelect = {
|
|
|
4196
4234
|
select: WebauthnCredentialEdgeSelect;
|
|
4197
4235
|
};
|
|
4198
4236
|
};
|
|
4237
|
+
/** One version rendered beside a file, with a URL to fetch it. */
|
|
4238
|
+
export interface FileVersion {
|
|
4239
|
+
format?: string | null;
|
|
4240
|
+
height?: number | null;
|
|
4241
|
+
key: string;
|
|
4242
|
+
name?: string | null;
|
|
4243
|
+
size?: number | null;
|
|
4244
|
+
url: string;
|
|
4245
|
+
width?: number | null;
|
|
4246
|
+
}
|
|
4247
|
+
export type FileVersionSelect = {
|
|
4248
|
+
format?: boolean;
|
|
4249
|
+
height?: boolean;
|
|
4250
|
+
key?: boolean;
|
|
4251
|
+
name?: boolean;
|
|
4252
|
+
size?: boolean;
|
|
4253
|
+
url?: boolean;
|
|
4254
|
+
width?: boolean;
|
|
4255
|
+
};
|
|
4199
4256
|
export interface CompleteMfaChallengeRecord {
|
|
4200
4257
|
accessToken?: string | null;
|
|
4201
4258
|
accessTokenExpiresAt?: string | null;
|
|
@@ -4234,6 +4291,22 @@ export type CreateOrgApiKeyRecordSelect = {
|
|
|
4234
4291
|
expiresAt?: boolean;
|
|
4235
4292
|
keyId?: boolean;
|
|
4236
4293
|
};
|
|
4294
|
+
export interface ExchangeNativeHandoffRecord {
|
|
4295
|
+
accessToken?: string | null;
|
|
4296
|
+
accessTokenExpiresAt?: string | null;
|
|
4297
|
+
id?: string | null;
|
|
4298
|
+
isVerified?: boolean | null;
|
|
4299
|
+
totpEnabled?: boolean | null;
|
|
4300
|
+
userId?: string | null;
|
|
4301
|
+
}
|
|
4302
|
+
export type ExchangeNativeHandoffRecordSelect = {
|
|
4303
|
+
accessToken?: boolean;
|
|
4304
|
+
accessTokenExpiresAt?: boolean;
|
|
4305
|
+
id?: boolean;
|
|
4306
|
+
isVerified?: boolean;
|
|
4307
|
+
totpEnabled?: boolean;
|
|
4308
|
+
userId?: boolean;
|
|
4309
|
+
};
|
|
4237
4310
|
export interface ExtendTokenExpiresRecord {
|
|
4238
4311
|
expiresAt?: string | null;
|
|
4239
4312
|
id?: string | null;
|
|
@@ -4321,18 +4394,22 @@ export type SignInCrossOriginRecordSelect = {
|
|
|
4321
4394
|
export interface SignInMagicLinkRecord {
|
|
4322
4395
|
accessToken?: string | null;
|
|
4323
4396
|
accessTokenExpiresAt?: string | null;
|
|
4397
|
+
codeChallenge?: string | null;
|
|
4324
4398
|
deviceApprovalRequired?: boolean | null;
|
|
4325
4399
|
mfaChallengeToken?: string | null;
|
|
4326
4400
|
mfaRequired?: boolean | null;
|
|
4401
|
+
nativeRedirectUri?: string | null;
|
|
4327
4402
|
outDeviceToken?: string | null;
|
|
4328
4403
|
userId?: string | null;
|
|
4329
4404
|
}
|
|
4330
4405
|
export type SignInMagicLinkRecordSelect = {
|
|
4331
4406
|
accessToken?: boolean;
|
|
4332
4407
|
accessTokenExpiresAt?: boolean;
|
|
4408
|
+
codeChallenge?: boolean;
|
|
4333
4409
|
deviceApprovalRequired?: boolean;
|
|
4334
4410
|
mfaChallengeToken?: boolean;
|
|
4335
4411
|
mfaRequired?: boolean;
|
|
4412
|
+
nativeRedirectUri?: boolean;
|
|
4336
4413
|
outDeviceToken?: boolean;
|
|
4337
4414
|
userId?: boolean;
|
|
4338
4415
|
};
|
|
@@ -4357,12 +4434,16 @@ export type SignInSmsOtpRecordSelect = {
|
|
|
4357
4434
|
export interface SignUpMagicLinkRecord {
|
|
4358
4435
|
accessToken?: string | null;
|
|
4359
4436
|
accessTokenExpiresAt?: string | null;
|
|
4437
|
+
codeChallenge?: string | null;
|
|
4438
|
+
nativeRedirectUri?: string | null;
|
|
4360
4439
|
outDeviceToken?: string | null;
|
|
4361
4440
|
userId?: string | null;
|
|
4362
4441
|
}
|
|
4363
4442
|
export type SignUpMagicLinkRecordSelect = {
|
|
4364
4443
|
accessToken?: boolean;
|
|
4365
4444
|
accessTokenExpiresAt?: boolean;
|
|
4445
|
+
codeChallenge?: boolean;
|
|
4446
|
+
nativeRedirectUri?: boolean;
|
|
4366
4447
|
outDeviceToken?: boolean;
|
|
4367
4448
|
userId?: boolean;
|
|
4368
4449
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs,
|
|
9
|
-
import type { IdentityProviderWithRelations, IdentityProviderSelect, IdentityProviderFilter, IdentityProviderOrderBy
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { IdentityProviderWithRelations, IdentityProviderSelect, IdentityProviderFilter, IdentityProviderOrderBy } from '../input-types';
|
|
10
10
|
export declare class IdentityProviderModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
@@ -20,11 +20,4 @@ export declare class IdentityProviderModel {
|
|
|
20
20
|
} & StrictSelect<S, IdentityProviderSelect>): QueryBuilder<{
|
|
21
21
|
identityProvider: InferSelectResult<IdentityProviderWithRelations, S> | null;
|
|
22
22
|
}>;
|
|
23
|
-
create<S extends IdentityProviderSelect>(args: CreateArgs<S, CreateIdentityProviderInput['identityProvider']> & {
|
|
24
|
-
select: S;
|
|
25
|
-
} & StrictSelect<S, IdentityProviderSelect>): QueryBuilder<{
|
|
26
|
-
createIdentityProvider: {
|
|
27
|
-
identityProvider: InferSelectResult<IdentityProviderWithRelations, S>;
|
|
28
|
-
};
|
|
29
|
-
}>;
|
|
30
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument,
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export class IdentityProviderModel {
|
|
4
4
|
client;
|
|
@@ -41,15 +41,4 @@ export class IdentityProviderModel {
|
|
|
41
41
|
}),
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
create(args) {
|
|
45
|
-
const { document, variables } = buildCreateDocument('IdentityProvider', 'createIdentityProvider', 'identityProvider', args.select, args.data, 'CreateIdentityProviderInput', connectionFieldsMap);
|
|
46
|
-
return new QueryBuilder({
|
|
47
|
-
client: this.client,
|
|
48
|
-
operation: 'mutation',
|
|
49
|
-
operationName: 'IdentityProvider',
|
|
50
|
-
fieldName: 'createIdentityProvider',
|
|
51
|
-
document,
|
|
52
|
-
variables,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
44
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs,
|
|
9
|
-
import type { OrgApiKeyListWithRelations, OrgApiKeyListSelect, OrgApiKeyListFilter, OrgApiKeyListOrderBy
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { OrgApiKeyListWithRelations, OrgApiKeyListSelect, OrgApiKeyListFilter, OrgApiKeyListOrderBy } from '../input-types';
|
|
10
10
|
export declare class OrgApiKeyListModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
@@ -26,11 +26,4 @@ export declare class OrgApiKeyListModel {
|
|
|
26
26
|
} & StrictSelect<S, OrgApiKeyListSelect>): QueryBuilder<{
|
|
27
27
|
orgApiKeyList: InferSelectResult<OrgApiKeyListWithRelations, S> | null;
|
|
28
28
|
}>;
|
|
29
|
-
create<S extends OrgApiKeyListSelect>(args: CreateArgs<S, CreateOrgApiKeyListInput['orgApiKeyList']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, OrgApiKeyListSelect>): QueryBuilder<{
|
|
32
|
-
createOrgApiKeyList: {
|
|
33
|
-
orgApiKeyList: InferSelectResult<OrgApiKeyListWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument,
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export class OrgApiKeyListModel {
|
|
4
4
|
client;
|
|
@@ -62,15 +62,4 @@ export class OrgApiKeyListModel {
|
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('OrgApiKeyList', 'createOrgApiKeyList', 'orgApiKeyList', args.select, args.data, 'CreateOrgApiKeyListInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'OrgApiKeyList',
|
|
71
|
-
fieldName: 'createOrgApiKeyList',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
65
|
}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs,
|
|
9
|
-
import type { PrincipalWithRelations, PrincipalSelect, PrincipalFilter, PrincipalOrderBy
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { PrincipalWithRelations, PrincipalSelect, PrincipalFilter, PrincipalOrderBy } from '../input-types';
|
|
10
10
|
export declare class PrincipalModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
@@ -26,11 +26,4 @@ export declare class PrincipalModel {
|
|
|
26
26
|
} & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
|
|
27
27
|
principal: InferSelectResult<PrincipalWithRelations, S> | null;
|
|
28
28
|
}>;
|
|
29
|
-
create<S extends PrincipalSelect>(args: CreateArgs<S, CreatePrincipalInput['principal']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, PrincipalSelect>): QueryBuilder<{
|
|
32
|
-
createPrincipal: {
|
|
33
|
-
principal: InferSelectResult<PrincipalWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
29
|
}
|