@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
package/api/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformSiteAppLink, PlatformSite, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, Schema, SchemaGrant, SiteAppLink, Site, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, TableBehavior, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraintBehavior, UniqueConstraint, ViewBehavior, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
|
|
5
|
+
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformReservedSubdomain, PlatformSiteAppLink, PlatformSite, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, Schema, SchemaGrant, SiteAppLink, Site, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, TableBehavior, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraintBehavior, UniqueConstraint, ViewBehavior, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/api/hooks/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
* GraphQL SDK
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
*
|
|
21
|
-
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformSiteAppLink, PlatformSite, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, Schema, SchemaGrant, SiteAppLink, Site, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, TableBehavior, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraintBehavior, UniqueConstraint, ViewBehavior, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
|
|
21
|
+
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformReservedSubdomain, PlatformSiteAppLink, PlatformSite, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, Schema, SchemaGrant, SiteAppLink, Site, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, TableBehavior, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraintBehavior, UniqueConstraint, ViewBehavior, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|
|
@@ -269,6 +269,11 @@ export declare const invalidate: {
|
|
|
269
269
|
/** Invalidate platformPage list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
270
270
|
/** Invalidate a specific platformPage */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
271
271
|
};
|
|
272
|
+
/** Invalidate platformReservedSubdomain queries */ readonly platformReservedSubdomain: {
|
|
273
|
+
/** Invalidate all platformReservedSubdomain queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
274
|
+
/** Invalidate platformReservedSubdomain list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
275
|
+
/** Invalidate a specific platformReservedSubdomain */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
276
|
+
};
|
|
272
277
|
/** Invalidate platformSiteAppLink queries */ readonly platformSiteAppLink: {
|
|
273
278
|
/** Invalidate all platformSiteAppLink queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
274
279
|
/** Invalidate platformSiteAppLink list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -536,6 +541,7 @@ export declare const remove: {
|
|
|
536
541
|
/** Remove platformGetSitePreviewsRecord from cache */ readonly platformGetSitePreviewsRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
537
542
|
/** Remove platformManagedDomain from cache */ readonly platformManagedDomain: (queryClient: QueryClient, id: string | number) => void;
|
|
538
543
|
/** Remove platformPage from cache */ readonly platformPage: (queryClient: QueryClient, id: string | number) => void;
|
|
544
|
+
/** Remove platformReservedSubdomain from cache */ readonly platformReservedSubdomain: (queryClient: QueryClient, id: string | number) => void;
|
|
539
545
|
/** Remove platformSiteAppLink from cache */ readonly platformSiteAppLink: (queryClient: QueryClient, id: string | number) => void;
|
|
540
546
|
/** Remove platformSite from cache */ readonly platformSite: (queryClient: QueryClient, id: string | number) => void;
|
|
541
547
|
/** Remove platformSiteDeepLink from cache */ readonly platformSiteDeepLink: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -566,6 +566,17 @@ exports.invalidate = {
|
|
|
566
566
|
queryKey: query_keys_1.platformPageKeys.detail(id),
|
|
567
567
|
}),
|
|
568
568
|
},
|
|
569
|
+
/** Invalidate platformReservedSubdomain queries */ platformReservedSubdomain: {
|
|
570
|
+
/** Invalidate all platformReservedSubdomain queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
571
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.all,
|
|
572
|
+
}),
|
|
573
|
+
/** Invalidate platformReservedSubdomain list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
574
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.lists(),
|
|
575
|
+
}),
|
|
576
|
+
/** Invalidate a specific platformReservedSubdomain */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
577
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.detail(id),
|
|
578
|
+
}),
|
|
579
|
+
},
|
|
569
580
|
/** Invalidate platformSiteAppLink queries */ platformSiteAppLink: {
|
|
570
581
|
/** Invalidate all platformSiteAppLink queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
571
582
|
queryKey: query_keys_1.platformSiteAppLinkKeys.all,
|
|
@@ -1275,6 +1286,11 @@ exports.remove = {
|
|
|
1275
1286
|
queryKey: query_keys_1.platformPageKeys.detail(id),
|
|
1276
1287
|
});
|
|
1277
1288
|
},
|
|
1289
|
+
/** Remove platformReservedSubdomain from cache */ platformReservedSubdomain: (queryClient, id) => {
|
|
1290
|
+
queryClient.removeQueries({
|
|
1291
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.detail(id),
|
|
1292
|
+
});
|
|
1293
|
+
},
|
|
1278
1294
|
/** Remove platformSiteAppLink from cache */ platformSiteAppLink: (queryClient, id) => {
|
|
1279
1295
|
queryClient.removeQueries({
|
|
1280
1296
|
queryKey: query_keys_1.platformSiteAppLinkKeys.detail(id),
|
|
@@ -297,6 +297,12 @@ export declare const platformPageMutationKeys: {
|
|
|
297
297
|
/** Update platformPage mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformpage", "update", string | number];
|
|
298
298
|
/** Delete platformPage mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformpage", "delete", string | number];
|
|
299
299
|
};
|
|
300
|
+
export declare const platformReservedSubdomainMutationKeys: {
|
|
301
|
+
/** All platformReservedSubdomain mutation keys */ readonly all: readonly ["mutation", "platformreservedsubdomain"];
|
|
302
|
+
/** Create platformReservedSubdomain mutation key */ readonly create: () => readonly ["mutation", "platformreservedsubdomain", "create"];
|
|
303
|
+
/** Update platformReservedSubdomain mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformreservedsubdomain", "update", string | number];
|
|
304
|
+
/** Delete platformReservedSubdomain mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformreservedsubdomain", "delete", string | number];
|
|
305
|
+
};
|
|
300
306
|
export declare const platformSiteAppLinkMutationKeys: {
|
|
301
307
|
/** All platformSiteAppLink mutation keys */ readonly all: readonly ["mutation", "platformsiteapplink"];
|
|
302
308
|
/** Create platformSiteAppLink mutation key */ readonly create: () => readonly ["mutation", "platformsiteapplink", "create"];
|
|
@@ -893,6 +899,12 @@ export declare const mutationKeys: {
|
|
|
893
899
|
/** Update platformPage mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformpage", "update", string | number];
|
|
894
900
|
/** Delete platformPage mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformpage", "delete", string | number];
|
|
895
901
|
};
|
|
902
|
+
readonly platformReservedSubdomain: {
|
|
903
|
+
/** All platformReservedSubdomain mutation keys */ readonly all: readonly ["mutation", "platformreservedsubdomain"];
|
|
904
|
+
/** Create platformReservedSubdomain mutation key */ readonly create: () => readonly ["mutation", "platformreservedsubdomain", "create"];
|
|
905
|
+
/** Update platformReservedSubdomain mutation key */ readonly update: (id: string | number) => readonly ["mutation", "platformreservedsubdomain", "update", string | number];
|
|
906
|
+
/** Delete platformReservedSubdomain mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "platformreservedsubdomain", "delete", string | number];
|
|
907
|
+
};
|
|
896
908
|
readonly platformSiteAppLink: {
|
|
897
909
|
/** All platformSiteAppLink mutation keys */ readonly all: readonly ["mutation", "platformsiteapplink"];
|
|
898
910
|
/** Create platformSiteAppLink mutation key */ readonly create: () => readonly ["mutation", "platformsiteapplink", "create"];
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.mutationKeys = exports.customMutationKeys = exports.webauthnSettingMutationKeys = exports.viewTableMutationKeys = exports.viewRuleMutationKeys = exports.viewGrantMutationKeys = exports.viewMutationKeys = exports.viewBehaviorMutationKeys = exports.uniqueConstraintMutationKeys = exports.uniqueConstraintBehaviorMutationKeys = exports.triggerFunctionMutationKeys = exports.triggerMutationKeys = exports.tableGrantMutationKeys = exports.tableMutationKeys = exports.tableBehaviorMutationKeys = exports.sqlActionMutationKeys = exports.spatialRelationMutationKeys = exports.siteWebConfigMutationKeys = exports.siteThemeMutationKeys = exports.siteReleaseMutationKeys = exports.siteModuleMutationKeys = exports.siteMetadatumMutationKeys = exports.siteErrorPageMutationKeys = exports.siteDeepLinkMutationKeys = exports.siteMutationKeys = exports.siteAppLinkMutationKeys = exports.schemaGrantMutationKeys = exports.schemaMutationKeys = exports.routeMutationKeys = exports.rlsSettingMutationKeys = exports.redirectMutationKeys = exports.pubkeySettingMutationKeys = exports.primaryKeyConstraintMutationKeys = exports.policyMutationKeys = exports.platformSiteWebConfigMutationKeys = exports.platformSiteThemeMutationKeys = exports.platformSiteReleaseMutationKeys = exports.platformSiteModuleMutationKeys = exports.platformSiteMetadatumMutationKeys = exports.platformSiteErrorPageMutationKeys = exports.platformSiteDeepLinkMutationKeys = exports.platformSiteMutationKeys = void 0;
|
|
8
|
+
exports.platformReservedSubdomainMutationKeys = exports.platformPageMutationKeys = exports.platformManagedDomainMutationKeys = exports.platformGetSitePreviewsRecordMutationKeys = exports.platformEmailSiteIdentityMutationKeys = exports.platformEmailProviderAccountMutationKeys = exports.platformEmailIdentityMutationKeys = exports.platformDomainVerificationMutationKeys = exports.platformDomainEventMutationKeys = exports.platformDomainMutationKeys = exports.platformCorsSettingMutationKeys = exports.platformApiSettingMutationKeys = exports.platformApiSchemaMutationKeys = exports.platformApiMutationKeys = exports.partitionMutationKeys = exports.pageMutationKeys = exports.nodeTypeRegistryMutationKeys = exports.managedDomainMutationKeys = exports.listSuspendedDatabasesRecordMutationKeys = exports.indexMutationKeys = exports.identityProviderRegistryMutationKeys = exports.getSitePreviewsRecordMutationKeys = exports.functionMutationKeys = exports.fullTextSearchMutationKeys = exports.foreignKeyConstraintMutationKeys = exports.foreignKeyConstraintBehaviorMutationKeys = exports.fieldMutationKeys = exports.fieldBehaviorMutationKeys = exports.exclusionConstraintMutationKeys = exports.enumMutationKeys = exports.embeddingChunkMutationKeys = exports.emailSiteIdentityMutationKeys = exports.emailProviderAccountMutationKeys = exports.emailIdentityMutationKeys = exports.domainVerificationMutationKeys = exports.domainTypeMutationKeys = exports.domainEventMutationKeys = exports.domainMutationKeys = exports.deriveMutationKeys = exports.defaultPrivilegeMutationKeys = exports.databaseTransferMutationKeys = exports.databaseSettingMutationKeys = exports.databaseMutationKeys = exports.corsSettingMutationKeys = exports.compositeTypeMutationKeys = exports.checkConstraintMutationKeys = exports.astMigrationMutationKeys = exports.apiSettingMutationKeys = exports.apiSchemaMutationKeys = exports.apiMutationKeys = void 0;
|
|
9
|
+
exports.mutationKeys = exports.customMutationKeys = exports.webauthnSettingMutationKeys = exports.viewTableMutationKeys = exports.viewRuleMutationKeys = exports.viewGrantMutationKeys = exports.viewMutationKeys = exports.viewBehaviorMutationKeys = exports.uniqueConstraintMutationKeys = exports.uniqueConstraintBehaviorMutationKeys = exports.triggerFunctionMutationKeys = exports.triggerMutationKeys = exports.tableGrantMutationKeys = exports.tableMutationKeys = exports.tableBehaviorMutationKeys = exports.sqlActionMutationKeys = exports.spatialRelationMutationKeys = exports.siteWebConfigMutationKeys = exports.siteThemeMutationKeys = exports.siteReleaseMutationKeys = exports.siteModuleMutationKeys = exports.siteMetadatumMutationKeys = exports.siteErrorPageMutationKeys = exports.siteDeepLinkMutationKeys = exports.siteMutationKeys = exports.siteAppLinkMutationKeys = exports.schemaGrantMutationKeys = exports.schemaMutationKeys = exports.routeMutationKeys = exports.rlsSettingMutationKeys = exports.redirectMutationKeys = exports.pubkeySettingMutationKeys = exports.primaryKeyConstraintMutationKeys = exports.policyMutationKeys = exports.platformSiteWebConfigMutationKeys = exports.platformSiteThemeMutationKeys = exports.platformSiteReleaseMutationKeys = exports.platformSiteModuleMutationKeys = exports.platformSiteMetadatumMutationKeys = exports.platformSiteErrorPageMutationKeys = exports.platformSiteDeepLinkMutationKeys = exports.platformSiteMutationKeys = exports.platformSiteAppLinkMutationKeys = void 0;
|
|
10
10
|
// ============================================================================
|
|
11
11
|
// Mutation keys for tracking in-flight mutations
|
|
12
12
|
//
|
|
@@ -343,6 +343,15 @@ exports.platformPageMutationKeys = {
|
|
|
343
343
|
/** Update platformPage mutation key */ update: (id) => ['mutation', 'platformpage', 'update', id],
|
|
344
344
|
/** Delete platformPage mutation key */ delete: (id) => ['mutation', 'platformpage', 'delete', id],
|
|
345
345
|
};
|
|
346
|
+
exports.platformReservedSubdomainMutationKeys = {
|
|
347
|
+
/** All platformReservedSubdomain mutation keys */ all: [
|
|
348
|
+
'mutation',
|
|
349
|
+
'platformreservedsubdomain',
|
|
350
|
+
],
|
|
351
|
+
/** Create platformReservedSubdomain mutation key */ create: () => ['mutation', 'platformreservedsubdomain', 'create'],
|
|
352
|
+
/** Update platformReservedSubdomain mutation key */ update: (id) => ['mutation', 'platformreservedsubdomain', 'update', id],
|
|
353
|
+
/** Delete platformReservedSubdomain mutation key */ delete: (id) => ['mutation', 'platformreservedsubdomain', 'delete', id],
|
|
354
|
+
};
|
|
346
355
|
exports.platformSiteAppLinkMutationKeys = {
|
|
347
356
|
/** All platformSiteAppLink mutation keys */ all: ['mutation', 'platformsiteapplink'],
|
|
348
357
|
/** Create platformSiteAppLink mutation key */ create: () => ['mutation', 'platformsiteapplink', 'create'],
|
|
@@ -771,6 +780,7 @@ exports.mutationKeys = {
|
|
|
771
780
|
platformGetSitePreviewsRecord: exports.platformGetSitePreviewsRecordMutationKeys,
|
|
772
781
|
platformManagedDomain: exports.platformManagedDomainMutationKeys,
|
|
773
782
|
platformPage: exports.platformPageMutationKeys,
|
|
783
|
+
platformReservedSubdomain: exports.platformReservedSubdomainMutationKeys,
|
|
774
784
|
platformSiteAppLink: exports.platformSiteAppLinkMutationKeys,
|
|
775
785
|
platformSite: exports.platformSiteMutationKeys,
|
|
776
786
|
platformSiteDeepLink: exports.platformSiteDeepLinkMutationKeys,
|
|
@@ -12,7 +12,6 @@ export * from './useDeleteApiSchemaMutation';
|
|
|
12
12
|
export * from './useCreateApiSettingMutation';
|
|
13
13
|
export * from './useUpdateApiSettingMutation';
|
|
14
14
|
export * from './useDeleteApiSettingMutation';
|
|
15
|
-
export * from './useCreateAstMigrationMutation';
|
|
16
15
|
export * from './useCreateCheckConstraintMutation';
|
|
17
16
|
export * from './useUpdateCheckConstraintMutation';
|
|
18
17
|
export * from './useDeleteCheckConstraintMutation';
|
|
@@ -85,14 +84,12 @@ export * from './useDeleteFullTextSearchMutation';
|
|
|
85
84
|
export * from './useCreateFunctionMutation';
|
|
86
85
|
export * from './useUpdateFunctionMutation';
|
|
87
86
|
export * from './useDeleteFunctionMutation';
|
|
88
|
-
export * from './useCreateGetSitePreviewsRecordMutation';
|
|
89
87
|
export * from './useCreateIdentityProviderRegistryMutation';
|
|
90
88
|
export * from './useUpdateIdentityProviderRegistryMutation';
|
|
91
89
|
export * from './useDeleteIdentityProviderRegistryMutation';
|
|
92
90
|
export * from './useCreateIndexMutation';
|
|
93
91
|
export * from './useUpdateIndexMutation';
|
|
94
92
|
export * from './useDeleteIndexMutation';
|
|
95
|
-
export * from './useCreateListSuspendedDatabasesRecordMutation';
|
|
96
93
|
export * from './useCreateManagedDomainMutation';
|
|
97
94
|
export * from './useUpdateManagedDomainMutation';
|
|
98
95
|
export * from './useDeleteManagedDomainMutation';
|
|
@@ -135,13 +132,15 @@ export * from './useDeletePlatformEmailProviderAccountMutation';
|
|
|
135
132
|
export * from './useCreatePlatformEmailSiteIdentityMutation';
|
|
136
133
|
export * from './useUpdatePlatformEmailSiteIdentityMutation';
|
|
137
134
|
export * from './useDeletePlatformEmailSiteIdentityMutation';
|
|
138
|
-
export * from './useCreatePlatformGetSitePreviewsRecordMutation';
|
|
139
135
|
export * from './useCreatePlatformManagedDomainMutation';
|
|
140
136
|
export * from './useUpdatePlatformManagedDomainMutation';
|
|
141
137
|
export * from './useDeletePlatformManagedDomainMutation';
|
|
142
138
|
export * from './useCreatePlatformPageMutation';
|
|
143
139
|
export * from './useUpdatePlatformPageMutation';
|
|
144
140
|
export * from './useDeletePlatformPageMutation';
|
|
141
|
+
export * from './useCreatePlatformReservedSubdomainMutation';
|
|
142
|
+
export * from './useUpdatePlatformReservedSubdomainMutation';
|
|
143
|
+
export * from './useDeletePlatformReservedSubdomainMutation';
|
|
145
144
|
export * from './useCreatePlatformSiteAppLinkMutation';
|
|
146
145
|
export * from './useUpdatePlatformSiteAppLinkMutation';
|
|
147
146
|
export * from './useDeletePlatformSiteAppLinkMutation';
|
|
@@ -223,7 +222,6 @@ export * from './useDeleteSiteWebConfigMutation';
|
|
|
223
222
|
export * from './useCreateSpatialRelationMutation';
|
|
224
223
|
export * from './useUpdateSpatialRelationMutation';
|
|
225
224
|
export * from './useDeleteSpatialRelationMutation';
|
|
226
|
-
export * from './useCreateSqlActionMutation';
|
|
227
225
|
export * from './useCreateTableBehaviorMutation';
|
|
228
226
|
export * from './useUpdateTableBehaviorMutation';
|
|
229
227
|
export * from './useDeleteTableBehaviorMutation';
|
|
@@ -28,7 +28,6 @@ __exportStar(require("./useDeleteApiSchemaMutation"), exports);
|
|
|
28
28
|
__exportStar(require("./useCreateApiSettingMutation"), exports);
|
|
29
29
|
__exportStar(require("./useUpdateApiSettingMutation"), exports);
|
|
30
30
|
__exportStar(require("./useDeleteApiSettingMutation"), exports);
|
|
31
|
-
__exportStar(require("./useCreateAstMigrationMutation"), exports);
|
|
32
31
|
__exportStar(require("./useCreateCheckConstraintMutation"), exports);
|
|
33
32
|
__exportStar(require("./useUpdateCheckConstraintMutation"), exports);
|
|
34
33
|
__exportStar(require("./useDeleteCheckConstraintMutation"), exports);
|
|
@@ -101,14 +100,12 @@ __exportStar(require("./useDeleteFullTextSearchMutation"), exports);
|
|
|
101
100
|
__exportStar(require("./useCreateFunctionMutation"), exports);
|
|
102
101
|
__exportStar(require("./useUpdateFunctionMutation"), exports);
|
|
103
102
|
__exportStar(require("./useDeleteFunctionMutation"), exports);
|
|
104
|
-
__exportStar(require("./useCreateGetSitePreviewsRecordMutation"), exports);
|
|
105
103
|
__exportStar(require("./useCreateIdentityProviderRegistryMutation"), exports);
|
|
106
104
|
__exportStar(require("./useUpdateIdentityProviderRegistryMutation"), exports);
|
|
107
105
|
__exportStar(require("./useDeleteIdentityProviderRegistryMutation"), exports);
|
|
108
106
|
__exportStar(require("./useCreateIndexMutation"), exports);
|
|
109
107
|
__exportStar(require("./useUpdateIndexMutation"), exports);
|
|
110
108
|
__exportStar(require("./useDeleteIndexMutation"), exports);
|
|
111
|
-
__exportStar(require("./useCreateListSuspendedDatabasesRecordMutation"), exports);
|
|
112
109
|
__exportStar(require("./useCreateManagedDomainMutation"), exports);
|
|
113
110
|
__exportStar(require("./useUpdateManagedDomainMutation"), exports);
|
|
114
111
|
__exportStar(require("./useDeleteManagedDomainMutation"), exports);
|
|
@@ -151,13 +148,15 @@ __exportStar(require("./useDeletePlatformEmailProviderAccountMutation"), exports
|
|
|
151
148
|
__exportStar(require("./useCreatePlatformEmailSiteIdentityMutation"), exports);
|
|
152
149
|
__exportStar(require("./useUpdatePlatformEmailSiteIdentityMutation"), exports);
|
|
153
150
|
__exportStar(require("./useDeletePlatformEmailSiteIdentityMutation"), exports);
|
|
154
|
-
__exportStar(require("./useCreatePlatformGetSitePreviewsRecordMutation"), exports);
|
|
155
151
|
__exportStar(require("./useCreatePlatformManagedDomainMutation"), exports);
|
|
156
152
|
__exportStar(require("./useUpdatePlatformManagedDomainMutation"), exports);
|
|
157
153
|
__exportStar(require("./useDeletePlatformManagedDomainMutation"), exports);
|
|
158
154
|
__exportStar(require("./useCreatePlatformPageMutation"), exports);
|
|
159
155
|
__exportStar(require("./useUpdatePlatformPageMutation"), exports);
|
|
160
156
|
__exportStar(require("./useDeletePlatformPageMutation"), exports);
|
|
157
|
+
__exportStar(require("./useCreatePlatformReservedSubdomainMutation"), exports);
|
|
158
|
+
__exportStar(require("./useUpdatePlatformReservedSubdomainMutation"), exports);
|
|
159
|
+
__exportStar(require("./useDeletePlatformReservedSubdomainMutation"), exports);
|
|
161
160
|
__exportStar(require("./useCreatePlatformSiteAppLinkMutation"), exports);
|
|
162
161
|
__exportStar(require("./useUpdatePlatformSiteAppLinkMutation"), exports);
|
|
163
162
|
__exportStar(require("./useDeletePlatformSiteAppLinkMutation"), exports);
|
|
@@ -239,7 +238,6 @@ __exportStar(require("./useDeleteSiteWebConfigMutation"), exports);
|
|
|
239
238
|
__exportStar(require("./useCreateSpatialRelationMutation"), exports);
|
|
240
239
|
__exportStar(require("./useUpdateSpatialRelationMutation"), exports);
|
|
241
240
|
__exportStar(require("./useDeleteSpatialRelationMutation"), exports);
|
|
242
|
-
__exportStar(require("./useCreateSqlActionMutation"), exports);
|
|
243
241
|
__exportStar(require("./useCreateTableBehaviorMutation"), exports);
|
|
244
242
|
__exportStar(require("./useUpdateTableBehaviorMutation"), exports);
|
|
245
243
|
__exportStar(require("./useDeleteTableBehaviorMutation"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
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 { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations, CreatePlatformReservedSubdomainInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations, CreatePlatformReservedSubdomainInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreatePlatformReservedSubdomainMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreatePlatformReservedSubdomainMutation<S extends PlatformReservedSubdomainSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & PlatformReservedSubdomainSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, PlatformReservedSubdomainSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createPlatformReservedSubdomain: {
|
|
28
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreatePlatformReservedSubdomainInput['platformReservedSubdomain']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createPlatformReservedSubdomain: {
|
|
32
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreatePlatformReservedSubdomainInput['platformReservedSubdomain']>;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useCreatePlatformReservedSubdomainMutation = useCreatePlatformReservedSubdomainMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
10
|
const client_1 = require("../client");
|
|
11
11
|
const selection_1 = require("../selection");
|
|
12
12
|
const query_keys_1 = require("../query-keys");
|
|
13
13
|
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function
|
|
14
|
+
function useCreatePlatformReservedSubdomainMutation(params) {
|
|
15
15
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
16
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
17
|
void _selection;
|
|
18
18
|
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
19
|
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.
|
|
20
|
+
mutationKey: mutation_keys_1.platformReservedSubdomainMutationKeys.create(),
|
|
21
21
|
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
-
.
|
|
22
|
+
.platformReservedSubdomain.create({
|
|
23
23
|
data,
|
|
24
24
|
select: args.select,
|
|
25
25
|
})
|
|
26
26
|
.unwrap(),
|
|
27
27
|
onSuccess: () => {
|
|
28
28
|
queryClient.invalidateQueries({
|
|
29
|
-
queryKey: query_keys_1.
|
|
29
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.lists(),
|
|
30
30
|
});
|
|
31
31
|
},
|
|
32
32
|
...mutationOptions,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
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 { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeletePlatformReservedSubdomainMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeletePlatformReservedSubdomainMutation<S extends PlatformReservedSubdomainSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & PlatformReservedSubdomainSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, PlatformReservedSubdomainSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deletePlatformReservedSubdomain: {
|
|
28
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deletePlatformReservedSubdomain: {
|
|
34
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useDeletePlatformReservedSubdomainMutation = useDeletePlatformReservedSubdomainMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useDeletePlatformReservedSubdomainMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.platformReservedSubdomainMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id }) => (0, client_1.getClient)()
|
|
22
|
+
.platformReservedSubdomain.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
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 { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations, PlatformReservedSubdomainPatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations, PlatformReservedSubdomainPatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdatePlatformReservedSubdomainMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', platformReservedSubdomainPatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdatePlatformReservedSubdomainMutation<S extends PlatformReservedSubdomainSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & PlatformReservedSubdomainSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, PlatformReservedSubdomainSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updatePlatformReservedSubdomain: {
|
|
28
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
platformReservedSubdomainPatch: PlatformReservedSubdomainPatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updatePlatformReservedSubdomain: {
|
|
35
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
platformReservedSubdomainPatch: PlatformReservedSubdomainPatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useUpdatePlatformReservedSubdomainMutation = useUpdatePlatformReservedSubdomainMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useUpdatePlatformReservedSubdomainMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.platformReservedSubdomainMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id, platformReservedSubdomainPatch, }) => (0, client_1.getClient)()
|
|
22
|
+
.platformReservedSubdomain.update({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
data: platformReservedSubdomainPatch,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
onSuccess: (_, variables) => {
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.detail(variables.id),
|
|
33
|
+
});
|
|
34
|
+
queryClient.invalidateQueries({
|
|
35
|
+
queryKey: query_keys_1.platformReservedSubdomainKeys.lists(),
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
...mutationOptions,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
@@ -99,6 +99,8 @@ export * from './usePlatformManagedDomainsQuery';
|
|
|
99
99
|
export * from './usePlatformManagedDomainQuery';
|
|
100
100
|
export * from './usePlatformPagesQuery';
|
|
101
101
|
export * from './usePlatformPageQuery';
|
|
102
|
+
export * from './usePlatformReservedSubdomainsQuery';
|
|
103
|
+
export * from './usePlatformReservedSubdomainQuery';
|
|
102
104
|
export * from './usePlatformSiteAppLinksQuery';
|
|
103
105
|
export * from './usePlatformSiteAppLinkQuery';
|
|
104
106
|
export * from './usePlatformSitesQuery';
|
|
@@ -181,7 +183,6 @@ export * from './useViewTablesQuery';
|
|
|
181
183
|
export * from './useViewTableQuery';
|
|
182
184
|
export * from './useWebauthnSettingsQuery';
|
|
183
185
|
export * from './useWebauthnSettingQuery';
|
|
184
|
-
export * from './useApiSchemaNamesQuery';
|
|
185
186
|
export * from './useApplyRegistryDefaultsQuery';
|
|
186
187
|
export * from './useEmailSharedAccountQuery';
|
|
187
188
|
export * from './useGetSitePreviewCommitQuery';
|
|
@@ -193,9 +194,6 @@ export * from './usePlatformPagePublishedQuery';
|
|
|
193
194
|
export * from './usePlatformSitesDeepLinkUrlQuery';
|
|
194
195
|
export * from './usePlatformSitesSiteOriginQuery';
|
|
195
196
|
export * from './usePlatformVerifySitePreviewTokenQuery';
|
|
196
|
-
export * from './useResolveDeepLinkQuery';
|
|
197
|
-
export * from './useResolveRouteQuery';
|
|
198
|
-
export * from './useResolveSiteAppLinksQuery';
|
|
199
197
|
export * from './useSitesDeepLinkUrlQuery';
|
|
200
198
|
export * from './useSitesSiteOriginQuery';
|
|
201
199
|
export * from './useVerifySitePreviewTokenQuery';
|
|
@@ -115,6 +115,8 @@ __exportStar(require("./usePlatformManagedDomainsQuery"), exports);
|
|
|
115
115
|
__exportStar(require("./usePlatformManagedDomainQuery"), exports);
|
|
116
116
|
__exportStar(require("./usePlatformPagesQuery"), exports);
|
|
117
117
|
__exportStar(require("./usePlatformPageQuery"), exports);
|
|
118
|
+
__exportStar(require("./usePlatformReservedSubdomainsQuery"), exports);
|
|
119
|
+
__exportStar(require("./usePlatformReservedSubdomainQuery"), exports);
|
|
118
120
|
__exportStar(require("./usePlatformSiteAppLinksQuery"), exports);
|
|
119
121
|
__exportStar(require("./usePlatformSiteAppLinkQuery"), exports);
|
|
120
122
|
__exportStar(require("./usePlatformSitesQuery"), exports);
|
|
@@ -197,7 +199,6 @@ __exportStar(require("./useViewTablesQuery"), exports);
|
|
|
197
199
|
__exportStar(require("./useViewTableQuery"), exports);
|
|
198
200
|
__exportStar(require("./useWebauthnSettingsQuery"), exports);
|
|
199
201
|
__exportStar(require("./useWebauthnSettingQuery"), exports);
|
|
200
|
-
__exportStar(require("./useApiSchemaNamesQuery"), exports);
|
|
201
202
|
__exportStar(require("./useApplyRegistryDefaultsQuery"), exports);
|
|
202
203
|
__exportStar(require("./useEmailSharedAccountQuery"), exports);
|
|
203
204
|
__exportStar(require("./useGetSitePreviewCommitQuery"), exports);
|
|
@@ -209,9 +210,6 @@ __exportStar(require("./usePlatformPagePublishedQuery"), exports);
|
|
|
209
210
|
__exportStar(require("./usePlatformSitesDeepLinkUrlQuery"), exports);
|
|
210
211
|
__exportStar(require("./usePlatformSitesSiteOriginQuery"), exports);
|
|
211
212
|
__exportStar(require("./usePlatformVerifySitePreviewTokenQuery"), exports);
|
|
212
|
-
__exportStar(require("./useResolveDeepLinkQuery"), exports);
|
|
213
|
-
__exportStar(require("./useResolveRouteQuery"), exports);
|
|
214
|
-
__exportStar(require("./useResolveSiteAppLinksQuery"), exports);
|
|
215
213
|
__exportStar(require("./useSitesDeepLinkUrlQuery"), exports);
|
|
216
214
|
__exportStar(require("./useSitesSiteOriginQuery"), exports);
|
|
217
215
|
__exportStar(require("./useVerifySitePreviewTokenQuery"), exports);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
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 { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformReservedSubdomainSelect, PlatformReservedSubdomainWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const platformReservedSubdomainQueryKey: (id: string | number) => readonly ["platformreservedsubdomain", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = usePlatformReservedSubdomainQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePlatformReservedSubdomainQuery<S extends PlatformReservedSubdomainSelect, TData = {
|
|
24
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, PlatformReservedSubdomainSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchPlatformReservedSubdomainQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchPlatformReservedSubdomainQuery<S extends PlatformReservedSubdomainSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, PlatformReservedSubdomainSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
platformReservedSubdomain: InferSelectResult<PlatformReservedSubdomainWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Subdomain labels no tenant may claim under a platform apex
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchPlatformReservedSubdomainQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchPlatformReservedSubdomainQuery<S extends PlatformReservedSubdomainSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, PlatformReservedSubdomainSelect>;
|
|
65
|
+
}): Promise<void>;
|