@constructive-io/react 1.21.33 → 1.21.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/mutations/index.d.ts +0 -4
- package/admin/hooks/mutations/index.js +0 -4
- package/admin/orm/input-types.d.ts +32 -32
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingAppInvitesRecord.js +0 -11
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingOrgInvitesRecord.js +0 -11
- package/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/admin/orm/models/orgGetManagersRecord.js +0 -11
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/admin/orm/models/orgGetSubordinatesRecord.js +0 -11
- package/admin/orm/query-builder.js +1 -3
- package/admin/orm/select-types.d.ts +1 -1
- package/admin/schema-types.d.ts +54 -19
- package/admin/types.d.ts +3 -0
- package/agent/orm/input-types.d.ts +36 -8
- package/agent/orm/query-builder.js +1 -3
- package/agent/orm/select-types.d.ts +1 -1
- package/agent/schema-types.d.ts +76 -29
- package/agent/types.d.ts +4 -0
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +3 -5
- package/api/hooks/mutations/index.js +3 -5
- package/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +6 -6
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js +39 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +2 -4
- package/api/hooks/queries/index.js +2 -4
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.js +53 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +14 -8
- package/api/hooks/query-keys.js +10 -6
- package/api/orm/index.d.ts +2 -20
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +281 -159
- package/api/orm/models/astMigration.d.ts +2 -9
- package/api/orm/models/astMigration.js +0 -11
- package/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/getSitePreviewsRecord.js +0 -11
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/api/orm/models/listSuspendedDatabasesRecord.js +0 -11
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/platformGetSitePreviewsRecord.js +0 -11
- package/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/api/orm/models/platformReservedSubdomain.js +104 -0
- package/api/orm/models/sqlAction.d.ts +2 -9
- package/api/orm/models/sqlAction.js +0 -11
- package/api/orm/query/index.d.ts +0 -37
- package/api/orm/query/index.js +0 -60
- package/api/orm/query-builder.js +1 -3
- package/api/orm/select-types.d.ts +1 -1
- package/api/schema-types.d.ts +161 -88
- package/api/types.d.ts +29 -5
- package/auth/hooks/mutation-keys.d.ts +8 -0
- package/auth/hooks/mutation-keys.js +12 -0
- package/auth/hooks/mutations/index.d.ts +4 -6
- package/auth/hooks/mutations/index.js +4 -6
- package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/auth/hooks/mutations/useCreatePrincipalMutation.js +4 -12
- package/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
- package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useRequestDeviceApprovalMutation.js} +6 -14
- package/auth/hooks/queries/index.d.ts +1 -0
- package/auth/hooks/queries/index.js +1 -0
- package/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +15 -19
- package/auth/hooks/query-keys.d.ts +2 -0
- package/auth/hooks/query-keys.js +1 -0
- package/auth/orm/index.d.ts +25 -0
- package/auth/orm/input-types.d.ts +159 -78
- package/auth/orm/models/identityProvider.d.ts +2 -9
- package/auth/orm/models/identityProvider.js +0 -11
- package/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/auth/orm/models/orgApiKeyList.js +0 -11
- package/auth/orm/models/principal.d.ts +2 -9
- package/auth/orm/models/principal.js +0 -11
- package/auth/orm/models/principalEntity.d.ts +2 -9
- package/auth/orm/models/principalEntity.js +0 -11
- package/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/auth/orm/models/principalScopeOverride.js +0 -11
- package/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/auth/orm/models/userConnectedAccount.js +0 -11
- package/auth/orm/mutation/index.d.ts +37 -1
- package/auth/orm/mutation/index.js +48 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/auth/orm/query-builder.js +1 -3
- package/auth/orm/select-types.d.ts +1 -1
- package/auth/schema-types.d.ts +119 -20
- package/auth/types.d.ts +3 -0
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -12
- package/compute/hooks/invalidation.js +32 -32
- package/compute/hooks/mutation-keys.d.ts +26 -24
- package/compute/hooks/mutation-keys.js +23 -20
- package/compute/hooks/mutations/index.d.ts +7 -24
- package/compute/hooks/mutations/index.js +7 -24
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.js +4 -12
- package/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/compute/hooks/mutations/{useCreateBuilderBindingMutation.js → useCreateServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeleteBuilderBindingMutation.js → useDeleteServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +9 -9
- package/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdateBuilderBindingMutation.js → useUpdateServiceBindingMutation.js} +9 -9
- package/compute/hooks/queries/index.d.ts +4 -4
- package/compute/hooks/queries/index.js +4 -4
- package/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.js +38 -0
- package/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/{useBuilderBindingsQuery.js → useServiceBindingsQuery.js} +14 -14
- package/compute/hooks/query-keys.d.ts +28 -28
- package/compute/hooks/query-keys.js +19 -19
- package/compute/orm/index.d.ts +9 -4
- package/compute/orm/index.js +4 -4
- package/compute/orm/input-types.d.ts +965 -1025
- package/compute/orm/input-types.js +8 -8
- package/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/compute/orm/models/databaseFunctionGraph.js +0 -11
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/functionGraph.d.ts +2 -9
- package/compute/orm/models/functionGraph.js +0 -11
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/getAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/index.d.ts +2 -2
- package/compute/orm/models/index.js +7 -7
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/platformResourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/platformResourceObservedStorage.js +0 -11
- package/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/compute/orm/models/platformResourceUtilization.js +0 -11
- package/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/compute/orm/models/platformResourcesHealth.js +0 -11
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/platformResourcesRequirementsState.js +0 -11
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/platformResourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +27 -27
- package/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/resourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/resourceObservedStorage.js +0 -11
- package/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/compute/orm/models/resourceUtilization.js +0 -11
- package/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/compute/orm/models/resourcesHealth.js +0 -11
- package/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/resourcesRequirementsState.js +0 -11
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/resourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/serviceBinding.d.ts +54 -0
- package/compute/orm/models/{builderBinding.js → serviceBinding.js} +27 -27
- package/compute/orm/mutation/index.d.ts +9 -1
- package/compute/orm/mutation/index.js +12 -0
- package/compute/orm/query-builder.js +1 -3
- package/compute/orm/select-types.d.ts +1 -1
- package/compute/schema-types.d.ts +467 -386
- package/compute/types.d.ts +60 -33
- package/config/hooks/mutations/index.d.ts +0 -5
- package/config/hooks/mutations/index.js +0 -5
- package/config/orm/input-types.d.ts +0 -66
- package/config/orm/models/appInternalSecret.d.ts +2 -9
- package/config/orm/models/appInternalSecret.js +0 -11
- package/config/orm/models/internalSecret.d.ts +2 -9
- package/config/orm/models/internalSecret.js +0 -11
- package/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/config/orm/models/platformInternalSecret.js +0 -11
- package/config/orm/models/platformSecret.d.ts +2 -9
- package/config/orm/models/platformSecret.js +0 -11
- package/config/orm/models/secret.d.ts +2 -9
- package/config/orm/models/secret.js +0 -11
- package/config/orm/query-builder.js +1 -3
- package/config/orm/select-types.d.ts +1 -1
- package/config/schema-types.d.ts +54 -17
- package/esm/admin/hooks/mutations/index.d.ts +0 -4
- package/esm/admin/hooks/mutations/index.js +0 -4
- package/esm/admin/orm/input-types.d.ts +32 -32
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +1 -12
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +1 -12
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetManagersRecord.js +1 -12
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +1 -12
- package/esm/admin/orm/query-builder.js +1 -3
- package/esm/admin/orm/select-types.d.ts +1 -1
- package/esm/admin/schema-types.d.ts +54 -19
- package/esm/admin/types.d.ts +3 -0
- package/esm/agent/orm/input-types.d.ts +36 -8
- package/esm/agent/orm/query-builder.js +1 -3
- package/esm/agent/orm/select-types.d.ts +1 -1
- package/esm/agent/schema-types.d.ts +76 -29
- package/esm/agent/types.d.ts +4 -0
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +3 -5
- package/esm/api/hooks/mutations/index.js +3 -5
- package/esm/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/esm/{compute/hooks/mutations/useDeleteBuilderBindingMutation.js → api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js} +8 -8
- package/esm/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/esm/{compute/hooks/mutations/useUpdateBuilderBindingMutation.js → api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js} +10 -10
- package/esm/api/hooks/queries/index.d.ts +2 -4
- package/esm/api/hooks/queries/index.js +2 -4
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +14 -8
- package/esm/api/hooks/query-keys.js +8 -4
- package/esm/api/orm/index.d.ts +2 -20
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +281 -159
- package/esm/api/orm/models/astMigration.d.ts +2 -9
- package/esm/api/orm/models/astMigration.js +1 -12
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/getSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +1 -12
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/esm/api/orm/models/platformReservedSubdomain.js +100 -0
- package/esm/api/orm/models/sqlAction.d.ts +2 -9
- package/esm/api/orm/models/sqlAction.js +1 -12
- package/esm/api/orm/query/index.d.ts +0 -37
- package/esm/api/orm/query/index.js +0 -60
- package/esm/api/orm/query-builder.js +1 -3
- package/esm/api/orm/select-types.d.ts +1 -1
- package/esm/api/schema-types.d.ts +161 -88
- package/esm/api/types.d.ts +29 -5
- package/esm/auth/hooks/mutation-keys.d.ts +8 -0
- package/esm/auth/hooks/mutation-keys.js +12 -0
- package/esm/auth/hooks/mutations/index.d.ts +4 -6
- package/esm/auth/hooks/mutations/index.js +4 -6
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +6 -14
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.js +23 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +23 -0
- package/esm/auth/hooks/queries/index.d.ts +1 -0
- package/esm/auth/hooks/queries/index.js +1 -0
- package/esm/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/esm/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +11 -15
- package/esm/auth/hooks/query-keys.d.ts +2 -0
- package/esm/auth/hooks/query-keys.js +1 -0
- package/esm/auth/orm/index.d.ts +25 -0
- package/esm/auth/orm/input-types.d.ts +159 -78
- package/esm/auth/orm/models/identityProvider.d.ts +2 -9
- package/esm/auth/orm/models/identityProvider.js +1 -12
- package/esm/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/esm/auth/orm/models/orgApiKeyList.js +1 -12
- package/esm/auth/orm/models/principal.d.ts +2 -9
- package/esm/auth/orm/models/principal.js +1 -12
- package/esm/auth/orm/models/principalEntity.d.ts +2 -9
- package/esm/auth/orm/models/principalEntity.js +1 -12
- package/esm/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/esm/auth/orm/models/principalScopeOverride.js +1 -12
- package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/esm/auth/orm/models/userConnectedAccount.js +1 -12
- package/esm/auth/orm/mutation/index.d.ts +37 -1
- package/esm/auth/orm/mutation/index.js +48 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/auth/orm/query-builder.js +1 -3
- package/esm/auth/orm/select-types.d.ts +1 -1
- package/esm/auth/schema-types.d.ts +119 -20
- package/esm/auth/types.d.ts +3 -0
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -12
- package/esm/compute/hooks/invalidation.js +33 -33
- package/esm/compute/hooks/mutation-keys.d.ts +26 -24
- package/esm/compute/hooks/mutation-keys.js +20 -17
- package/esm/compute/hooks/mutations/index.d.ts +7 -24
- package/esm/compute/hooks/mutations/index.js +7 -24
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.js +6 -14
- package/esm/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/esm/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/esm/{api/hooks/mutations/useCreateSqlActionMutation.js → compute/hooks/mutations/useCreateServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +8 -8
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.js +36 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +10 -10
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -4
- package/esm/compute/hooks/queries/index.js +4 -4
- package/esm/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -28
- package/esm/compute/hooks/query-keys.js +16 -16
- package/esm/compute/orm/index.d.ts +9 -4
- package/esm/compute/orm/index.js +4 -4
- package/esm/compute/orm/input-types.d.ts +965 -1025
- package/esm/compute/orm/input-types.js +8 -8
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/esm/compute/orm/models/databaseFunctionGraph.js +1 -12
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/functionGraph.d.ts +2 -9
- package/esm/compute/orm/models/functionGraph.js +1 -12
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/index.d.ts +2 -2
- package/esm/compute/orm/models/index.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceUtilization.js +1 -12
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesHealth.js +1 -12
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +25 -25
- package/esm/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/resourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/resourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/resourceUtilization.js +1 -12
- package/esm/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/resourcesHealth.js +1 -12
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/resourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/serviceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{builderBinding.js → serviceBinding.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +9 -1
- package/esm/compute/orm/mutation/index.js +12 -0
- package/esm/compute/orm/query-builder.js +1 -3
- package/esm/compute/orm/select-types.d.ts +1 -1
- package/esm/compute/schema-types.d.ts +467 -386
- package/esm/compute/types.d.ts +60 -33
- package/esm/config/hooks/mutations/index.d.ts +0 -5
- package/esm/config/hooks/mutations/index.js +0 -5
- package/esm/config/orm/input-types.d.ts +0 -66
- package/esm/config/orm/models/appInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/appInternalSecret.js +1 -12
- package/esm/config/orm/models/internalSecret.d.ts +2 -9
- package/esm/config/orm/models/internalSecret.js +1 -12
- package/esm/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/platformInternalSecret.js +1 -12
- package/esm/config/orm/models/platformSecret.d.ts +2 -9
- package/esm/config/orm/models/platformSecret.js +1 -12
- package/esm/config/orm/models/secret.d.ts +2 -9
- package/esm/config/orm/models/secret.js +1 -12
- package/esm/config/orm/query-builder.js +1 -3
- package/esm/config/orm/select-types.d.ts +1 -1
- package/esm/config/schema-types.d.ts +54 -17
- package/esm/infra/hooks/mutations/index.d.ts +0 -1
- package/esm/infra/hooks/mutations/index.js +0 -1
- package/esm/infra/orm/input-types.d.ts +0 -7
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/infra/orm/query-builder.js +1 -3
- package/esm/infra/orm/select-types.d.ts +1 -1
- package/esm/infra/schema-types.d.ts +54 -17
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/esm/modules/orm/input-types.d.ts +95 -38
- package/esm/modules/orm/mutation/index.d.ts +1 -1
- package/esm/modules/orm/query-builder.js +1 -3
- package/esm/modules/orm/select-types.d.ts +1 -1
- package/esm/modules/schema-types.d.ts +104 -39
- package/esm/modules/types.d.ts +10 -3
- package/esm/objects/hooks/mutations/index.d.ts +0 -1
- package/esm/objects/hooks/mutations/index.js +0 -1
- package/esm/objects/orm/input-types.d.ts +0 -7
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/objects/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/objects/orm/query-builder.js +1 -3
- package/esm/objects/orm/select-types.d.ts +1 -1
- package/esm/objects/schema-types.d.ts +54 -17
- package/esm/remote/hooks/queries/index.d.ts +1 -0
- package/esm/remote/hooks/queries/index.js +1 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.js +43 -0
- package/esm/remote/hooks/query-keys.d.ts +6 -0
- package/esm/remote/hooks/query-keys.js +7 -0
- package/esm/remote/orm/index.d.ts +8 -0
- package/esm/remote/orm/index.js +3 -0
- package/esm/remote/orm/query/index.d.ts +14 -0
- package/esm/remote/orm/query/index.js +13 -0
- package/esm/remote/orm/query-builder.js +1 -3
- package/esm/remote/orm/select-types.d.ts +1 -1
- package/esm/remote/schema-types.d.ts +54 -17
- package/esm/storage/hooks/mutations/index.d.ts +0 -2
- package/esm/storage/hooks/mutations/index.js +0 -2
- package/esm/storage/orm/input-types.d.ts +84 -139
- package/esm/storage/orm/models/file.d.ts +2 -9
- package/esm/storage/orm/models/file.js +1 -12
- package/esm/storage/orm/models/platformFile.d.ts +2 -9
- package/esm/storage/orm/models/platformFile.js +1 -12
- package/esm/storage/orm/query-builder.js +1 -3
- package/esm/storage/orm/select-types.d.ts +1 -1
- package/esm/storage/schema-types.d.ts +79 -112
- package/esm/storage/types.d.ts +7 -0
- package/esm/usage/orm/query-builder.js +1 -3
- package/esm/usage/orm/select-types.d.ts +1 -1
- package/esm/usage/schema-types.d.ts +54 -17
- package/infra/hooks/mutations/index.d.ts +0 -1
- package/infra/hooks/mutations/index.js +0 -1
- package/infra/orm/input-types.d.ts +0 -7
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/infra/orm/query-builder.js +1 -3
- package/infra/orm/select-types.d.ts +1 -1
- package/infra/schema-types.d.ts +54 -17
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/modules/orm/input-types.d.ts +95 -38
- package/modules/orm/mutation/index.d.ts +1 -1
- package/modules/orm/query-builder.js +1 -3
- package/modules/orm/select-types.d.ts +1 -1
- package/modules/schema-types.d.ts +104 -39
- package/modules/types.d.ts +10 -3
- package/objects/hooks/mutations/index.d.ts +0 -1
- package/objects/hooks/mutations/index.js +0 -1
- package/objects/orm/input-types.d.ts +0 -7
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/objects/orm/models/getAllTreeNodesRecord.js +0 -11
- package/objects/orm/query-builder.js +1 -3
- package/objects/orm/select-types.d.ts +1 -1
- package/objects/schema-types.d.ts +54 -17
- package/package.json +5 -5
- package/remote/hooks/queries/index.d.ts +1 -0
- package/remote/hooks/queries/index.js +1 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.js +49 -0
- package/remote/hooks/query-keys.d.ts +6 -0
- package/remote/hooks/query-keys.js +8 -1
- package/remote/orm/index.d.ts +8 -0
- package/remote/orm/index.js +5 -1
- package/remote/orm/query/index.d.ts +14 -0
- package/remote/orm/query/index.js +16 -0
- package/remote/orm/query-builder.js +1 -3
- package/remote/orm/select-types.d.ts +1 -1
- package/remote/schema-types.d.ts +54 -17
- package/storage/hooks/mutations/index.d.ts +0 -2
- package/storage/hooks/mutations/index.js +0 -2
- package/storage/orm/input-types.d.ts +84 -139
- package/storage/orm/models/file.d.ts +2 -9
- package/storage/orm/models/file.js +0 -11
- package/storage/orm/models/platformFile.d.ts +2 -9
- package/storage/orm/models/platformFile.js +0 -11
- package/storage/orm/query-builder.js +1 -3
- package/storage/orm/select-types.d.ts +1 -1
- package/storage/schema-types.d.ts +79 -112
- package/storage/types.d.ts +7 -0
- package/usage/orm/query-builder.js +1 -3
- package/usage/orm/select-types.d.ts +1 -1
- package/usage/schema-types.d.ts +54 -17
- package/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/api/hooks/queries/useApiSchemaNamesQuery.js +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.js +0 -53
- package/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -53
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -34
- package/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -38
- package/compute/orm/models/builderBinding.d.ts +0 -54
- package/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -47
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.js +0 -32
- package/esm/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -32
- package/esm/compute/orm/models/builderBinding.d.ts +0 -54
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateSecretMutation.js +0 -31
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreateFileMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -31
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreateFileMutation.js +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Binds a namespace to an installed BuildKit resource for a lane (realm) — the reconciler projects its in-cluster Service address as BUILDKIT_HOST
|
|
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 { PlatformBuilderBindingSelect, PlatformBuilderBindingWithRelations, CreatePlatformBuilderBindingInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformBuilderBindingSelect, PlatformBuilderBindingWithRelations, CreatePlatformBuilderBindingInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Binds a namespace to an installed BuildKit resource for a lane (realm) — the reconciler projects its in-cluster Service address as BUILDKIT_HOST
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformBuilderBindingMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformBuilderBindingMutation<S extends PlatformBuilderBindingSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformBuilderBindingSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformBuilderBindingSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformBuilderBinding: {
|
|
28
|
-
platformBuilderBinding: InferSelectResult<PlatformBuilderBindingWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformBuilderBindingInput['platformBuilderBinding']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformBuilderBinding: {
|
|
32
|
-
platformBuilderBinding: InferSelectResult<PlatformBuilderBindingWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformBuilderBindingInput['platformBuilderBinding']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Binds a namespace to an installed BuildKit resource for a lane (realm) — the reconciler projects its in-cluster Service address as BUILDKIT_HOST
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformBuilderBindingKeys } from '../query-keys';
|
|
10
|
-
import { platformBuilderBindingMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformBuilderBindingMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformBuilderBindingMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformBuilderBinding.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformBuilderBindingKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformInfraGetAllTreeNodesRecord
|
|
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 { PlatformInfraGetAllTreeNodesRecordSelect, PlatformInfraGetAllTreeNodesRecordWithRelations, CreatePlatformInfraGetAllTreeNodesRecordInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformInfraGetAllTreeNodesRecordSelect, PlatformInfraGetAllTreeNodesRecordWithRelations, CreatePlatformInfraGetAllTreeNodesRecordInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformInfraGetAllTreeNodesRecord
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformInfraGetAllTreeNodesRecordMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformInfraGetAllTreeNodesRecordMutation<S extends PlatformInfraGetAllTreeNodesRecordSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformInfraGetAllTreeNodesRecordSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformInfraGetAllTreeNodesRecordSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformInfraGetAllTreeNodesRecord: {
|
|
28
|
-
platformInfraGetAllTreeNodesRecord: InferSelectResult<PlatformInfraGetAllTreeNodesRecordWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformInfraGetAllTreeNodesRecordInput['platformInfraGetAllTreeNodesRecord']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformInfraGetAllTreeNodesRecord: {
|
|
32
|
-
platformInfraGetAllTreeNodesRecord: InferSelectResult<PlatformInfraGetAllTreeNodesRecordWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformInfraGetAllTreeNodesRecordInput['platformInfraGetAllTreeNodesRecord']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformInfraGetAllTreeNodesRecord
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformInfraGetAllTreeNodesRecordKeys } from '../query-keys';
|
|
10
|
-
import { platformInfraGetAllTreeNodesRecordMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformInfraGetAllTreeNodesRecordMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformInfraGetAllTreeNodesRecordMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformInfraGetAllTreeNodesRecord.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformInfraGetAllTreeNodesRecordKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourceDeclaredCapacity
|
|
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 { PlatformResourceDeclaredCapacitySelect, PlatformResourceDeclaredCapacityWithRelations, CreatePlatformResourceDeclaredCapacityInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformResourceDeclaredCapacitySelect, PlatformResourceDeclaredCapacityWithRelations, CreatePlatformResourceDeclaredCapacityInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformResourceDeclaredCapacity
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformResourceDeclaredCapacityMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformResourceDeclaredCapacityMutation<S extends PlatformResourceDeclaredCapacitySelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformResourceDeclaredCapacitySelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformResourceDeclaredCapacitySelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformResourceDeclaredCapacity: {
|
|
28
|
-
platformResourceDeclaredCapacity: InferSelectResult<PlatformResourceDeclaredCapacityWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformResourceDeclaredCapacityInput['platformResourceDeclaredCapacity']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformResourceDeclaredCapacity: {
|
|
32
|
-
platformResourceDeclaredCapacity: InferSelectResult<PlatformResourceDeclaredCapacityWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformResourceDeclaredCapacityInput['platformResourceDeclaredCapacity']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourceDeclaredCapacity
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformResourceDeclaredCapacityKeys } from '../query-keys';
|
|
10
|
-
import { platformResourceDeclaredCapacityMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformResourceDeclaredCapacityMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformResourceDeclaredCapacityMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformResourceDeclaredCapacity.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformResourceDeclaredCapacityKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourceObservedStorage
|
|
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 { PlatformResourceObservedStorageSelect, PlatformResourceObservedStorageWithRelations, CreatePlatformResourceObservedStorageInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformResourceObservedStorageSelect, PlatformResourceObservedStorageWithRelations, CreatePlatformResourceObservedStorageInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformResourceObservedStorage
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformResourceObservedStorageMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformResourceObservedStorageMutation<S extends PlatformResourceObservedStorageSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformResourceObservedStorageSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformResourceObservedStorageSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformResourceObservedStorage: {
|
|
28
|
-
platformResourceObservedStorage: InferSelectResult<PlatformResourceObservedStorageWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformResourceObservedStorageInput['platformResourceObservedStorage']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformResourceObservedStorage: {
|
|
32
|
-
platformResourceObservedStorage: InferSelectResult<PlatformResourceObservedStorageWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformResourceObservedStorageInput['platformResourceObservedStorage']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourceObservedStorage
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformResourceObservedStorageKeys } from '../query-keys';
|
|
10
|
-
import { platformResourceObservedStorageMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformResourceObservedStorageMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformResourceObservedStorageMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformResourceObservedStorage.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformResourceObservedStorageKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourceUtilization
|
|
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 { PlatformResourceUtilizationSelect, PlatformResourceUtilizationWithRelations, CreatePlatformResourceUtilizationInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformResourceUtilizationSelect, PlatformResourceUtilizationWithRelations, CreatePlatformResourceUtilizationInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformResourceUtilization
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformResourceUtilizationMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformResourceUtilizationMutation<S extends PlatformResourceUtilizationSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformResourceUtilizationSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformResourceUtilizationSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformResourceUtilization: {
|
|
28
|
-
platformResourceUtilization: InferSelectResult<PlatformResourceUtilizationWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformResourceUtilizationInput['platformResourceUtilization']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformResourceUtilization: {
|
|
32
|
-
platformResourceUtilization: InferSelectResult<PlatformResourceUtilizationWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformResourceUtilizationInput['platformResourceUtilization']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourceUtilization
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformResourceUtilizationKeys } from '../query-keys';
|
|
10
|
-
import { platformResourceUtilizationMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformResourceUtilizationMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformResourceUtilizationMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformResourceUtilization.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformResourceUtilizationKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourcesHealth
|
|
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 { PlatformResourcesHealthSelect, PlatformResourcesHealthWithRelations, CreatePlatformResourcesHealthInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformResourcesHealthSelect, PlatformResourcesHealthWithRelations, CreatePlatformResourcesHealthInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformResourcesHealth
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformResourcesHealthMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformResourcesHealthMutation<S extends PlatformResourcesHealthSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformResourcesHealthSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformResourcesHealthSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformResourcesHealth: {
|
|
28
|
-
platformResourcesHealth: InferSelectResult<PlatformResourcesHealthWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformResourcesHealthInput['platformResourcesHealth']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformResourcesHealth: {
|
|
32
|
-
platformResourcesHealth: InferSelectResult<PlatformResourcesHealthWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformResourcesHealthInput['platformResourcesHealth']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourcesHealth
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformResourcesHealthKeys } from '../query-keys';
|
|
10
|
-
import { platformResourcesHealthMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformResourcesHealthMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformResourcesHealthMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformResourcesHealth.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformResourcesHealthKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourcesRequirementsState
|
|
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 { PlatformResourcesRequirementsStateSelect, PlatformResourcesRequirementsStateWithRelations, CreatePlatformResourcesRequirementsStateInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformResourcesRequirementsStateSelect, PlatformResourcesRequirementsStateWithRelations, CreatePlatformResourcesRequirementsStateInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformResourcesRequirementsState
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformResourcesRequirementsStateMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformResourcesRequirementsStateMutation<S extends PlatformResourcesRequirementsStateSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformResourcesRequirementsStateSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformResourcesRequirementsStateSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformResourcesRequirementsState: {
|
|
28
|
-
platformResourcesRequirementsState: InferSelectResult<PlatformResourcesRequirementsStateWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformResourcesRequirementsStateInput['platformResourcesRequirementsState']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformResourcesRequirementsState: {
|
|
32
|
-
platformResourcesRequirementsState: InferSelectResult<PlatformResourcesRequirementsStateWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformResourcesRequirementsStateInput['platformResourcesRequirementsState']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourcesRequirementsState
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformResourcesRequirementsStateKeys } from '../query-keys';
|
|
10
|
-
import { platformResourcesRequirementsStateMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformResourcesRequirementsStateMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformResourcesRequirementsStateMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformResourcesRequirementsState.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformResourcesRequirementsStateKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourcesResolvedRequirement
|
|
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 { PlatformResourcesResolvedRequirementSelect, PlatformResourcesResolvedRequirementWithRelations, CreatePlatformResourcesResolvedRequirementInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { PlatformResourcesResolvedRequirementSelect, PlatformResourcesResolvedRequirementWithRelations, CreatePlatformResourcesResolvedRequirementInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a PlatformResourcesResolvedRequirement
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreatePlatformResourcesResolvedRequirementMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreatePlatformResourcesResolvedRequirementMutation<S extends PlatformResourcesResolvedRequirementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & PlatformResourcesResolvedRequirementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, PlatformResourcesResolvedRequirementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createPlatformResourcesResolvedRequirement: {
|
|
28
|
-
platformResourcesResolvedRequirement: InferSelectResult<PlatformResourcesResolvedRequirementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreatePlatformResourcesResolvedRequirementInput['platformResourcesResolvedRequirement']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createPlatformResourcesResolvedRequirement: {
|
|
32
|
-
platformResourcesResolvedRequirement: InferSelectResult<PlatformResourcesResolvedRequirementWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreatePlatformResourcesResolvedRequirementInput['platformResourcesResolvedRequirement']>;
|
package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for PlatformResourcesResolvedRequirement
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { platformResourcesResolvedRequirementKeys } from '../query-keys';
|
|
10
|
-
import { platformResourcesResolvedRequirementMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreatePlatformResourcesResolvedRequirementMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: platformResourcesResolvedRequirementMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.platformResourcesResolvedRequirement.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: platformResourcesResolvedRequirementKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for ResourceDeclaredCapacity
|
|
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 { ResourceDeclaredCapacitySelect, ResourceDeclaredCapacityWithRelations, CreateResourceDeclaredCapacityInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ResourceDeclaredCapacitySelect, ResourceDeclaredCapacityWithRelations, CreateResourceDeclaredCapacityInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a ResourceDeclaredCapacity
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateResourceDeclaredCapacityMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateResourceDeclaredCapacityMutation<S extends ResourceDeclaredCapacitySelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ResourceDeclaredCapacitySelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ResourceDeclaredCapacitySelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createResourceDeclaredCapacity: {
|
|
28
|
-
resourceDeclaredCapacity: InferSelectResult<ResourceDeclaredCapacityWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateResourceDeclaredCapacityInput['resourceDeclaredCapacity']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createResourceDeclaredCapacity: {
|
|
32
|
-
resourceDeclaredCapacity: InferSelectResult<ResourceDeclaredCapacityWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateResourceDeclaredCapacityInput['resourceDeclaredCapacity']>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for ResourceDeclaredCapacity
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { resourceDeclaredCapacityKeys } from '../query-keys';
|
|
10
|
-
import { resourceDeclaredCapacityMutationKeys } from '../mutation-keys';
|
|
11
|
-
export function useCreateResourceDeclaredCapacityMutation(params) {
|
|
12
|
-
const args = buildSelectionArgs(params.selection);
|
|
13
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
-
void _selection;
|
|
15
|
-
const queryClient = useQueryClient();
|
|
16
|
-
return useMutation({
|
|
17
|
-
mutationKey: resourceDeclaredCapacityMutationKeys.create(),
|
|
18
|
-
mutationFn: (data) => getClient()
|
|
19
|
-
.resourceDeclaredCapacity.create({
|
|
20
|
-
data,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
onSuccess: () => {
|
|
25
|
-
queryClient.invalidateQueries({
|
|
26
|
-
queryKey: resourceDeclaredCapacityKeys.lists(),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
...mutationOptions,
|
|
30
|
-
});
|
|
31
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create mutation hook for ResourceObservedStorage
|
|
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 { ResourceObservedStorageSelect, ResourceObservedStorageWithRelations, CreateResourceObservedStorageInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ResourceObservedStorageSelect, ResourceObservedStorageWithRelations, CreateResourceObservedStorageInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for creating a ResourceObservedStorage
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateResourceObservedStorageMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateResourceObservedStorageMutation<S extends ResourceObservedStorageSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ResourceObservedStorageSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ResourceObservedStorageSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createResourceObservedStorage: {
|
|
28
|
-
resourceObservedStorage: InferSelectResult<ResourceObservedStorageWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateResourceObservedStorageInput['resourceObservedStorage']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createResourceObservedStorage: {
|
|
32
|
-
resourceObservedStorage: InferSelectResult<ResourceObservedStorageWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateResourceObservedStorageInput['resourceObservedStorage']>;
|