@constructive-io/react 0.30.2 → 0.30.4
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/agent/orm/input-types.d.ts +24 -0
- package/agent/orm/input-types.js +3 -0
- package/agent/schema-types.d.ts +13 -0
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +11 -5
- package/api/hooks/invalidation.js +25 -9
- package/api/hooks/mutation-keys.d.ts +22 -10
- package/api/hooks/mutation-keys.js +14 -7
- package/api/hooks/mutations/index.d.ts +6 -1
- package/api/hooks/mutations/index.js +6 -1
- package/api/hooks/mutations/useCreateHttpRouteMutation.d.ts +34 -0
- package/{objects/hooks/mutations/useCreateGetAllRecordMutation.js → api/hooks/mutations/useCreateHttpRouteMutation.js} +6 -6
- package/api/hooks/mutations/useCreateManagedDomainMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateManagedDomainMutation.js +34 -0
- package/api/hooks/mutations/useDeleteHttpRouteMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteHttpRouteMutation.js +39 -0
- package/api/hooks/mutations/useDeleteManagedDomainMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteManagedDomainMutation.js +39 -0
- package/api/hooks/mutations/useUpdateHttpRouteMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateHttpRouteMutation.js +40 -0
- package/api/hooks/mutations/useUpdateManagedDomainMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateManagedDomainMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +5 -2
- package/api/hooks/queries/index.js +5 -2
- package/api/hooks/queries/useHttpRouteQuery.d.ts +65 -0
- package/api/hooks/queries/{useMigrateFileQuery.js → useHttpRouteQuery.js} +14 -14
- package/api/hooks/queries/useHttpRoutesQuery.d.ts +69 -0
- package/api/hooks/queries/useHttpRoutesQuery.js +38 -0
- package/api/hooks/queries/useManagedDomainQuery.d.ts +65 -0
- package/api/hooks/queries/useManagedDomainQuery.js +53 -0
- package/api/hooks/queries/useManagedDomainsQuery.d.ts +69 -0
- package/api/hooks/queries/useManagedDomainsQuery.js +38 -0
- package/api/hooks/queries/useResolveHttpRouteQuery.d.ts +65 -0
- package/api/hooks/queries/useResolveHttpRouteQuery.js +54 -0
- package/api/hooks/query-keys.d.ts +28 -12
- package/api/hooks/query-keys.js +17 -8
- package/api/orm/index.d.ts +9 -2
- package/api/orm/index.js +4 -2
- package/api/orm/input-types.d.ts +498 -143
- package/api/orm/input-types.js +4 -0
- package/api/orm/models/httpRoute.d.ts +54 -0
- package/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +27 -30
- package/api/orm/models/index.d.ts +2 -1
- package/api/orm/models/index.js +5 -3
- package/api/orm/models/managedDomain.d.ts +54 -0
- package/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +27 -30
- package/api/orm/query/index.d.ts +12 -0
- package/api/orm/query/index.js +20 -0
- package/api/schema-types.d.ts +277 -122
- package/api/types.d.ts +25 -5
- package/auth/orm/input-types.d.ts +155 -182
- package/auth/orm/input-types.js +4 -0
- package/auth/schema-types.d.ts +17 -63
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +136 -10
- package/compute/hooks/invalidation.js +354 -18
- package/compute/hooks/mutation-keys.d.ts +294 -20
- package/compute/hooks/mutation-keys.js +227 -13
- package/compute/hooks/mutations/index.d.ts +62 -2
- package/compute/hooks/mutations/index.js +62 -2
- package/compute/hooks/mutations/useCreateDeclaredCapacityMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateDeclaredCapacityMutation.js +34 -0
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +34 -0
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformDeclaredCapacityMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformDeclaredCapacityMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformInfraCommitMutation.d.ts +34 -0
- package/{infra/hooks/mutations/useCreateInfraCommitMutation.js → compute/hooks/mutations/useCreatePlatformInfraCommitMutation.js} +5 -5
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformInfraObjectMutation.d.ts +34 -0
- package/{infra/hooks/mutations/useCreateInfraObjectMutation.js → compute/hooks/mutations/useCreatePlatformInfraObjectMutation.js} +5 -5
- package/compute/hooks/mutations/useCreatePlatformInfraRefMutation.d.ts +34 -0
- package/{infra/hooks/mutations/useCreateInfraRefMutation.js → compute/hooks/mutations/useCreatePlatformInfraRefMutation.js} +5 -5
- package/compute/hooks/mutations/useCreatePlatformInfraStoreMutation.d.ts +34 -0
- package/{infra/hooks/mutations/useCreateInfraStoreMutation.js → compute/hooks/mutations/useCreatePlatformInfraStoreMutation.js} +5 -5
- package/compute/hooks/mutations/useCreatePlatformResourceInstallationMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceInstallationMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceUsageLogMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceUsageLogMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceUsageSummaryMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceUsageSummaryMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationDailyMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationDailyMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformWebhookEndpointMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformWebhookEndpointMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformWebhookEventMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformWebhookEventMutation.js +34 -0
- package/compute/hooks/mutations/useCreateResourceInstallationMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateResourceInstallationMutation.js +34 -0
- package/compute/hooks/mutations/useCreateResourceUsageLogMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateResourceUsageLogMutation.js +34 -0
- package/compute/hooks/mutations/useCreateResourceUsageSummaryMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateResourceUsageSummaryMutation.js +34 -0
- package/compute/hooks/mutations/useCreateResourceUtilizationDailyMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateResourceUtilizationDailyMutation.js +34 -0
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +34 -0
- package/{api/hooks/mutations/useCreateMigrateFileMutation.js → compute/hooks/mutations/useCreateResourcesHealthMutation.js} +6 -6
- package/compute/hooks/mutations/useCreateWebhookEndpointMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateWebhookEndpointMutation.js +34 -0
- package/compute/hooks/mutations/useCreateWebhookEventMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateWebhookEventMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteInfraCommitMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteInfraCommitMutation.js +2 -2
- package/compute/hooks/mutations/useDeleteInfraObjectMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteInfraObjectMutation.js +2 -2
- package/compute/hooks/mutations/useDeleteInfraRefMutation.d.ts +2 -2
- package/compute/hooks/mutations/useDeleteInfraRefMutation.js +2 -2
- package/compute/hooks/mutations/useDeletePlatformInfraCommitMutation.d.ts +40 -0
- package/{infra/hooks/mutations/useDeleteInfraCommitMutation.js → compute/hooks/mutations/useDeletePlatformInfraCommitMutation.js} +6 -6
- package/{esm/infra/hooks/mutations/useDeleteInfraObjectMutation.d.ts → compute/hooks/mutations/useDeletePlatformInfraObjectMutation.d.ts} +10 -10
- package/{infra/hooks/mutations/useDeleteInfraObjectMutation.js → compute/hooks/mutations/useDeletePlatformInfraObjectMutation.js} +6 -6
- package/{infra/hooks/mutations/useDeleteInfraRefMutation.d.ts → compute/hooks/mutations/useDeletePlatformInfraRefMutation.d.ts} +10 -10
- package/{infra/hooks/mutations/useDeleteInfraRefMutation.js → compute/hooks/mutations/useDeletePlatformInfraRefMutation.js} +6 -6
- package/{esm/infra/hooks/mutations/useDeleteInfraStoreMutation.d.ts → compute/hooks/mutations/useDeletePlatformInfraStoreMutation.d.ts} +10 -10
- package/{infra/hooks/mutations/useDeleteInfraStoreMutation.js → compute/hooks/mutations/useDeletePlatformInfraStoreMutation.js} +6 -6
- package/compute/hooks/mutations/useDeletePlatformResourceInstallationMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformResourceInstallationMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformResourceUsageLogMutation.d.ts +40 -0
- package/compute/hooks/mutations/useDeletePlatformResourceUsageLogMutation.js +40 -0
- package/compute/hooks/mutations/useDeletePlatformResourceUsageSummaryMutation.d.ts +40 -0
- package/compute/hooks/mutations/useDeletePlatformResourceUsageSummaryMutation.js +40 -0
- package/compute/hooks/mutations/useDeletePlatformWebhookEndpointMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformWebhookEndpointMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformWebhookEventMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformWebhookEventMutation.js +39 -0
- package/compute/hooks/mutations/useDeleteResourceInstallationMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteResourceInstallationMutation.js +39 -0
- package/compute/hooks/mutations/useDeleteResourceUsageLogMutation.d.ts +40 -0
- package/compute/hooks/mutations/useDeleteResourceUsageLogMutation.js +40 -0
- package/compute/hooks/mutations/useDeleteResourceUsageSummaryMutation.d.ts +40 -0
- package/compute/hooks/mutations/useDeleteResourceUsageSummaryMutation.js +40 -0
- package/compute/hooks/mutations/useDeleteWebhookEndpointMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteWebhookEndpointMutation.js +39 -0
- package/compute/hooks/mutations/useDeleteWebhookEventMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteWebhookEventMutation.js +39 -0
- package/compute/hooks/mutations/usePlatformInfraInitEmptyRepoMutation.d.ts +20 -0
- package/{infra/hooks/mutations/useInfraInsertNodeAtPathMutation.js → compute/hooks/mutations/usePlatformInfraInitEmptyRepoMutation.js} +5 -5
- package/compute/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformInfraSetDataAtPathMutation.d.ts +20 -0
- package/{infra/hooks/mutations/useInfraSetDataAtPathMutation.js → compute/hooks/mutations/usePlatformInfraSetDataAtPathMutation.js} +5 -5
- package/compute/hooks/mutations/usePlatformResourceInstallationsInstallMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsInstallMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsRollbackMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsRollbackMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsUninstallMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsUninstallMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsUpgradeMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformResourceInstallationsUpgradeMutation.js +26 -0
- package/compute/hooks/mutations/useResourceInstallationsInstallMutation.d.ts +20 -0
- package/compute/hooks/mutations/useResourceInstallationsInstallMutation.js +26 -0
- package/compute/hooks/mutations/useResourceInstallationsRollbackMutation.d.ts +20 -0
- package/compute/hooks/mutations/useResourceInstallationsRollbackMutation.js +26 -0
- package/compute/hooks/mutations/useResourceInstallationsUninstallMutation.d.ts +20 -0
- package/compute/hooks/mutations/useResourceInstallationsUninstallMutation.js +26 -0
- package/compute/hooks/mutations/useResourceInstallationsUpgradeMutation.d.ts +20 -0
- package/compute/hooks/mutations/useResourceInstallationsUpgradeMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateInfraCommitMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateInfraCommitMutation.js +2 -2
- package/compute/hooks/mutations/useUpdateInfraObjectMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateInfraObjectMutation.js +2 -2
- package/compute/hooks/mutations/useUpdateInfraRefMutation.d.ts +2 -2
- package/compute/hooks/mutations/useUpdateInfraRefMutation.js +2 -2
- package/compute/hooks/mutations/useUpdatePlatformInfraCommitMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraCommitMutation.js +41 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraObjectMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraObjectMutation.js +41 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraRefMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraRefMutation.js +41 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraStoreMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformInfraStoreMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformResourceInstallationMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformResourceInstallationMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformResourceUsageLogMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdatePlatformResourceUsageLogMutation.js +41 -0
- package/compute/hooks/mutations/useUpdatePlatformResourceUsageSummaryMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdatePlatformResourceUsageSummaryMutation.js +41 -0
- package/compute/hooks/mutations/useUpdatePlatformWebhookEndpointMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformWebhookEndpointMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformWebhookEventMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformWebhookEventMutation.js +40 -0
- package/compute/hooks/mutations/useUpdateResourceInstallationMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateResourceInstallationMutation.js +40 -0
- package/compute/hooks/mutations/useUpdateResourceUsageLogMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdateResourceUsageLogMutation.js +41 -0
- package/compute/hooks/mutations/useUpdateResourceUsageSummaryMutation.d.ts +42 -0
- package/compute/hooks/mutations/useUpdateResourceUsageSummaryMutation.js +41 -0
- package/compute/hooks/mutations/useUpdateWebhookEndpointMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateWebhookEndpointMutation.js +40 -0
- package/compute/hooks/mutations/useUpdateWebhookEventMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateWebhookEventMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +39 -2
- package/compute/hooks/queries/index.js +39 -2
- package/compute/hooks/queries/useDeclaredCapacitiesQuery.d.ts +69 -0
- package/compute/hooks/queries/useDeclaredCapacitiesQuery.js +38 -0
- package/compute/hooks/queries/useGetAllTreeNodesQuery.d.ts +69 -0
- package/compute/hooks/queries/useGetAllTreeNodesQuery.js +38 -0
- package/compute/hooks/queries/useInfraGetAllTreeNodesQuery.d.ts +69 -0
- package/compute/hooks/queries/useInfraGetAllTreeNodesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformDeclaredCapacitiesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformDeclaredCapacitiesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformInfraCommitQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformInfraCommitQuery.js +53 -0
- package/compute/hooks/queries/usePlatformInfraCommitsQuery.d.ts +69 -0
- package/{infra/hooks/queries/useInfraCommitsQuery.js → compute/hooks/queries/usePlatformInfraCommitsQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformInfraObjectQuery.d.ts +65 -0
- package/{infra/hooks/queries/useInfraObjectQuery.js → compute/hooks/queries/usePlatformInfraObjectQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformInfraObjectsQuery.d.ts +69 -0
- package/{infra/hooks/queries/useInfraObjectsQuery.js → compute/hooks/queries/usePlatformInfraObjectsQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformInfraRefQuery.d.ts +65 -0
- package/{infra/hooks/queries/useInfraRefQuery.js → compute/hooks/queries/usePlatformInfraRefQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformInfraRefsQuery.d.ts +69 -0
- package/{infra/hooks/queries/useInfraRefsQuery.js → compute/hooks/queries/usePlatformInfraRefsQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformInfraStoreQuery.d.ts +65 -0
- package/{infra/hooks/queries/useInfraStoreQuery.js → compute/hooks/queries/usePlatformInfraStoreQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformInfraStoresQuery.d.ts +69 -0
- package/{infra/hooks/queries/useInfraStoresQuery.js → compute/hooks/queries/usePlatformInfraStoresQuery.js} +13 -13
- package/compute/hooks/queries/usePlatformResourceInstallationQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformResourceInstallationQuery.js +53 -0
- package/compute/hooks/queries/usePlatformResourceInstallationsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformResourceInstallationsQuery.js +38 -0
- package/compute/hooks/queries/usePlatformResourceUsageLogQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformResourceUsageLogQuery.js +53 -0
- package/compute/hooks/queries/usePlatformResourceUsageLogsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformResourceUsageLogsQuery.js +38 -0
- package/compute/hooks/queries/usePlatformResourceUsageSummariesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformResourceUsageSummariesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformResourceUsageSummaryQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformResourceUsageSummaryQuery.js +53 -0
- package/compute/hooks/queries/usePlatformResourceUtilizationDailiesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformResourceUtilizationDailiesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformResourcesHealthQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformResourcesHealthQuery.js +53 -0
- package/compute/hooks/queries/usePlatformResourcesHealthsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformResourcesHealthsQuery.js +38 -0
- package/compute/hooks/queries/usePlatformWebhookEndpointQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformWebhookEndpointQuery.js +53 -0
- package/compute/hooks/queries/usePlatformWebhookEndpointsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformWebhookEndpointsQuery.js +38 -0
- package/compute/hooks/queries/usePlatformWebhookEventQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformWebhookEventQuery.js +53 -0
- package/compute/hooks/queries/usePlatformWebhookEventsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformWebhookEventsQuery.js +38 -0
- package/compute/hooks/queries/useResourceInstallationQuery.d.ts +65 -0
- package/compute/hooks/queries/useResourceInstallationQuery.js +53 -0
- package/compute/hooks/queries/useResourceInstallationsQuery.d.ts +69 -0
- package/compute/hooks/queries/useResourceInstallationsQuery.js +38 -0
- package/compute/hooks/queries/useResourceUsageLogQuery.d.ts +65 -0
- package/compute/hooks/queries/useResourceUsageLogQuery.js +53 -0
- package/compute/hooks/queries/useResourceUsageLogsQuery.d.ts +69 -0
- package/compute/hooks/queries/useResourceUsageLogsQuery.js +38 -0
- package/compute/hooks/queries/useResourceUsageSummariesQuery.d.ts +69 -0
- package/compute/hooks/queries/useResourceUsageSummariesQuery.js +38 -0
- package/compute/hooks/queries/useResourceUsageSummaryQuery.d.ts +65 -0
- package/compute/hooks/queries/useResourceUsageSummaryQuery.js +53 -0
- package/compute/hooks/queries/useResourceUtilizationDailiesQuery.d.ts +69 -0
- package/compute/hooks/queries/useResourceUtilizationDailiesQuery.js +38 -0
- package/compute/hooks/queries/useResourcesHealthQuery.d.ts +65 -0
- package/compute/hooks/queries/useResourcesHealthQuery.js +53 -0
- package/compute/hooks/queries/useResourcesHealthsQuery.d.ts +69 -0
- package/compute/hooks/queries/useResourcesHealthsQuery.js +38 -0
- package/compute/hooks/queries/useWebhookEndpointQuery.d.ts +65 -0
- package/compute/hooks/queries/useWebhookEndpointQuery.js +53 -0
- package/compute/hooks/queries/useWebhookEndpointsQuery.d.ts +69 -0
- package/compute/hooks/queries/useWebhookEndpointsQuery.js +38 -0
- package/compute/hooks/queries/useWebhookEventQuery.d.ts +65 -0
- package/compute/hooks/queries/useWebhookEventQuery.js +53 -0
- package/compute/hooks/queries/useWebhookEventsQuery.d.ts +69 -0
- package/compute/hooks/queries/useWebhookEventsQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +318 -24
- package/compute/hooks/query-keys.js +188 -15
- package/compute/orm/index.d.ts +101 -4
- package/compute/orm/index.js +46 -4
- package/compute/orm/input-types.d.ts +5356 -772
- package/compute/orm/input-types.js +34 -2
- package/compute/orm/models/declaredCapacity.d.ts +30 -0
- package/compute/orm/models/{getAllRecord.js → declaredCapacity.js} +15 -15
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/{objects/orm/models/getAllRecord.js → compute/orm/models/getAllTreeNodesRecord.js} +15 -15
- package/compute/orm/models/index.d.ts +23 -2
- package/compute/orm/models/index.js +48 -5
- package/compute/orm/models/infraCommit.d.ts +2 -2
- package/compute/orm/models/infraCommit.js +2 -2
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/infraObject.d.ts +2 -2
- package/compute/orm/models/infraObject.js +2 -2
- package/compute/orm/models/infraRef.d.ts +2 -2
- package/compute/orm/models/infraRef.js +2 -2
- package/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
- package/compute/orm/models/{infraGetAllRecord.js → platformDeclaredCapacity.js} +15 -15
- package/compute/orm/models/platformInfraCommit.d.ts +56 -0
- package/compute/orm/models/platformInfraCommit.js +107 -0
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/platformInfraObject.d.ts +56 -0
- package/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +25 -25
- package/compute/orm/models/platformInfraRef.d.ts +56 -0
- package/compute/orm/models/platformInfraRef.js +107 -0
- package/compute/orm/models/platformInfraStore.d.ts +54 -0
- package/compute/orm/models/platformInfraStore.js +104 -0
- package/compute/orm/models/platformResourceInstallation.d.ts +54 -0
- package/compute/orm/models/platformResourceInstallation.js +104 -0
- package/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
- package/compute/orm/models/platformResourceUsageLog.js +107 -0
- package/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
- package/compute/orm/models/platformResourceUsageSummary.js +107 -0
- package/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
- package/compute/orm/models/platformResourceUtilizationDaily.js +59 -0
- package/compute/orm/models/platformResourcesHealth.d.ts +36 -0
- package/compute/orm/models/platformResourcesHealth.js +80 -0
- package/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
- package/compute/orm/models/platformWebhookEndpoint.js +104 -0
- package/compute/orm/models/platformWebhookEvent.d.ts +54 -0
- package/compute/orm/models/platformWebhookEvent.js +104 -0
- package/compute/orm/models/resourceInstallation.d.ts +54 -0
- package/compute/orm/models/resourceInstallation.js +104 -0
- package/compute/orm/models/resourceUsageLog.d.ts +56 -0
- package/compute/orm/models/resourceUsageLog.js +107 -0
- package/compute/orm/models/resourceUsageSummary.d.ts +56 -0
- package/compute/orm/models/resourceUsageSummary.js +107 -0
- package/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
- package/compute/orm/models/resourceUtilizationDaily.js +59 -0
- package/compute/orm/models/resourcesHealth.d.ts +36 -0
- package/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +20 -20
- package/compute/orm/models/webhookEndpoint.d.ts +54 -0
- package/compute/orm/models/webhookEndpoint.js +104 -0
- package/compute/orm/models/webhookEvent.d.ts +54 -0
- package/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +27 -27
- package/compute/orm/mutation/index.d.ts +89 -1
- package/compute/orm/mutation/index.js +132 -0
- package/compute/schema-types.d.ts +2775 -237
- package/compute/types.d.ts +364 -20
- package/config/orm/input-types.d.ts +4 -79
- package/config/schema-types.d.ts +0 -72
- package/esm/agent/orm/input-types.d.ts +24 -0
- package/esm/agent/orm/input-types.js +3 -0
- package/esm/agent/schema-types.d.ts +13 -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 +11 -5
- package/esm/api/hooks/invalidation.js +26 -10
- package/esm/api/hooks/mutation-keys.d.ts +22 -10
- package/esm/api/hooks/mutation-keys.js +13 -6
- package/esm/api/hooks/mutations/index.d.ts +6 -1
- package/esm/api/hooks/mutations/index.js +6 -1
- package/esm/api/hooks/mutations/useCreateHttpRouteMutation.d.ts +34 -0
- package/esm/{compute/hooks/mutations/useCreateInfraGetAllRecordMutation.js → api/hooks/mutations/useCreateHttpRouteMutation.js} +7 -7
- package/esm/api/hooks/mutations/useCreateManagedDomainMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateManagedDomainMutation.js +31 -0
- package/esm/api/hooks/mutations/useDeleteHttpRouteMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteHttpRouteMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteManagedDomainMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteManagedDomainMutation.js +36 -0
- package/esm/api/hooks/mutations/useUpdateHttpRouteMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateHttpRouteMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateManagedDomainMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateManagedDomainMutation.js +37 -0
- package/esm/api/hooks/queries/index.d.ts +5 -2
- package/esm/api/hooks/queries/index.js +5 -2
- package/esm/api/hooks/queries/useHttpRouteQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useHttpRouteQuery.js +47 -0
- package/esm/api/hooks/queries/useHttpRoutesQuery.d.ts +69 -0
- package/esm/{compute/hooks/queries/useGetAllQuery.js → api/hooks/queries/useHttpRoutesQuery.js} +11 -11
- package/esm/api/hooks/queries/useManagedDomainQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useManagedDomainQuery.js +47 -0
- package/esm/api/hooks/queries/useManagedDomainsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useManagedDomainsQuery.js +32 -0
- package/esm/api/hooks/queries/useResolveHttpRouteQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useResolveHttpRouteQuery.js +48 -0
- package/esm/api/hooks/query-keys.d.ts +28 -12
- package/esm/api/hooks/query-keys.js +16 -7
- package/esm/api/orm/index.d.ts +9 -2
- package/esm/api/orm/index.js +4 -2
- package/esm/api/orm/input-types.d.ts +498 -143
- package/esm/api/orm/input-types.js +4 -0
- package/esm/api/orm/models/httpRoute.d.ts +54 -0
- package/esm/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +25 -28
- package/esm/api/orm/models/index.d.ts +2 -1
- package/esm/api/orm/models/index.js +2 -1
- package/esm/api/orm/models/managedDomain.d.ts +54 -0
- package/esm/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +25 -28
- package/esm/api/orm/query/index.d.ts +12 -0
- package/esm/api/orm/query/index.js +20 -0
- package/esm/api/schema-types.d.ts +277 -122
- package/esm/api/types.d.ts +25 -5
- package/esm/auth/orm/input-types.d.ts +155 -182
- package/esm/auth/orm/input-types.js +4 -0
- package/esm/auth/schema-types.d.ts +17 -63
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +136 -10
- package/esm/compute/hooks/invalidation.js +355 -19
- package/esm/compute/hooks/mutation-keys.d.ts +294 -20
- package/esm/compute/hooks/mutation-keys.js +225 -12
- package/esm/compute/hooks/mutations/index.d.ts +62 -2
- package/esm/compute/hooks/mutations/index.js +62 -2
- package/esm/compute/hooks/mutations/useCreateDeclaredCapacityMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateDeclaredCapacityMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformDeclaredCapacityMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformDeclaredCapacityMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformInfraCommitMutation.d.ts +34 -0
- package/esm/{infra/hooks/mutations/useCreateInfraCommitMutation.js → compute/hooks/mutations/useCreatePlatformInfraCommitMutation.js} +6 -6
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformInfraObjectMutation.d.ts +34 -0
- package/esm/{infra/hooks/mutations/useCreateInfraObjectMutation.js → compute/hooks/mutations/useCreatePlatformInfraObjectMutation.js} +6 -6
- package/esm/compute/hooks/mutations/useCreatePlatformInfraRefMutation.d.ts +34 -0
- package/esm/{infra/hooks/mutations/useCreateInfraRefMutation.js → compute/hooks/mutations/useCreatePlatformInfraRefMutation.js} +6 -6
- package/esm/compute/hooks/mutations/useCreatePlatformInfraStoreMutation.d.ts +34 -0
- package/esm/{infra/hooks/mutations/useCreateInfraStoreMutation.js → compute/hooks/mutations/useCreatePlatformInfraStoreMutation.js} +6 -6
- package/esm/compute/hooks/mutations/useCreatePlatformResourceInstallationMutation.d.ts +34 -0
- package/esm/{infra/hooks/mutations/useCreateInfraGetAllRecordMutation.js → compute/hooks/mutations/useCreatePlatformResourceInstallationMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUsageLogMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUsageLogMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUsageSummaryMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUsageSummaryMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationDailyMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationDailyMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformWebhookEndpointMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformWebhookEndpointMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformWebhookEventMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformWebhookEventMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateResourceInstallationMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateResourceInstallationMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateResourceUsageLogMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateResourceUsageLogMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateResourceUsageSummaryMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateResourceUsageSummaryMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationDailyMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationDailyMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/{useCreateGetAllRecordMutation.js → useCreateResourcesHealthMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useCreateWebhookEndpointMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateWebhookEndpointMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreateWebhookEventMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateWebhookEventMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteInfraCommitMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteInfraCommitMutation.js +2 -2
- package/esm/compute/hooks/mutations/useDeleteInfraObjectMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteInfraObjectMutation.js +2 -2
- package/esm/compute/hooks/mutations/useDeleteInfraRefMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useDeleteInfraRefMutation.js +2 -2
- package/esm/compute/hooks/mutations/useDeletePlatformInfraCommitMutation.d.ts +40 -0
- package/esm/{infra/hooks/mutations/useDeleteInfraCommitMutation.js → compute/hooks/mutations/useDeletePlatformInfraCommitMutation.js} +7 -7
- package/{infra/hooks/mutations/useDeleteInfraObjectMutation.d.ts → esm/compute/hooks/mutations/useDeletePlatformInfraObjectMutation.d.ts} +10 -10
- package/esm/{infra/hooks/mutations/useDeleteInfraObjectMutation.js → compute/hooks/mutations/useDeletePlatformInfraObjectMutation.js} +7 -7
- package/esm/{infra/hooks/mutations/useDeleteInfraRefMutation.d.ts → compute/hooks/mutations/useDeletePlatformInfraRefMutation.d.ts} +10 -10
- package/esm/{infra/hooks/mutations/useDeleteInfraRefMutation.js → compute/hooks/mutations/useDeletePlatformInfraRefMutation.js} +7 -7
- package/{infra/hooks/mutations/useDeleteInfraStoreMutation.d.ts → esm/compute/hooks/mutations/useDeletePlatformInfraStoreMutation.d.ts} +10 -10
- package/esm/{infra/hooks/mutations/useDeleteInfraStoreMutation.js → compute/hooks/mutations/useDeletePlatformInfraStoreMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useDeletePlatformResourceInstallationMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformResourceInstallationMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformResourceUsageLogMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useDeletePlatformResourceUsageLogMutation.js +37 -0
- package/esm/compute/hooks/mutations/useDeletePlatformResourceUsageSummaryMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useDeletePlatformResourceUsageSummaryMutation.js +37 -0
- package/esm/compute/hooks/mutations/useDeletePlatformWebhookEndpointMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformWebhookEndpointMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformWebhookEventMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformWebhookEventMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeleteResourceInstallationMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteResourceInstallationMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeleteResourceUsageLogMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useDeleteResourceUsageLogMutation.js +37 -0
- package/esm/compute/hooks/mutations/useDeleteResourceUsageSummaryMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useDeleteResourceUsageSummaryMutation.js +37 -0
- package/esm/compute/hooks/mutations/useDeleteWebhookEndpointMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteWebhookEndpointMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeleteWebhookEventMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteWebhookEventMutation.js +36 -0
- package/esm/compute/hooks/mutations/usePlatformInfraInitEmptyRepoMutation.d.ts +20 -0
- package/esm/{infra/hooks/mutations/useInfraInsertNodeAtPathMutation.js → compute/hooks/mutations/usePlatformInfraInitEmptyRepoMutation.js} +4 -4
- package/esm/compute/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformInfraSetDataAtPathMutation.d.ts +20 -0
- package/esm/{infra/hooks/mutations/useInfraInitEmptyRepoMutation.js → compute/hooks/mutations/usePlatformInfraSetDataAtPathMutation.js} +4 -4
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsInstallMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsInstallMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsRollbackMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsRollbackMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsUninstallMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsUninstallMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsUpgradeMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformResourceInstallationsUpgradeMutation.js +23 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsInstallMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsInstallMutation.js +23 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsRollbackMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsRollbackMutation.js +23 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsUninstallMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsUninstallMutation.js +23 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsUpgradeMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useResourceInstallationsUpgradeMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateInfraCommitMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateInfraCommitMutation.js +2 -2
- package/esm/compute/hooks/mutations/useUpdateInfraObjectMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateInfraObjectMutation.js +2 -2
- package/esm/compute/hooks/mutations/useUpdateInfraRefMutation.d.ts +2 -2
- package/esm/compute/hooks/mutations/useUpdateInfraRefMutation.js +2 -2
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraCommitMutation.d.ts +42 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraCommitMutation.js +38 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraObjectMutation.d.ts +42 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraObjectMutation.js +38 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraRefMutation.d.ts +42 -0
- package/esm/{infra/hooks/mutations/useUpdateInfraRefMutation.js → compute/hooks/mutations/useUpdatePlatformInfraRefMutation.js} +9 -9
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraStoreMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformInfraStoreMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformResourceInstallationMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformResourceInstallationMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformResourceUsageLogMutation.d.ts +42 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformResourceUsageLogMutation.js +38 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformResourceUsageSummaryMutation.d.ts +42 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformResourceUsageSummaryMutation.js +38 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformWebhookEndpointMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformWebhookEndpointMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformWebhookEventMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformWebhookEventMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdateResourceInstallationMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateResourceInstallationMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdateResourceUsageLogMutation.d.ts +42 -0
- package/esm/compute/hooks/mutations/useUpdateResourceUsageLogMutation.js +38 -0
- package/esm/compute/hooks/mutations/useUpdateResourceUsageSummaryMutation.d.ts +42 -0
- package/esm/compute/hooks/mutations/useUpdateResourceUsageSummaryMutation.js +38 -0
- package/esm/compute/hooks/mutations/useUpdateWebhookEndpointMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateWebhookEndpointMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdateWebhookEventMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateWebhookEventMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +39 -2
- package/esm/compute/hooks/queries/index.js +39 -2
- package/esm/compute/hooks/queries/useDeclaredCapacitiesQuery.d.ts +69 -0
- package/esm/{objects/hooks/queries/useGetAllQuery.js → compute/hooks/queries/useDeclaredCapacitiesQuery.js} +11 -11
- package/esm/compute/hooks/queries/useGetAllTreeNodesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useGetAllTreeNodesQuery.js +32 -0
- package/esm/compute/hooks/queries/useInfraGetAllTreeNodesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useInfraGetAllTreeNodesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformDeclaredCapacitiesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformDeclaredCapacitiesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformInfraCommitQuery.d.ts +65 -0
- package/esm/{infra/hooks/queries/useInfraCommitQuery.js → compute/hooks/queries/usePlatformInfraCommitQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraCommitsQuery.d.ts +69 -0
- package/esm/{infra/hooks/queries/useInfraCommitsQuery.js → compute/hooks/queries/usePlatformInfraCommitsQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformInfraObjectQuery.d.ts +65 -0
- package/esm/{infra/hooks/queries/useInfraObjectQuery.js → compute/hooks/queries/usePlatformInfraObjectQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraObjectsQuery.d.ts +69 -0
- package/esm/{infra/hooks/queries/useInfraObjectsQuery.js → compute/hooks/queries/usePlatformInfraObjectsQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraRefQuery.d.ts +65 -0
- package/esm/{infra/hooks/queries/useInfraRefQuery.js → compute/hooks/queries/usePlatformInfraRefQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraRefsQuery.d.ts +69 -0
- package/esm/{infra/hooks/queries/useInfraRefsQuery.js → compute/hooks/queries/usePlatformInfraRefsQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraStoreQuery.d.ts +65 -0
- package/esm/{infra/hooks/queries/useInfraStoreQuery.js → compute/hooks/queries/usePlatformInfraStoreQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformInfraStoresQuery.d.ts +69 -0
- package/esm/{infra/hooks/queries/useInfraStoresQuery.js → compute/hooks/queries/usePlatformInfraStoresQuery.js} +10 -10
- package/esm/compute/hooks/queries/usePlatformResourceInstallationQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformResourceInstallationQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformResourceInstallationsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformResourceInstallationsQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageLogQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageLogQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageLogsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageLogsQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageSummariesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageSummariesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageSummaryQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformResourceUsageSummaryQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformResourceUtilizationDailiesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformResourceUtilizationDailiesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformResourcesHealthQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformResourcesHealthQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformResourcesHealthsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformResourcesHealthsQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEndpointQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEndpointQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEndpointsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEndpointsQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEventQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEventQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEventsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformWebhookEventsQuery.js +32 -0
- package/esm/compute/hooks/queries/useResourceInstallationQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useResourceInstallationQuery.js +47 -0
- package/esm/compute/hooks/queries/useResourceInstallationsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useResourceInstallationsQuery.js +32 -0
- package/esm/compute/hooks/queries/useResourceUsageLogQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useResourceUsageLogQuery.js +47 -0
- package/esm/compute/hooks/queries/useResourceUsageLogsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useResourceUsageLogsQuery.js +32 -0
- package/esm/compute/hooks/queries/useResourceUsageSummariesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useResourceUsageSummariesQuery.js +32 -0
- package/esm/compute/hooks/queries/useResourceUsageSummaryQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useResourceUsageSummaryQuery.js +47 -0
- package/esm/compute/hooks/queries/useResourceUtilizationDailiesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useResourceUtilizationDailiesQuery.js +32 -0
- package/esm/compute/hooks/queries/useResourcesHealthQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useResourcesHealthQuery.js +47 -0
- package/esm/compute/hooks/queries/useResourcesHealthsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/{useInfraGetAllQuery.js → useResourcesHealthsQuery.js} +11 -11
- package/esm/compute/hooks/queries/useWebhookEndpointQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useWebhookEndpointQuery.js +47 -0
- package/esm/compute/hooks/queries/useWebhookEndpointsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useWebhookEndpointsQuery.js +32 -0
- package/esm/compute/hooks/queries/useWebhookEventQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useWebhookEventQuery.js +47 -0
- package/esm/compute/hooks/queries/useWebhookEventsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useWebhookEventsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +318 -24
- package/esm/compute/hooks/query-keys.js +186 -14
- package/esm/compute/orm/index.d.ts +101 -4
- package/esm/compute/orm/index.js +46 -4
- package/esm/compute/orm/input-types.d.ts +5356 -772
- package/esm/compute/orm/input-types.js +34 -2
- package/esm/compute/orm/models/declaredCapacity.d.ts +30 -0
- package/esm/compute/orm/models/{infraGetAllRecord.js → declaredCapacity.js} +13 -13
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +13 -13
- package/esm/compute/orm/models/index.d.ts +23 -2
- package/esm/compute/orm/models/index.js +23 -2
- package/esm/compute/orm/models/infraCommit.d.ts +2 -2
- package/esm/compute/orm/models/infraCommit.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/{infra/orm/models/infraGetAllRecord.js → compute/orm/models/infraGetAllTreeNodesRecord.js} +13 -13
- package/esm/compute/orm/models/infraObject.d.ts +2 -2
- package/esm/compute/orm/models/infraObject.js +2 -2
- package/esm/compute/orm/models/infraRef.d.ts +2 -2
- package/esm/compute/orm/models/infraRef.js +2 -2
- package/esm/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
- package/esm/compute/orm/models/platformDeclaredCapacity.js +55 -0
- package/esm/compute/orm/models/platformInfraCommit.d.ts +56 -0
- package/esm/compute/orm/models/platformInfraCommit.js +103 -0
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
- package/esm/compute/orm/models/platformInfraObject.d.ts +56 -0
- package/esm/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +23 -23
- package/esm/compute/orm/models/platformInfraRef.d.ts +56 -0
- package/esm/compute/orm/models/platformInfraRef.js +103 -0
- package/esm/compute/orm/models/platformInfraStore.d.ts +54 -0
- package/esm/compute/orm/models/platformInfraStore.js +100 -0
- package/esm/compute/orm/models/platformResourceInstallation.d.ts +54 -0
- package/esm/compute/orm/models/platformResourceInstallation.js +100 -0
- package/esm/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
- package/esm/compute/orm/models/platformResourceUsageLog.js +103 -0
- package/esm/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
- package/esm/compute/orm/models/platformResourceUsageSummary.js +103 -0
- package/esm/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
- package/esm/compute/orm/models/platformResourceUtilizationDaily.js +55 -0
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +36 -0
- package/esm/compute/orm/models/platformResourcesHealth.js +76 -0
- package/esm/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
- package/esm/compute/orm/models/platformWebhookEndpoint.js +100 -0
- package/esm/compute/orm/models/platformWebhookEvent.d.ts +54 -0
- package/esm/compute/orm/models/platformWebhookEvent.js +100 -0
- package/esm/compute/orm/models/resourceInstallation.d.ts +54 -0
- package/esm/compute/orm/models/resourceInstallation.js +100 -0
- package/esm/compute/orm/models/resourceUsageLog.d.ts +56 -0
- package/esm/compute/orm/models/resourceUsageLog.js +103 -0
- package/esm/compute/orm/models/resourceUsageSummary.d.ts +56 -0
- package/esm/compute/orm/models/resourceUsageSummary.js +103 -0
- package/esm/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
- package/esm/compute/orm/models/resourceUtilizationDaily.js +55 -0
- package/esm/compute/orm/models/resourcesHealth.d.ts +36 -0
- package/esm/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +18 -18
- package/esm/compute/orm/models/webhookEndpoint.d.ts +54 -0
- package/esm/compute/orm/models/webhookEndpoint.js +100 -0
- package/esm/compute/orm/models/webhookEvent.d.ts +54 -0
- package/esm/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +89 -1
- package/esm/compute/orm/mutation/index.js +132 -0
- package/esm/compute/schema-types.d.ts +2775 -237
- package/esm/compute/types.d.ts +364 -20
- package/esm/config/orm/input-types.d.ts +4 -79
- package/esm/config/schema-types.d.ts +0 -72
- package/esm/infra/hooks/index.d.ts +1 -1
- package/esm/infra/hooks/index.js +1 -1
- package/esm/infra/hooks/invalidation.d.ts +30 -30
- package/esm/infra/hooks/invalidation.js +64 -64
- package/esm/infra/hooks/mutation-keys.d.ts +66 -66
- package/esm/infra/hooks/mutation-keys.js +47 -44
- package/esm/infra/hooks/mutations/index.d.ts +16 -16
- package/esm/infra/hooks/mutations/index.js +16 -16
- package/esm/infra/hooks/mutations/useCreatePlatformInfraCommitMutation.d.ts +34 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraCommitMutation.js +31 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +31 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraObjectMutation.d.ts +34 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraObjectMutation.js +31 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraRefMutation.d.ts +34 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraRefMutation.js +31 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraStoreMutation.d.ts +34 -0
- package/esm/infra/hooks/mutations/useCreatePlatformInfraStoreMutation.js +31 -0
- package/esm/infra/hooks/mutations/useDeletePlatformInfraCommitMutation.d.ts +40 -0
- package/esm/infra/hooks/mutations/{useUpdateInfraCommitMutation.js → useDeletePlatformInfraCommitMutation.js} +9 -10
- package/esm/infra/hooks/mutations/useDeletePlatformInfraObjectMutation.d.ts +40 -0
- package/esm/infra/hooks/mutations/{useUpdateInfraObjectMutation.js → useDeletePlatformInfraObjectMutation.js} +9 -10
- package/esm/infra/hooks/mutations/useDeletePlatformInfraRefMutation.d.ts +40 -0
- package/esm/infra/hooks/mutations/useDeletePlatformInfraRefMutation.js +37 -0
- package/esm/infra/hooks/mutations/useDeletePlatformInfraStoreMutation.d.ts +38 -0
- package/esm/infra/hooks/mutations/{useUpdateInfraStoreMutation.js → useDeletePlatformInfraStoreMutation.js} +9 -10
- package/esm/infra/hooks/mutations/usePlatformInfraInitEmptyRepoMutation.d.ts +20 -0
- package/esm/infra/hooks/mutations/{useInfraSetDataAtPathMutation.js → usePlatformInfraInitEmptyRepoMutation.js} +4 -4
- package/esm/infra/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.d.ts +20 -0
- package/esm/infra/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.js +23 -0
- package/esm/infra/hooks/mutations/usePlatformInfraSetDataAtPathMutation.d.ts +20 -0
- package/esm/infra/hooks/mutations/usePlatformInfraSetDataAtPathMutation.js +23 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraCommitMutation.d.ts +42 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraCommitMutation.js +38 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraObjectMutation.d.ts +42 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraObjectMutation.js +38 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraRefMutation.d.ts +42 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraRefMutation.js +38 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraStoreMutation.d.ts +40 -0
- package/esm/infra/hooks/mutations/useUpdatePlatformInfraStoreMutation.js +37 -0
- package/esm/infra/hooks/queries/index.d.ts +9 -9
- package/esm/infra/hooks/queries/index.js +9 -9
- package/esm/infra/hooks/queries/usePlatformInfraCommitQuery.d.ts +65 -0
- package/esm/infra/hooks/queries/usePlatformInfraCommitQuery.js +47 -0
- package/esm/infra/hooks/queries/usePlatformInfraCommitsQuery.d.ts +69 -0
- package/esm/infra/hooks/queries/usePlatformInfraCommitsQuery.js +32 -0
- package/esm/infra/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.d.ts +69 -0
- package/esm/infra/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.js +32 -0
- package/esm/infra/hooks/queries/usePlatformInfraObjectQuery.d.ts +65 -0
- package/esm/infra/hooks/queries/usePlatformInfraObjectQuery.js +47 -0
- package/esm/infra/hooks/queries/usePlatformInfraObjectsQuery.d.ts +69 -0
- package/esm/infra/hooks/queries/usePlatformInfraObjectsQuery.js +32 -0
- package/esm/infra/hooks/queries/usePlatformInfraRefQuery.d.ts +65 -0
- package/esm/infra/hooks/queries/usePlatformInfraRefQuery.js +47 -0
- package/esm/infra/hooks/queries/usePlatformInfraRefsQuery.d.ts +69 -0
- package/esm/infra/hooks/queries/usePlatformInfraRefsQuery.js +32 -0
- package/esm/infra/hooks/queries/usePlatformInfraStoreQuery.d.ts +65 -0
- package/esm/infra/hooks/queries/usePlatformInfraStoreQuery.js +47 -0
- package/esm/infra/hooks/queries/usePlatformInfraStoresQuery.d.ts +69 -0
- package/esm/infra/hooks/queries/usePlatformInfraStoresQuery.js +32 -0
- package/esm/infra/hooks/query-keys.d.ts +70 -70
- package/esm/infra/hooks/query-keys.js +42 -40
- package/esm/infra/orm/index.d.ts +19 -19
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +542 -668
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/models/platformInfraCommit.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraCommit.js +103 -0
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
- package/esm/infra/orm/models/platformInfraObject.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraObject.js +93 -0
- package/esm/infra/orm/models/platformInfraRef.d.ts +56 -0
- package/esm/infra/orm/models/platformInfraRef.js +103 -0
- package/esm/infra/orm/models/platformInfraStore.d.ts +54 -0
- package/esm/infra/orm/models/platformInfraStore.js +100 -0
- package/esm/infra/orm/mutation/index.d.ts +16 -16
- package/esm/infra/orm/mutation/index.js +18 -18
- package/esm/infra/schema-types.d.ts +389 -473
- package/esm/infra/types.d.ts +30 -44
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +12 -0
- package/esm/modules/hooks/invalidation.js +33 -1
- package/esm/modules/hooks/mutation-keys.d.ts +24 -0
- package/esm/modules/hooks/mutation-keys.js +14 -0
- package/esm/modules/hooks/mutations/index.d.ts +6 -0
- package/esm/modules/hooks/mutations/index.js +6 -0
- package/esm/modules/hooks/mutations/useCreateHttpRouteModuleMutation.d.ts +34 -0
- package/esm/{api/hooks/mutations/useCreateMigrateFileMutation.js → modules/hooks/mutations/useCreateHttpRouteModuleMutation.js} +7 -7
- package/esm/modules/hooks/mutations/useCreateWebhookModuleMutation.d.ts +34 -0
- package/esm/{objects/hooks/mutations/useCreateGetAllRecordMutation.js → modules/hooks/mutations/useCreateWebhookModuleMutation.js} +7 -7
- package/esm/modules/hooks/mutations/useDeleteHttpRouteModuleMutation.d.ts +38 -0
- package/esm/modules/hooks/mutations/useDeleteHttpRouteModuleMutation.js +36 -0
- package/esm/modules/hooks/mutations/useDeleteWebhookModuleMutation.d.ts +38 -0
- package/esm/modules/hooks/mutations/useDeleteWebhookModuleMutation.js +36 -0
- package/esm/modules/hooks/mutations/useUpdateHttpRouteModuleMutation.d.ts +40 -0
- package/esm/modules/hooks/mutations/useUpdateHttpRouteModuleMutation.js +37 -0
- package/esm/modules/hooks/mutations/useUpdateWebhookModuleMutation.d.ts +40 -0
- package/esm/modules/hooks/mutations/useUpdateWebhookModuleMutation.js +37 -0
- package/esm/modules/hooks/queries/index.d.ts +4 -0
- package/esm/modules/hooks/queries/index.js +4 -0
- package/esm/modules/hooks/queries/useHttpRouteModuleQuery.d.ts +65 -0
- package/esm/modules/hooks/queries/useHttpRouteModuleQuery.js +47 -0
- package/esm/modules/hooks/queries/useHttpRouteModulesQuery.d.ts +69 -0
- package/esm/{infra/hooks/queries/useInfraGetAllQuery.js → modules/hooks/queries/useHttpRouteModulesQuery.js} +11 -11
- package/esm/modules/hooks/queries/useWebhookModuleQuery.d.ts +65 -0
- package/esm/{api/hooks/queries/useMigrateFileQuery.js → modules/hooks/queries/useWebhookModuleQuery.js} +11 -11
- package/esm/modules/hooks/queries/useWebhookModulesQuery.d.ts +69 -0
- package/esm/{api/hooks/queries/useMigrateFilesQuery.js → modules/hooks/queries/useWebhookModulesQuery.js} +11 -11
- package/esm/modules/hooks/query-keys.d.ts +28 -0
- package/esm/modules/hooks/query-keys.js +16 -0
- package/esm/modules/orm/index.d.ts +4 -0
- package/esm/modules/orm/index.js +4 -0
- package/esm/modules/orm/input-types.d.ts +802 -166
- package/esm/modules/orm/models/httpRouteModule.d.ts +54 -0
- package/esm/modules/orm/models/httpRouteModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +2 -0
- package/esm/modules/orm/models/index.js +2 -0
- package/esm/modules/orm/models/webhookModule.d.ts +54 -0
- package/esm/modules/orm/models/webhookModule.js +100 -0
- package/esm/modules/schema-types.d.ts +483 -101
- package/esm/modules/types.d.ts +82 -22
- package/esm/objects/hooks/index.d.ts +1 -1
- package/esm/objects/hooks/index.js +1 -1
- package/esm/objects/hooks/invalidation.d.ts +5 -5
- package/esm/objects/hooks/invalidation.js +10 -10
- package/esm/objects/hooks/mutation-keys.d.ts +10 -10
- package/esm/objects/hooks/mutation-keys.js +9 -6
- package/esm/objects/hooks/mutations/index.d.ts +1 -1
- package/esm/objects/hooks/mutations/index.js +1 -1
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +31 -0
- package/esm/objects/hooks/queries/index.d.ts +1 -1
- package/esm/objects/hooks/queries/index.js +1 -1
- package/esm/objects/hooks/queries/useGetAllTreeNodesQuery.d.ts +69 -0
- package/esm/objects/hooks/queries/useGetAllTreeNodesQuery.js +32 -0
- package/esm/objects/hooks/query-keys.d.ts +12 -12
- package/esm/objects/hooks/query-keys.js +7 -7
- package/esm/objects/orm/index.d.ts +2 -2
- package/esm/objects/orm/index.js +2 -2
- package/esm/objects/orm/input-types.d.ts +15 -15
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/esm/objects/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +13 -13
- package/esm/objects/orm/models/index.d.ts +1 -1
- package/esm/objects/orm/models/index.js +1 -1
- package/esm/objects/schema-types.d.ts +9 -9
- package/esm/objects/types.d.ts +1 -1
- package/infra/hooks/index.d.ts +1 -1
- package/infra/hooks/index.js +1 -1
- package/infra/hooks/invalidation.d.ts +30 -30
- package/infra/hooks/invalidation.js +63 -63
- package/infra/hooks/mutation-keys.d.ts +66 -66
- package/infra/hooks/mutation-keys.js +48 -45
- package/infra/hooks/mutations/index.d.ts +16 -16
- package/infra/hooks/mutations/index.js +16 -16
- package/infra/hooks/mutations/useCreatePlatformInfraCommitMutation.d.ts +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraCommitMutation.js +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraObjectMutation.d.ts +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraObjectMutation.js +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraRefMutation.d.ts +34 -0
- package/{compute/hooks/mutations/useCreateInfraGetAllRecordMutation.js → infra/hooks/mutations/useCreatePlatformInfraRefMutation.js} +6 -6
- package/infra/hooks/mutations/useCreatePlatformInfraStoreMutation.d.ts +34 -0
- package/infra/hooks/mutations/useCreatePlatformInfraStoreMutation.js +34 -0
- package/infra/hooks/mutations/useDeletePlatformInfraCommitMutation.d.ts +40 -0
- package/infra/hooks/mutations/{useUpdateInfraCommitMutation.js → useDeletePlatformInfraCommitMutation.js} +8 -9
- package/infra/hooks/mutations/useDeletePlatformInfraObjectMutation.d.ts +40 -0
- package/infra/hooks/mutations/{useUpdateInfraObjectMutation.js → useDeletePlatformInfraObjectMutation.js} +8 -9
- package/infra/hooks/mutations/useDeletePlatformInfraRefMutation.d.ts +40 -0
- package/infra/hooks/mutations/{useUpdateInfraRefMutation.js → useDeletePlatformInfraRefMutation.js} +8 -9
- package/infra/hooks/mutations/useDeletePlatformInfraStoreMutation.d.ts +38 -0
- package/infra/hooks/mutations/{useUpdateInfraStoreMutation.js → useDeletePlatformInfraStoreMutation.js} +8 -9
- package/infra/hooks/mutations/usePlatformInfraInitEmptyRepoMutation.d.ts +20 -0
- package/infra/hooks/mutations/{useInfraInitEmptyRepoMutation.js → usePlatformInfraInitEmptyRepoMutation.js} +5 -5
- package/infra/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.d.ts +20 -0
- package/infra/hooks/mutations/usePlatformInfraInsertNodeAtPathMutation.js +26 -0
- package/infra/hooks/mutations/usePlatformInfraSetDataAtPathMutation.d.ts +20 -0
- package/infra/hooks/mutations/usePlatformInfraSetDataAtPathMutation.js +26 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraCommitMutation.d.ts +42 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraCommitMutation.js +41 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraObjectMutation.d.ts +42 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraObjectMutation.js +41 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraRefMutation.d.ts +42 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraRefMutation.js +41 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraStoreMutation.d.ts +40 -0
- package/infra/hooks/mutations/useUpdatePlatformInfraStoreMutation.js +40 -0
- package/infra/hooks/queries/index.d.ts +9 -9
- package/infra/hooks/queries/index.js +9 -9
- package/infra/hooks/queries/usePlatformInfraCommitQuery.d.ts +65 -0
- package/infra/hooks/queries/usePlatformInfraCommitQuery.js +53 -0
- package/infra/hooks/queries/usePlatformInfraCommitsQuery.d.ts +69 -0
- package/infra/hooks/queries/usePlatformInfraCommitsQuery.js +38 -0
- package/infra/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.d.ts +69 -0
- package/infra/hooks/queries/usePlatformInfraGetAllTreeNodesQuery.js +38 -0
- package/infra/hooks/queries/usePlatformInfraObjectQuery.d.ts +65 -0
- package/infra/hooks/queries/usePlatformInfraObjectQuery.js +53 -0
- package/infra/hooks/queries/usePlatformInfraObjectsQuery.d.ts +69 -0
- package/infra/hooks/queries/usePlatformInfraObjectsQuery.js +38 -0
- package/infra/hooks/queries/usePlatformInfraRefQuery.d.ts +65 -0
- package/infra/hooks/queries/usePlatformInfraRefQuery.js +53 -0
- package/infra/hooks/queries/usePlatformInfraRefsQuery.d.ts +69 -0
- package/infra/hooks/queries/usePlatformInfraRefsQuery.js +38 -0
- package/infra/hooks/queries/usePlatformInfraStoreQuery.d.ts +65 -0
- package/infra/hooks/queries/usePlatformInfraStoreQuery.js +53 -0
- package/infra/hooks/queries/usePlatformInfraStoresQuery.d.ts +69 -0
- package/infra/hooks/queries/usePlatformInfraStoresQuery.js +38 -0
- package/infra/hooks/query-keys.d.ts +70 -70
- package/infra/hooks/query-keys.js +43 -41
- package/infra/orm/index.d.ts +19 -19
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +542 -668
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/models/platformInfraCommit.d.ts +56 -0
- package/infra/orm/models/platformInfraCommit.js +107 -0
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
- package/infra/orm/models/platformInfraObject.d.ts +56 -0
- package/infra/orm/models/platformInfraObject.js +97 -0
- package/infra/orm/models/platformInfraRef.d.ts +56 -0
- package/infra/orm/models/platformInfraRef.js +107 -0
- package/infra/orm/models/platformInfraStore.d.ts +54 -0
- package/infra/orm/models/platformInfraStore.js +104 -0
- package/infra/orm/mutation/index.d.ts +16 -16
- package/infra/orm/mutation/index.js +18 -18
- package/infra/schema-types.d.ts +389 -473
- package/infra/types.d.ts +30 -44
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +12 -0
- package/modules/hooks/invalidation.js +32 -0
- package/modules/hooks/mutation-keys.d.ts +24 -0
- package/modules/hooks/mutation-keys.js +16 -2
- package/modules/hooks/mutations/index.d.ts +6 -0
- package/modules/hooks/mutations/index.js +6 -0
- package/modules/hooks/mutations/useCreateHttpRouteModuleMutation.d.ts +34 -0
- package/modules/hooks/mutations/useCreateHttpRouteModuleMutation.js +34 -0
- package/modules/hooks/mutations/useCreateWebhookModuleMutation.d.ts +34 -0
- package/{compute/hooks/mutations/useCreateGetAllRecordMutation.js → modules/hooks/mutations/useCreateWebhookModuleMutation.js} +6 -6
- package/modules/hooks/mutations/useDeleteHttpRouteModuleMutation.d.ts +38 -0
- package/modules/hooks/mutations/useDeleteHttpRouteModuleMutation.js +39 -0
- package/modules/hooks/mutations/useDeleteWebhookModuleMutation.d.ts +38 -0
- package/modules/hooks/mutations/useDeleteWebhookModuleMutation.js +39 -0
- package/modules/hooks/mutations/useUpdateHttpRouteModuleMutation.d.ts +40 -0
- package/modules/hooks/mutations/useUpdateHttpRouteModuleMutation.js +40 -0
- package/modules/hooks/mutations/useUpdateWebhookModuleMutation.d.ts +40 -0
- package/modules/hooks/mutations/useUpdateWebhookModuleMutation.js +40 -0
- package/modules/hooks/queries/index.d.ts +4 -0
- package/modules/hooks/queries/index.js +4 -0
- package/modules/hooks/queries/useHttpRouteModuleQuery.d.ts +65 -0
- package/modules/hooks/queries/useHttpRouteModuleQuery.js +53 -0
- package/modules/hooks/queries/useHttpRouteModulesQuery.d.ts +69 -0
- package/modules/hooks/queries/useHttpRouteModulesQuery.js +38 -0
- package/modules/hooks/queries/useWebhookModuleQuery.d.ts +65 -0
- package/{infra/hooks/queries/useInfraCommitQuery.js → modules/hooks/queries/useWebhookModuleQuery.js} +14 -14
- package/modules/hooks/queries/useWebhookModulesQuery.d.ts +69 -0
- package/{api/hooks/queries/useMigrateFilesQuery.js → modules/hooks/queries/useWebhookModulesQuery.js} +14 -14
- package/modules/hooks/query-keys.d.ts +28 -0
- package/modules/hooks/query-keys.js +18 -2
- package/modules/orm/index.d.ts +4 -0
- package/modules/orm/index.js +4 -0
- package/modules/orm/input-types.d.ts +802 -166
- package/modules/orm/models/httpRouteModule.d.ts +54 -0
- package/modules/orm/models/httpRouteModule.js +104 -0
- package/modules/orm/models/index.d.ts +2 -0
- package/modules/orm/models/index.js +6 -2
- package/modules/orm/models/webhookModule.d.ts +54 -0
- package/modules/orm/models/webhookModule.js +104 -0
- package/modules/schema-types.d.ts +483 -101
- package/modules/types.d.ts +82 -22
- package/objects/hooks/index.d.ts +1 -1
- package/objects/hooks/index.js +1 -1
- package/objects/hooks/invalidation.d.ts +5 -5
- package/objects/hooks/invalidation.js +9 -9
- package/objects/hooks/mutation-keys.d.ts +10 -10
- package/objects/hooks/mutation-keys.js +10 -7
- package/objects/hooks/mutations/index.d.ts +1 -1
- package/objects/hooks/mutations/index.js +1 -1
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +34 -0
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +34 -0
- package/objects/hooks/queries/index.d.ts +1 -1
- package/objects/hooks/queries/index.js +1 -1
- package/objects/hooks/queries/useGetAllTreeNodesQuery.d.ts +69 -0
- package/objects/hooks/queries/useGetAllTreeNodesQuery.js +38 -0
- package/objects/hooks/query-keys.d.ts +12 -12
- package/objects/hooks/query-keys.js +8 -8
- package/objects/orm/index.d.ts +2 -2
- package/objects/orm/index.js +2 -2
- package/objects/orm/input-types.d.ts +15 -15
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
- package/{infra/orm/models/infraGetAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +15 -15
- package/objects/orm/models/index.d.ts +1 -1
- package/objects/orm/models/index.js +3 -3
- package/objects/schema-types.d.ts +9 -9
- package/objects/types.d.ts +1 -1
- package/package.json +5 -5
- package/api/hooks/mutations/useCreateMigrateFileMutation.d.ts +0 -34
- package/api/hooks/queries/useMigrateFileQuery.d.ts +0 -65
- package/api/hooks/queries/useMigrateFilesQuery.d.ts +0 -69
- package/api/orm/models/migrateFile.d.ts +0 -36
- package/compute/hooks/mutations/useCreateGetAllRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllRecordMutation.d.ts +0 -34
- package/compute/hooks/queries/useGetAllQuery.d.ts +0 -69
- package/compute/hooks/queries/useGetAllQuery.js +0 -38
- package/compute/hooks/queries/useInfraGetAllQuery.d.ts +0 -69
- package/compute/hooks/queries/useInfraGetAllQuery.js +0 -38
- package/compute/orm/models/getAllRecord.d.ts +0 -30
- package/compute/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/api/hooks/mutations/useCreateMigrateFileMutation.d.ts +0 -34
- package/esm/api/hooks/queries/useMigrateFileQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useMigrateFilesQuery.d.ts +0 -69
- package/esm/api/orm/models/migrateFile.d.ts +0 -36
- package/esm/compute/hooks/mutations/useCreateGetAllRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateInfraGetAllRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/queries/useGetAllQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/useInfraGetAllQuery.d.ts +0 -69
- package/esm/compute/orm/models/getAllRecord.d.ts +0 -30
- package/esm/compute/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/infra/hooks/mutations/useCreateInfraCommitMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreateInfraGetAllRecordMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreateInfraObjectMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreateInfraRefMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreateInfraStoreMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useDeleteInfraCommitMutation.d.ts +0 -40
- package/esm/infra/hooks/mutations/useInfraInitEmptyRepoMutation.d.ts +0 -20
- package/esm/infra/hooks/mutations/useInfraInsertNodeAtPathMutation.d.ts +0 -20
- package/esm/infra/hooks/mutations/useInfraSetDataAtPathMutation.d.ts +0 -20
- package/esm/infra/hooks/mutations/useUpdateInfraCommitMutation.d.ts +0 -42
- package/esm/infra/hooks/mutations/useUpdateInfraObjectMutation.d.ts +0 -42
- package/esm/infra/hooks/mutations/useUpdateInfraRefMutation.d.ts +0 -42
- package/esm/infra/hooks/mutations/useUpdateInfraStoreMutation.d.ts +0 -40
- package/esm/infra/hooks/queries/useInfraCommitQuery.d.ts +0 -65
- package/esm/infra/hooks/queries/useInfraCommitsQuery.d.ts +0 -69
- package/esm/infra/hooks/queries/useInfraGetAllQuery.d.ts +0 -69
- package/esm/infra/hooks/queries/useInfraObjectQuery.d.ts +0 -65
- package/esm/infra/hooks/queries/useInfraObjectsQuery.d.ts +0 -69
- package/esm/infra/hooks/queries/useInfraRefQuery.d.ts +0 -65
- package/esm/infra/hooks/queries/useInfraRefsQuery.d.ts +0 -69
- package/esm/infra/hooks/queries/useInfraStoreQuery.d.ts +0 -65
- package/esm/infra/hooks/queries/useInfraStoresQuery.d.ts +0 -69
- package/esm/infra/orm/models/infraCommit.d.ts +0 -56
- package/esm/infra/orm/models/infraGetAllRecord.d.ts +0 -30
- package/esm/infra/orm/models/infraObject.d.ts +0 -56
- package/esm/infra/orm/models/infraRef.d.ts +0 -56
- package/esm/infra/orm/models/infraStore.d.ts +0 -54
- package/esm/objects/hooks/mutations/useCreateGetAllRecordMutation.d.ts +0 -34
- package/esm/objects/hooks/queries/useGetAllQuery.d.ts +0 -69
- package/esm/objects/orm/models/getAllRecord.d.ts +0 -30
- package/infra/hooks/mutations/useCreateInfraCommitMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreateInfraGetAllRecordMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreateInfraGetAllRecordMutation.js +0 -34
- package/infra/hooks/mutations/useCreateInfraObjectMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreateInfraRefMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreateInfraStoreMutation.d.ts +0 -34
- package/infra/hooks/mutations/useDeleteInfraCommitMutation.d.ts +0 -40
- package/infra/hooks/mutations/useInfraInitEmptyRepoMutation.d.ts +0 -20
- package/infra/hooks/mutations/useInfraInsertNodeAtPathMutation.d.ts +0 -20
- package/infra/hooks/mutations/useInfraSetDataAtPathMutation.d.ts +0 -20
- package/infra/hooks/mutations/useUpdateInfraCommitMutation.d.ts +0 -42
- package/infra/hooks/mutations/useUpdateInfraObjectMutation.d.ts +0 -42
- package/infra/hooks/mutations/useUpdateInfraRefMutation.d.ts +0 -42
- package/infra/hooks/mutations/useUpdateInfraStoreMutation.d.ts +0 -40
- package/infra/hooks/queries/useInfraCommitQuery.d.ts +0 -65
- package/infra/hooks/queries/useInfraCommitsQuery.d.ts +0 -69
- package/infra/hooks/queries/useInfraGetAllQuery.d.ts +0 -69
- package/infra/hooks/queries/useInfraGetAllQuery.js +0 -38
- package/infra/hooks/queries/useInfraObjectQuery.d.ts +0 -65
- package/infra/hooks/queries/useInfraObjectsQuery.d.ts +0 -69
- package/infra/hooks/queries/useInfraRefQuery.d.ts +0 -65
- package/infra/hooks/queries/useInfraRefsQuery.d.ts +0 -69
- package/infra/hooks/queries/useInfraStoreQuery.d.ts +0 -65
- package/infra/hooks/queries/useInfraStoresQuery.d.ts +0 -69
- package/infra/orm/models/infraCommit.d.ts +0 -56
- package/infra/orm/models/infraGetAllRecord.d.ts +0 -30
- package/infra/orm/models/infraObject.d.ts +0 -56
- package/infra/orm/models/infraRef.d.ts +0 -56
- package/infra/orm/models/infraStore.d.ts +0 -54
- package/objects/hooks/mutations/useCreateGetAllRecordMutation.d.ts +0 -34
- package/objects/hooks/queries/useGetAllQuery.d.ts +0 -69
- package/objects/hooks/queries/useGetAllQuery.js +0 -38
- package/objects/orm/models/getAllRecord.d.ts +0 -30
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Delete mutation hook for WebhookModule
|
|
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 { WebhookModuleSelect, WebhookModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebhookModuleSelect, WebhookModuleWithRelations } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for deleting a WebhookModule with typed selection
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteWebhookModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteWebhookModuleMutation<S extends WebhookModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & WebhookModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, WebhookModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteWebhookModule: {
|
|
28
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteWebhookModule: {
|
|
34
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Delete mutation hook for WebhookModule
|
|
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.useDeleteWebhookModuleMutation = useDeleteWebhookModuleMutation;
|
|
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 useDeleteWebhookModuleMutation(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.webhookModuleMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id }) => (0, client_1.getClient)()
|
|
22
|
+
.webhookModule.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.webhookModuleKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.webhookModuleKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update mutation hook for HttpRouteModule
|
|
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 { HttpRouteModuleSelect, HttpRouteModuleWithRelations, HttpRouteModulePatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { HttpRouteModuleSelect, HttpRouteModuleWithRelations, HttpRouteModulePatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for updating a HttpRouteModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateHttpRouteModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', httpRouteModulePatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateHttpRouteModuleMutation<S extends HttpRouteModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & HttpRouteModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateHttpRouteModule: {
|
|
28
|
+
httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
httpRouteModulePatch: HttpRouteModulePatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateHttpRouteModule: {
|
|
35
|
+
httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
httpRouteModulePatch: HttpRouteModulePatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Update mutation hook for HttpRouteModule
|
|
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.useUpdateHttpRouteModuleMutation = useUpdateHttpRouteModuleMutation;
|
|
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 useUpdateHttpRouteModuleMutation(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.httpRouteModuleMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id, httpRouteModulePatch, }) => (0, client_1.getClient)()
|
|
22
|
+
.httpRouteModule.update({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
data: httpRouteModulePatch,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
onSuccess: (_, variables) => {
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: query_keys_1.httpRouteModuleKeys.detail(variables.id),
|
|
33
|
+
});
|
|
34
|
+
queryClient.invalidateQueries({
|
|
35
|
+
queryKey: query_keys_1.httpRouteModuleKeys.lists(),
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
...mutationOptions,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Update mutation hook for WebhookModule
|
|
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 { WebhookModuleSelect, WebhookModuleWithRelations, WebhookModulePatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebhookModuleSelect, WebhookModuleWithRelations, WebhookModulePatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Mutation hook for updating a WebhookModule
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateWebhookModuleMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', webhookModulePatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateWebhookModuleMutation<S extends WebhookModuleSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & WebhookModuleSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, WebhookModuleSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateWebhookModule: {
|
|
28
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
webhookModulePatch: WebhookModulePatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateWebhookModule: {
|
|
35
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
webhookModulePatch: WebhookModulePatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Update mutation hook for WebhookModule
|
|
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.useUpdateWebhookModuleMutation = useUpdateWebhookModuleMutation;
|
|
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 useUpdateWebhookModuleMutation(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.webhookModuleMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id, webhookModulePatch, }) => (0, client_1.getClient)()
|
|
22
|
+
.webhookModule.update({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
data: webhookModulePatch,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
onSuccess: (_, variables) => {
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: query_keys_1.webhookModuleKeys.detail(variables.id),
|
|
33
|
+
});
|
|
34
|
+
queryClient.invalidateQueries({
|
|
35
|
+
queryKey: query_keys_1.webhookModuleKeys.lists(),
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
...mutationOptions,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
@@ -59,6 +59,8 @@ export * from './useGraphModulesQuery';
|
|
|
59
59
|
export * from './useGraphModuleQuery';
|
|
60
60
|
export * from './useHierarchyModulesQuery';
|
|
61
61
|
export * from './useHierarchyModuleQuery';
|
|
62
|
+
export * from './useHttpRouteModulesQuery';
|
|
63
|
+
export * from './useHttpRouteModuleQuery';
|
|
62
64
|
export * from './useI18nModulesQuery';
|
|
63
65
|
export * from './useI18NModuleQuery';
|
|
64
66
|
export * from './useIdentityProvidersModulesQuery';
|
|
@@ -135,5 +137,7 @@ export * from './useWebauthnAuthModulesQuery';
|
|
|
135
137
|
export * from './useWebauthnAuthModuleQuery';
|
|
136
138
|
export * from './useWebauthnCredentialsModulesQuery';
|
|
137
139
|
export * from './useWebauthnCredentialsModuleQuery';
|
|
140
|
+
export * from './useWebhookModulesQuery';
|
|
141
|
+
export * from './useWebhookModuleQuery';
|
|
138
142
|
export * from './useResolveBlueprintFieldQuery';
|
|
139
143
|
export * from './useResolveBlueprintTableQuery';
|
|
@@ -75,6 +75,8 @@ __exportStar(require("./useGraphModulesQuery"), exports);
|
|
|
75
75
|
__exportStar(require("./useGraphModuleQuery"), exports);
|
|
76
76
|
__exportStar(require("./useHierarchyModulesQuery"), exports);
|
|
77
77
|
__exportStar(require("./useHierarchyModuleQuery"), exports);
|
|
78
|
+
__exportStar(require("./useHttpRouteModulesQuery"), exports);
|
|
79
|
+
__exportStar(require("./useHttpRouteModuleQuery"), exports);
|
|
78
80
|
__exportStar(require("./useI18nModulesQuery"), exports);
|
|
79
81
|
__exportStar(require("./useI18NModuleQuery"), exports);
|
|
80
82
|
__exportStar(require("./useIdentityProvidersModulesQuery"), exports);
|
|
@@ -151,5 +153,7 @@ __exportStar(require("./useWebauthnAuthModulesQuery"), exports);
|
|
|
151
153
|
__exportStar(require("./useWebauthnAuthModuleQuery"), exports);
|
|
152
154
|
__exportStar(require("./useWebauthnCredentialsModulesQuery"), exports);
|
|
153
155
|
__exportStar(require("./useWebauthnCredentialsModuleQuery"), exports);
|
|
156
|
+
__exportStar(require("./useWebhookModulesQuery"), exports);
|
|
157
|
+
__exportStar(require("./useWebhookModuleQuery"), exports);
|
|
154
158
|
__exportStar(require("./useResolveBlueprintFieldQuery"), exports);
|
|
155
159
|
__exportStar(require("./useResolveBlueprintTableQuery"), exports);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single item query hook for HttpRouteModule
|
|
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 { HttpRouteModuleSelect, HttpRouteModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { HttpRouteModuleSelect, HttpRouteModuleWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const httpRouteModuleQueryKey: (id: string | number) => readonly ["httproutemodule", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Query hook for fetching a single HttpRouteModule
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useHttpRouteModuleQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useHttpRouteModuleQuery<S extends HttpRouteModuleSelect, TData = {
|
|
24
|
+
httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Fetch a single HttpRouteModule without React hooks
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchHttpRouteModuleQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchHttpRouteModuleQuery<S extends HttpRouteModuleSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
httpRouteModule: InferSelectResult<HttpRouteModuleWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Prefetch a single HttpRouteModule for SSR or cache warming
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchHttpRouteModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchHttpRouteModuleQuery<S extends HttpRouteModuleSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Single item query hook for HttpRouteModule
|
|
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.httpRouteModuleQueryKey = void 0;
|
|
9
|
+
exports.useHttpRouteModuleQuery = useHttpRouteModuleQuery;
|
|
10
|
+
exports.fetchHttpRouteModuleQuery = fetchHttpRouteModuleQuery;
|
|
11
|
+
exports.prefetchHttpRouteModuleQuery = prefetchHttpRouteModuleQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.httpRouteModuleQueryKey = query_keys_1.httpRouteModuleKeys.detail;
|
|
18
|
+
function useHttpRouteModuleQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.httpRouteModuleKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.httpRouteModule.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchHttpRouteModuleQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.httpRouteModule.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchHttpRouteModuleQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.httpRouteModuleKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.httpRouteModule.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for HttpRouteModule
|
|
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 { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { HttpRouteModuleSelect, HttpRouteModuleWithRelations, HttpRouteModuleFilter, HttpRouteModuleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { HttpRouteModuleSelect, HttpRouteModuleWithRelations, HttpRouteModuleFilter, HttpRouteModuleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const httpRouteModulesQueryKey: (variables?: object) => readonly ["httproutemodule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Query hook for fetching HttpRouteModule list
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useHttpRouteModulesQuery({
|
|
19
|
+
* selection: {
|
|
20
|
+
* fields: { id: true, name: true },
|
|
21
|
+
* where: { name: { equalTo: "example" } },
|
|
22
|
+
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
+
* first: 10,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function useHttpRouteModulesQuery<S extends HttpRouteModuleSelect, TData = {
|
|
29
|
+
httpRouteModules: ConnectionResult<InferSelectResult<HttpRouteModuleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, HttpRouteModuleFilter, HttpRouteModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
httpRouteModules: ConnectionResult<InferSelectResult<HttpRouteModuleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Fetch HttpRouteModule list without React hooks
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchHttpRouteModulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchHttpRouteModulesQuery<S extends HttpRouteModuleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, HttpRouteModuleFilter, HttpRouteModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
httpRouteModules: ConnectionResult<InferSelectResult<HttpRouteModuleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Prefetch HttpRouteModule list for SSR or cache warming
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchHttpRouteModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchHttpRouteModulesQuery<S extends HttpRouteModuleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, HttpRouteModuleFilter, HttpRouteModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, HttpRouteModuleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* List query hook for HttpRouteModule
|
|
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.httpRouteModulesQueryKey = void 0;
|
|
9
|
+
exports.useHttpRouteModulesQuery = useHttpRouteModulesQuery;
|
|
10
|
+
exports.fetchHttpRouteModulesQuery = fetchHttpRouteModulesQuery;
|
|
11
|
+
exports.prefetchHttpRouteModulesQuery = prefetchHttpRouteModulesQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.httpRouteModulesQueryKey = query_keys_1.httpRouteModuleKeys.list;
|
|
18
|
+
function useHttpRouteModulesQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.httpRouteModuleKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().httpRouteModule.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchHttpRouteModulesQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().httpRouteModule.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchHttpRouteModulesQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.httpRouteModuleKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().httpRouteModule.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single item query hook for WebhookModule
|
|
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 { WebhookModuleSelect, WebhookModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { WebhookModuleSelect, WebhookModuleWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const webhookModuleQueryKey: (id: string | number) => readonly ["webhookmodule", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Query hook for fetching a single WebhookModule
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useWebhookModuleQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useWebhookModuleQuery<S extends WebhookModuleSelect, TData = {
|
|
24
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, WebhookModuleSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Fetch a single WebhookModule without React hooks
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchWebhookModuleQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchWebhookModuleQuery<S extends WebhookModuleSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, WebhookModuleSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
webhookModule: InferSelectResult<WebhookModuleWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Prefetch a single WebhookModule for SSR or cache warming
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchWebhookModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchWebhookModuleQuery<S extends WebhookModuleSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, WebhookModuleSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Single item query hook for WebhookModule
|
|
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.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
8
|
+
exports.webhookModuleQueryKey = void 0;
|
|
9
|
+
exports.useWebhookModuleQuery = useWebhookModuleQuery;
|
|
10
|
+
exports.fetchWebhookModuleQuery = fetchWebhookModuleQuery;
|
|
11
|
+
exports.prefetchWebhookModuleQuery = prefetchWebhookModuleQuery;
|
|
12
12
|
const react_query_1 = require("@tanstack/react-query");
|
|
13
13
|
const client_1 = require("../client");
|
|
14
14
|
const selection_1 = require("../selection");
|
|
15
15
|
const query_keys_1 = require("../query-keys");
|
|
16
16
|
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.
|
|
18
|
-
function
|
|
17
|
+
exports.webhookModuleQueryKey = query_keys_1.webhookModuleKeys.detail;
|
|
18
|
+
function useWebhookModuleQuery(params) {
|
|
19
19
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
20
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
21
|
void _selection;
|
|
22
22
|
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.
|
|
23
|
+
queryKey: query_keys_1.webhookModuleKeys.detail(params.id),
|
|
24
24
|
queryFn: () => (0, client_1.getClient)()
|
|
25
|
-
.
|
|
25
|
+
.webhookModule.findOne({
|
|
26
26
|
id: params.id,
|
|
27
27
|
select: args.select,
|
|
28
28
|
})
|
|
@@ -30,21 +30,21 @@ function useInfraCommitQuery(params) {
|
|
|
30
30
|
...queryOptions,
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
async function
|
|
33
|
+
async function fetchWebhookModuleQuery(params) {
|
|
34
34
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
35
|
return (0, client_1.getClient)()
|
|
36
|
-
.
|
|
36
|
+
.webhookModule.findOne({
|
|
37
37
|
id: params.id,
|
|
38
38
|
select: args.select,
|
|
39
39
|
})
|
|
40
40
|
.unwrap();
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
42
|
+
async function prefetchWebhookModuleQuery(queryClient, params) {
|
|
43
43
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
44
|
await queryClient.prefetchQuery({
|
|
45
|
-
queryKey: query_keys_1.
|
|
45
|
+
queryKey: query_keys_1.webhookModuleKeys.detail(params.id),
|
|
46
46
|
queryFn: () => (0, client_1.getClient)()
|
|
47
|
-
.
|
|
47
|
+
.webhookModule.findOne({
|
|
48
48
|
id: params.id,
|
|
49
49
|
select: args.select,
|
|
50
50
|
})
|