@constructive-io/react 0.21.3 → 0.22.1
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/README.md +4 -0
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +85 -91
- package/admin/hooks/invalidation.js +194 -210
- package/admin/hooks/mutation-keys.d.ts +170 -182
- package/admin/hooks/mutation-keys.js +101 -108
- package/admin/hooks/mutations/index.d.ts +48 -47
- package/admin/hooks/mutations/index.js +48 -47
- package/admin/hooks/mutations/useDeleteAppLimitEventMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteAppLimitEventMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteOrgLimitEventMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgLimitEventMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateAppLimitEventMutation.d.ts +40 -0
- package/{public/hooks/mutations/useUpdateObjectMutation.js → admin/hooks/mutations/useUpdateAppLimitEventMutation.js} +9 -9
- package/admin/hooks/mutations/useUpdateOrgLimitEventMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgLimitEventMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +32 -32
- package/admin/hooks/queries/index.js +32 -32
- package/admin/hooks/queries/useAppLimitEventQuery.d.ts +65 -0
- package/admin/hooks/queries/useAppLimitEventQuery.js +53 -0
- package/admin/hooks/queries/useOrgLimitEventQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgLimitEventQuery.js +53 -0
- package/admin/hooks/query-keys.d.ts +200 -214
- package/admin/hooks/query-keys.js +116 -124
- package/admin/orm/index.d.ts +31 -33
- package/admin/orm/index.js +32 -33
- package/admin/orm/input-types.d.ts +2090 -2039
- package/admin/orm/input-types.js +4 -4
- package/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/admin/orm/models/appLimitEvent.js +45 -0
- package/admin/orm/models/index.d.ts +15 -16
- package/admin/orm/models/index.js +31 -33
- package/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/admin/orm/models/orgLimitEvent.js +45 -0
- package/admin/schema-types.d.ts +1917 -1838
- package/admin/types.d.ts +149 -143
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +5 -5
- package/auth/hooks/invalidation.js +9 -9
- package/auth/hooks/mutation-keys.d.ts +12 -12
- package/auth/hooks/mutation-keys.js +10 -10
- package/auth/hooks/mutations/index.d.ts +4 -4
- package/auth/hooks/mutations/index.js +4 -4
- package/auth/hooks/mutations/useCreateAuditLogAuthMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateAuditLogAuthMutation.js +34 -0
- package/auth/hooks/mutations/useDeleteAuditLogAuthMutation.d.ts +38 -0
- package/auth/hooks/mutations/useDeleteAuditLogAuthMutation.js +39 -0
- package/auth/hooks/mutations/useUpdateAuditLogAuthMutation.d.ts +40 -0
- package/auth/hooks/mutations/useUpdateAuditLogAuthMutation.js +40 -0
- package/auth/hooks/queries/index.d.ts +2 -2
- package/auth/hooks/queries/index.js +2 -2
- package/auth/hooks/queries/useAuditLogAuthQuery.d.ts +65 -0
- package/auth/hooks/queries/useAuditLogAuthQuery.js +53 -0
- package/auth/hooks/queries/useAuditLogAuthsQuery.d.ts +69 -0
- package/{public/hooks/queries/useGetAllQuery.js → auth/hooks/queries/useAuditLogAuthsQuery.js} +14 -14
- package/auth/hooks/query-keys.d.ts +12 -12
- package/auth/hooks/query-keys.js +8 -8
- package/auth/orm/index.d.ts +8 -8
- package/auth/orm/index.js +4 -3
- package/auth/orm/input-types.d.ts +94 -94
- package/auth/orm/input-types.js +1 -1
- package/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/{public/orm/models/agentMessage.js → auth/orm/models/auditLogAuth.js} +27 -27
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/auth/schema-types.d.ts +90 -86
- package/auth/types.d.ts +2 -2
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +85 -91
- package/esm/admin/hooks/invalidation.js +195 -211
- package/esm/admin/hooks/mutation-keys.d.ts +170 -182
- package/esm/admin/hooks/mutation-keys.js +100 -107
- package/esm/admin/hooks/mutations/index.d.ts +48 -47
- package/esm/admin/hooks/mutations/index.js +48 -47
- package/esm/admin/hooks/mutations/useDeleteAppLimitEventMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteAppLimitEventMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteOrgLimitEventMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgLimitEventMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateAppLimitEventMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateAppLimitEventMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateOrgLimitEventMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgLimitEventMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +32 -32
- package/esm/admin/hooks/queries/index.js +32 -32
- package/esm/admin/hooks/queries/useAppLimitEventQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useAppLimitEventQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgLimitEventQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgLimitEventQuery.js +47 -0
- package/esm/admin/hooks/query-keys.d.ts +200 -214
- package/esm/admin/hooks/query-keys.js +115 -123
- package/esm/admin/orm/index.d.ts +31 -33
- package/esm/admin/orm/index.js +31 -33
- package/esm/admin/orm/input-types.d.ts +2090 -2039
- package/esm/admin/orm/input-types.js +4 -4
- package/esm/admin/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/appLimitEvent.js +46 -1
- package/esm/admin/orm/models/index.d.ts +15 -16
- package/esm/admin/orm/models/index.js +15 -16
- package/esm/admin/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/admin/orm/models/orgLimitEvent.js +46 -1
- package/esm/admin/schema-types.d.ts +1917 -1838
- package/esm/admin/types.d.ts +149 -143
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +5 -5
- package/esm/auth/hooks/invalidation.js +10 -10
- package/esm/auth/hooks/mutation-keys.d.ts +12 -12
- package/esm/auth/hooks/mutation-keys.js +9 -9
- package/esm/auth/hooks/mutations/index.d.ts +4 -4
- package/esm/auth/hooks/mutations/index.js +4 -4
- package/esm/auth/hooks/mutations/useCreateAuditLogAuthMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateAuditLogAuthMutation.js +31 -0
- package/esm/auth/hooks/mutations/useDeleteAuditLogAuthMutation.d.ts +38 -0
- package/esm/auth/hooks/mutations/useDeleteAuditLogAuthMutation.js +36 -0
- package/esm/auth/hooks/mutations/useUpdateAuditLogAuthMutation.d.ts +40 -0
- package/esm/auth/hooks/mutations/useUpdateAuditLogAuthMutation.js +37 -0
- package/esm/auth/hooks/queries/index.d.ts +2 -2
- package/esm/auth/hooks/queries/index.js +2 -2
- package/esm/auth/hooks/queries/useAuditLogAuthQuery.d.ts +65 -0
- package/esm/auth/hooks/queries/useAuditLogAuthQuery.js +47 -0
- package/esm/auth/hooks/queries/useAuditLogAuthsQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useAuditLogAuthsQuery.js +32 -0
- package/esm/auth/hooks/query-keys.d.ts +12 -12
- package/esm/auth/hooks/query-keys.js +7 -7
- package/esm/auth/orm/index.d.ts +8 -8
- package/esm/auth/orm/index.js +3 -3
- package/esm/auth/orm/input-types.d.ts +94 -94
- package/esm/auth/orm/input-types.js +1 -1
- package/esm/auth/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{public/orm/models/auditLog.js → auth/orm/models/auditLogAuth.js} +25 -25
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/auth/schema-types.d.ts +90 -86
- package/esm/auth/types.d.ts +2 -2
- package/esm/objects/orm/index.d.ts +1 -1
- package/esm/objects/orm/index.js +1 -1
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +164 -152
- package/esm/public/hooks/invalidation.js +374 -342
- package/esm/public/hooks/mutation-keys.d.ts +350 -342
- package/esm/public/hooks/mutation-keys.js +224 -231
- package/esm/public/hooks/mutations/index.d.ts +91 -87
- package/esm/public/hooks/mutations/index.js +91 -87
- package/esm/public/hooks/mutations/useCreateAgentModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateObjectMutation.js → useCreateAgentModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateAuditLogAuthMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAuditLogAuthMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateComputeLogModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateAuditLogMutation.js → useCreateComputeLogModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateConfigSecretsOrgModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateConfigSecretsOrgModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateConfigSecretsUserModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateEncryptedSecretsModuleMutation.js → useCreateConfigSecretsUserModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateDbUsageModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateRefMutation.js → useCreateDbUsageModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateFunctionModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateGetAllRecordMutation.js → useCreateFunctionModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateGraphModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateCommitMutation.js → useCreateGraphModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateInferenceLogModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateInferenceLogModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateMerkleStoreModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateMerkleStoreModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateNamespaceModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateNamespaceModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateStorageLogModuleMutation.d.ts +34 -0
- package/esm/{auth/hooks/mutations/useCreateAuditLogMutation.js → public/hooks/mutations/useCreateStorageLogModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateTransferLogModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateTransferLogModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useDeleteAgentModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteRefMutation.js → useDeleteAgentModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteAppLimitEventMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAppLimitEventMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteAuditLogAuthMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAuditLogAuthMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteComputeLogModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteAuditLogMutation.js → useDeleteComputeLogModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteConfigSecretsOrgModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteConfigSecretsOrgModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteConfigSecretsUserModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteEncryptedSecretsModuleMutation.js → useDeleteConfigSecretsUserModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteDbUsageModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteStoreMutation.js → useDeleteDbUsageModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteFunctionModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteObjectMutation.js → useDeleteFunctionModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteGraphModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteCommitMutation.js → useDeleteGraphModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteInferenceLogModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteInferenceLogModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteMerkleStoreModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteMerkleStoreModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteNamespaceModuleMutation.d.ts +38 -0
- package/esm/{auth/hooks/mutations/useDeleteAuditLogMutation.js → public/hooks/mutations/useDeleteNamespaceModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteOrgLimitEventMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgLimitEventMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteStorageLogModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteStorageLogModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteTransferLogModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteTransferLogModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useUpdateAgentModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateRefMutation.js → useUpdateAgentModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateAppLimitEventMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAppLimitEventMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateAuditLogAuthMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAuditLogAuthMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateComputeLogModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateComputeLogModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateConfigSecretsOrgModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateAgentTaskMutation.js → useUpdateConfigSecretsOrgModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateConfigSecretsUserModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateEncryptedSecretsModuleMutation.js → useUpdateConfigSecretsUserModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateDbUsageModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateObjectMutation.js → useUpdateDbUsageModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateFunctionModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateAuditLogMutation.js → useUpdateFunctionModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateGraphModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateCommitMutation.js → useUpdateGraphModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateInferenceLogModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateInferenceLogModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateMerkleStoreModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateMerkleStoreModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateNamespaceModuleMutation.d.ts +40 -0
- package/esm/{auth/hooks/mutations/useUpdateAuditLogMutation.js → public/hooks/mutations/useUpdateNamespaceModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateOrgLimitEventMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgLimitEventMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateStorageLogModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateStorageLogModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateTransferLogModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateTransferLogModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +60 -56
- package/esm/public/hooks/queries/index.js +60 -56
- package/esm/public/hooks/queries/useAgentModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useCommitQuery.js → useAgentModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useAgentModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useCommitsQuery.js → useAgentModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useAppLimitEventQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAppLimitEventQuery.js +47 -0
- package/esm/public/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +53 -0
- package/esm/public/hooks/queries/useApplyRegistryDefaultsQuery.js +47 -0
- package/esm/public/hooks/queries/useAuditLogAuthQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAuditLogAuthQuery.js +47 -0
- package/esm/public/hooks/queries/useAuditLogAuthsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAuditLogAuthsQuery.js +32 -0
- package/esm/public/hooks/queries/useComputeLogModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useComputeLogModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useComputeLogModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useStoresQuery.js → useComputeLogModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useConfigSecretsOrgModuleQuery.d.ts +65 -0
- package/esm/{admin/hooks/queries/useUsageSnapshotQuery.js → public/hooks/queries/useConfigSecretsOrgModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useConfigSecretsOrgModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useConfigSecretsOrgModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useConfigSecretsUserModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useEncryptedSecretsModuleQuery.js → useConfigSecretsUserModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useConfigSecretsUserModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useConfigSecretsUserModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useDbUsageModuleQuery.d.ts +65 -0
- package/esm/{auth/hooks/queries/useAuditLogQuery.js → public/hooks/queries/useDbUsageModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useDbUsageModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useObjectsQuery.js → useDbUsageModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useFunctionModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useAuditLogQuery.js → useFunctionModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useFunctionModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useAuditLogsQuery.js → useFunctionModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useGraphModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useRefQuery.js → useGraphModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useGraphModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useGetAllQuery.js → useGraphModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useInferenceLogModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useInferenceLogModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useInferenceLogModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useInferenceLogModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useMerkleStoreModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useMerkleStoreModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useMerkleStoreModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useMerkleStoreModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useNamespaceModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useNamespaceModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useNamespaceModulesQuery.d.ts +69 -0
- package/esm/{auth/hooks/queries/useAuditLogsQuery.js → public/hooks/queries/useNamespaceModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useOrgLimitEventQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgLimitEventQuery.js +47 -0
- package/esm/public/hooks/queries/useStorageLogModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useObjectQuery.js → useStorageLogModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useStorageLogModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useStorageLogModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useTransferLogModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useTransferLogModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useTransferLogModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useTransferLogModulesQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +392 -370
- package/esm/public/hooks/query-keys.js +225 -212
- package/esm/public/orm/index.d.ts +102 -153
- package/esm/public/orm/index.js +59 -55
- package/esm/public/orm/input-types.d.ts +6255 -3877
- package/esm/public/orm/input-types.js +24 -15
- package/esm/public/orm/models/agentModule.d.ts +54 -0
- package/esm/public/orm/models/{agentThread.js → agentModule.js} +25 -25
- package/esm/public/orm/models/appLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/appLimitEvent.js +46 -1
- package/esm/public/orm/models/auditLogAuth.d.ts +54 -0
- package/esm/{auth/orm/models/auditLog.js → public/orm/models/auditLogAuth.js} +25 -25
- package/esm/public/orm/models/computeLogModule.d.ts +54 -0
- package/esm/public/orm/models/{commit.js → computeLogModule.js} +25 -25
- package/esm/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/esm/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +25 -25
- package/esm/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/esm/public/orm/models/configSecretsUserModule.js +100 -0
- package/esm/public/orm/models/dbUsageModule.d.ts +54 -0
- package/esm/public/orm/models/{usageSnapshot.js → dbUsageModule.js} +25 -25
- package/esm/public/orm/models/functionModule.d.ts +54 -0
- package/esm/{admin/orm/models/usageSnapshot.js → public/orm/models/functionModule.js} +25 -25
- package/esm/public/orm/models/graphModule.d.ts +54 -0
- package/esm/public/orm/models/{agentTask.js → graphModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +29 -27
- package/esm/public/orm/models/index.js +29 -27
- package/esm/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/esm/public/orm/models/inferenceLogModule.js +100 -0
- package/esm/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/esm/public/orm/models/merkleStoreModule.js +100 -0
- package/esm/public/orm/models/namespaceModule.d.ts +54 -0
- package/esm/public/orm/models/{agentMessage.js → namespaceModule.js} +25 -25
- package/esm/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/esm/public/orm/models/orgLimitEvent.js +46 -1
- package/esm/public/orm/models/storageLogModule.d.ts +54 -0
- package/esm/public/orm/models/{store.js → storageLogModule.js} +25 -25
- package/esm/public/orm/models/transferLogModule.d.ts +54 -0
- package/esm/public/orm/models/transferLogModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +69 -133
- package/esm/public/orm/mutation/index.js +78 -174
- package/esm/public/orm/query/index.d.ts +22 -71
- package/esm/public/orm/query/index.js +36 -124
- package/esm/public/schema-types.d.ts +5424 -4317
- package/esm/public/types.d.ts +402 -240
- package/objects/orm/index.d.ts +1 -1
- package/objects/orm/index.js +2 -1
- package/package.json +6 -6
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +164 -152
- package/public/hooks/invalidation.js +373 -341
- package/public/hooks/mutation-keys.d.ts +350 -342
- package/public/hooks/mutation-keys.js +228 -234
- package/public/hooks/mutations/index.d.ts +91 -87
- package/public/hooks/mutations/index.js +91 -87
- package/public/hooks/mutations/useCreateAgentModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateCommitMutation.js → useCreateAgentModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateAuditLogAuthMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAuditLogAuthMutation.js +34 -0
- package/public/hooks/mutations/useCreateComputeLogModuleMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useCreateAuditLogMutation.js → public/hooks/mutations/useCreateComputeLogModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateConfigSecretsOrgModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateConfigSecretsOrgModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateConfigSecretsUserModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateEncryptedSecretsModuleMutation.js → useCreateConfigSecretsUserModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateDbUsageModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateObjectMutation.js → useCreateDbUsageModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateFunctionModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateGetAllRecordMutation.js → useCreateFunctionModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateGraphModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateStoreMutation.js → useCreateGraphModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateInferenceLogModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateInferenceLogModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateMerkleStoreModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateMerkleStoreModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateNamespaceModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateRefMutation.js → useCreateNamespaceModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateStorageLogModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateAuditLogMutation.js → useCreateStorageLogModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateTransferLogModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateTransferLogModuleMutation.js +34 -0
- package/public/hooks/mutations/useDeleteAgentModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteRefMutation.js → useDeleteAgentModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteAppLimitEventMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAppLimitEventMutation.js +39 -0
- package/public/hooks/mutations/useDeleteAuditLogAuthMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAuditLogAuthMutation.js +39 -0
- package/public/hooks/mutations/useDeleteComputeLogModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteAuditLogMutation.js → useDeleteComputeLogModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteConfigSecretsOrgModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteConfigSecretsOrgModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteConfigSecretsUserModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteEncryptedSecretsModuleMutation.js → useDeleteConfigSecretsUserModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteDbUsageModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteCommitMutation.js → useDeleteDbUsageModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteFunctionModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteStoreMutation.js → useDeleteFunctionModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteGraphModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteObjectMutation.js → useDeleteGraphModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteInferenceLogModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteInferenceLogModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteMerkleStoreModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteMerkleStoreModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteNamespaceModuleMutation.d.ts +38 -0
- package/{auth/hooks/mutations/useDeleteAuditLogMutation.js → public/hooks/mutations/useDeleteNamespaceModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteOrgLimitEventMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteOrgLimitEventMutation.js +39 -0
- package/public/hooks/mutations/useDeleteStorageLogModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteStorageLogModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteTransferLogModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteTransferLogModuleMutation.js +39 -0
- package/public/hooks/mutations/useUpdateAgentModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateRefMutation.js → useUpdateAgentModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateAppLimitEventMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAppLimitEventMutation.js +40 -0
- package/public/hooks/mutations/useUpdateAuditLogAuthMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAuditLogAuthMutation.js +40 -0
- package/public/hooks/mutations/useUpdateComputeLogModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateComputeLogModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateConfigSecretsOrgModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateAgentTaskMutation.js → useUpdateConfigSecretsOrgModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateConfigSecretsUserModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateEncryptedSecretsModuleMutation.js → useUpdateConfigSecretsUserModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateDbUsageModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateStoreMutation.js → useUpdateDbUsageModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateFunctionModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateAuditLogMutation.js → useUpdateFunctionModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateGraphModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateCommitMutation.js → useUpdateGraphModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateInferenceLogModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateInferenceLogModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateMerkleStoreModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateMerkleStoreModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateNamespaceModuleMutation.d.ts +40 -0
- package/{auth/hooks/mutations/useUpdateAuditLogMutation.js → public/hooks/mutations/useUpdateNamespaceModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateOrgLimitEventMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgLimitEventMutation.js +40 -0
- package/public/hooks/mutations/useUpdateStorageLogModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateStorageLogModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateTransferLogModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateTransferLogModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +60 -56
- package/public/hooks/queries/index.js +60 -56
- package/public/hooks/queries/useAgentModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useAuditLogQuery.js → useAgentModuleQuery.js} +14 -14
- package/public/hooks/queries/useAgentModulesQuery.d.ts +69 -0
- package/public/hooks/queries/{useRefsQuery.js → useAgentModulesQuery.js} +14 -14
- package/public/hooks/queries/useAppLimitEventQuery.d.ts +65 -0
- package/public/hooks/queries/useAppLimitEventQuery.js +53 -0
- package/public/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +53 -0
- package/public/hooks/queries/useApplyRegistryDefaultsQuery.js +53 -0
- package/public/hooks/queries/useAuditLogAuthQuery.d.ts +65 -0
- package/public/hooks/queries/useAuditLogAuthQuery.js +53 -0
- package/public/hooks/queries/useAuditLogAuthsQuery.d.ts +69 -0
- package/public/hooks/queries/useAuditLogAuthsQuery.js +38 -0
- package/public/hooks/queries/useComputeLogModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useComputeLogModuleQuery.js +53 -0
- package/public/hooks/queries/useComputeLogModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useComputeLogModulesQuery.js +38 -0
- package/public/hooks/queries/useConfigSecretsOrgModuleQuery.d.ts +65 -0
- package/{admin/hooks/queries/useUsageSnapshotQuery.js → public/hooks/queries/useConfigSecretsOrgModuleQuery.js} +14 -14
- package/public/hooks/queries/useConfigSecretsOrgModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useConfigSecretsOrgModulesQuery.js +38 -0
- package/public/hooks/queries/useConfigSecretsUserModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useEncryptedSecretsModuleQuery.js → useConfigSecretsUserModuleQuery.js} +14 -14
- package/public/hooks/queries/useConfigSecretsUserModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useConfigSecretsUserModulesQuery.js +38 -0
- package/public/hooks/queries/useDbUsageModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useCommitQuery.js → useDbUsageModuleQuery.js} +14 -14
- package/public/hooks/queries/useDbUsageModulesQuery.d.ts +69 -0
- package/public/hooks/queries/{useCommitsQuery.js → useDbUsageModulesQuery.js} +14 -14
- package/public/hooks/queries/useFunctionModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useObjectQuery.js → useFunctionModuleQuery.js} +14 -14
- package/public/hooks/queries/useFunctionModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useFunctionModulesQuery.js +38 -0
- package/public/hooks/queries/useGraphModuleQuery.d.ts +65 -0
- package/{auth/hooks/queries/useAuditLogQuery.js → public/hooks/queries/useGraphModuleQuery.js} +14 -14
- package/public/hooks/queries/useGraphModulesQuery.d.ts +69 -0
- package/public/hooks/queries/{useObjectsQuery.js → useGraphModulesQuery.js} +14 -14
- package/public/hooks/queries/useInferenceLogModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useInferenceLogModuleQuery.js +53 -0
- package/public/hooks/queries/useInferenceLogModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useInferenceLogModulesQuery.js +38 -0
- package/public/hooks/queries/useMerkleStoreModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useMerkleStoreModuleQuery.js +53 -0
- package/public/hooks/queries/useMerkleStoreModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useMerkleStoreModulesQuery.js +38 -0
- package/public/hooks/queries/useNamespaceModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useNamespaceModuleQuery.js +53 -0
- package/public/hooks/queries/useNamespaceModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useNamespaceModulesQuery.js +38 -0
- package/public/hooks/queries/useOrgLimitEventQuery.d.ts +65 -0
- package/public/hooks/queries/useOrgLimitEventQuery.js +53 -0
- package/public/hooks/queries/useStorageLogModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useStorageLogModuleQuery.js +53 -0
- package/public/hooks/queries/useStorageLogModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useStorageLogModulesQuery.js +38 -0
- package/public/hooks/queries/useTransferLogModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useTransferLogModuleQuery.js +53 -0
- package/public/hooks/queries/useTransferLogModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useTransferLogModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +392 -370
- package/public/hooks/query-keys.js +229 -215
- package/public/orm/index.d.ts +102 -153
- package/public/orm/index.js +60 -55
- package/public/orm/input-types.d.ts +6255 -3877
- package/public/orm/input-types.js +24 -15
- package/public/orm/models/agentModule.d.ts +54 -0
- package/public/orm/models/{agentThread.js → agentModule.js} +27 -27
- package/public/orm/models/appLimitEvent.d.ts +26 -2
- package/public/orm/models/appLimitEvent.js +45 -0
- package/public/orm/models/auditLogAuth.d.ts +54 -0
- package/{admin/orm/models/usageSnapshot.js → public/orm/models/auditLogAuth.js} +27 -27
- package/public/orm/models/computeLogModule.d.ts +54 -0
- package/public/orm/models/computeLogModule.js +104 -0
- package/public/orm/models/configSecretsOrgModule.d.ts +54 -0
- package/public/orm/models/{encryptedSecretsModule.js → configSecretsOrgModule.js} +27 -27
- package/public/orm/models/configSecretsUserModule.d.ts +54 -0
- package/public/orm/models/{ref.js → configSecretsUserModule.js} +27 -27
- package/public/orm/models/dbUsageModule.d.ts +54 -0
- package/public/orm/models/{usageSnapshot.js → dbUsageModule.js} +27 -27
- package/public/orm/models/functionModule.d.ts +54 -0
- package/public/orm/models/functionModule.js +104 -0
- package/public/orm/models/graphModule.d.ts +54 -0
- package/public/orm/models/{agentTask.js → graphModule.js} +27 -27
- package/public/orm/models/index.d.ts +29 -27
- package/public/orm/models/index.js +61 -57
- package/public/orm/models/inferenceLogModule.d.ts +54 -0
- package/public/orm/models/inferenceLogModule.js +104 -0
- package/public/orm/models/merkleStoreModule.d.ts +54 -0
- package/public/orm/models/merkleStoreModule.js +104 -0
- package/public/orm/models/namespaceModule.d.ts +54 -0
- package/{auth/orm/models/auditLog.js → public/orm/models/namespaceModule.js} +27 -27
- package/public/orm/models/orgLimitEvent.d.ts +26 -2
- package/public/orm/models/orgLimitEvent.js +45 -0
- package/public/orm/models/storageLogModule.d.ts +54 -0
- package/public/orm/models/storageLogModule.js +104 -0
- package/public/orm/models/transferLogModule.d.ts +54 -0
- package/public/orm/models/transferLogModule.js +104 -0
- package/public/orm/mutation/index.d.ts +69 -133
- package/public/orm/mutation/index.js +78 -174
- package/public/orm/query/index.d.ts +22 -71
- package/public/orm/query/index.js +36 -124
- package/public/schema-types.d.ts +5424 -4317
- package/public/types.d.ts +402 -240
- package/admin/hooks/mutations/useCreateUsageSnapshotMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateUsageSnapshotMutation.js +0 -34
- package/admin/hooks/mutations/useDeleteUsageSnapshotMutation.d.ts +0 -38
- package/admin/hooks/mutations/useDeleteUsageSnapshotMutation.js +0 -39
- package/admin/hooks/mutations/useUpdateUsageSnapshotMutation.d.ts +0 -40
- package/admin/hooks/mutations/useUpdateUsageSnapshotMutation.js +0 -40
- package/admin/hooks/queries/useUsageSnapshotQuery.d.ts +0 -65
- package/admin/hooks/queries/useUsageSnapshotsQuery.d.ts +0 -69
- package/admin/hooks/queries/useUsageSnapshotsQuery.js +0 -38
- package/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/auth/hooks/mutations/useCreateAuditLogMutation.d.ts +0 -34
- package/auth/hooks/mutations/useDeleteAuditLogMutation.d.ts +0 -38
- package/auth/hooks/mutations/useUpdateAuditLogMutation.d.ts +0 -40
- package/auth/hooks/queries/useAuditLogQuery.d.ts +0 -65
- package/auth/hooks/queries/useAuditLogsQuery.d.ts +0 -69
- package/auth/hooks/queries/useAuditLogsQuery.js +0 -38
- package/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/admin/hooks/mutations/useCreateUsageSnapshotMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateUsageSnapshotMutation.js +0 -31
- package/esm/admin/hooks/mutations/useDeleteUsageSnapshotMutation.d.ts +0 -38
- package/esm/admin/hooks/mutations/useDeleteUsageSnapshotMutation.js +0 -36
- package/esm/admin/hooks/mutations/useUpdateUsageSnapshotMutation.d.ts +0 -40
- package/esm/admin/hooks/mutations/useUpdateUsageSnapshotMutation.js +0 -37
- package/esm/admin/hooks/queries/useUsageSnapshotQuery.d.ts +0 -65
- package/esm/admin/hooks/queries/useUsageSnapshotsQuery.d.ts +0 -69
- package/esm/admin/hooks/queries/useUsageSnapshotsQuery.js +0 -32
- package/esm/admin/orm/models/usageSnapshot.d.ts +0 -54
- package/esm/auth/hooks/mutations/useCreateAuditLogMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useDeleteAuditLogMutation.d.ts +0 -38
- package/esm/auth/hooks/mutations/useUpdateAuditLogMutation.d.ts +0 -40
- package/esm/auth/hooks/queries/useAuditLogQuery.d.ts +0 -65
- package/esm/auth/hooks/queries/useAuditLogsQuery.d.ts +0 -69
- package/esm/auth/orm/models/auditLog.d.ts +0 -54
- package/esm/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAgentMessageMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAgentTaskMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAgentThreadMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateAuditLogMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateCommitMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateEncryptedSecretsModuleMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateGetAllRecordMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateObjectMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateRefMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateStoreMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateStoreMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateUsageSnapshotMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateUsageSnapshotMutation.js +0 -31
- package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.js +0 -36
- package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.js +0 -36
- package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.js +0 -36
- package/esm/public/hooks/mutations/useDeleteAuditLogMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteCommitMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteEncryptedSecretsModuleMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteObjectMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteRefMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteStoreMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteUsageSnapshotMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteUsageSnapshotMutation.js +0 -36
- package/esm/public/hooks/mutations/useFreezeObjectsMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useFreezeObjectsMutation.js +0 -23
- package/esm/public/hooks/mutations/useInitEmptyRepoMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useInitEmptyRepoMutation.js +0 -23
- package/esm/public/hooks/mutations/useInsertNodeAtPathMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useInsertNodeAtPathMutation.js +0 -23
- package/esm/public/hooks/mutations/useRemoveNodeAtPathMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useRemoveNodeAtPathMutation.js +0 -23
- package/esm/public/hooks/mutations/useSetAndCommitMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useSetAndCommitMutation.js +0 -23
- package/esm/public/hooks/mutations/useSetDataAtPathMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useSetDataAtPathMutation.js +0 -23
- package/esm/public/hooks/mutations/useSetPropsAndCommitMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useSetPropsAndCommitMutation.js +0 -23
- package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateAuditLogMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateCommitMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateEncryptedSecretsModuleMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateNodeAtPathMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useUpdateNodeAtPathMutation.js +0 -23
- package/esm/public/hooks/mutations/useUpdateObjectMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateRefMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateStoreMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateStoreMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateUsageSnapshotMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateUsageSnapshotMutation.js +0 -37
- package/esm/public/hooks/queries/useAgentMessageQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAgentMessageQuery.js +0 -47
- package/esm/public/hooks/queries/useAgentMessagesQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAgentMessagesQuery.js +0 -32
- package/esm/public/hooks/queries/useAgentTaskQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAgentTaskQuery.js +0 -47
- package/esm/public/hooks/queries/useAgentTasksQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAgentTasksQuery.js +0 -32
- package/esm/public/hooks/queries/useAgentThreadQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAgentThreadQuery.js +0 -47
- package/esm/public/hooks/queries/useAgentThreadsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAgentThreadsQuery.js +0 -32
- package/esm/public/hooks/queries/useAuditLogQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAuditLogsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useCommitQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useCommitsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useEncryptedSecretsModuleQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useEncryptedSecretsModulesQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useEncryptedSecretsModulesQuery.js +0 -32
- package/esm/public/hooks/queries/useGetAllObjectsFromRootQuery.d.ts +0 -54
- package/esm/public/hooks/queries/useGetAllObjectsFromRootQuery.js +0 -47
- package/esm/public/hooks/queries/useGetAllQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useGetObjectAtPathQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useGetObjectAtPathQuery.js +0 -48
- package/esm/public/hooks/queries/useGetPathObjectsFromRootQuery.d.ts +0 -54
- package/esm/public/hooks/queries/useGetPathObjectsFromRootQuery.js +0 -47
- package/esm/public/hooks/queries/useObjectQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useObjectsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useRefQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useRefsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useRefsQuery.js +0 -32
- package/esm/public/hooks/queries/useRevParseQuery.d.ts +0 -53
- package/esm/public/hooks/queries/useRevParseQuery.js +0 -47
- package/esm/public/hooks/queries/useStoreQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useStoreQuery.js +0 -47
- package/esm/public/hooks/queries/useStoresQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useUsageSnapshotQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useUsageSnapshotQuery.js +0 -47
- package/esm/public/hooks/queries/useUsageSnapshotsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useUsageSnapshotsQuery.js +0 -32
- package/esm/public/orm/models/agentMessage.d.ts +0 -54
- package/esm/public/orm/models/agentTask.d.ts +0 -54
- package/esm/public/orm/models/agentThread.d.ts +0 -54
- package/esm/public/orm/models/auditLog.d.ts +0 -54
- package/esm/public/orm/models/commit.d.ts +0 -54
- package/esm/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/esm/public/orm/models/getAllRecord.d.ts +0 -30
- package/esm/public/orm/models/getAllRecord.js +0 -55
- package/esm/public/orm/models/object.d.ts +0 -54
- package/esm/public/orm/models/object.js +0 -90
- package/esm/public/orm/models/ref.d.ts +0 -54
- package/esm/public/orm/models/ref.js +0 -100
- package/esm/public/orm/models/store.d.ts +0 -54
- package/esm/public/orm/models/usageSnapshot.d.ts +0 -54
- package/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateAgentMessageMutation.js +0 -34
- package/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateAgentTaskMutation.js +0 -34
- package/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateAgentThreadMutation.js +0 -34
- package/public/hooks/mutations/useCreateAuditLogMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateCommitMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateEncryptedSecretsModuleMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateGetAllRecordMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateObjectMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateRefMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateStoreMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateUsageSnapshotMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateUsageSnapshotMutation.js +0 -34
- package/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAgentMessageMutation.js +0 -39
- package/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAgentTaskMutation.js +0 -39
- package/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAgentThreadMutation.js +0 -39
- package/public/hooks/mutations/useDeleteAuditLogMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteCommitMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteEncryptedSecretsModuleMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteObjectMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteRefMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteStoreMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteUsageSnapshotMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteUsageSnapshotMutation.js +0 -39
- package/public/hooks/mutations/useFreezeObjectsMutation.d.ts +0 -20
- package/public/hooks/mutations/useFreezeObjectsMutation.js +0 -26
- package/public/hooks/mutations/useInitEmptyRepoMutation.d.ts +0 -20
- package/public/hooks/mutations/useInitEmptyRepoMutation.js +0 -26
- package/public/hooks/mutations/useInsertNodeAtPathMutation.d.ts +0 -20
- package/public/hooks/mutations/useInsertNodeAtPathMutation.js +0 -26
- package/public/hooks/mutations/useRemoveNodeAtPathMutation.d.ts +0 -20
- package/public/hooks/mutations/useRemoveNodeAtPathMutation.js +0 -26
- package/public/hooks/mutations/useSetAndCommitMutation.d.ts +0 -20
- package/public/hooks/mutations/useSetAndCommitMutation.js +0 -26
- package/public/hooks/mutations/useSetDataAtPathMutation.d.ts +0 -20
- package/public/hooks/mutations/useSetDataAtPathMutation.js +0 -26
- package/public/hooks/mutations/useSetPropsAndCommitMutation.d.ts +0 -20
- package/public/hooks/mutations/useSetPropsAndCommitMutation.js +0 -26
- package/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAgentMessageMutation.js +0 -40
- package/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAgentThreadMutation.js +0 -40
- package/public/hooks/mutations/useUpdateAuditLogMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateCommitMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateEncryptedSecretsModuleMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateNodeAtPathMutation.d.ts +0 -20
- package/public/hooks/mutations/useUpdateNodeAtPathMutation.js +0 -26
- package/public/hooks/mutations/useUpdateObjectMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateRefMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateStoreMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateUsageSnapshotMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateUsageSnapshotMutation.js +0 -40
- package/public/hooks/queries/useAgentMessageQuery.d.ts +0 -65
- package/public/hooks/queries/useAgentMessageQuery.js +0 -53
- package/public/hooks/queries/useAgentMessagesQuery.d.ts +0 -69
- package/public/hooks/queries/useAgentMessagesQuery.js +0 -38
- package/public/hooks/queries/useAgentTaskQuery.d.ts +0 -65
- package/public/hooks/queries/useAgentTaskQuery.js +0 -53
- package/public/hooks/queries/useAgentTasksQuery.d.ts +0 -69
- package/public/hooks/queries/useAgentTasksQuery.js +0 -38
- package/public/hooks/queries/useAgentThreadQuery.d.ts +0 -65
- package/public/hooks/queries/useAgentThreadQuery.js +0 -53
- package/public/hooks/queries/useAgentThreadsQuery.d.ts +0 -69
- package/public/hooks/queries/useAgentThreadsQuery.js +0 -38
- package/public/hooks/queries/useAuditLogQuery.d.ts +0 -65
- package/public/hooks/queries/useAuditLogsQuery.d.ts +0 -69
- package/public/hooks/queries/useAuditLogsQuery.js +0 -38
- package/public/hooks/queries/useCommitQuery.d.ts +0 -65
- package/public/hooks/queries/useCommitsQuery.d.ts +0 -69
- package/public/hooks/queries/useEncryptedSecretsModuleQuery.d.ts +0 -65
- package/public/hooks/queries/useEncryptedSecretsModulesQuery.d.ts +0 -69
- package/public/hooks/queries/useEncryptedSecretsModulesQuery.js +0 -38
- package/public/hooks/queries/useGetAllObjectsFromRootQuery.d.ts +0 -54
- package/public/hooks/queries/useGetAllObjectsFromRootQuery.js +0 -53
- package/public/hooks/queries/useGetAllQuery.d.ts +0 -69
- package/public/hooks/queries/useGetObjectAtPathQuery.d.ts +0 -65
- package/public/hooks/queries/useGetObjectAtPathQuery.js +0 -54
- package/public/hooks/queries/useGetPathObjectsFromRootQuery.d.ts +0 -54
- package/public/hooks/queries/useGetPathObjectsFromRootQuery.js +0 -53
- package/public/hooks/queries/useObjectQuery.d.ts +0 -65
- package/public/hooks/queries/useObjectsQuery.d.ts +0 -69
- package/public/hooks/queries/useRefQuery.d.ts +0 -65
- package/public/hooks/queries/useRefQuery.js +0 -53
- package/public/hooks/queries/useRefsQuery.d.ts +0 -69
- package/public/hooks/queries/useRevParseQuery.d.ts +0 -53
- package/public/hooks/queries/useRevParseQuery.js +0 -53
- package/public/hooks/queries/useStoreQuery.d.ts +0 -65
- package/public/hooks/queries/useStoreQuery.js +0 -53
- package/public/hooks/queries/useStoresQuery.d.ts +0 -69
- package/public/hooks/queries/useStoresQuery.js +0 -38
- package/public/hooks/queries/useUsageSnapshotQuery.d.ts +0 -65
- package/public/hooks/queries/useUsageSnapshotQuery.js +0 -53
- package/public/hooks/queries/useUsageSnapshotsQuery.d.ts +0 -69
- package/public/hooks/queries/useUsageSnapshotsQuery.js +0 -38
- package/public/orm/models/agentMessage.d.ts +0 -54
- package/public/orm/models/agentTask.d.ts +0 -54
- package/public/orm/models/agentThread.d.ts +0 -54
- package/public/orm/models/auditLog.d.ts +0 -54
- package/public/orm/models/auditLog.js +0 -104
- package/public/orm/models/commit.d.ts +0 -54
- package/public/orm/models/commit.js +0 -104
- package/public/orm/models/encryptedSecretsModule.d.ts +0 -54
- package/public/orm/models/getAllRecord.d.ts +0 -30
- package/public/orm/models/getAllRecord.js +0 -59
- package/public/orm/models/object.d.ts +0 -54
- package/public/orm/models/object.js +0 -94
- package/public/orm/models/ref.d.ts +0 -54
- package/public/orm/models/store.d.ts +0 -54
- package/public/orm/models/store.js +0 -104
- package/public/orm/models/usageSnapshot.d.ts +0 -54
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A commit records changes to the repository.
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { CommitSelect, CommitWithRelations, CommitPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { CommitSelect, CommitWithRelations, CommitPatch } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* A commit records changes to the repository.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateCommitMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', commitPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateCommitMutation<S extends CommitSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & CommitSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateCommit: {
|
|
28
|
-
commit: InferSelectResult<CommitWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
commitPatch: CommitPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateCommit: {
|
|
35
|
-
commit: InferSelectResult<CommitWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
commitPatch: CommitPatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Update mutation hook for EncryptedSecretsModule
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { EncryptedSecretsModuleSelect, EncryptedSecretsModuleWithRelations, EncryptedSecretsModulePatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { EncryptedSecretsModuleSelect, EncryptedSecretsModuleWithRelations, EncryptedSecretsModulePatch, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for updating a EncryptedSecretsModule
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateEncryptedSecretsModuleMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', encryptedSecretsModulePatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateEncryptedSecretsModuleMutation<S extends EncryptedSecretsModuleSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & EncryptedSecretsModuleSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, EncryptedSecretsModuleSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateEncryptedSecretsModule: {
|
|
28
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
encryptedSecretsModulePatch: EncryptedSecretsModulePatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateEncryptedSecretsModule: {
|
|
35
|
-
encryptedSecretsModule: InferSelectResult<EncryptedSecretsModuleWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
encryptedSecretsModulePatch: EncryptedSecretsModulePatch;
|
|
40
|
-
}>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for updateNodeAtPath
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { UpdateNodeAtPathVariables } from '../../orm/mutation';
|
|
8
|
-
import type { UpdateNodeAtPathPayloadSelect, UpdateNodeAtPathPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { UpdateNodeAtPathVariables } from '../../orm/mutation';
|
|
11
|
-
export type { UpdateNodeAtPathPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useUpdateNodeAtPathMutation<S extends UpdateNodeAtPathPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & UpdateNodeAtPathPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, UpdateNodeAtPathPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
updateNodeAtPath: InferSelectResult<UpdateNodeAtPathPayload, S> | null;
|
|
18
|
-
}, Error, UpdateNodeAtPathVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
updateNodeAtPath: InferSelectResult<UpdateNodeAtPathPayload, S> | null;
|
|
20
|
-
}, Error, UpdateNodeAtPathVariables>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Custom mutation hook for updateNodeAtPath
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.useUpdateNodeAtPathMutation = useUpdateNodeAtPathMutation;
|
|
9
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const client_1 = require("../client");
|
|
11
|
-
const selection_1 = require("../selection");
|
|
12
|
-
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
-
function useUpdateNodeAtPathMutation(params) {
|
|
14
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
-
void _selection;
|
|
17
|
-
return (0, react_query_1.useMutation)({
|
|
18
|
-
mutationKey: mutation_keys_1.customMutationKeys.updateNodeAtPath(),
|
|
19
|
-
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
-
.mutation.updateNodeAtPath(variables, {
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
...mutationOptions,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Update mutation hook for Object
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { ObjectSelect, ObjectWithRelations, ObjectPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ObjectSelect, ObjectWithRelations, ObjectPatch } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Mutation hook for updating a Object
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateObjectMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', objectPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateObjectMutation<S extends ObjectSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ObjectSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ObjectSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateObject: {
|
|
28
|
-
object: InferSelectResult<ObjectWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
objectPatch: ObjectPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateObject: {
|
|
35
|
-
object: InferSelectResult<ObjectWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
objectPatch: ObjectPatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A ref is a data structure for pointing to a commit.
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { RefSelect, RefWithRelations, RefPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { RefSelect, RefWithRelations, RefPatch } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* A ref is a data structure for pointing to a commit.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateRefMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', refPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateRefMutation<S extends RefSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & RefSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, RefSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateRef: {
|
|
28
|
-
ref: InferSelectResult<RefWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
refPatch: RefPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateRef: {
|
|
35
|
-
ref: InferSelectResult<RefWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
refPatch: RefPatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A store represents an isolated object repository within a database.
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { StoreSelect, StoreWithRelations, StorePatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { StoreSelect, StoreWithRelations, StorePatch } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* A store represents an isolated object repository within a database.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateStoreMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', storePatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateStoreMutation<S extends StoreSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & StoreSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, StoreSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateStore: {
|
|
28
|
-
store: InferSelectResult<StoreWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
storePatch: StorePatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateStore: {
|
|
35
|
-
store: InferSelectResult<StoreWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
storePatch: StorePatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Periodic snapshot of a single metric for a database. Collected by the snapshot_usage() cron job in constructive-limits. Each row records one metric measurement (e.g. reads, writes, storage_bytes) at a point in time, with optional dimensions for sub-metric breakdowns.
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
-
import type { UsageSnapshotSelect, UsageSnapshotWithRelations, UsageSnapshotPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { UsageSnapshotSelect, UsageSnapshotWithRelations, UsageSnapshotPatch, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Periodic snapshot of a single metric for a database. Collected by the snapshot_usage() cron job in constructive-limits. Each row records one metric measurement (e.g. reads, writes, storage_bytes) at a point in time, with optional dimensions for sub-metric breakdowns.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateUsageSnapshotMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', usageSnapshotPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateUsageSnapshotMutation<S extends UsageSnapshotSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & UsageSnapshotSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, UsageSnapshotSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateUsageSnapshot: {
|
|
28
|
-
usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
usageSnapshotPatch: UsageSnapshotPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateUsageSnapshot: {
|
|
35
|
-
usageSnapshot: InferSelectResult<UsageSnapshotWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
usageSnapshotPatch: UsageSnapshotPatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Periodic snapshot of a single metric for a database. Collected by the snapshot_usage() cron job in constructive-limits. Each row records one metric measurement (e.g. reads, writes, storage_bytes) at a point in time, with optional dimensions for sub-metric breakdowns.
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.useUpdateUsageSnapshotMutation = useUpdateUsageSnapshotMutation;
|
|
9
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const client_1 = require("../client");
|
|
11
|
-
const selection_1 = require("../selection");
|
|
12
|
-
const query_keys_1 = require("../query-keys");
|
|
13
|
-
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function useUpdateUsageSnapshotMutation(params) {
|
|
15
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
-
void _selection;
|
|
18
|
-
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
-
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.usageSnapshotMutationKeys.all,
|
|
21
|
-
mutationFn: ({ id, usageSnapshotPatch, }) => (0, client_1.getClient)()
|
|
22
|
-
.usageSnapshot.update({
|
|
23
|
-
where: {
|
|
24
|
-
id,
|
|
25
|
-
},
|
|
26
|
-
data: usageSnapshotPatch,
|
|
27
|
-
select: args.select,
|
|
28
|
-
})
|
|
29
|
-
.unwrap(),
|
|
30
|
-
onSuccess: (_, variables) => {
|
|
31
|
-
queryClient.invalidateQueries({
|
|
32
|
-
queryKey: query_keys_1.usageSnapshotKeys.detail(variables.id),
|
|
33
|
-
});
|
|
34
|
-
queryClient.invalidateQueries({
|
|
35
|
-
queryKey: query_keys_1.usageSnapshotKeys.lists(),
|
|
36
|
-
});
|
|
37
|
-
},
|
|
38
|
-
...mutationOptions,
|
|
39
|
-
});
|
|
40
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
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 { AgentMessageSelect, AgentMessageWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AgentMessageSelect, AgentMessageWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const agentMessageQueryKey: (id: string | number) => readonly ["agentmessage", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useAgentMessageQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useAgentMessageQuery<S extends AgentMessageSelect, TData = {
|
|
24
|
-
agentMessage: InferSelectResult<AgentMessageWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
agentMessage: InferSelectResult<AgentMessageWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchAgentMessageQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchAgentMessageQuery<S extends AgentMessageSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
agentMessage: InferSelectResult<AgentMessageWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchAgentMessageQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchAgentMessageQuery<S extends AgentMessageSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.agentMessageQueryKey = void 0;
|
|
9
|
-
exports.useAgentMessageQuery = useAgentMessageQuery;
|
|
10
|
-
exports.fetchAgentMessageQuery = fetchAgentMessageQuery;
|
|
11
|
-
exports.prefetchAgentMessageQuery = prefetchAgentMessageQuery;
|
|
12
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
-
const client_1 = require("../client");
|
|
14
|
-
const selection_1 = require("../selection");
|
|
15
|
-
const query_keys_1 = require("../query-keys");
|
|
16
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.agentMessageQueryKey = query_keys_1.agentMessageKeys.detail;
|
|
18
|
-
function useAgentMessageQuery(params) {
|
|
19
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
-
void _selection;
|
|
22
|
-
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.agentMessageKeys.detail(params.id),
|
|
24
|
-
queryFn: () => (0, client_1.getClient)()
|
|
25
|
-
.agentMessage.findOne({
|
|
26
|
-
id: params.id,
|
|
27
|
-
select: args.select,
|
|
28
|
-
})
|
|
29
|
-
.unwrap(),
|
|
30
|
-
...queryOptions,
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
async function fetchAgentMessageQuery(params) {
|
|
34
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
-
return (0, client_1.getClient)()
|
|
36
|
-
.agentMessage.findOne({
|
|
37
|
-
id: params.id,
|
|
38
|
-
select: args.select,
|
|
39
|
-
})
|
|
40
|
-
.unwrap();
|
|
41
|
-
}
|
|
42
|
-
async function prefetchAgentMessageQuery(queryClient, params) {
|
|
43
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
-
await queryClient.prefetchQuery({
|
|
45
|
-
queryKey: query_keys_1.agentMessageKeys.detail(params.id),
|
|
46
|
-
queryFn: () => (0, client_1.getClient)()
|
|
47
|
-
.agentMessage.findOne({
|
|
48
|
-
id: params.id,
|
|
49
|
-
select: args.select,
|
|
50
|
-
})
|
|
51
|
-
.unwrap(),
|
|
52
|
-
});
|
|
53
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
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 { AgentMessageSelect, AgentMessageWithRelations, AgentMessageFilter, AgentMessageOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AgentMessageSelect, AgentMessageWithRelations, AgentMessageFilter, AgentMessageOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const agentMessagesQueryKey: (variables?: object) => readonly ["agentmessage", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useAgentMessagesQuery({
|
|
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 useAgentMessagesQuery<S extends AgentMessageSelect, TData = {
|
|
29
|
-
agentMessages: ConnectionResult<InferSelectResult<AgentMessageWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, AgentMessageFilter, AgentMessageOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
agentMessages: ConnectionResult<InferSelectResult<AgentMessageWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchAgentMessagesQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchAgentMessagesQuery<S extends AgentMessageSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, AgentMessageFilter, AgentMessageOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
agentMessages: ConnectionResult<InferSelectResult<AgentMessageWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchAgentMessagesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchAgentMessagesQuery<S extends AgentMessageSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, AgentMessageFilter, AgentMessageOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentMessageSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* A single message in an agent_thread. The full client-rendered content (TextPart and ToolPart, including the ToolPart state machine and inline approval object) lives in the `parts` jsonb column — there is no separate agent_tool_call or agent_tool_approval table in v1. Cascade-deleted with the parent thread; RLS is owner-only.
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.agentMessagesQueryKey = void 0;
|
|
9
|
-
exports.useAgentMessagesQuery = useAgentMessagesQuery;
|
|
10
|
-
exports.fetchAgentMessagesQuery = fetchAgentMessagesQuery;
|
|
11
|
-
exports.prefetchAgentMessagesQuery = prefetchAgentMessagesQuery;
|
|
12
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
-
const client_1 = require("../client");
|
|
14
|
-
const selection_1 = require("../selection");
|
|
15
|
-
const query_keys_1 = require("../query-keys");
|
|
16
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.agentMessagesQueryKey = query_keys_1.agentMessageKeys.list;
|
|
18
|
-
function useAgentMessagesQuery(params) {
|
|
19
|
-
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
-
void _selection;
|
|
22
|
-
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.agentMessageKeys.list(args),
|
|
24
|
-
queryFn: () => (0, client_1.getClient)().agentMessage.findMany(args).unwrap(),
|
|
25
|
-
...queryOptions,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
async function fetchAgentMessagesQuery(params) {
|
|
29
|
-
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
-
return (0, client_1.getClient)().agentMessage.findMany(args).unwrap();
|
|
31
|
-
}
|
|
32
|
-
async function prefetchAgentMessagesQuery(queryClient, params) {
|
|
33
|
-
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
-
await queryClient.prefetchQuery({
|
|
35
|
-
queryKey: query_keys_1.agentMessageKeys.list(args),
|
|
36
|
-
queryFn: () => (0, client_1.getClient)().agentMessage.findMany(args).unwrap(),
|
|
37
|
-
});
|
|
38
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An agent- or user-authored todo item attached to an agent_thread. Captures the planning surface for agent-mode conversations: each row is a single discrete unit of work with a status lifecycle (pending → in-progress → done|failed). Cascade-deleted with the parent thread; RLS is owner-only.
|
|
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 { AgentTaskSelect, AgentTaskWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AgentTaskSelect, AgentTaskWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const agentTaskQueryKey: (id: string | number) => readonly ["agenttask", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* An agent- or user-authored todo item attached to an agent_thread. Captures the planning surface for agent-mode conversations: each row is a single discrete unit of work with a status lifecycle (pending → in-progress → done|failed). Cascade-deleted with the parent thread; RLS is owner-only.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useAgentTaskQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useAgentTaskQuery<S extends AgentTaskSelect, TData = {
|
|
24
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* An agent- or user-authored todo item attached to an agent_thread. Captures the planning surface for agent-mode conversations: each row is a single discrete unit of work with a status lifecycle (pending → in-progress → done|failed). Cascade-deleted with the parent thread; RLS is owner-only.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchAgentTaskQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchAgentTaskQuery<S extends AgentTaskSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
agentTask: InferSelectResult<AgentTaskWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* An agent- or user-authored todo item attached to an agent_thread. Captures the planning surface for agent-mode conversations: each row is a single discrete unit of work with a status lifecycle (pending → in-progress → done|failed). Cascade-deleted with the parent thread; RLS is owner-only.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchAgentTaskQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchAgentTaskQuery<S extends AgentTaskSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
|
|
65
|
-
}): Promise<void>;
|