@constructive-io/react 1.21.33 → 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
package/esm/api/types.d.ts
CHANGED
|
@@ -5,16 +5,17 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { ApiExposureLevel, ObjectCategory } from './schema-types';
|
|
7
7
|
export type ConstructiveInternalTypeImage = unknown;
|
|
8
|
+
export type FileVersion = unknown;
|
|
8
9
|
export interface Api {
|
|
9
10
|
anonRole: string | null;
|
|
10
11
|
config: unknown | null;
|
|
11
12
|
createdAt: string | null;
|
|
12
13
|
databaseId: string | null;
|
|
13
|
-
dbname: string | null;
|
|
14
14
|
id: string | null;
|
|
15
15
|
isPublished: boolean | null;
|
|
16
16
|
name: string | null;
|
|
17
17
|
roleName: string | null;
|
|
18
|
+
serviceHostname: string | null;
|
|
18
19
|
updatedAt: string | null;
|
|
19
20
|
}
|
|
20
21
|
export interface ApiSchema {
|
|
@@ -32,7 +33,6 @@ export interface ApiSetting {
|
|
|
32
33
|
enableAggregates: boolean | null;
|
|
33
34
|
enableBulk: boolean | null;
|
|
34
35
|
enableConnectionFilter: boolean | null;
|
|
35
|
-
enableDirectUploads: boolean | null;
|
|
36
36
|
enableI18N: boolean | null;
|
|
37
37
|
enableIntrospection: boolean | null;
|
|
38
38
|
enableLlm: boolean | null;
|
|
@@ -129,7 +129,6 @@ export interface DatabaseSetting {
|
|
|
129
129
|
enableBilling: boolean | null;
|
|
130
130
|
enableBulk: boolean | null;
|
|
131
131
|
enableConnectionFilter: boolean | null;
|
|
132
|
-
enableDirectUploads: boolean | null;
|
|
133
132
|
enableI18N: boolean | null;
|
|
134
133
|
enableIntrospection: boolean | null;
|
|
135
134
|
enableLlm: boolean | null;
|
|
@@ -549,11 +548,11 @@ export interface PlatformApi {
|
|
|
549
548
|
anonRole: string | null;
|
|
550
549
|
config: unknown | null;
|
|
551
550
|
createdAt: string | null;
|
|
552
|
-
dbname: string | null;
|
|
553
551
|
id: string | null;
|
|
554
552
|
isPublished: boolean | null;
|
|
555
553
|
name: string | null;
|
|
556
554
|
roleName: string | null;
|
|
555
|
+
serviceHostname: string | null;
|
|
557
556
|
updatedAt: string | null;
|
|
558
557
|
}
|
|
559
558
|
export interface PlatformApiSchema {
|
|
@@ -569,7 +568,6 @@ export interface PlatformApiSetting {
|
|
|
569
568
|
enableAggregates: boolean | null;
|
|
570
569
|
enableBulk: boolean | null;
|
|
571
570
|
enableConnectionFilter: boolean | null;
|
|
572
|
-
enableDirectUploads: boolean | null;
|
|
573
571
|
enableI18N: boolean | null;
|
|
574
572
|
enableIntrospection: boolean | null;
|
|
575
573
|
enableLlm: boolean | null;
|
|
@@ -717,6 +715,16 @@ export interface PlatformPage {
|
|
|
717
715
|
storeId: string | null;
|
|
718
716
|
updatedAt: string | null;
|
|
719
717
|
}
|
|
718
|
+
export interface PlatformReservedSubdomain {
|
|
719
|
+
createdAt: string | null;
|
|
720
|
+
createdByPrincipal: string | null;
|
|
721
|
+
id: string | null;
|
|
722
|
+
label: string | null;
|
|
723
|
+
match: string | null;
|
|
724
|
+
reason: string | null;
|
|
725
|
+
updatedAt: string | null;
|
|
726
|
+
updatedByPrincipal: string | null;
|
|
727
|
+
}
|
|
720
728
|
export interface PlatformSiteAppLink {
|
|
721
729
|
appStoreIdentityId: string | null;
|
|
722
730
|
createdAt: string | null;
|
|
@@ -764,14 +772,22 @@ export interface PlatformSiteErrorPage {
|
|
|
764
772
|
}
|
|
765
773
|
export interface PlatformSiteMetadatum {
|
|
766
774
|
appleTouchIcon: ConstructiveInternalTypeImage | null;
|
|
775
|
+
appleTouchIconUrl: string | null;
|
|
776
|
+
appleTouchIconVersions: FileVersion[] | null;
|
|
767
777
|
canonicalUrl: string | null;
|
|
768
778
|
commitId: string | null;
|
|
769
779
|
createdAt: string | null;
|
|
770
780
|
description: string | null;
|
|
771
781
|
favicon: ConstructiveInternalTypeImage | null;
|
|
782
|
+
faviconUrl: string | null;
|
|
783
|
+
faviconVersions: FileVersion[] | null;
|
|
772
784
|
id: string | null;
|
|
773
785
|
logo: ConstructiveInternalTypeImage | null;
|
|
786
|
+
logoUrl: string | null;
|
|
787
|
+
logoVersions: FileVersion[] | null;
|
|
774
788
|
ogImage: ConstructiveInternalTypeImage | null;
|
|
789
|
+
ogImageUrl: string | null;
|
|
790
|
+
ogImageVersions: FileVersion[] | null;
|
|
775
791
|
robots: string | null;
|
|
776
792
|
robotsSeededFrom: unknown | null;
|
|
777
793
|
siteId: string | null;
|
|
@@ -990,15 +1006,23 @@ export interface SiteErrorPage {
|
|
|
990
1006
|
}
|
|
991
1007
|
export interface SiteMetadatum {
|
|
992
1008
|
appleTouchIcon: ConstructiveInternalTypeImage | null;
|
|
1009
|
+
appleTouchIconUrl: string | null;
|
|
1010
|
+
appleTouchIconVersions: FileVersion[] | null;
|
|
993
1011
|
canonicalUrl: string | null;
|
|
994
1012
|
commitId: string | null;
|
|
995
1013
|
createdAt: string | null;
|
|
996
1014
|
databaseId: string | null;
|
|
997
1015
|
description: string | null;
|
|
998
1016
|
favicon: ConstructiveInternalTypeImage | null;
|
|
1017
|
+
faviconUrl: string | null;
|
|
1018
|
+
faviconVersions: FileVersion[] | null;
|
|
999
1019
|
id: string | null;
|
|
1000
1020
|
logo: ConstructiveInternalTypeImage | null;
|
|
1021
|
+
logoUrl: string | null;
|
|
1022
|
+
logoVersions: FileVersion[] | null;
|
|
1001
1023
|
ogImage: ConstructiveInternalTypeImage | null;
|
|
1024
|
+
ogImageUrl: string | null;
|
|
1025
|
+
ogImageVersions: FileVersion[] | null;
|
|
1002
1026
|
robots: string | null;
|
|
1003
1027
|
robotsSeededFrom: unknown | null;
|
|
1004
1028
|
siteId: string | null;
|
|
@@ -103,6 +103,7 @@ export declare const customMutationKeys: {
|
|
|
103
103
|
/** Mutation key for createChildPrincipal */ readonly createChildPrincipal: (identifier?: string) => readonly ["mutation", "createChildPrincipal", string] | readonly ["mutation", "createChildPrincipal"];
|
|
104
104
|
/** Mutation key for createOrgApiKey */ readonly createOrgApiKey: (identifier?: string) => readonly ["mutation", "createOrgApiKey", string] | readonly ["mutation", "createOrgApiKey"];
|
|
105
105
|
/** Mutation key for createOrgPrincipal */ readonly createOrgPrincipal: (identifier?: string) => readonly ["mutation", "createOrgPrincipal", string] | readonly ["mutation", "createOrgPrincipal"];
|
|
106
|
+
/** Mutation key for createPrincipal */ readonly createPrincipal: (identifier?: string) => readonly ["mutation", "createPrincipal", string] | readonly ["mutation", "createPrincipal"];
|
|
106
107
|
/** Mutation key for createPrincipalFromPreset */ readonly createPrincipalFromPreset: (identifier?: string) => readonly ["mutation", "createPrincipalFromPreset", string] | readonly ["mutation", "createPrincipalFromPreset"];
|
|
107
108
|
/** Mutation key for deleteOrgPrincipal */ readonly deleteOrgPrincipal: (identifier?: string) => readonly ["mutation", "deleteOrgPrincipal", string] | readonly ["mutation", "deleteOrgPrincipal"];
|
|
108
109
|
/** Mutation key for deletePrincipal */ readonly deletePrincipal: (identifier?: string) => readonly ["mutation", "deletePrincipal", string] | readonly ["mutation", "deletePrincipal"];
|
|
@@ -113,6 +114,8 @@ export declare const customMutationKeys: {
|
|
|
113
114
|
/** Mutation key for enableEmailMfa */ readonly enableEmailMfa: (identifier?: string) => readonly ["mutation", "enableEmailMfa", string] | readonly ["mutation", "enableEmailMfa"];
|
|
114
115
|
/** Mutation key for enableSmsMfa */ readonly enableSmsMfa: (identifier?: string) => readonly ["mutation", "enableSmsMfa", string] | readonly ["mutation", "enableSmsMfa"];
|
|
115
116
|
/** Mutation key for enableTotp */ readonly enableTotp: (identifier?: string) => readonly ["mutation", "enableTotp", string] | readonly ["mutation", "enableTotp"];
|
|
117
|
+
/** Mutation key for ensureAuthCsrf */ readonly ensureAuthCsrf: (identifier?: string) => readonly ["mutation", "ensureAuthCsrf", string] | readonly ["mutation", "ensureAuthCsrf"];
|
|
118
|
+
/** Mutation key for exchangeNativeHandoff */ readonly exchangeNativeHandoff: (identifier?: string) => readonly ["mutation", "exchangeNativeHandoff", string] | readonly ["mutation", "exchangeNativeHandoff"];
|
|
116
119
|
/** Mutation key for extendTokenExpires */ readonly extendTokenExpires: (identifier?: string) => readonly ["mutation", "extendTokenExpires", string] | readonly ["mutation", "extendTokenExpires"];
|
|
117
120
|
/** Mutation key for forgotPassword */ readonly forgotPassword: (identifier?: string) => readonly ["mutation", "forgotPassword", string] | readonly ["mutation", "forgotPassword"];
|
|
118
121
|
/** Mutation key for generateBackupCodes */ readonly generateBackupCodes: (identifier?: string) => readonly ["mutation", "generateBackupCodes", string] | readonly ["mutation", "generateBackupCodes"];
|
|
@@ -121,6 +124,7 @@ export declare const customMutationKeys: {
|
|
|
121
124
|
/** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
|
|
122
125
|
/** Mutation key for refreshAccessToken */ readonly refreshAccessToken: (identifier?: string) => readonly ["mutation", "refreshAccessToken", string] | readonly ["mutation", "refreshAccessToken"];
|
|
123
126
|
/** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
|
|
127
|
+
/** Mutation key for requestDeviceApproval */ readonly requestDeviceApproval: (identifier?: string) => readonly ["mutation", "requestDeviceApproval", string] | readonly ["mutation", "requestDeviceApproval"];
|
|
124
128
|
/** Mutation key for requestMagicLink */ readonly requestMagicLink: (identifier?: string) => readonly ["mutation", "requestMagicLink", string] | readonly ["mutation", "requestMagicLink"];
|
|
125
129
|
/** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
|
|
126
130
|
/** Mutation key for revokeApiKey */ readonly revokeApiKey: (identifier?: string) => readonly ["mutation", "revokeApiKey", string] | readonly ["mutation", "revokeApiKey"];
|
|
@@ -273,6 +277,7 @@ export declare const mutationKeys: {
|
|
|
273
277
|
/** Mutation key for createChildPrincipal */ readonly createChildPrincipal: (identifier?: string) => readonly ["mutation", "createChildPrincipal", string] | readonly ["mutation", "createChildPrincipal"];
|
|
274
278
|
/** Mutation key for createOrgApiKey */ readonly createOrgApiKey: (identifier?: string) => readonly ["mutation", "createOrgApiKey", string] | readonly ["mutation", "createOrgApiKey"];
|
|
275
279
|
/** Mutation key for createOrgPrincipal */ readonly createOrgPrincipal: (identifier?: string) => readonly ["mutation", "createOrgPrincipal", string] | readonly ["mutation", "createOrgPrincipal"];
|
|
280
|
+
/** Mutation key for createPrincipal */ readonly createPrincipal: (identifier?: string) => readonly ["mutation", "createPrincipal", string] | readonly ["mutation", "createPrincipal"];
|
|
276
281
|
/** Mutation key for createPrincipalFromPreset */ readonly createPrincipalFromPreset: (identifier?: string) => readonly ["mutation", "createPrincipalFromPreset", string] | readonly ["mutation", "createPrincipalFromPreset"];
|
|
277
282
|
/** Mutation key for deleteOrgPrincipal */ readonly deleteOrgPrincipal: (identifier?: string) => readonly ["mutation", "deleteOrgPrincipal", string] | readonly ["mutation", "deleteOrgPrincipal"];
|
|
278
283
|
/** Mutation key for deletePrincipal */ readonly deletePrincipal: (identifier?: string) => readonly ["mutation", "deletePrincipal", string] | readonly ["mutation", "deletePrincipal"];
|
|
@@ -283,6 +288,8 @@ export declare const mutationKeys: {
|
|
|
283
288
|
/** Mutation key for enableEmailMfa */ readonly enableEmailMfa: (identifier?: string) => readonly ["mutation", "enableEmailMfa", string] | readonly ["mutation", "enableEmailMfa"];
|
|
284
289
|
/** Mutation key for enableSmsMfa */ readonly enableSmsMfa: (identifier?: string) => readonly ["mutation", "enableSmsMfa", string] | readonly ["mutation", "enableSmsMfa"];
|
|
285
290
|
/** Mutation key for enableTotp */ readonly enableTotp: (identifier?: string) => readonly ["mutation", "enableTotp", string] | readonly ["mutation", "enableTotp"];
|
|
291
|
+
/** Mutation key for ensureAuthCsrf */ readonly ensureAuthCsrf: (identifier?: string) => readonly ["mutation", "ensureAuthCsrf", string] | readonly ["mutation", "ensureAuthCsrf"];
|
|
292
|
+
/** Mutation key for exchangeNativeHandoff */ readonly exchangeNativeHandoff: (identifier?: string) => readonly ["mutation", "exchangeNativeHandoff", string] | readonly ["mutation", "exchangeNativeHandoff"];
|
|
286
293
|
/** Mutation key for extendTokenExpires */ readonly extendTokenExpires: (identifier?: string) => readonly ["mutation", "extendTokenExpires", string] | readonly ["mutation", "extendTokenExpires"];
|
|
287
294
|
/** Mutation key for forgotPassword */ readonly forgotPassword: (identifier?: string) => readonly ["mutation", "forgotPassword", string] | readonly ["mutation", "forgotPassword"];
|
|
288
295
|
/** Mutation key for generateBackupCodes */ readonly generateBackupCodes: (identifier?: string) => readonly ["mutation", "generateBackupCodes", string] | readonly ["mutation", "generateBackupCodes"];
|
|
@@ -291,6 +298,7 @@ export declare const mutationKeys: {
|
|
|
291
298
|
/** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
|
|
292
299
|
/** Mutation key for refreshAccessToken */ readonly refreshAccessToken: (identifier?: string) => readonly ["mutation", "refreshAccessToken", string] | readonly ["mutation", "refreshAccessToken"];
|
|
293
300
|
/** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
|
|
301
|
+
/** Mutation key for requestDeviceApproval */ readonly requestDeviceApproval: (identifier?: string) => readonly ["mutation", "requestDeviceApproval", string] | readonly ["mutation", "requestDeviceApproval"];
|
|
294
302
|
/** Mutation key for requestMagicLink */ readonly requestMagicLink: (identifier?: string) => readonly ["mutation", "requestMagicLink", string] | readonly ["mutation", "requestMagicLink"];
|
|
295
303
|
/** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
|
|
296
304
|
/** Mutation key for revokeApiKey */ readonly revokeApiKey: (identifier?: string) => readonly ["mutation", "revokeApiKey", string] | readonly ["mutation", "revokeApiKey"];
|
|
@@ -139,6 +139,9 @@ export const customMutationKeys = {
|
|
|
139
139
|
/** Mutation key for createOrgPrincipal */ createOrgPrincipal: (identifier) => identifier
|
|
140
140
|
? ['mutation', 'createOrgPrincipal', identifier]
|
|
141
141
|
: ['mutation', 'createOrgPrincipal'],
|
|
142
|
+
/** Mutation key for createPrincipal */ createPrincipal: (identifier) => identifier
|
|
143
|
+
? ['mutation', 'createPrincipal', identifier]
|
|
144
|
+
: ['mutation', 'createPrincipal'],
|
|
142
145
|
/** Mutation key for createPrincipalFromPreset */ createPrincipalFromPreset: (identifier) => identifier
|
|
143
146
|
? ['mutation', 'createPrincipalFromPreset', identifier]
|
|
144
147
|
: ['mutation', 'createPrincipalFromPreset'],
|
|
@@ -169,6 +172,12 @@ export const customMutationKeys = {
|
|
|
169
172
|
/** Mutation key for enableTotp */ enableTotp: (identifier) => identifier
|
|
170
173
|
? ['mutation', 'enableTotp', identifier]
|
|
171
174
|
: ['mutation', 'enableTotp'],
|
|
175
|
+
/** Mutation key for ensureAuthCsrf */ ensureAuthCsrf: (identifier) => identifier
|
|
176
|
+
? ['mutation', 'ensureAuthCsrf', identifier]
|
|
177
|
+
: ['mutation', 'ensureAuthCsrf'],
|
|
178
|
+
/** Mutation key for exchangeNativeHandoff */ exchangeNativeHandoff: (identifier) => identifier
|
|
179
|
+
? ['mutation', 'exchangeNativeHandoff', identifier]
|
|
180
|
+
: ['mutation', 'exchangeNativeHandoff'],
|
|
172
181
|
/** Mutation key for extendTokenExpires */ extendTokenExpires: (identifier) => identifier
|
|
173
182
|
? ['mutation', 'extendTokenExpires', identifier]
|
|
174
183
|
: ['mutation', 'extendTokenExpires'],
|
|
@@ -193,6 +202,9 @@ export const customMutationKeys = {
|
|
|
193
202
|
/** Mutation key for requestCrossOriginToken */ requestCrossOriginToken: (identifier) => identifier
|
|
194
203
|
? ['mutation', 'requestCrossOriginToken', identifier]
|
|
195
204
|
: ['mutation', 'requestCrossOriginToken'],
|
|
205
|
+
/** Mutation key for requestDeviceApproval */ requestDeviceApproval: (identifier) => identifier
|
|
206
|
+
? ['mutation', 'requestDeviceApproval', identifier]
|
|
207
|
+
: ['mutation', 'requestDeviceApproval'],
|
|
196
208
|
/** Mutation key for requestMagicLink */ requestMagicLink: (identifier) => identifier
|
|
197
209
|
? ['mutation', 'requestMagicLink', identifier]
|
|
198
210
|
: ['mutation', 'requestMagicLink'],
|
|
@@ -12,18 +12,12 @@ export * from './useDeleteCryptoAddressMutation';
|
|
|
12
12
|
export * from './useCreateEmailMutation';
|
|
13
13
|
export * from './useUpdateEmailMutation';
|
|
14
14
|
export * from './useDeleteEmailMutation';
|
|
15
|
-
export * from './useCreateIdentityProviderMutation';
|
|
16
|
-
export * from './useCreateOrgApiKeyListMutation';
|
|
17
15
|
export * from './useCreatePhoneNumberMutation';
|
|
18
16
|
export * from './useUpdatePhoneNumberMutation';
|
|
19
17
|
export * from './useDeletePhoneNumberMutation';
|
|
20
|
-
export * from './useCreatePrincipalMutation';
|
|
21
|
-
export * from './useCreatePrincipalEntityMutation';
|
|
22
|
-
export * from './useCreatePrincipalScopeOverrideMutation';
|
|
23
18
|
export * from './useCreateRoleTypeMutation';
|
|
24
19
|
export * from './useUpdateRoleTypeMutation';
|
|
25
20
|
export * from './useDeleteRoleTypeMutation';
|
|
26
|
-
export * from './useCreateUserConnectedAccountMutation';
|
|
27
21
|
export * from './useCreateUserMutation';
|
|
28
22
|
export * from './useUpdateUserMutation';
|
|
29
23
|
export * from './useDeleteUserMutation';
|
|
@@ -45,6 +39,7 @@ export * from './useCreateApiKeyMutation';
|
|
|
45
39
|
export * from './useCreateChildPrincipalMutation';
|
|
46
40
|
export * from './useCreateOrgApiKeyMutation';
|
|
47
41
|
export * from './useCreateOrgPrincipalMutation';
|
|
42
|
+
export * from './useCreatePrincipalMutation';
|
|
48
43
|
export * from './useCreatePrincipalFromPresetMutation';
|
|
49
44
|
export * from './useDeleteOrgPrincipalMutation';
|
|
50
45
|
export * from './useDeletePrincipalMutation';
|
|
@@ -55,6 +50,8 @@ export * from './useDisconnectAccountMutation';
|
|
|
55
50
|
export * from './useEnableEmailMfaMutation';
|
|
56
51
|
export * from './useEnableSmsMfaMutation';
|
|
57
52
|
export * from './useEnableTotpMutation';
|
|
53
|
+
export * from './useEnsureAuthCsrfMutation';
|
|
54
|
+
export * from './useExchangeNativeHandoffMutation';
|
|
58
55
|
export * from './useExtendTokenExpiresMutation';
|
|
59
56
|
export * from './useForgotPasswordMutation';
|
|
60
57
|
export * from './useGenerateBackupCodesMutation';
|
|
@@ -63,6 +60,7 @@ export * from './useMintAccessTokenMutation';
|
|
|
63
60
|
export * from './useProvisionBucketMutation';
|
|
64
61
|
export * from './useRefreshAccessTokenMutation';
|
|
65
62
|
export * from './useRequestCrossOriginTokenMutation';
|
|
63
|
+
export * from './useRequestDeviceApprovalMutation';
|
|
66
64
|
export * from './useRequestMagicLinkMutation';
|
|
67
65
|
export * from './useResetPasswordMutation';
|
|
68
66
|
export * from './useRevokeApiKeyMutation';
|
|
@@ -12,18 +12,12 @@ export * from './useDeleteCryptoAddressMutation';
|
|
|
12
12
|
export * from './useCreateEmailMutation';
|
|
13
13
|
export * from './useUpdateEmailMutation';
|
|
14
14
|
export * from './useDeleteEmailMutation';
|
|
15
|
-
export * from './useCreateIdentityProviderMutation';
|
|
16
|
-
export * from './useCreateOrgApiKeyListMutation';
|
|
17
15
|
export * from './useCreatePhoneNumberMutation';
|
|
18
16
|
export * from './useUpdatePhoneNumberMutation';
|
|
19
17
|
export * from './useDeletePhoneNumberMutation';
|
|
20
|
-
export * from './useCreatePrincipalMutation';
|
|
21
|
-
export * from './useCreatePrincipalEntityMutation';
|
|
22
|
-
export * from './useCreatePrincipalScopeOverrideMutation';
|
|
23
18
|
export * from './useCreateRoleTypeMutation';
|
|
24
19
|
export * from './useUpdateRoleTypeMutation';
|
|
25
20
|
export * from './useDeleteRoleTypeMutation';
|
|
26
|
-
export * from './useCreateUserConnectedAccountMutation';
|
|
27
21
|
export * from './useCreateUserMutation';
|
|
28
22
|
export * from './useUpdateUserMutation';
|
|
29
23
|
export * from './useDeleteUserMutation';
|
|
@@ -45,6 +39,7 @@ export * from './useCreateApiKeyMutation';
|
|
|
45
39
|
export * from './useCreateChildPrincipalMutation';
|
|
46
40
|
export * from './useCreateOrgApiKeyMutation';
|
|
47
41
|
export * from './useCreateOrgPrincipalMutation';
|
|
42
|
+
export * from './useCreatePrincipalMutation';
|
|
48
43
|
export * from './useCreatePrincipalFromPresetMutation';
|
|
49
44
|
export * from './useDeleteOrgPrincipalMutation';
|
|
50
45
|
export * from './useDeletePrincipalMutation';
|
|
@@ -55,6 +50,8 @@ export * from './useDisconnectAccountMutation';
|
|
|
55
50
|
export * from './useEnableEmailMfaMutation';
|
|
56
51
|
export * from './useEnableSmsMfaMutation';
|
|
57
52
|
export * from './useEnableTotpMutation';
|
|
53
|
+
export * from './useEnsureAuthCsrfMutation';
|
|
54
|
+
export * from './useExchangeNativeHandoffMutation';
|
|
58
55
|
export * from './useExtendTokenExpiresMutation';
|
|
59
56
|
export * from './useForgotPasswordMutation';
|
|
60
57
|
export * from './useGenerateBackupCodesMutation';
|
|
@@ -63,6 +60,7 @@ export * from './useMintAccessTokenMutation';
|
|
|
63
60
|
export * from './useProvisionBucketMutation';
|
|
64
61
|
export * from './useRefreshAccessTokenMutation';
|
|
65
62
|
export * from './useRequestCrossOriginTokenMutation';
|
|
63
|
+
export * from './useRequestDeviceApprovalMutation';
|
|
66
64
|
export * from './useRequestMagicLinkMutation';
|
|
67
65
|
export * from './useResetPasswordMutation';
|
|
68
66
|
export * from './useRevokeApiKeyMutation';
|
|
@@ -1,34 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Custom mutation hook for createPrincipal
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type {
|
|
7
|
+
import type { CreatePrincipalVariables } from '../../orm/mutation';
|
|
8
|
+
import type { CreatePrincipalPayloadSelect, CreatePrincipalPayload } from '../../orm/input-types';
|
|
8
9
|
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePrincipalMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePrincipalMutation<S extends PrincipalSelect>(params: {
|
|
10
|
+
export type { CreatePrincipalVariables } from '../../orm/mutation';
|
|
11
|
+
export type { CreatePrincipalPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useCreatePrincipalMutation<S extends CreatePrincipalPayloadSelect>(params: {
|
|
23
13
|
selection: {
|
|
24
|
-
fields: S &
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>,
|
|
14
|
+
fields: S & CreatePrincipalPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, CreatePrincipalPayloadSelect>;
|
|
26
16
|
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPrincipal:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}, Error,
|
|
31
|
-
createPrincipal: {
|
|
32
|
-
principal: InferSelectResult<PrincipalWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePrincipalInput['principal']>;
|
|
17
|
+
createPrincipal: InferSelectResult<CreatePrincipalPayload, S> | null;
|
|
18
|
+
}, Error, CreatePrincipalVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
createPrincipal: InferSelectResult<CreatePrincipalPayload, S> | null;
|
|
20
|
+
}, Error, CreatePrincipalVariables>;
|
|
@@ -1,31 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Custom mutation hook for createPrincipal
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import { useMutation
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
10
|
-
import { principalMutationKeys } from '../mutation-keys';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
11
10
|
export function useCreatePrincipalMutation(params) {
|
|
12
11
|
const args = buildSelectionArgs(params.selection);
|
|
13
12
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
13
|
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
14
|
return useMutation({
|
|
17
|
-
mutationKey:
|
|
18
|
-
mutationFn: (
|
|
19
|
-
.
|
|
20
|
-
data,
|
|
15
|
+
mutationKey: customMutationKeys.createPrincipal(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.createPrincipal(variables, {
|
|
21
18
|
select: args.select,
|
|
22
19
|
})
|
|
23
20
|
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: principalKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
21
|
...mutationOptions,
|
|
30
22
|
});
|
|
31
23
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for ensureAuthCsrf
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { EnsureAuthCsrfVariables } from '../../orm/mutation';
|
|
8
|
+
import type { EnsureAuthCsrfPayloadSelect, EnsureAuthCsrfPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { EnsureAuthCsrfVariables } from '../../orm/mutation';
|
|
11
|
+
export type { EnsureAuthCsrfPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useEnsureAuthCsrfMutation<S extends EnsureAuthCsrfPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & EnsureAuthCsrfPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, EnsureAuthCsrfPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
ensureAuthCsrf: InferSelectResult<EnsureAuthCsrfPayload, S> | null;
|
|
18
|
+
}, Error, EnsureAuthCsrfVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
ensureAuthCsrf: InferSelectResult<EnsureAuthCsrfPayload, S> | null;
|
|
20
|
+
}, Error, EnsureAuthCsrfVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for ensureAuthCsrf
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useEnsureAuthCsrfMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.ensureAuthCsrf(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.ensureAuthCsrf(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for exchangeNativeHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { ExchangeNativeHandoffVariables } from '../../orm/mutation';
|
|
8
|
+
import type { ExchangeNativeHandoffPayloadSelect, ExchangeNativeHandoffPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { ExchangeNativeHandoffVariables } from '../../orm/mutation';
|
|
11
|
+
export type { ExchangeNativeHandoffPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useExchangeNativeHandoffMutation<S extends ExchangeNativeHandoffPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & ExchangeNativeHandoffPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, ExchangeNativeHandoffPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
exchangeNativeHandoff: InferSelectResult<ExchangeNativeHandoffPayload, S> | null;
|
|
18
|
+
}, Error, ExchangeNativeHandoffVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
exchangeNativeHandoff: InferSelectResult<ExchangeNativeHandoffPayload, S> | null;
|
|
20
|
+
}, Error, ExchangeNativeHandoffVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for exchangeNativeHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useExchangeNativeHandoffMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.exchangeNativeHandoff(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.exchangeNativeHandoff(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for requestDeviceApproval
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { RequestDeviceApprovalVariables } from '../../orm/mutation';
|
|
8
|
+
import type { RequestDeviceApprovalPayloadSelect, RequestDeviceApprovalPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { RequestDeviceApprovalVariables } from '../../orm/mutation';
|
|
11
|
+
export type { RequestDeviceApprovalPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useRequestDeviceApprovalMutation<S extends RequestDeviceApprovalPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & RequestDeviceApprovalPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, RequestDeviceApprovalPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
requestDeviceApproval: InferSelectResult<RequestDeviceApprovalPayload, S> | null;
|
|
18
|
+
}, Error, RequestDeviceApprovalVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
requestDeviceApproval: InferSelectResult<RequestDeviceApprovalPayload, S> | null;
|
|
20
|
+
}, Error, RequestDeviceApprovalVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for requestDeviceApproval
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useRequestDeviceApprovalMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.requestDeviceApproval(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.requestDeviceApproval(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query hook for signInOptions
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
+
import type { SignInOptionsRecordSelect, SignInOptionsRecord } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { SignInOptionsRecordSelect } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const signInOptionsQueryKey: () => readonly ["signInOptions"];
|
|
12
|
+
/**
|
|
13
|
+
* Query hook for signInOptions
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useSignInOptionsQuery({ selection: { fields: { id: true } } });
|
|
18
|
+
*
|
|
19
|
+
* if (data?.signInOptions) {
|
|
20
|
+
* console.log(data.signInOptions);
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function useSignInOptionsQuery<S extends SignInOptionsRecordSelect, TData = {
|
|
25
|
+
signInOptions: InferSelectResult<SignInOptionsRecord, S> | null;
|
|
26
|
+
}>(params: {
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S & SignInOptionsRecordSelect;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, SignInOptionsRecordSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
signInOptions: InferSelectResult<SignInOptionsRecord, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Fetch signInOptions without React hooks
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchSignInOptionsQuery({ selection: { fields: { id: true } } });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function fetchSignInOptionsQuery<S extends SignInOptionsRecordSelect>(params: {
|
|
42
|
+
selection: {
|
|
43
|
+
fields: S & SignInOptionsRecordSelect;
|
|
44
|
+
} & HookStrictSelect<NoInfer<S>, SignInOptionsRecordSelect>;
|
|
45
|
+
}): Promise<{
|
|
46
|
+
signInOptions: InferSelectResult<SignInOptionsRecord, S> | null;
|
|
47
|
+
}>;
|
|
48
|
+
/**
|
|
49
|
+
* Prefetch signInOptions for SSR or cache warming
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* await prefetchSignInOptionsQuery(queryClient, { selection: { fields: { id: true } } });
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export declare function prefetchSignInOptionsQuery<S extends SignInOptionsRecordSelect>(queryClient: QueryClient, params: {
|
|
57
|
+
selection: {
|
|
58
|
+
fields: S & SignInOptionsRecordSelect;
|
|
59
|
+
} & HookStrictSelect<NoInfer<S>, SignInOptionsRecordSelect>;
|
|
60
|
+
}): Promise<void>;
|