@constructive-io/react 0.21.3 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/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,47 +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 { useQuery } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import { agentTaskKeys } from '../query-keys';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const agentTaskQueryKey = agentTaskKeys.detail;
|
|
12
|
-
export function useAgentTaskQuery(params) {
|
|
13
|
-
const args = buildSelectionArgs(params.selection);
|
|
14
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
-
void _selection;
|
|
16
|
-
return useQuery({
|
|
17
|
-
queryKey: agentTaskKeys.detail(params.id),
|
|
18
|
-
queryFn: () => getClient()
|
|
19
|
-
.agentTask.findOne({
|
|
20
|
-
id: params.id,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
...queryOptions,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
export async function fetchAgentTaskQuery(params) {
|
|
28
|
-
const args = buildSelectionArgs(params.selection);
|
|
29
|
-
return getClient()
|
|
30
|
-
.agentTask.findOne({
|
|
31
|
-
id: params.id,
|
|
32
|
-
select: args.select,
|
|
33
|
-
})
|
|
34
|
-
.unwrap();
|
|
35
|
-
}
|
|
36
|
-
export async function prefetchAgentTaskQuery(queryClient, params) {
|
|
37
|
-
const args = buildSelectionArgs(params.selection);
|
|
38
|
-
await queryClient.prefetchQuery({
|
|
39
|
-
queryKey: agentTaskKeys.detail(params.id),
|
|
40
|
-
queryFn: () => getClient()
|
|
41
|
-
.agentTask.findOne({
|
|
42
|
-
id: params.id,
|
|
43
|
-
select: args.select,
|
|
44
|
-
})
|
|
45
|
-
.unwrap(),
|
|
46
|
-
});
|
|
47
|
-
}
|
|
@@ -1,69 +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 { ListSelectionConfig } from '../selection';
|
|
8
|
-
import type { AgentTaskSelect, AgentTaskWithRelations, AgentTaskFilter, AgentTaskOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AgentTaskSelect, AgentTaskWithRelations, AgentTaskFilter, AgentTaskOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const agentTasksQueryKey: (variables?: object) => readonly ["agenttask", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* 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.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useAgentTasksQuery({
|
|
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 useAgentTasksQuery<S extends AgentTaskSelect, TData = {
|
|
29
|
-
agentTasks: ConnectionResult<InferSelectResult<AgentTaskWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, AgentTaskFilter, AgentTaskOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
agentTasks: ConnectionResult<InferSelectResult<AgentTaskWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* 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.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchAgentTasksQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchAgentTasksQuery<S extends AgentTaskSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, AgentTaskFilter, AgentTaskOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
agentTasks: ConnectionResult<InferSelectResult<AgentTaskWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* 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.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchAgentTasksQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchAgentTasksQuery<S extends AgentTaskSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, AgentTaskFilter, AgentTaskOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentTaskSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,32 +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 { useQuery } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { buildListSelectionArgs } from '../selection';
|
|
9
|
-
import { agentTaskKeys } from '../query-keys';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const agentTasksQueryKey = agentTaskKeys.list;
|
|
12
|
-
export function useAgentTasksQuery(params) {
|
|
13
|
-
const args = buildListSelectionArgs(params.selection);
|
|
14
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
-
void _selection;
|
|
16
|
-
return useQuery({
|
|
17
|
-
queryKey: agentTaskKeys.list(args),
|
|
18
|
-
queryFn: () => getClient().agentTask.findMany(args).unwrap(),
|
|
19
|
-
...queryOptions,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export async function fetchAgentTasksQuery(params) {
|
|
23
|
-
const args = buildListSelectionArgs(params.selection);
|
|
24
|
-
return getClient().agentTask.findMany(args).unwrap();
|
|
25
|
-
}
|
|
26
|
-
export async function prefetchAgentTasksQuery(queryClient, params) {
|
|
27
|
-
const args = buildListSelectionArgs(params.selection);
|
|
28
|
-
await queryClient.prefetchQuery({
|
|
29
|
-
queryKey: agentTaskKeys.list(args),
|
|
30
|
-
queryFn: () => getClient().agentTask.findMany(args).unwrap(),
|
|
31
|
-
});
|
|
32
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
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 { AgentThreadSelect, AgentThreadWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AgentThreadSelect, AgentThreadWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const agentThreadQueryKey: (id: string | number) => readonly ["agentthread", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useAgentThreadQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useAgentThreadQuery<S extends AgentThreadSelect, TData = {
|
|
24
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchAgentThreadQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchAgentThreadQuery<S extends AgentThreadSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
agentThread: InferSelectResult<AgentThreadWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchAgentThreadQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchAgentThreadQuery<S extends AgentThreadSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
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 { agentThreadKeys } from '../query-keys';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const agentThreadQueryKey = agentThreadKeys.detail;
|
|
12
|
-
export function useAgentThreadQuery(params) {
|
|
13
|
-
const args = buildSelectionArgs(params.selection);
|
|
14
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
-
void _selection;
|
|
16
|
-
return useQuery({
|
|
17
|
-
queryKey: agentThreadKeys.detail(params.id),
|
|
18
|
-
queryFn: () => getClient()
|
|
19
|
-
.agentThread.findOne({
|
|
20
|
-
id: params.id,
|
|
21
|
-
select: args.select,
|
|
22
|
-
})
|
|
23
|
-
.unwrap(),
|
|
24
|
-
...queryOptions,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
export async function fetchAgentThreadQuery(params) {
|
|
28
|
-
const args = buildSelectionArgs(params.selection);
|
|
29
|
-
return getClient()
|
|
30
|
-
.agentThread.findOne({
|
|
31
|
-
id: params.id,
|
|
32
|
-
select: args.select,
|
|
33
|
-
})
|
|
34
|
-
.unwrap();
|
|
35
|
-
}
|
|
36
|
-
export async function prefetchAgentThreadQuery(queryClient, params) {
|
|
37
|
-
const args = buildSelectionArgs(params.selection);
|
|
38
|
-
await queryClient.prefetchQuery({
|
|
39
|
-
queryKey: agentThreadKeys.detail(params.id),
|
|
40
|
-
queryFn: () => getClient()
|
|
41
|
-
.agentThread.findOne({
|
|
42
|
-
id: params.id,
|
|
43
|
-
select: args.select,
|
|
44
|
-
})
|
|
45
|
-
.unwrap(),
|
|
46
|
-
});
|
|
47
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
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 { AgentThreadSelect, AgentThreadWithRelations, AgentThreadFilter, AgentThreadOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AgentThreadSelect, AgentThreadWithRelations, AgentThreadFilter, AgentThreadOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const agentThreadsQueryKey: (variables?: object) => readonly ["agentthread", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useAgentThreadsQuery({
|
|
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 useAgentThreadsQuery<S extends AgentThreadSelect, TData = {
|
|
29
|
-
agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, AgentThreadFilter, AgentThreadOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchAgentThreadsQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchAgentThreadsQuery<S extends AgentThreadSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, AgentThreadFilter, AgentThreadOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchAgentThreadsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchAgentThreadsQuery<S extends AgentThreadSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, AgentThreadFilter, AgentThreadOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Top-level AI/LLM conversation. Owns the chat-mode + model + system-prompt snapshot for the lifetime of the conversation, and is the entity-scoping anchor — descendants (agent_message, agent_task) inherit entity_id from this row via DataInheritFromParent. RLS is owner-only (AuthzDirectOwner); entity_id is a grouping dimension, not a security dimension.
|
|
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 { agentThreadKeys } from '../query-keys';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const agentThreadsQueryKey = agentThreadKeys.list;
|
|
12
|
-
export function useAgentThreadsQuery(params) {
|
|
13
|
-
const args = buildListSelectionArgs(params.selection);
|
|
14
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
-
void _selection;
|
|
16
|
-
return useQuery({
|
|
17
|
-
queryKey: agentThreadKeys.list(args),
|
|
18
|
-
queryFn: () => getClient().agentThread.findMany(args).unwrap(),
|
|
19
|
-
...queryOptions,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export async function fetchAgentThreadsQuery(params) {
|
|
23
|
-
const args = buildListSelectionArgs(params.selection);
|
|
24
|
-
return getClient().agentThread.findMany(args).unwrap();
|
|
25
|
-
}
|
|
26
|
-
export async function prefetchAgentThreadsQuery(queryClient, params) {
|
|
27
|
-
const args = buildListSelectionArgs(params.selection);
|
|
28
|
-
await queryClient.prefetchQuery({
|
|
29
|
-
queryKey: agentThreadKeys.list(args),
|
|
30
|
-
queryFn: () => getClient().agentThread.findMany(args).unwrap(),
|
|
31
|
-
});
|
|
32
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
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 { AuditLogSelect, AuditLogWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AuditLogSelect, AuditLogWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const auditLogQueryKey: (id: string | number) => readonly ["auditlog", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useAuditLogQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useAuditLogQuery<S extends AuditLogSelect, TData = {
|
|
24
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchAuditLogQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchAuditLogQuery<S extends AuditLogSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
auditLog: InferSelectResult<AuditLogWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchAuditLogQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchAuditLogQuery<S extends AuditLogSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
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 { AuditLogSelect, AuditLogWithRelations, AuditLogFilter, AuditLogOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { AuditLogSelect, AuditLogWithRelations, AuditLogFilter, AuditLogOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const auditLogsQueryKey: (variables?: object) => readonly ["auditlog", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useAuditLogsQuery({
|
|
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 useAuditLogsQuery<S extends AuditLogSelect, TData = {
|
|
29
|
-
auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, AuditLogFilter, AuditLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchAuditLogsQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchAuditLogsQuery<S extends AuditLogSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, AuditLogFilter, AuditLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
auditLogs: ConnectionResult<InferSelectResult<AuditLogWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchAuditLogsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchAuditLogsQuery<S extends AuditLogSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, AuditLogFilter, AuditLogOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,65 +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 { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
-
import type { CommitSelect, CommitWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { CommitSelect, CommitWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const commitQueryKey: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* A commit records changes to the repository.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useCommitQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useCommitQuery<S extends CommitSelect, TData = {
|
|
24
|
-
commit: InferSelectResult<CommitWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
commit: InferSelectResult<CommitWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* A commit records changes to the repository.
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchCommitQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchCommitQuery<S extends CommitSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
commit: InferSelectResult<CommitWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* A commit records changes to the repository.
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchCommitQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchCommitQuery<S extends CommitSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,69 +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 { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
-
import type { ListSelectionConfig } from '../selection';
|
|
8
|
-
import type { CommitSelect, CommitWithRelations, CommitFilter, CommitOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { CommitSelect, CommitWithRelations, CommitFilter, CommitOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const commitsQueryKey: (variables?: object) => readonly ["commit", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* A commit records changes to the repository.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useCommitsQuery({
|
|
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 useCommitsQuery<S extends CommitSelect, TData = {
|
|
29
|
-
commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, CommitFilter, CommitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* A commit records changes to the repository.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchCommitsQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchCommitsQuery<S extends CommitSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, CommitFilter, CommitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
commits: ConnectionResult<InferSelectResult<CommitWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* A commit records changes to the repository.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchCommitsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchCommitsQuery<S extends CommitSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, CommitFilter, CommitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, CommitSelect>;
|
|
69
|
-
}): Promise<void>;
|