@constructive-io/react 0.30.1 → 0.30.3
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 +3 -3
- 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
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
import { useQuery } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
9
|
+
import { platformInfraRefKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
11
|
+
export const platformInfraRefQueryKey = platformInfraRefKeys.detail;
|
|
12
|
+
export function usePlatformInfraRefQuery(params) {
|
|
13
13
|
const args = buildSelectionArgs(params.selection);
|
|
14
14
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
15
|
void _selection;
|
|
16
16
|
return useQuery({
|
|
17
|
-
queryKey:
|
|
17
|
+
queryKey: platformInfraRefKeys.detail(params.id),
|
|
18
18
|
queryFn: () => getClient()
|
|
19
|
-
.
|
|
19
|
+
.platformInfraRef.findOne({
|
|
20
20
|
id: params.id,
|
|
21
21
|
select: args.select,
|
|
22
22
|
})
|
|
@@ -24,21 +24,21 @@ export function useInfraRefQuery(params) {
|
|
|
24
24
|
...queryOptions,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
export async function
|
|
27
|
+
export async function fetchPlatformInfraRefQuery(params) {
|
|
28
28
|
const args = buildSelectionArgs(params.selection);
|
|
29
29
|
return getClient()
|
|
30
|
-
.
|
|
30
|
+
.platformInfraRef.findOne({
|
|
31
31
|
id: params.id,
|
|
32
32
|
select: args.select,
|
|
33
33
|
})
|
|
34
34
|
.unwrap();
|
|
35
35
|
}
|
|
36
|
-
export async function
|
|
36
|
+
export async function prefetchPlatformInfraRefQuery(queryClient, params) {
|
|
37
37
|
const args = buildSelectionArgs(params.selection);
|
|
38
38
|
await queryClient.prefetchQuery({
|
|
39
|
-
queryKey:
|
|
39
|
+
queryKey: platformInfraRefKeys.detail(params.id),
|
|
40
40
|
queryFn: () => getClient()
|
|
41
|
-
.
|
|
41
|
+
.platformInfraRef.findOne({
|
|
42
42
|
id: params.id,
|
|
43
43
|
select: args.select,
|
|
44
44
|
})
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Branch heads — mutable pointers into the commit chain
|
|
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 { PlatformInfraRefSelect, PlatformInfraRefWithRelations, PlatformInfraRefFilter, PlatformInfraRefOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformInfraRefSelect, PlatformInfraRefWithRelations, PlatformInfraRefFilter, PlatformInfraRefOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const platformInfraRefsQueryKey: (variables?: object) => readonly ["platforminfraref", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Branch heads — mutable pointers into the commit chain
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = usePlatformInfraRefsQuery({
|
|
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 usePlatformInfraRefsQuery<S extends PlatformInfraRefSelect, TData = {
|
|
29
|
+
platformInfraRefs: ConnectionResult<InferSelectResult<PlatformInfraRefWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, PlatformInfraRefFilter, PlatformInfraRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraRefSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
platformInfraRefs: ConnectionResult<InferSelectResult<PlatformInfraRefWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Branch heads — mutable pointers into the commit chain
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchPlatformInfraRefsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchPlatformInfraRefsQuery<S extends PlatformInfraRefSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, PlatformInfraRefFilter, PlatformInfraRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraRefSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
platformInfraRefs: ConnectionResult<InferSelectResult<PlatformInfraRefWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Branch heads — mutable pointers into the commit chain
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchPlatformInfraRefsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchPlatformInfraRefsQuery<S extends PlatformInfraRefSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, PlatformInfraRefFilter, PlatformInfraRefOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraRefSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
import { useQuery } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildListSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
9
|
+
import { platformInfraRefKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
11
|
+
export const platformInfraRefsQueryKey = platformInfraRefKeys.list;
|
|
12
|
+
export function usePlatformInfraRefsQuery(params) {
|
|
13
13
|
const args = buildListSelectionArgs(params.selection);
|
|
14
14
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
15
|
void _selection;
|
|
16
16
|
return useQuery({
|
|
17
|
-
queryKey:
|
|
18
|
-
queryFn: () => getClient().
|
|
17
|
+
queryKey: platformInfraRefKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().platformInfraRef.findMany(args).unwrap(),
|
|
19
19
|
...queryOptions,
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
export async function
|
|
22
|
+
export async function fetchPlatformInfraRefsQuery(params) {
|
|
23
23
|
const args = buildListSelectionArgs(params.selection);
|
|
24
|
-
return getClient().
|
|
24
|
+
return getClient().platformInfraRef.findMany(args).unwrap();
|
|
25
25
|
}
|
|
26
|
-
export async function
|
|
26
|
+
export async function prefetchPlatformInfraRefsQuery(queryClient, params) {
|
|
27
27
|
const args = buildListSelectionArgs(params.selection);
|
|
28
28
|
await queryClient.prefetchQuery({
|
|
29
|
-
queryKey:
|
|
30
|
-
queryFn: () => getClient().
|
|
29
|
+
queryKey: platformInfraRefKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().platformInfraRef.findMany(args).unwrap(),
|
|
31
31
|
});
|
|
32
32
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
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 { PlatformInfraStoreSelect, PlatformInfraStoreWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformInfraStoreSelect, PlatformInfraStoreWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const platformInfraStoreQueryKey: (id: string | number) => readonly ["platforminfrastore", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = usePlatformInfraStoreQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePlatformInfraStoreQuery<S extends PlatformInfraStoreSelect, TData = {
|
|
24
|
+
platformInfraStore: InferSelectResult<PlatformInfraStoreWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
platformInfraStore: InferSelectResult<PlatformInfraStoreWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchPlatformInfraStoreQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchPlatformInfraStoreQuery<S extends PlatformInfraStoreSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
platformInfraStore: InferSelectResult<PlatformInfraStoreWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchPlatformInfraStoreQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchPlatformInfraStoreQuery<S extends PlatformInfraStoreSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
import { useQuery } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
9
|
+
import { platformInfraStoreKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
11
|
+
export const platformInfraStoreQueryKey = platformInfraStoreKeys.detail;
|
|
12
|
+
export function usePlatformInfraStoreQuery(params) {
|
|
13
13
|
const args = buildSelectionArgs(params.selection);
|
|
14
14
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
15
|
void _selection;
|
|
16
16
|
return useQuery({
|
|
17
|
-
queryKey:
|
|
17
|
+
queryKey: platformInfraStoreKeys.detail(params.id),
|
|
18
18
|
queryFn: () => getClient()
|
|
19
|
-
.
|
|
19
|
+
.platformInfraStore.findOne({
|
|
20
20
|
id: params.id,
|
|
21
21
|
select: args.select,
|
|
22
22
|
})
|
|
@@ -24,21 +24,21 @@ export function useInfraStoreQuery(params) {
|
|
|
24
24
|
...queryOptions,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
export async function
|
|
27
|
+
export async function fetchPlatformInfraStoreQuery(params) {
|
|
28
28
|
const args = buildSelectionArgs(params.selection);
|
|
29
29
|
return getClient()
|
|
30
|
-
.
|
|
30
|
+
.platformInfraStore.findOne({
|
|
31
31
|
id: params.id,
|
|
32
32
|
select: args.select,
|
|
33
33
|
})
|
|
34
34
|
.unwrap();
|
|
35
35
|
}
|
|
36
|
-
export async function
|
|
36
|
+
export async function prefetchPlatformInfraStoreQuery(queryClient, params) {
|
|
37
37
|
const args = buildSelectionArgs(params.selection);
|
|
38
38
|
await queryClient.prefetchQuery({
|
|
39
|
-
queryKey:
|
|
39
|
+
queryKey: platformInfraStoreKeys.detail(params.id),
|
|
40
40
|
queryFn: () => getClient()
|
|
41
|
-
.
|
|
41
|
+
.platformInfraStore.findOne({
|
|
42
42
|
id: params.id,
|
|
43
43
|
select: args.select,
|
|
44
44
|
})
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
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 { PlatformInfraStoreSelect, PlatformInfraStoreWithRelations, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformInfraStoreSelect, PlatformInfraStoreWithRelations, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const platformInfraStoresQueryKey: (variables?: object) => readonly ["platforminfrastore", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = usePlatformInfraStoresQuery({
|
|
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 usePlatformInfraStoresQuery<S extends PlatformInfraStoreSelect, TData = {
|
|
29
|
+
platformInfraStores: ConnectionResult<InferSelectResult<PlatformInfraStoreWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
platformInfraStores: ConnectionResult<InferSelectResult<PlatformInfraStoreWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchPlatformInfraStoresQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchPlatformInfraStoresQuery<S extends PlatformInfraStoreSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
platformInfraStores: ConnectionResult<InferSelectResult<PlatformInfraStoreWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Named stores — one per version-controlled tree (e.g. one graph, one definition set)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchPlatformInfraStoresQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchPlatformInfraStoresQuery<S extends PlatformInfraStoreSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, PlatformInfraStoreFilter, PlatformInfraStoreOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformInfraStoreSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
import { useQuery } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildListSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
9
|
+
import { platformInfraStoreKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
11
|
+
export const platformInfraStoresQueryKey = platformInfraStoreKeys.list;
|
|
12
|
+
export function usePlatformInfraStoresQuery(params) {
|
|
13
13
|
const args = buildListSelectionArgs(params.selection);
|
|
14
14
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
15
|
void _selection;
|
|
16
16
|
return useQuery({
|
|
17
|
-
queryKey:
|
|
18
|
-
queryFn: () => getClient().
|
|
17
|
+
queryKey: platformInfraStoreKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().platformInfraStore.findMany(args).unwrap(),
|
|
19
19
|
...queryOptions,
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
export async function
|
|
22
|
+
export async function fetchPlatformInfraStoresQuery(params) {
|
|
23
23
|
const args = buildListSelectionArgs(params.selection);
|
|
24
|
-
return getClient().
|
|
24
|
+
return getClient().platformInfraStore.findMany(args).unwrap();
|
|
25
25
|
}
|
|
26
|
-
export async function
|
|
26
|
+
export async function prefetchPlatformInfraStoresQuery(queryClient, params) {
|
|
27
27
|
const args = buildListSelectionArgs(params.selection);
|
|
28
28
|
await queryClient.prefetchQuery({
|
|
29
|
-
queryKey:
|
|
30
|
-
queryFn: () => getClient().
|
|
29
|
+
queryKey: platformInfraStoreKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().platformInfraStore.findMany(args).unwrap(),
|
|
31
31
|
});
|
|
32
32
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
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 { PlatformResourceInstallationSelect, PlatformResourceInstallationWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformResourceInstallationSelect, PlatformResourceInstallationWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const platformResourceInstallationQueryKey: (id: string | number) => readonly ["platformresourceinstallation", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = usePlatformResourceInstallationQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePlatformResourceInstallationQuery<S extends PlatformResourceInstallationSelect, TData = {
|
|
24
|
+
platformResourceInstallation: InferSelectResult<PlatformResourceInstallationWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
platformResourceInstallation: InferSelectResult<PlatformResourceInstallationWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchPlatformResourceInstallationQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchPlatformResourceInstallationQuery<S extends PlatformResourceInstallationSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
platformResourceInstallation: InferSelectResult<PlatformResourceInstallationWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchPlatformResourceInstallationQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchPlatformResourceInstallationQuery<S extends PlatformResourceInstallationSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useQuery } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { platformResourceInstallationKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const platformResourceInstallationQueryKey = platformResourceInstallationKeys.detail;
|
|
12
|
+
export function usePlatformResourceInstallationQuery(params) {
|
|
13
|
+
const args = buildSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: platformResourceInstallationKeys.detail(params.id),
|
|
18
|
+
queryFn: () => getClient()
|
|
19
|
+
.platformResourceInstallation.findOne({
|
|
20
|
+
id: params.id,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function fetchPlatformResourceInstallationQuery(params) {
|
|
28
|
+
const args = buildSelectionArgs(params.selection);
|
|
29
|
+
return getClient()
|
|
30
|
+
.platformResourceInstallation.findOne({
|
|
31
|
+
id: params.id,
|
|
32
|
+
select: args.select,
|
|
33
|
+
})
|
|
34
|
+
.unwrap();
|
|
35
|
+
}
|
|
36
|
+
export async function prefetchPlatformResourceInstallationQuery(queryClient, params) {
|
|
37
|
+
const args = buildSelectionArgs(params.selection);
|
|
38
|
+
await queryClient.prefetchQuery({
|
|
39
|
+
queryKey: platformResourceInstallationKeys.detail(params.id),
|
|
40
|
+
queryFn: () => getClient()
|
|
41
|
+
.platformResourceInstallation.findOne({
|
|
42
|
+
id: params.id,
|
|
43
|
+
select: args.select,
|
|
44
|
+
})
|
|
45
|
+
.unwrap(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
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 { PlatformResourceInstallationSelect, PlatformResourceInstallationWithRelations, PlatformResourceInstallationFilter, PlatformResourceInstallationOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformResourceInstallationSelect, PlatformResourceInstallationWithRelations, PlatformResourceInstallationFilter, PlatformResourceInstallationOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const platformResourceInstallationsQueryKey: (variables?: object) => readonly ["platformresourceinstallation", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = usePlatformResourceInstallationsQuery({
|
|
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 usePlatformResourceInstallationsQuery<S extends PlatformResourceInstallationSelect, TData = {
|
|
29
|
+
platformResourceInstallations: ConnectionResult<InferSelectResult<PlatformResourceInstallationWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, PlatformResourceInstallationFilter, PlatformResourceInstallationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
platformResourceInstallations: ConnectionResult<InferSelectResult<PlatformResourceInstallationWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchPlatformResourceInstallationsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchPlatformResourceInstallationsQuery<S extends PlatformResourceInstallationSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, PlatformResourceInstallationFilter, PlatformResourceInstallationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
platformResourceInstallations: ConnectionResult<InferSelectResult<PlatformResourceInstallationWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchPlatformResourceInstallationsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchPlatformResourceInstallationsQuery<S extends PlatformResourceInstallationSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, PlatformResourceInstallationFilter, PlatformResourceInstallationOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformResourceInstallationSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Installed resource bundle ("release") — groups a set of resources; params are merkle-versioned in the scope's shared infra store for rollback
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useQuery } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildListSelectionArgs } from '../selection';
|
|
9
|
+
import { platformResourceInstallationKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const platformResourceInstallationsQueryKey = platformResourceInstallationKeys.list;
|
|
12
|
+
export function usePlatformResourceInstallationsQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: platformResourceInstallationKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().platformResourceInstallation.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchPlatformResourceInstallationsQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().platformResourceInstallation.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchPlatformResourceInstallationsQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: platformResourceInstallationKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().platformResourceInstallation.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|