@constructive-io/react 0.15.2 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +65 -47
- package/admin/hooks/invalidation.js +143 -95
- package/admin/hooks/mutation-keys.d.ts +130 -96
- package/admin/hooks/mutation-keys.js +78 -60
- package/admin/hooks/mutations/index.d.ts +32 -28
- package/admin/hooks/mutations/index.js +32 -28
- package/admin/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useConfirmUploadMutation.js → admin/hooks/mutations/useCreateAppLimitEventMutation.js} +14 -6
- package/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgLimitEventMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +22 -18
- package/admin/hooks/queries/index.js +22 -18
- package/admin/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/admin/hooks/queries/useAppLimitEventsQuery.js +38 -0
- package/admin/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgLimitAggregateQuery.js +53 -0
- package/admin/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgLimitAggregatesQuery.js +38 -0
- package/admin/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgLimitEventsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +154 -112
- package/admin/hooks/query-keys.js +90 -66
- package/admin/orm/index.d.ts +24 -23
- package/admin/orm/index.js +24 -18
- package/admin/orm/input-types.d.ts +1297 -839
- package/admin/orm/models/appLimitEvent.d.ts +32 -0
- package/admin/orm/models/appLimitEvent.js +55 -0
- package/admin/orm/models/index.d.ts +12 -9
- package/admin/orm/models/index.js +25 -19
- package/admin/orm/models/orgLimitAggregate.d.ts +56 -0
- package/admin/orm/models/orgLimitAggregate.js +100 -0
- package/admin/orm/models/orgLimitEvent.d.ts +32 -0
- package/admin/orm/models/orgLimitEvent.js +55 -0
- package/admin/orm/mutation/index.d.ts +1 -15
- package/admin/orm/mutation/index.js +0 -12
- package/admin/schema-types.d.ts +1207 -856
- package/admin/types.d.ts +96 -53
- package/auth/hooks/mutation-keys.d.ts +0 -2
- package/auth/hooks/mutation-keys.js +0 -3
- package/auth/hooks/mutations/index.d.ts +0 -1
- package/auth/hooks/mutations/index.js +0 -1
- package/auth/orm/index.d.ts +0 -5
- package/auth/orm/input-types.d.ts +0 -20
- package/auth/orm/mutation/index.d.ts +1 -15
- package/auth/orm/mutation/index.js +0 -12
- package/auth/schema-types.d.ts +0 -14
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +65 -47
- package/esm/admin/hooks/invalidation.js +144 -96
- package/esm/admin/hooks/mutation-keys.d.ts +130 -96
- package/esm/admin/hooks/mutation-keys.js +77 -59
- package/esm/admin/hooks/mutations/index.d.ts +32 -28
- package/esm/admin/hooks/mutations/index.js +32 -28
- package/esm/admin/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateAppLimitEventMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitAggregateMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgLimitEventMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +22 -18
- package/esm/admin/hooks/queries/index.js +22 -18
- package/esm/admin/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppLimitEventsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregateQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgLimitAggregatesQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgLimitEventsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +154 -112
- package/esm/admin/hooks/query-keys.js +89 -65
- package/esm/admin/orm/index.d.ts +24 -23
- package/esm/admin/orm/index.js +24 -18
- package/esm/admin/orm/input-types.d.ts +1297 -839
- package/esm/admin/orm/models/appLimitEvent.d.ts +32 -0
- package/esm/admin/orm/models/appLimitEvent.js +51 -0
- package/esm/admin/orm/models/index.d.ts +12 -9
- package/esm/admin/orm/models/index.js +12 -9
- package/esm/admin/orm/models/orgLimitAggregate.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitAggregate.js +96 -0
- package/esm/admin/orm/models/orgLimitEvent.d.ts +32 -0
- package/esm/admin/orm/models/orgLimitEvent.js +51 -0
- package/esm/admin/orm/mutation/index.d.ts +1 -15
- package/esm/admin/orm/mutation/index.js +0 -12
- package/esm/admin/schema-types.d.ts +1207 -856
- package/esm/admin/types.d.ts +96 -53
- package/esm/auth/hooks/mutation-keys.d.ts +0 -2
- package/esm/auth/hooks/mutation-keys.js +0 -3
- package/esm/auth/hooks/mutations/index.d.ts +0 -1
- package/esm/auth/hooks/mutations/index.js +0 -1
- package/esm/auth/orm/index.d.ts +0 -5
- package/esm/auth/orm/input-types.d.ts +0 -20
- package/esm/auth/orm/mutation/index.d.ts +1 -15
- package/esm/auth/orm/mutation/index.js +0 -12
- package/esm/auth/schema-types.d.ts +0 -14
- package/esm/objects/hooks/mutation-keys.d.ts +0 -2
- package/esm/objects/hooks/mutation-keys.js +0 -3
- package/esm/objects/hooks/mutations/index.d.ts +0 -1
- package/esm/objects/hooks/mutations/index.js +0 -1
- package/esm/objects/orm/index.d.ts +0 -5
- package/esm/objects/orm/input-types.d.ts +0 -20
- package/esm/objects/orm/mutation/index.d.ts +1 -15
- package/esm/objects/orm/mutation/index.js +0 -12
- package/esm/objects/schema-types.d.ts +0 -14
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +101 -47
- package/esm/public/hooks/invalidation.js +239 -95
- package/esm/public/hooks/mutation-keys.d.ts +206 -100
- package/esm/public/hooks/mutation-keys.js +125 -65
- package/esm/public/hooks/mutations/index.d.ts +50 -28
- package/esm/public/hooks/mutations/index.js +50 -28
- package/esm/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAgentMessageMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAgentTaskMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAgentThreadMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateAppLimitEventMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateBillingModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateBillingModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateNodeTypeRegistryMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateNodeTypeRegistryMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitAggregateMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitEventMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreatePlansModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreatePlansModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAgentMessageMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAgentTaskMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteAgentThreadMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteBillingModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteBillingModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeletePlansModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeletePlansModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAgentMessageMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAgentTaskMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateAgentThreadMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateBillingModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateBillingModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdatePlansModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdatePlansModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +36 -20
- package/esm/public/hooks/queries/index.js +36 -20
- package/esm/public/hooks/queries/useAgentMessageQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAgentMessageQuery.js +47 -0
- package/esm/public/hooks/queries/useAgentMessagesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAgentMessagesQuery.js +32 -0
- package/esm/public/hooks/queries/useAgentTaskQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAgentTaskQuery.js +47 -0
- package/esm/public/hooks/queries/useAgentTasksQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAgentTasksQuery.js +32 -0
- package/esm/public/hooks/queries/useAgentThreadQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useAgentThreadQuery.js +47 -0
- package/esm/public/hooks/queries/useAgentThreadsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAgentThreadsQuery.js +32 -0
- package/esm/public/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAppLimitEventsQuery.js +32 -0
- package/esm/public/hooks/queries/useBillingModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useBillingModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useBillingModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useBillingModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useNodeTypeRegistriesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useNodeTypeRegistriesQuery.js +32 -0
- package/esm/public/hooks/queries/useNodeTypeRegistryQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useNodeTypeRegistryQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgLimitAggregateQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgLimitAggregatesQuery.js +32 -0
- package/esm/public/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgLimitEventsQuery.js +32 -0
- package/esm/public/hooks/queries/usePlansModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/usePlansModuleQuery.js +47 -0
- package/esm/public/hooks/queries/usePlansModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/usePlansModulesQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +246 -120
- package/esm/public/hooks/query-keys.js +141 -69
- package/esm/public/orm/index.d.ts +56 -43
- package/esm/public/orm/index.js +36 -18
- package/esm/public/orm/input-types.d.ts +2983 -1112
- package/esm/public/orm/input-types.js +9 -0
- package/esm/public/orm/models/agentMessage.d.ts +56 -0
- package/esm/public/orm/models/agentMessage.js +96 -0
- package/esm/public/orm/models/agentTask.d.ts +56 -0
- package/esm/public/orm/models/agentTask.js +96 -0
- package/esm/public/orm/models/agentThread.d.ts +56 -0
- package/esm/public/orm/models/agentThread.js +96 -0
- package/esm/public/orm/models/appLimitEvent.d.ts +32 -0
- package/esm/public/orm/models/appLimitEvent.js +51 -0
- package/esm/public/orm/models/billingModule.d.ts +56 -0
- package/esm/public/orm/models/billingModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +18 -9
- package/esm/public/orm/models/index.js +18 -9
- package/esm/public/orm/models/nodeTypeRegistry.d.ts +56 -0
- package/esm/public/orm/models/nodeTypeRegistry.js +96 -0
- package/esm/public/orm/models/orgLimitAggregate.d.ts +56 -0
- package/esm/public/orm/models/orgLimitAggregate.js +96 -0
- package/esm/public/orm/models/orgLimitEvent.d.ts +32 -0
- package/esm/public/orm/models/orgLimitEvent.js +51 -0
- package/esm/public/orm/models/plansModule.d.ts +56 -0
- package/esm/public/orm/models/plansModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +17 -31
- package/esm/public/orm/mutation/index.js +24 -36
- package/esm/public/orm/query/index.d.ts +28 -28
- package/esm/public/orm/query/index.js +48 -48
- package/esm/public/schema-types.d.ts +3948 -2833
- package/esm/public/types.d.ts +194 -77
- package/objects/hooks/mutation-keys.d.ts +0 -2
- package/objects/hooks/mutation-keys.js +0 -3
- package/objects/hooks/mutations/index.d.ts +0 -1
- package/objects/hooks/mutations/index.js +0 -1
- package/objects/orm/index.d.ts +0 -5
- package/objects/orm/input-types.d.ts +0 -20
- package/objects/orm/mutation/index.d.ts +1 -15
- package/objects/orm/mutation/index.js +0 -12
- package/objects/schema-types.d.ts +0 -14
- package/package.json +4 -4
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +101 -47
- package/public/hooks/invalidation.js +238 -94
- package/public/hooks/mutation-keys.d.ts +206 -100
- package/public/hooks/mutation-keys.js +128 -68
- package/public/hooks/mutations/index.d.ts +50 -28
- package/public/hooks/mutations/index.js +50 -28
- package/public/hooks/mutations/useCreateAgentMessageMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAgentMessageMutation.js +34 -0
- package/public/hooks/mutations/useCreateAgentTaskMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAgentTaskMutation.js +34 -0
- package/public/hooks/mutations/useCreateAgentThreadMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAgentThreadMutation.js +34 -0
- package/public/hooks/mutations/useCreateAppLimitEventMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateAppLimitEventMutation.js +34 -0
- package/public/hooks/mutations/useCreateBillingModuleMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useConfirmUploadMutation.js → public/hooks/mutations/useCreateBillingModuleMutation.js} +14 -6
- package/public/hooks/mutations/useCreateNodeTypeRegistryMutation.d.ts +34 -0
- package/public/hooks/mutations/{useConfirmUploadMutation.js → useCreateNodeTypeRegistryMutation.js} +14 -6
- package/public/hooks/mutations/useCreateOrgLimitAggregateMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgLimitAggregateMutation.js +34 -0
- package/public/hooks/mutations/useCreateOrgLimitEventMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgLimitEventMutation.js +34 -0
- package/public/hooks/mutations/useCreatePlansModuleMutation.d.ts +34 -0
- package/{objects/hooks/mutations/useConfirmUploadMutation.js → public/hooks/mutations/useCreatePlansModuleMutation.js} +14 -6
- package/public/hooks/mutations/useDeleteAgentMessageMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAgentMessageMutation.js +39 -0
- package/public/hooks/mutations/useDeleteAgentTaskMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAgentTaskMutation.js +39 -0
- package/public/hooks/mutations/useDeleteAgentThreadMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteAgentThreadMutation.js +39 -0
- package/public/hooks/mutations/useDeleteBillingModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteBillingModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteNodeTypeRegistryMutation.js +39 -0
- package/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteOrgLimitAggregateMutation.js +39 -0
- package/public/hooks/mutations/useDeletePlansModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeletePlansModuleMutation.js +39 -0
- package/public/hooks/mutations/useUpdateAgentMessageMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAgentMessageMutation.js +40 -0
- package/public/hooks/mutations/useUpdateAgentTaskMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAgentTaskMutation.js +40 -0
- package/public/hooks/mutations/useUpdateAgentThreadMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateAgentThreadMutation.js +40 -0
- package/public/hooks/mutations/useUpdateBillingModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateBillingModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateNodeTypeRegistryMutation.js +40 -0
- package/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgLimitAggregateMutation.js +40 -0
- package/public/hooks/mutations/useUpdatePlansModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdatePlansModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +36 -20
- package/public/hooks/queries/index.js +36 -20
- package/public/hooks/queries/useAgentMessageQuery.d.ts +65 -0
- package/public/hooks/queries/useAgentMessageQuery.js +53 -0
- package/public/hooks/queries/useAgentMessagesQuery.d.ts +69 -0
- package/public/hooks/queries/useAgentMessagesQuery.js +38 -0
- package/public/hooks/queries/useAgentTaskQuery.d.ts +65 -0
- package/public/hooks/queries/useAgentTaskQuery.js +53 -0
- package/public/hooks/queries/useAgentTasksQuery.d.ts +69 -0
- package/public/hooks/queries/useAgentTasksQuery.js +38 -0
- package/public/hooks/queries/useAgentThreadQuery.d.ts +65 -0
- package/public/hooks/queries/useAgentThreadQuery.js +53 -0
- package/public/hooks/queries/useAgentThreadsQuery.d.ts +69 -0
- package/public/hooks/queries/useAgentThreadsQuery.js +38 -0
- package/public/hooks/queries/useAppLimitEventsQuery.d.ts +69 -0
- package/public/hooks/queries/useAppLimitEventsQuery.js +38 -0
- package/public/hooks/queries/useBillingModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useBillingModuleQuery.js +53 -0
- package/public/hooks/queries/useBillingModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useBillingModulesQuery.js +38 -0
- package/public/hooks/queries/useNodeTypeRegistriesQuery.d.ts +69 -0
- package/public/hooks/queries/useNodeTypeRegistriesQuery.js +38 -0
- package/public/hooks/queries/useNodeTypeRegistryQuery.d.ts +65 -0
- package/public/hooks/queries/useNodeTypeRegistryQuery.js +53 -0
- package/public/hooks/queries/useOrgLimitAggregateQuery.d.ts +65 -0
- package/public/hooks/queries/useOrgLimitAggregateQuery.js +53 -0
- package/public/hooks/queries/useOrgLimitAggregatesQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgLimitAggregatesQuery.js +38 -0
- package/public/hooks/queries/useOrgLimitEventsQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgLimitEventsQuery.js +38 -0
- package/public/hooks/queries/usePlansModuleQuery.d.ts +65 -0
- package/public/hooks/queries/usePlansModuleQuery.js +53 -0
- package/public/hooks/queries/usePlansModulesQuery.d.ts +69 -0
- package/public/hooks/queries/usePlansModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +246 -120
- package/public/hooks/query-keys.js +144 -72
- package/public/orm/index.d.ts +56 -43
- package/public/orm/index.js +36 -18
- package/public/orm/input-types.d.ts +2983 -1112
- package/public/orm/input-types.js +9 -0
- package/public/orm/models/agentMessage.d.ts +56 -0
- package/public/orm/models/agentMessage.js +100 -0
- package/public/orm/models/agentTask.d.ts +56 -0
- package/public/orm/models/agentTask.js +100 -0
- package/public/orm/models/agentThread.d.ts +56 -0
- package/public/orm/models/agentThread.js +100 -0
- package/public/orm/models/appLimitEvent.d.ts +32 -0
- package/public/orm/models/appLimitEvent.js +55 -0
- package/public/orm/models/billingModule.d.ts +56 -0
- package/public/orm/models/billingModule.js +100 -0
- package/public/orm/models/index.d.ts +18 -9
- package/public/orm/models/index.js +39 -21
- package/public/orm/models/nodeTypeRegistry.d.ts +56 -0
- package/public/orm/models/nodeTypeRegistry.js +100 -0
- package/public/orm/models/orgLimitAggregate.d.ts +56 -0
- package/public/orm/models/orgLimitAggregate.js +100 -0
- package/public/orm/models/orgLimitEvent.d.ts +32 -0
- package/public/orm/models/orgLimitEvent.js +55 -0
- package/public/orm/models/plansModule.d.ts +56 -0
- package/public/orm/models/plansModule.js +100 -0
- package/public/orm/mutation/index.d.ts +17 -31
- package/public/orm/mutation/index.js +24 -36
- package/public/orm/query/index.d.ts +28 -28
- package/public/orm/query/index.js +48 -48
- package/public/schema-types.d.ts +3948 -2833
- package/public/types.d.ts +194 -77
- package/admin/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/auth/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/admin/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/admin/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/esm/auth/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/esm/objects/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/objects/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/esm/public/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useConfirmUploadMutation.js +0 -23
- package/objects/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
- package/public/hooks/mutations/useConfirmUploadMutation.d.ts +0 -20
|
@@ -21,28 +21,24 @@ export * from './useAppAdminGrantsQuery';
|
|
|
21
21
|
export * from './useAppAdminGrantQuery';
|
|
22
22
|
export * from './useAppOwnerGrantsQuery';
|
|
23
23
|
export * from './useAppOwnerGrantQuery';
|
|
24
|
-
export * from './useAppLimitDefaultsQuery';
|
|
25
|
-
export * from './useAppLimitDefaultQuery';
|
|
26
|
-
export * from './useOrgLimitDefaultsQuery';
|
|
27
|
-
export * from './useOrgLimitDefaultQuery';
|
|
28
|
-
export * from './useOrgAdminGrantsQuery';
|
|
29
|
-
export * from './useOrgAdminGrantQuery';
|
|
30
|
-
export * from './useOrgOwnerGrantsQuery';
|
|
31
|
-
export * from './useOrgOwnerGrantQuery';
|
|
32
|
-
export * from './useAppLimitsQuery';
|
|
33
|
-
export * from './useAppLimitQuery';
|
|
34
24
|
export * from './useAppAchievementsQuery';
|
|
35
25
|
export * from './useAppAchievementQuery';
|
|
36
26
|
export * from './useAppStepsQuery';
|
|
37
27
|
export * from './useAppStepQuery';
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './useOrgLimitsQuery';
|
|
43
|
-
export * from './useOrgLimitQuery';
|
|
28
|
+
export * from './useOrgAdminGrantsQuery';
|
|
29
|
+
export * from './useOrgAdminGrantQuery';
|
|
30
|
+
export * from './useOrgOwnerGrantsQuery';
|
|
31
|
+
export * from './useOrgOwnerGrantQuery';
|
|
44
32
|
export * from './useMembershipTypesQuery';
|
|
45
33
|
export * from './useMembershipTypeQuery';
|
|
34
|
+
export * from './useAppLimitDefaultsQuery';
|
|
35
|
+
export * from './useAppLimitDefaultQuery';
|
|
36
|
+
export * from './useOrgLimitDefaultsQuery';
|
|
37
|
+
export * from './useOrgLimitDefaultQuery';
|
|
38
|
+
export * from './useOrgChartEdgeGrantsQuery';
|
|
39
|
+
export * from './useOrgChartEdgeGrantQuery';
|
|
40
|
+
export * from './useAppClaimedInvitesQuery';
|
|
41
|
+
export * from './useAppClaimedInviteQuery';
|
|
46
42
|
export * from './useAppGrantsQuery';
|
|
47
43
|
export * from './useAppGrantQuery';
|
|
48
44
|
export * from './useAppMembershipDefaultsQuery';
|
|
@@ -51,18 +47,26 @@ export * from './useOrgMembershipDefaultsQuery';
|
|
|
51
47
|
export * from './useOrgMembershipDefaultQuery';
|
|
52
48
|
export * from './useOrgClaimedInvitesQuery';
|
|
53
49
|
export * from './useOrgClaimedInviteQuery';
|
|
50
|
+
export * from './useAppLimitEventsQuery';
|
|
51
|
+
export * from './useOrgLimitEventsQuery';
|
|
54
52
|
export * from './useOrgGrantsQuery';
|
|
55
53
|
export * from './useOrgGrantQuery';
|
|
56
54
|
export * from './useOrgChartEdgesQuery';
|
|
57
55
|
export * from './useOrgChartEdgeQuery';
|
|
56
|
+
export * from './useAppLimitsQuery';
|
|
57
|
+
export * from './useAppLimitQuery';
|
|
58
|
+
export * from './useOrgLimitAggregatesQuery';
|
|
59
|
+
export * from './useOrgLimitAggregateQuery';
|
|
58
60
|
export * from './useOrgMemberProfilesQuery';
|
|
59
61
|
export * from './useOrgMemberProfileQuery';
|
|
60
|
-
export * from './
|
|
61
|
-
export * from './
|
|
62
|
+
export * from './useOrgLimitsQuery';
|
|
63
|
+
export * from './useOrgLimitQuery';
|
|
62
64
|
export * from './useAppLevelsQuery';
|
|
63
65
|
export * from './useAppLevelQuery';
|
|
64
66
|
export * from './useAppInvitesQuery';
|
|
65
67
|
export * from './useAppInviteQuery';
|
|
68
|
+
export * from './useOrgMembershipSettingsQuery';
|
|
69
|
+
export * from './useOrgMembershipSettingQuery';
|
|
66
70
|
export * from './useOrgInvitesQuery';
|
|
67
71
|
export * from './useOrgInviteQuery';
|
|
68
72
|
export * from './useAppMembershipsQuery';
|
|
@@ -37,28 +37,24 @@ __exportStar(require("./useAppAdminGrantsQuery"), exports);
|
|
|
37
37
|
__exportStar(require("./useAppAdminGrantQuery"), exports);
|
|
38
38
|
__exportStar(require("./useAppOwnerGrantsQuery"), exports);
|
|
39
39
|
__exportStar(require("./useAppOwnerGrantQuery"), exports);
|
|
40
|
-
__exportStar(require("./useAppLimitDefaultsQuery"), exports);
|
|
41
|
-
__exportStar(require("./useAppLimitDefaultQuery"), exports);
|
|
42
|
-
__exportStar(require("./useOrgLimitDefaultsQuery"), exports);
|
|
43
|
-
__exportStar(require("./useOrgLimitDefaultQuery"), exports);
|
|
44
|
-
__exportStar(require("./useOrgAdminGrantsQuery"), exports);
|
|
45
|
-
__exportStar(require("./useOrgAdminGrantQuery"), exports);
|
|
46
|
-
__exportStar(require("./useOrgOwnerGrantsQuery"), exports);
|
|
47
|
-
__exportStar(require("./useOrgOwnerGrantQuery"), exports);
|
|
48
|
-
__exportStar(require("./useAppLimitsQuery"), exports);
|
|
49
|
-
__exportStar(require("./useAppLimitQuery"), exports);
|
|
50
40
|
__exportStar(require("./useAppAchievementsQuery"), exports);
|
|
51
41
|
__exportStar(require("./useAppAchievementQuery"), exports);
|
|
52
42
|
__exportStar(require("./useAppStepsQuery"), exports);
|
|
53
43
|
__exportStar(require("./useAppStepQuery"), exports);
|
|
54
|
-
__exportStar(require("./
|
|
55
|
-
__exportStar(require("./
|
|
56
|
-
__exportStar(require("./
|
|
57
|
-
__exportStar(require("./
|
|
58
|
-
__exportStar(require("./useOrgLimitsQuery"), exports);
|
|
59
|
-
__exportStar(require("./useOrgLimitQuery"), exports);
|
|
44
|
+
__exportStar(require("./useOrgAdminGrantsQuery"), exports);
|
|
45
|
+
__exportStar(require("./useOrgAdminGrantQuery"), exports);
|
|
46
|
+
__exportStar(require("./useOrgOwnerGrantsQuery"), exports);
|
|
47
|
+
__exportStar(require("./useOrgOwnerGrantQuery"), exports);
|
|
60
48
|
__exportStar(require("./useMembershipTypesQuery"), exports);
|
|
61
49
|
__exportStar(require("./useMembershipTypeQuery"), exports);
|
|
50
|
+
__exportStar(require("./useAppLimitDefaultsQuery"), exports);
|
|
51
|
+
__exportStar(require("./useAppLimitDefaultQuery"), exports);
|
|
52
|
+
__exportStar(require("./useOrgLimitDefaultsQuery"), exports);
|
|
53
|
+
__exportStar(require("./useOrgLimitDefaultQuery"), exports);
|
|
54
|
+
__exportStar(require("./useOrgChartEdgeGrantsQuery"), exports);
|
|
55
|
+
__exportStar(require("./useOrgChartEdgeGrantQuery"), exports);
|
|
56
|
+
__exportStar(require("./useAppClaimedInvitesQuery"), exports);
|
|
57
|
+
__exportStar(require("./useAppClaimedInviteQuery"), exports);
|
|
62
58
|
__exportStar(require("./useAppGrantsQuery"), exports);
|
|
63
59
|
__exportStar(require("./useAppGrantQuery"), exports);
|
|
64
60
|
__exportStar(require("./useAppMembershipDefaultsQuery"), exports);
|
|
@@ -67,18 +63,26 @@ __exportStar(require("./useOrgMembershipDefaultsQuery"), exports);
|
|
|
67
63
|
__exportStar(require("./useOrgMembershipDefaultQuery"), exports);
|
|
68
64
|
__exportStar(require("./useOrgClaimedInvitesQuery"), exports);
|
|
69
65
|
__exportStar(require("./useOrgClaimedInviteQuery"), exports);
|
|
66
|
+
__exportStar(require("./useAppLimitEventsQuery"), exports);
|
|
67
|
+
__exportStar(require("./useOrgLimitEventsQuery"), exports);
|
|
70
68
|
__exportStar(require("./useOrgGrantsQuery"), exports);
|
|
71
69
|
__exportStar(require("./useOrgGrantQuery"), exports);
|
|
72
70
|
__exportStar(require("./useOrgChartEdgesQuery"), exports);
|
|
73
71
|
__exportStar(require("./useOrgChartEdgeQuery"), exports);
|
|
72
|
+
__exportStar(require("./useAppLimitsQuery"), exports);
|
|
73
|
+
__exportStar(require("./useAppLimitQuery"), exports);
|
|
74
|
+
__exportStar(require("./useOrgLimitAggregatesQuery"), exports);
|
|
75
|
+
__exportStar(require("./useOrgLimitAggregateQuery"), exports);
|
|
74
76
|
__exportStar(require("./useOrgMemberProfilesQuery"), exports);
|
|
75
77
|
__exportStar(require("./useOrgMemberProfileQuery"), exports);
|
|
76
|
-
__exportStar(require("./
|
|
77
|
-
__exportStar(require("./
|
|
78
|
+
__exportStar(require("./useOrgLimitsQuery"), exports);
|
|
79
|
+
__exportStar(require("./useOrgLimitQuery"), exports);
|
|
78
80
|
__exportStar(require("./useAppLevelsQuery"), exports);
|
|
79
81
|
__exportStar(require("./useAppLevelQuery"), exports);
|
|
80
82
|
__exportStar(require("./useAppInvitesQuery"), exports);
|
|
81
83
|
__exportStar(require("./useAppInviteQuery"), exports);
|
|
84
|
+
__exportStar(require("./useOrgMembershipSettingsQuery"), exports);
|
|
85
|
+
__exportStar(require("./useOrgMembershipSettingQuery"), exports);
|
|
82
86
|
__exportStar(require("./useOrgInvitesQuery"), exports);
|
|
83
87
|
__exportStar(require("./useOrgInviteQuery"), exports);
|
|
84
88
|
__exportStar(require("./useAppMembershipsQuery"), exports);
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { AppLimitEventSelect, AppLimitEventWithRelations, AppLimitEventFilter, AppLimitEventOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { AppLimitEventSelect, AppLimitEventWithRelations, AppLimitEventFilter, AppLimitEventOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const appLimitEventsQueryKey: (variables?: object) => readonly ["applimitevent", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Append-only log of limit events for historical reporting and audit
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useAppLimitEventsQuery({
|
|
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 useAppLimitEventsQuery<S extends AppLimitEventSelect, TData = {
|
|
29
|
+
appLimitEvents: ConnectionResult<InferSelectResult<AppLimitEventWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, AppLimitEventFilter, AppLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
appLimitEvents: ConnectionResult<InferSelectResult<AppLimitEventWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Append-only log of limit events for historical reporting and audit
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchAppLimitEventsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchAppLimitEventsQuery<S extends AppLimitEventSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, AppLimitEventFilter, AppLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
appLimitEvents: ConnectionResult<InferSelectResult<AppLimitEventWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Append-only log of limit events for historical reporting and audit
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchAppLimitEventsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchAppLimitEventsQuery<S extends AppLimitEventSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, AppLimitEventFilter, AppLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.appLimitEventsQueryKey = void 0;
|
|
9
|
+
exports.useAppLimitEventsQuery = useAppLimitEventsQuery;
|
|
10
|
+
exports.fetchAppLimitEventsQuery = fetchAppLimitEventsQuery;
|
|
11
|
+
exports.prefetchAppLimitEventsQuery = prefetchAppLimitEventsQuery;
|
|
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.appLimitEventsQueryKey = query_keys_1.appLimitEventKeys.list;
|
|
18
|
+
function useAppLimitEventsQuery(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.appLimitEventKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().appLimitEvent.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchAppLimitEventsQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().appLimitEvent.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchAppLimitEventsQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.appLimitEventKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().appLimitEvent.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
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 { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const orgLimitAggregateQueryKey: (id: string | number) => readonly ["orglimitaggregate", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useOrgLimitAggregateQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useOrgLimitAggregateQuery<S extends OrgLimitAggregateSelect, TData = {
|
|
24
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchOrgLimitAggregateQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchOrgLimitAggregateQuery<S extends OrgLimitAggregateSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchOrgLimitAggregateQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchOrgLimitAggregateQuery<S extends OrgLimitAggregateSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
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.orgLimitAggregateQueryKey = void 0;
|
|
9
|
+
exports.useOrgLimitAggregateQuery = useOrgLimitAggregateQuery;
|
|
10
|
+
exports.fetchOrgLimitAggregateQuery = fetchOrgLimitAggregateQuery;
|
|
11
|
+
exports.prefetchOrgLimitAggregateQuery = prefetchOrgLimitAggregateQuery;
|
|
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.orgLimitAggregateQueryKey = query_keys_1.orgLimitAggregateKeys.detail;
|
|
18
|
+
function useOrgLimitAggregateQuery(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.orgLimitAggregateKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.orgLimitAggregate.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchOrgLimitAggregateQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.orgLimitAggregate.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchOrgLimitAggregateQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.orgLimitAggregate.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
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 { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const orgLimitAggregatesQueryKey: (variables?: object) => readonly ["orglimitaggregate", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useOrgLimitAggregatesQuery({
|
|
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 useOrgLimitAggregatesQuery<S extends OrgLimitAggregateSelect, TData = {
|
|
29
|
+
orgLimitAggregates: ConnectionResult<InferSelectResult<OrgLimitAggregateWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
orgLimitAggregates: ConnectionResult<InferSelectResult<OrgLimitAggregateWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchOrgLimitAggregatesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchOrgLimitAggregatesQuery<S extends OrgLimitAggregateSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
orgLimitAggregates: ConnectionResult<InferSelectResult<OrgLimitAggregateWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchOrgLimitAggregatesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchOrgLimitAggregatesQuery<S extends OrgLimitAggregateSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, OrgLimitAggregateFilter, OrgLimitAggregateOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
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.orgLimitAggregatesQueryKey = void 0;
|
|
9
|
+
exports.useOrgLimitAggregatesQuery = useOrgLimitAggregatesQuery;
|
|
10
|
+
exports.fetchOrgLimitAggregatesQuery = fetchOrgLimitAggregatesQuery;
|
|
11
|
+
exports.prefetchOrgLimitAggregatesQuery = prefetchOrgLimitAggregatesQuery;
|
|
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.orgLimitAggregatesQueryKey = query_keys_1.orgLimitAggregateKeys.list;
|
|
18
|
+
function useOrgLimitAggregatesQuery(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.orgLimitAggregateKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().orgLimitAggregate.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchOrgLimitAggregatesQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().orgLimitAggregate.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchOrgLimitAggregatesQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().orgLimitAggregate.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { OrgLimitEventSelect, OrgLimitEventWithRelations, OrgLimitEventFilter, OrgLimitEventOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { OrgLimitEventSelect, OrgLimitEventWithRelations, OrgLimitEventFilter, OrgLimitEventOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const orgLimitEventsQueryKey: (variables?: object) => readonly ["orglimitevent", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Append-only log of limit events for historical reporting and audit
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useOrgLimitEventsQuery({
|
|
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 useOrgLimitEventsQuery<S extends OrgLimitEventSelect, TData = {
|
|
29
|
+
orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, OrgLimitEventFilter, OrgLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Append-only log of limit events for historical reporting and audit
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchOrgLimitEventsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchOrgLimitEventsQuery<S extends OrgLimitEventSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, OrgLimitEventFilter, OrgLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
orgLimitEvents: ConnectionResult<InferSelectResult<OrgLimitEventWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Append-only log of limit events for historical reporting and audit
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchOrgLimitEventsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchOrgLimitEventsQuery<S extends OrgLimitEventSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, OrgLimitEventFilter, OrgLimitEventOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.orgLimitEventsQueryKey = void 0;
|
|
9
|
+
exports.useOrgLimitEventsQuery = useOrgLimitEventsQuery;
|
|
10
|
+
exports.fetchOrgLimitEventsQuery = fetchOrgLimitEventsQuery;
|
|
11
|
+
exports.prefetchOrgLimitEventsQuery = prefetchOrgLimitEventsQuery;
|
|
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.orgLimitEventsQueryKey = query_keys_1.orgLimitEventKeys.list;
|
|
18
|
+
function useOrgLimitEventsQuery(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.orgLimitEventKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().orgLimitEvent.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchOrgLimitEventsQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().orgLimitEvent.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchOrgLimitEventsQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.orgLimitEventKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().orgLimitEvent.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|