@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
|
@@ -29,39 +29,33 @@ export * from './useDeleteAppAdminGrantMutation';
|
|
|
29
29
|
export * from './useCreateAppOwnerGrantMutation';
|
|
30
30
|
export * from './useUpdateAppOwnerGrantMutation';
|
|
31
31
|
export * from './useDeleteAppOwnerGrantMutation';
|
|
32
|
-
export * from './useCreateAppLimitDefaultMutation';
|
|
33
|
-
export * from './useUpdateAppLimitDefaultMutation';
|
|
34
|
-
export * from './useDeleteAppLimitDefaultMutation';
|
|
35
|
-
export * from './useCreateOrgLimitDefaultMutation';
|
|
36
|
-
export * from './useUpdateOrgLimitDefaultMutation';
|
|
37
|
-
export * from './useDeleteOrgLimitDefaultMutation';
|
|
38
|
-
export * from './useCreateOrgAdminGrantMutation';
|
|
39
|
-
export * from './useUpdateOrgAdminGrantMutation';
|
|
40
|
-
export * from './useDeleteOrgAdminGrantMutation';
|
|
41
|
-
export * from './useCreateOrgOwnerGrantMutation';
|
|
42
|
-
export * from './useUpdateOrgOwnerGrantMutation';
|
|
43
|
-
export * from './useDeleteOrgOwnerGrantMutation';
|
|
44
|
-
export * from './useCreateAppLimitMutation';
|
|
45
|
-
export * from './useUpdateAppLimitMutation';
|
|
46
|
-
export * from './useDeleteAppLimitMutation';
|
|
47
32
|
export * from './useCreateAppAchievementMutation';
|
|
48
33
|
export * from './useUpdateAppAchievementMutation';
|
|
49
34
|
export * from './useDeleteAppAchievementMutation';
|
|
50
35
|
export * from './useCreateAppStepMutation';
|
|
51
36
|
export * from './useUpdateAppStepMutation';
|
|
52
37
|
export * from './useDeleteAppStepMutation';
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './
|
|
56
|
-
export * from './
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './useCreateOrgLimitMutation';
|
|
60
|
-
export * from './useUpdateOrgLimitMutation';
|
|
61
|
-
export * from './useDeleteOrgLimitMutation';
|
|
38
|
+
export * from './useCreateOrgAdminGrantMutation';
|
|
39
|
+
export * from './useUpdateOrgAdminGrantMutation';
|
|
40
|
+
export * from './useDeleteOrgAdminGrantMutation';
|
|
41
|
+
export * from './useCreateOrgOwnerGrantMutation';
|
|
42
|
+
export * from './useUpdateOrgOwnerGrantMutation';
|
|
43
|
+
export * from './useDeleteOrgOwnerGrantMutation';
|
|
62
44
|
export * from './useCreateMembershipTypeMutation';
|
|
63
45
|
export * from './useUpdateMembershipTypeMutation';
|
|
64
46
|
export * from './useDeleteMembershipTypeMutation';
|
|
47
|
+
export * from './useCreateAppLimitDefaultMutation';
|
|
48
|
+
export * from './useUpdateAppLimitDefaultMutation';
|
|
49
|
+
export * from './useDeleteAppLimitDefaultMutation';
|
|
50
|
+
export * from './useCreateOrgLimitDefaultMutation';
|
|
51
|
+
export * from './useUpdateOrgLimitDefaultMutation';
|
|
52
|
+
export * from './useDeleteOrgLimitDefaultMutation';
|
|
53
|
+
export * from './useCreateOrgChartEdgeGrantMutation';
|
|
54
|
+
export * from './useUpdateOrgChartEdgeGrantMutation';
|
|
55
|
+
export * from './useDeleteOrgChartEdgeGrantMutation';
|
|
56
|
+
export * from './useCreateAppClaimedInviteMutation';
|
|
57
|
+
export * from './useUpdateAppClaimedInviteMutation';
|
|
58
|
+
export * from './useDeleteAppClaimedInviteMutation';
|
|
65
59
|
export * from './useCreateAppGrantMutation';
|
|
66
60
|
export * from './useUpdateAppGrantMutation';
|
|
67
61
|
export * from './useDeleteAppGrantMutation';
|
|
@@ -74,24 +68,35 @@ export * from './useDeleteOrgMembershipDefaultMutation';
|
|
|
74
68
|
export * from './useCreateOrgClaimedInviteMutation';
|
|
75
69
|
export * from './useUpdateOrgClaimedInviteMutation';
|
|
76
70
|
export * from './useDeleteOrgClaimedInviteMutation';
|
|
71
|
+
export * from './useCreateAppLimitEventMutation';
|
|
72
|
+
export * from './useCreateOrgLimitEventMutation';
|
|
77
73
|
export * from './useCreateOrgGrantMutation';
|
|
78
74
|
export * from './useUpdateOrgGrantMutation';
|
|
79
75
|
export * from './useDeleteOrgGrantMutation';
|
|
80
76
|
export * from './useCreateOrgChartEdgeMutation';
|
|
81
77
|
export * from './useUpdateOrgChartEdgeMutation';
|
|
82
78
|
export * from './useDeleteOrgChartEdgeMutation';
|
|
79
|
+
export * from './useCreateAppLimitMutation';
|
|
80
|
+
export * from './useUpdateAppLimitMutation';
|
|
81
|
+
export * from './useDeleteAppLimitMutation';
|
|
82
|
+
export * from './useCreateOrgLimitAggregateMutation';
|
|
83
|
+
export * from './useUpdateOrgLimitAggregateMutation';
|
|
84
|
+
export * from './useDeleteOrgLimitAggregateMutation';
|
|
83
85
|
export * from './useCreateOrgMemberProfileMutation';
|
|
84
86
|
export * from './useUpdateOrgMemberProfileMutation';
|
|
85
87
|
export * from './useDeleteOrgMemberProfileMutation';
|
|
86
|
-
export * from './
|
|
87
|
-
export * from './
|
|
88
|
-
export * from './
|
|
88
|
+
export * from './useCreateOrgLimitMutation';
|
|
89
|
+
export * from './useUpdateOrgLimitMutation';
|
|
90
|
+
export * from './useDeleteOrgLimitMutation';
|
|
89
91
|
export * from './useCreateAppLevelMutation';
|
|
90
92
|
export * from './useUpdateAppLevelMutation';
|
|
91
93
|
export * from './useDeleteAppLevelMutation';
|
|
92
94
|
export * from './useCreateAppInviteMutation';
|
|
93
95
|
export * from './useUpdateAppInviteMutation';
|
|
94
96
|
export * from './useDeleteAppInviteMutation';
|
|
97
|
+
export * from './useCreateOrgMembershipSettingMutation';
|
|
98
|
+
export * from './useUpdateOrgMembershipSettingMutation';
|
|
99
|
+
export * from './useDeleteOrgMembershipSettingMutation';
|
|
95
100
|
export * from './useCreateOrgInviteMutation';
|
|
96
101
|
export * from './useUpdateOrgInviteMutation';
|
|
97
102
|
export * from './useDeleteOrgInviteMutation';
|
|
@@ -104,5 +109,4 @@ export * from './useDeleteOrgMembershipMutation';
|
|
|
104
109
|
export * from './useSubmitAppInviteCodeMutation';
|
|
105
110
|
export * from './useSubmitOrgInviteCodeMutation';
|
|
106
111
|
export * from './useRequestUploadUrlMutation';
|
|
107
|
-
export * from './useConfirmUploadMutation';
|
|
108
112
|
export * from './useProvisionBucketMutation';
|
|
@@ -29,39 +29,33 @@ export * from './useDeleteAppAdminGrantMutation';
|
|
|
29
29
|
export * from './useCreateAppOwnerGrantMutation';
|
|
30
30
|
export * from './useUpdateAppOwnerGrantMutation';
|
|
31
31
|
export * from './useDeleteAppOwnerGrantMutation';
|
|
32
|
-
export * from './useCreateAppLimitDefaultMutation';
|
|
33
|
-
export * from './useUpdateAppLimitDefaultMutation';
|
|
34
|
-
export * from './useDeleteAppLimitDefaultMutation';
|
|
35
|
-
export * from './useCreateOrgLimitDefaultMutation';
|
|
36
|
-
export * from './useUpdateOrgLimitDefaultMutation';
|
|
37
|
-
export * from './useDeleteOrgLimitDefaultMutation';
|
|
38
|
-
export * from './useCreateOrgAdminGrantMutation';
|
|
39
|
-
export * from './useUpdateOrgAdminGrantMutation';
|
|
40
|
-
export * from './useDeleteOrgAdminGrantMutation';
|
|
41
|
-
export * from './useCreateOrgOwnerGrantMutation';
|
|
42
|
-
export * from './useUpdateOrgOwnerGrantMutation';
|
|
43
|
-
export * from './useDeleteOrgOwnerGrantMutation';
|
|
44
|
-
export * from './useCreateAppLimitMutation';
|
|
45
|
-
export * from './useUpdateAppLimitMutation';
|
|
46
|
-
export * from './useDeleteAppLimitMutation';
|
|
47
32
|
export * from './useCreateAppAchievementMutation';
|
|
48
33
|
export * from './useUpdateAppAchievementMutation';
|
|
49
34
|
export * from './useDeleteAppAchievementMutation';
|
|
50
35
|
export * from './useCreateAppStepMutation';
|
|
51
36
|
export * from './useUpdateAppStepMutation';
|
|
52
37
|
export * from './useDeleteAppStepMutation';
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './
|
|
55
|
-
export * from './
|
|
56
|
-
export * from './
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './useCreateOrgLimitMutation';
|
|
60
|
-
export * from './useUpdateOrgLimitMutation';
|
|
61
|
-
export * from './useDeleteOrgLimitMutation';
|
|
38
|
+
export * from './useCreateOrgAdminGrantMutation';
|
|
39
|
+
export * from './useUpdateOrgAdminGrantMutation';
|
|
40
|
+
export * from './useDeleteOrgAdminGrantMutation';
|
|
41
|
+
export * from './useCreateOrgOwnerGrantMutation';
|
|
42
|
+
export * from './useUpdateOrgOwnerGrantMutation';
|
|
43
|
+
export * from './useDeleteOrgOwnerGrantMutation';
|
|
62
44
|
export * from './useCreateMembershipTypeMutation';
|
|
63
45
|
export * from './useUpdateMembershipTypeMutation';
|
|
64
46
|
export * from './useDeleteMembershipTypeMutation';
|
|
47
|
+
export * from './useCreateAppLimitDefaultMutation';
|
|
48
|
+
export * from './useUpdateAppLimitDefaultMutation';
|
|
49
|
+
export * from './useDeleteAppLimitDefaultMutation';
|
|
50
|
+
export * from './useCreateOrgLimitDefaultMutation';
|
|
51
|
+
export * from './useUpdateOrgLimitDefaultMutation';
|
|
52
|
+
export * from './useDeleteOrgLimitDefaultMutation';
|
|
53
|
+
export * from './useCreateOrgChartEdgeGrantMutation';
|
|
54
|
+
export * from './useUpdateOrgChartEdgeGrantMutation';
|
|
55
|
+
export * from './useDeleteOrgChartEdgeGrantMutation';
|
|
56
|
+
export * from './useCreateAppClaimedInviteMutation';
|
|
57
|
+
export * from './useUpdateAppClaimedInviteMutation';
|
|
58
|
+
export * from './useDeleteAppClaimedInviteMutation';
|
|
65
59
|
export * from './useCreateAppGrantMutation';
|
|
66
60
|
export * from './useUpdateAppGrantMutation';
|
|
67
61
|
export * from './useDeleteAppGrantMutation';
|
|
@@ -74,24 +68,35 @@ export * from './useDeleteOrgMembershipDefaultMutation';
|
|
|
74
68
|
export * from './useCreateOrgClaimedInviteMutation';
|
|
75
69
|
export * from './useUpdateOrgClaimedInviteMutation';
|
|
76
70
|
export * from './useDeleteOrgClaimedInviteMutation';
|
|
71
|
+
export * from './useCreateAppLimitEventMutation';
|
|
72
|
+
export * from './useCreateOrgLimitEventMutation';
|
|
77
73
|
export * from './useCreateOrgGrantMutation';
|
|
78
74
|
export * from './useUpdateOrgGrantMutation';
|
|
79
75
|
export * from './useDeleteOrgGrantMutation';
|
|
80
76
|
export * from './useCreateOrgChartEdgeMutation';
|
|
81
77
|
export * from './useUpdateOrgChartEdgeMutation';
|
|
82
78
|
export * from './useDeleteOrgChartEdgeMutation';
|
|
79
|
+
export * from './useCreateAppLimitMutation';
|
|
80
|
+
export * from './useUpdateAppLimitMutation';
|
|
81
|
+
export * from './useDeleteAppLimitMutation';
|
|
82
|
+
export * from './useCreateOrgLimitAggregateMutation';
|
|
83
|
+
export * from './useUpdateOrgLimitAggregateMutation';
|
|
84
|
+
export * from './useDeleteOrgLimitAggregateMutation';
|
|
83
85
|
export * from './useCreateOrgMemberProfileMutation';
|
|
84
86
|
export * from './useUpdateOrgMemberProfileMutation';
|
|
85
87
|
export * from './useDeleteOrgMemberProfileMutation';
|
|
86
|
-
export * from './
|
|
87
|
-
export * from './
|
|
88
|
-
export * from './
|
|
88
|
+
export * from './useCreateOrgLimitMutation';
|
|
89
|
+
export * from './useUpdateOrgLimitMutation';
|
|
90
|
+
export * from './useDeleteOrgLimitMutation';
|
|
89
91
|
export * from './useCreateAppLevelMutation';
|
|
90
92
|
export * from './useUpdateAppLevelMutation';
|
|
91
93
|
export * from './useDeleteAppLevelMutation';
|
|
92
94
|
export * from './useCreateAppInviteMutation';
|
|
93
95
|
export * from './useUpdateAppInviteMutation';
|
|
94
96
|
export * from './useDeleteAppInviteMutation';
|
|
97
|
+
export * from './useCreateOrgMembershipSettingMutation';
|
|
98
|
+
export * from './useUpdateOrgMembershipSettingMutation';
|
|
99
|
+
export * from './useDeleteOrgMembershipSettingMutation';
|
|
95
100
|
export * from './useCreateOrgInviteMutation';
|
|
96
101
|
export * from './useUpdateOrgInviteMutation';
|
|
97
102
|
export * from './useDeleteOrgInviteMutation';
|
|
@@ -104,5 +109,4 @@ export * from './useDeleteOrgMembershipMutation';
|
|
|
104
109
|
export * from './useSubmitAppInviteCodeMutation';
|
|
105
110
|
export * from './useSubmitOrgInviteCodeMutation';
|
|
106
111
|
export * from './useRequestUploadUrlMutation';
|
|
107
|
-
export * from './useConfirmUploadMutation';
|
|
108
112
|
export * from './useProvisionBucketMutation';
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { AppLimitEventSelect, AppLimitEventWithRelations, CreateAppLimitEventInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { AppLimitEventSelect, AppLimitEventWithRelations, CreateAppLimitEventInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Append-only log of limit events for historical reporting and audit
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateAppLimitEventMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateAppLimitEventMutation<S extends AppLimitEventSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & AppLimitEventSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitEventSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createAppLimitEvent: {
|
|
28
|
+
appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateAppLimitEventInput['appLimitEvent']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createAppLimitEvent: {
|
|
32
|
+
appLimitEvent: InferSelectResult<AppLimitEventWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateAppLimitEventInput['appLimitEvent']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { appLimitEventKeys } from '../query-keys';
|
|
10
|
+
import { appLimitEventMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateAppLimitEventMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: appLimitEventMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.appLimitEvent.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: appLimitEventKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, CreateOrgLimitAggregateInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, CreateOrgLimitAggregateInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgLimitAggregateMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgLimitAggregateMutation<S extends OrgLimitAggregateSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgLimitAggregateSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgLimitAggregate: {
|
|
28
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgLimitAggregateInput['orgLimitAggregate']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgLimitAggregate: {
|
|
32
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgLimitAggregateInput['orgLimitAggregate']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { orgLimitAggregateKeys } from '../query-keys';
|
|
10
|
+
import { orgLimitAggregateMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateOrgLimitAggregateMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: orgLimitAggregateMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.orgLimitAggregate.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: orgLimitAggregateKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgLimitEventSelect, OrgLimitEventWithRelations, CreateOrgLimitEventInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgLimitEventSelect, OrgLimitEventWithRelations, CreateOrgLimitEventInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Append-only log of limit events for historical reporting and audit
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgLimitEventMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgLimitEventMutation<S extends OrgLimitEventSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgLimitEventSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitEventSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgLimitEvent: {
|
|
28
|
+
orgLimitEvent: InferSelectResult<OrgLimitEventWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgLimitEventInput['orgLimitEvent']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgLimitEvent: {
|
|
32
|
+
orgLimitEvent: InferSelectResult<OrgLimitEventWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgLimitEventInput['orgLimitEvent']>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { orgLimitEventKeys } from '../query-keys';
|
|
10
|
+
import { orgLimitEventMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateOrgLimitEventMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: orgLimitEventMutationKeys.create(),
|
|
18
|
+
mutationFn: (data) => getClient()
|
|
19
|
+
.orgLimitEvent.create({
|
|
20
|
+
data,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
onSuccess: () => {
|
|
25
|
+
queryClient.invalidateQueries({
|
|
26
|
+
queryKey: orgLimitEventKeys.lists(),
|
|
27
|
+
});
|
|
28
|
+
},
|
|
29
|
+
...mutationOptions,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } 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
|
+
/**
|
|
11
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteOrgLimitAggregateMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteOrgLimitAggregateMutation<S extends OrgLimitAggregateSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgLimitAggregateSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteOrgLimitAggregate: {
|
|
28
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteOrgLimitAggregate: {
|
|
34
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { orgLimitAggregateKeys } from '../query-keys';
|
|
10
|
+
import { orgLimitAggregateMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteOrgLimitAggregateMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: orgLimitAggregateMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id }) => getClient()
|
|
19
|
+
.orgLimitAggregate.delete({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
select: args.select,
|
|
24
|
+
})
|
|
25
|
+
.unwrap(),
|
|
26
|
+
onSuccess: (_, variables) => {
|
|
27
|
+
queryClient.removeQueries({
|
|
28
|
+
queryKey: orgLimitAggregateKeys.detail(variables.id),
|
|
29
|
+
});
|
|
30
|
+
queryClient.invalidateQueries({
|
|
31
|
+
queryKey: orgLimitAggregateKeys.lists(),
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
...mutationOptions,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, OrgLimitAggregatePatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgLimitAggregateSelect, OrgLimitAggregateWithRelations, OrgLimitAggregatePatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Tracks aggregate entity-level usage counts (org-wide caps, no per-user breakdown)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateOrgLimitAggregateMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', orgLimitAggregatePatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateOrgLimitAggregateMutation<S extends OrgLimitAggregateSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgLimitAggregateSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitAggregateSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateOrgLimitAggregate: {
|
|
28
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
orgLimitAggregatePatch: OrgLimitAggregatePatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateOrgLimitAggregate: {
|
|
35
|
+
orgLimitAggregate: InferSelectResult<OrgLimitAggregateWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
orgLimitAggregatePatch: OrgLimitAggregatePatch;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { orgLimitAggregateKeys } from '../query-keys';
|
|
10
|
+
import { orgLimitAggregateMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useUpdateOrgLimitAggregateMutation(params) {
|
|
12
|
+
const args = buildSelectionArgs(params.selection);
|
|
13
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
|
+
void _selection;
|
|
15
|
+
const queryClient = useQueryClient();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationKey: orgLimitAggregateMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id, orgLimitAggregatePatch, }) => getClient()
|
|
19
|
+
.orgLimitAggregate.update({
|
|
20
|
+
where: {
|
|
21
|
+
id,
|
|
22
|
+
},
|
|
23
|
+
data: orgLimitAggregatePatch,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: (_, variables) => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: orgLimitAggregateKeys.detail(variables.id),
|
|
30
|
+
});
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: orgLimitAggregateKeys.lists(),
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
...mutationOptions,
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -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';
|