@constructive-io/react 0.21.2 → 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,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Single item query hook for AgentModule
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
8
|
+
exports.agentModuleQueryKey = void 0;
|
|
9
|
+
exports.useAgentModuleQuery = useAgentModuleQuery;
|
|
10
|
+
exports.fetchAgentModuleQuery = fetchAgentModuleQuery;
|
|
11
|
+
exports.prefetchAgentModuleQuery = prefetchAgentModuleQuery;
|
|
12
12
|
const react_query_1 = require("@tanstack/react-query");
|
|
13
13
|
const client_1 = require("../client");
|
|
14
14
|
const selection_1 = require("../selection");
|
|
15
15
|
const query_keys_1 = require("../query-keys");
|
|
16
16
|
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.
|
|
18
|
-
function
|
|
17
|
+
exports.agentModuleQueryKey = query_keys_1.agentModuleKeys.detail;
|
|
18
|
+
function useAgentModuleQuery(params) {
|
|
19
19
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
20
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
21
|
void _selection;
|
|
22
22
|
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.
|
|
23
|
+
queryKey: query_keys_1.agentModuleKeys.detail(params.id),
|
|
24
24
|
queryFn: () => (0, client_1.getClient)()
|
|
25
|
-
.
|
|
25
|
+
.agentModule.findOne({
|
|
26
26
|
id: params.id,
|
|
27
27
|
select: args.select,
|
|
28
28
|
})
|
|
@@ -30,21 +30,21 @@ function useAuditLogQuery(params) {
|
|
|
30
30
|
...queryOptions,
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
async function
|
|
33
|
+
async function fetchAgentModuleQuery(params) {
|
|
34
34
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
35
|
return (0, client_1.getClient)()
|
|
36
|
-
.
|
|
36
|
+
.agentModule.findOne({
|
|
37
37
|
id: params.id,
|
|
38
38
|
select: args.select,
|
|
39
39
|
})
|
|
40
40
|
.unwrap();
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
42
|
+
async function prefetchAgentModuleQuery(queryClient, params) {
|
|
43
43
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
44
|
await queryClient.prefetchQuery({
|
|
45
|
-
queryKey: query_keys_1.
|
|
45
|
+
queryKey: query_keys_1.agentModuleKeys.detail(params.id),
|
|
46
46
|
queryFn: () => (0, client_1.getClient)()
|
|
47
|
-
.
|
|
47
|
+
.agentModule.findOne({
|
|
48
48
|
id: params.id,
|
|
49
49
|
select: args.select,
|
|
50
50
|
})
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for AgentModule
|
|
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 { AgentModuleSelect, AgentModuleWithRelations, AgentModuleFilter, AgentModuleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { AgentModuleSelect, AgentModuleWithRelations, AgentModuleFilter, AgentModuleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const agentModulesQueryKey: (variables?: object) => readonly ["agentmodule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Query hook for fetching AgentModule list
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useAgentModulesQuery({
|
|
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 useAgentModulesQuery<S extends AgentModuleSelect, TData = {
|
|
29
|
+
agentModules: ConnectionResult<InferSelectResult<AgentModuleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, AgentModuleFilter, AgentModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentModuleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
agentModules: ConnectionResult<InferSelectResult<AgentModuleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Fetch AgentModule list without React hooks
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchAgentModulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchAgentModulesQuery<S extends AgentModuleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, AgentModuleFilter, AgentModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentModuleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
agentModules: ConnectionResult<InferSelectResult<AgentModuleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Prefetch AgentModule list for SSR or cache warming
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchAgentModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchAgentModulesQuery<S extends AgentModuleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, AgentModuleFilter, AgentModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentModuleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* List query hook for AgentModule
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
8
|
+
exports.agentModulesQueryKey = void 0;
|
|
9
|
+
exports.useAgentModulesQuery = useAgentModulesQuery;
|
|
10
|
+
exports.fetchAgentModulesQuery = fetchAgentModulesQuery;
|
|
11
|
+
exports.prefetchAgentModulesQuery = prefetchAgentModulesQuery;
|
|
12
12
|
const react_query_1 = require("@tanstack/react-query");
|
|
13
13
|
const client_1 = require("../client");
|
|
14
14
|
const selection_1 = require("../selection");
|
|
15
15
|
const query_keys_1 = require("../query-keys");
|
|
16
16
|
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.
|
|
18
|
-
function
|
|
17
|
+
exports.agentModulesQueryKey = query_keys_1.agentModuleKeys.list;
|
|
18
|
+
function useAgentModulesQuery(params) {
|
|
19
19
|
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
20
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
21
|
void _selection;
|
|
22
22
|
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.
|
|
24
|
-
queryFn: () => (0, client_1.getClient)().
|
|
23
|
+
queryKey: query_keys_1.agentModuleKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().agentModule.findMany(args).unwrap(),
|
|
25
25
|
...queryOptions,
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
async function
|
|
28
|
+
async function fetchAgentModulesQuery(params) {
|
|
29
29
|
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
-
return (0, client_1.getClient)().
|
|
30
|
+
return (0, client_1.getClient)().agentModule.findMany(args).unwrap();
|
|
31
31
|
}
|
|
32
|
-
async function
|
|
32
|
+
async function prefetchAgentModulesQuery(queryClient, params) {
|
|
33
33
|
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
34
|
await queryClient.prefetchQuery({
|
|
35
|
-
queryKey: query_keys_1.
|
|
36
|
-
queryFn: () => (0, client_1.getClient)().
|
|
35
|
+
queryKey: query_keys_1.agentModuleKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().agentModule.findMany(args).unwrap(),
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Append-only log of limit events for historical reporting and audit
|
|
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 { AppLimitEventSelect, AppLimitEventWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { AppLimitEventSelect, AppLimitEventWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const appLimitEventQueryKey: (id: string | number) => readonly ["applimitevent", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Append-only log of limit events for historical reporting and audit
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useAppLimitEventQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useAppLimitEventQuery<S extends AppLimitEventSelect, TData = {
|
|
24
|
+
appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Append-only log of limit events for historical reporting and audit
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchAppLimitEventQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchAppLimitEventQuery<S extends AppLimitEventSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Append-only log of limit events for historical reporting and audit
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchAppLimitEventQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchAppLimitEventQuery<S extends AppLimitEventSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Append-only log of limit events for historical reporting and audit
|
|
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.appLimitEventQueryKey = void 0;
|
|
9
|
+
exports.useAppLimitEventQuery = useAppLimitEventQuery;
|
|
10
|
+
exports.fetchAppLimitEventQuery = fetchAppLimitEventQuery;
|
|
11
|
+
exports.prefetchAppLimitEventQuery = prefetchAppLimitEventQuery;
|
|
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.appLimitEventQueryKey = query_keys_1.appLimitEventKeys.detail;
|
|
18
|
+
function useAppLimitEventQuery(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.appLimitEventKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.appLimitEvent.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchAppLimitEventQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.appLimitEvent.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchAppLimitEventQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.appLimitEventKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.appLimitEvent.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query hook for applyRegistryDefaults
|
|
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 { ApplyRegistryDefaultsVariables } from '../../orm/query';
|
|
8
|
+
export type { ApplyRegistryDefaultsVariables } from '../../orm/query';
|
|
9
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
10
|
+
export declare const applyRegistryDefaultsQueryKey: (variables?: object) => readonly ["applyRegistryDefaults", object];
|
|
11
|
+
/**
|
|
12
|
+
* Query hook for applyRegistryDefaults
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const { data, isLoading } = useApplyRegistryDefaultsQuery({ variables: { nodeType, data } });
|
|
17
|
+
*
|
|
18
|
+
* if (data?.applyRegistryDefaults) {
|
|
19
|
+
* console.log(data.applyRegistryDefaults);
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useApplyRegistryDefaultsQuery<TData = {
|
|
24
|
+
applyRegistryDefaults: unknown | null;
|
|
25
|
+
}>(params?: {
|
|
26
|
+
variables?: ApplyRegistryDefaultsVariables;
|
|
27
|
+
} & Omit<UseQueryOptions<{
|
|
28
|
+
applyRegistryDefaults: unknown | null;
|
|
29
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
30
|
+
/**
|
|
31
|
+
* Fetch applyRegistryDefaults without React hooks
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const data = await fetchApplyRegistryDefaultsQuery({ variables: { nodeType, data } });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function fetchApplyRegistryDefaultsQuery(params?: {
|
|
39
|
+
variables?: ApplyRegistryDefaultsVariables;
|
|
40
|
+
}): Promise<{
|
|
41
|
+
applyRegistryDefaults: unknown | null;
|
|
42
|
+
}>;
|
|
43
|
+
/**
|
|
44
|
+
* Prefetch applyRegistryDefaults for SSR or cache warming
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* await prefetchApplyRegistryDefaultsQuery(queryClient, { variables: { nodeType, data } });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function prefetchApplyRegistryDefaultsQuery(queryClient: QueryClient, params?: {
|
|
52
|
+
variables?: ApplyRegistryDefaultsVariables;
|
|
53
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom query hook for applyRegistryDefaults
|
|
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.applyRegistryDefaultsQueryKey = void 0;
|
|
9
|
+
exports.useApplyRegistryDefaultsQuery = useApplyRegistryDefaultsQuery;
|
|
10
|
+
exports.fetchApplyRegistryDefaultsQuery = fetchApplyRegistryDefaultsQuery;
|
|
11
|
+
exports.prefetchApplyRegistryDefaultsQuery = prefetchApplyRegistryDefaultsQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const query_keys_1 = require("../query-keys");
|
|
15
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
16
|
+
exports.applyRegistryDefaultsQueryKey = query_keys_1.customQueryKeys.applyRegistryDefaults;
|
|
17
|
+
function useApplyRegistryDefaultsQuery(params) {
|
|
18
|
+
const variables = params?.variables ?? {};
|
|
19
|
+
const { variables: _variables, ...queryOptions } = params ?? {};
|
|
20
|
+
void _variables;
|
|
21
|
+
return (0, react_query_1.useQuery)({
|
|
22
|
+
queryKey: (0, exports.applyRegistryDefaultsQueryKey)(variables),
|
|
23
|
+
queryFn: () => (0, client_1.getClient)().query.applyRegistryDefaults(variables).unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Fetch applyRegistryDefaults without React hooks
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const data = await fetchApplyRegistryDefaultsQuery({ variables: { nodeType, data } });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
async function fetchApplyRegistryDefaultsQuery(params) {
|
|
36
|
+
const variables = params?.variables ?? {};
|
|
37
|
+
return (0, client_1.getClient)().query.applyRegistryDefaults(variables).unwrap();
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Prefetch applyRegistryDefaults for SSR or cache warming
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* await prefetchApplyRegistryDefaultsQuery(queryClient, { variables: { nodeType, data } });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
async function prefetchApplyRegistryDefaultsQuery(queryClient, params) {
|
|
48
|
+
const variables = params?.variables ?? {};
|
|
49
|
+
await queryClient.prefetchQuery({
|
|
50
|
+
queryKey: (0, exports.applyRegistryDefaultsQueryKey)(variables),
|
|
51
|
+
queryFn: () => (0, client_1.getClient)().query.applyRegistryDefaults(variables).unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Partitioned 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 { AuditLogAuthSelect, AuditLogAuthWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { AuditLogAuthSelect, AuditLogAuthWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const auditLogAuthQueryKey: (id: string | number) => readonly ["auditlogauth", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useAuditLogAuthQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useAuditLogAuthQuery<S extends AuditLogAuthSelect, TData = {
|
|
24
|
+
auditLogAuth: InferSelectResult<AuditLogAuthWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
auditLogAuth: InferSelectResult<AuditLogAuthWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchAuditLogAuthQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchAuditLogAuthQuery<S extends AuditLogAuthSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
auditLogAuth: InferSelectResult<AuditLogAuthWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchAuditLogAuthQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchAuditLogAuthQuery<S extends AuditLogAuthSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
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.auditLogAuthQueryKey = void 0;
|
|
9
|
+
exports.useAuditLogAuthQuery = useAuditLogAuthQuery;
|
|
10
|
+
exports.fetchAuditLogAuthQuery = fetchAuditLogAuthQuery;
|
|
11
|
+
exports.prefetchAuditLogAuthQuery = prefetchAuditLogAuthQuery;
|
|
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.auditLogAuthQueryKey = query_keys_1.auditLogAuthKeys.detail;
|
|
18
|
+
function useAuditLogAuthQuery(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.auditLogAuthKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.auditLogAuth.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchAuditLogAuthQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.auditLogAuth.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchAuditLogAuthQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.auditLogAuthKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.auditLogAuth.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Partitioned 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 { AuditLogAuthSelect, AuditLogAuthWithRelations, AuditLogAuthFilter, AuditLogAuthOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { AuditLogAuthSelect, AuditLogAuthWithRelations, AuditLogAuthFilter, AuditLogAuthOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const auditLogAuthsQueryKey: (variables?: object) => readonly ["auditlogauth", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useAuditLogAuthsQuery({
|
|
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 useAuditLogAuthsQuery<S extends AuditLogAuthSelect, TData = {
|
|
29
|
+
auditLogAuths: ConnectionResult<InferSelectResult<AuditLogAuthWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, AuditLogAuthFilter, AuditLogAuthOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
auditLogAuths: ConnectionResult<InferSelectResult<AuditLogAuthWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchAuditLogAuthsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchAuditLogAuthsQuery<S extends AuditLogAuthSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, AuditLogAuthFilter, AuditLogAuthOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
auditLogAuths: ConnectionResult<InferSelectResult<AuditLogAuthWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchAuditLogAuthsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchAuditLogAuthsQuery<S extends AuditLogAuthSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, AuditLogAuthFilter, AuditLogAuthOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AuditLogAuthSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.)
|
|
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.auditLogAuthsQueryKey = void 0;
|
|
9
|
+
exports.useAuditLogAuthsQuery = useAuditLogAuthsQuery;
|
|
10
|
+
exports.fetchAuditLogAuthsQuery = fetchAuditLogAuthsQuery;
|
|
11
|
+
exports.prefetchAuditLogAuthsQuery = prefetchAuditLogAuthsQuery;
|
|
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.auditLogAuthsQueryKey = query_keys_1.auditLogAuthKeys.list;
|
|
18
|
+
function useAuditLogAuthsQuery(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.auditLogAuthKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().auditLogAuth.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchAuditLogAuthsQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().auditLogAuth.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchAuditLogAuthsQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.auditLogAuthKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().auditLogAuth.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|