@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';
|
|
@@ -45,39 +45,33 @@ __exportStar(require("./useDeleteAppAdminGrantMutation"), exports);
|
|
|
45
45
|
__exportStar(require("./useCreateAppOwnerGrantMutation"), exports);
|
|
46
46
|
__exportStar(require("./useUpdateAppOwnerGrantMutation"), exports);
|
|
47
47
|
__exportStar(require("./useDeleteAppOwnerGrantMutation"), exports);
|
|
48
|
-
__exportStar(require("./useCreateAppLimitDefaultMutation"), exports);
|
|
49
|
-
__exportStar(require("./useUpdateAppLimitDefaultMutation"), exports);
|
|
50
|
-
__exportStar(require("./useDeleteAppLimitDefaultMutation"), exports);
|
|
51
|
-
__exportStar(require("./useCreateOrgLimitDefaultMutation"), exports);
|
|
52
|
-
__exportStar(require("./useUpdateOrgLimitDefaultMutation"), exports);
|
|
53
|
-
__exportStar(require("./useDeleteOrgLimitDefaultMutation"), exports);
|
|
54
|
-
__exportStar(require("./useCreateOrgAdminGrantMutation"), exports);
|
|
55
|
-
__exportStar(require("./useUpdateOrgAdminGrantMutation"), exports);
|
|
56
|
-
__exportStar(require("./useDeleteOrgAdminGrantMutation"), exports);
|
|
57
|
-
__exportStar(require("./useCreateOrgOwnerGrantMutation"), exports);
|
|
58
|
-
__exportStar(require("./useUpdateOrgOwnerGrantMutation"), exports);
|
|
59
|
-
__exportStar(require("./useDeleteOrgOwnerGrantMutation"), exports);
|
|
60
|
-
__exportStar(require("./useCreateAppLimitMutation"), exports);
|
|
61
|
-
__exportStar(require("./useUpdateAppLimitMutation"), exports);
|
|
62
|
-
__exportStar(require("./useDeleteAppLimitMutation"), exports);
|
|
63
48
|
__exportStar(require("./useCreateAppAchievementMutation"), exports);
|
|
64
49
|
__exportStar(require("./useUpdateAppAchievementMutation"), exports);
|
|
65
50
|
__exportStar(require("./useDeleteAppAchievementMutation"), exports);
|
|
66
51
|
__exportStar(require("./useCreateAppStepMutation"), exports);
|
|
67
52
|
__exportStar(require("./useUpdateAppStepMutation"), exports);
|
|
68
53
|
__exportStar(require("./useDeleteAppStepMutation"), exports);
|
|
69
|
-
__exportStar(require("./
|
|
70
|
-
__exportStar(require("./
|
|
71
|
-
__exportStar(require("./
|
|
72
|
-
__exportStar(require("./
|
|
73
|
-
__exportStar(require("./
|
|
74
|
-
__exportStar(require("./
|
|
75
|
-
__exportStar(require("./useCreateOrgLimitMutation"), exports);
|
|
76
|
-
__exportStar(require("./useUpdateOrgLimitMutation"), exports);
|
|
77
|
-
__exportStar(require("./useDeleteOrgLimitMutation"), exports);
|
|
54
|
+
__exportStar(require("./useCreateOrgAdminGrantMutation"), exports);
|
|
55
|
+
__exportStar(require("./useUpdateOrgAdminGrantMutation"), exports);
|
|
56
|
+
__exportStar(require("./useDeleteOrgAdminGrantMutation"), exports);
|
|
57
|
+
__exportStar(require("./useCreateOrgOwnerGrantMutation"), exports);
|
|
58
|
+
__exportStar(require("./useUpdateOrgOwnerGrantMutation"), exports);
|
|
59
|
+
__exportStar(require("./useDeleteOrgOwnerGrantMutation"), exports);
|
|
78
60
|
__exportStar(require("./useCreateMembershipTypeMutation"), exports);
|
|
79
61
|
__exportStar(require("./useUpdateMembershipTypeMutation"), exports);
|
|
80
62
|
__exportStar(require("./useDeleteMembershipTypeMutation"), exports);
|
|
63
|
+
__exportStar(require("./useCreateAppLimitDefaultMutation"), exports);
|
|
64
|
+
__exportStar(require("./useUpdateAppLimitDefaultMutation"), exports);
|
|
65
|
+
__exportStar(require("./useDeleteAppLimitDefaultMutation"), exports);
|
|
66
|
+
__exportStar(require("./useCreateOrgLimitDefaultMutation"), exports);
|
|
67
|
+
__exportStar(require("./useUpdateOrgLimitDefaultMutation"), exports);
|
|
68
|
+
__exportStar(require("./useDeleteOrgLimitDefaultMutation"), exports);
|
|
69
|
+
__exportStar(require("./useCreateOrgChartEdgeGrantMutation"), exports);
|
|
70
|
+
__exportStar(require("./useUpdateOrgChartEdgeGrantMutation"), exports);
|
|
71
|
+
__exportStar(require("./useDeleteOrgChartEdgeGrantMutation"), exports);
|
|
72
|
+
__exportStar(require("./useCreateAppClaimedInviteMutation"), exports);
|
|
73
|
+
__exportStar(require("./useUpdateAppClaimedInviteMutation"), exports);
|
|
74
|
+
__exportStar(require("./useDeleteAppClaimedInviteMutation"), exports);
|
|
81
75
|
__exportStar(require("./useCreateAppGrantMutation"), exports);
|
|
82
76
|
__exportStar(require("./useUpdateAppGrantMutation"), exports);
|
|
83
77
|
__exportStar(require("./useDeleteAppGrantMutation"), exports);
|
|
@@ -90,24 +84,35 @@ __exportStar(require("./useDeleteOrgMembershipDefaultMutation"), exports);
|
|
|
90
84
|
__exportStar(require("./useCreateOrgClaimedInviteMutation"), exports);
|
|
91
85
|
__exportStar(require("./useUpdateOrgClaimedInviteMutation"), exports);
|
|
92
86
|
__exportStar(require("./useDeleteOrgClaimedInviteMutation"), exports);
|
|
87
|
+
__exportStar(require("./useCreateAppLimitEventMutation"), exports);
|
|
88
|
+
__exportStar(require("./useCreateOrgLimitEventMutation"), exports);
|
|
93
89
|
__exportStar(require("./useCreateOrgGrantMutation"), exports);
|
|
94
90
|
__exportStar(require("./useUpdateOrgGrantMutation"), exports);
|
|
95
91
|
__exportStar(require("./useDeleteOrgGrantMutation"), exports);
|
|
96
92
|
__exportStar(require("./useCreateOrgChartEdgeMutation"), exports);
|
|
97
93
|
__exportStar(require("./useUpdateOrgChartEdgeMutation"), exports);
|
|
98
94
|
__exportStar(require("./useDeleteOrgChartEdgeMutation"), exports);
|
|
95
|
+
__exportStar(require("./useCreateAppLimitMutation"), exports);
|
|
96
|
+
__exportStar(require("./useUpdateAppLimitMutation"), exports);
|
|
97
|
+
__exportStar(require("./useDeleteAppLimitMutation"), exports);
|
|
98
|
+
__exportStar(require("./useCreateOrgLimitAggregateMutation"), exports);
|
|
99
|
+
__exportStar(require("./useUpdateOrgLimitAggregateMutation"), exports);
|
|
100
|
+
__exportStar(require("./useDeleteOrgLimitAggregateMutation"), exports);
|
|
99
101
|
__exportStar(require("./useCreateOrgMemberProfileMutation"), exports);
|
|
100
102
|
__exportStar(require("./useUpdateOrgMemberProfileMutation"), exports);
|
|
101
103
|
__exportStar(require("./useDeleteOrgMemberProfileMutation"), exports);
|
|
102
|
-
__exportStar(require("./
|
|
103
|
-
__exportStar(require("./
|
|
104
|
-
__exportStar(require("./
|
|
104
|
+
__exportStar(require("./useCreateOrgLimitMutation"), exports);
|
|
105
|
+
__exportStar(require("./useUpdateOrgLimitMutation"), exports);
|
|
106
|
+
__exportStar(require("./useDeleteOrgLimitMutation"), exports);
|
|
105
107
|
__exportStar(require("./useCreateAppLevelMutation"), exports);
|
|
106
108
|
__exportStar(require("./useUpdateAppLevelMutation"), exports);
|
|
107
109
|
__exportStar(require("./useDeleteAppLevelMutation"), exports);
|
|
108
110
|
__exportStar(require("./useCreateAppInviteMutation"), exports);
|
|
109
111
|
__exportStar(require("./useUpdateAppInviteMutation"), exports);
|
|
110
112
|
__exportStar(require("./useDeleteAppInviteMutation"), exports);
|
|
113
|
+
__exportStar(require("./useCreateOrgMembershipSettingMutation"), exports);
|
|
114
|
+
__exportStar(require("./useUpdateOrgMembershipSettingMutation"), exports);
|
|
115
|
+
__exportStar(require("./useDeleteOrgMembershipSettingMutation"), exports);
|
|
111
116
|
__exportStar(require("./useCreateOrgInviteMutation"), exports);
|
|
112
117
|
__exportStar(require("./useUpdateOrgInviteMutation"), exports);
|
|
113
118
|
__exportStar(require("./useDeleteOrgInviteMutation"), exports);
|
|
@@ -120,5 +125,4 @@ __exportStar(require("./useDeleteOrgMembershipMutation"), exports);
|
|
|
120
125
|
__exportStar(require("./useSubmitAppInviteCodeMutation"), exports);
|
|
121
126
|
__exportStar(require("./useSubmitOrgInviteCodeMutation"), exports);
|
|
122
127
|
__exportStar(require("./useRequestUploadUrlMutation"), exports);
|
|
123
|
-
__exportStar(require("./useConfirmUploadMutation"), exports);
|
|
124
128
|
__exportStar(require("./useProvisionBucketMutation"), exports);
|
|
@@ -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']>;
|
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Append-only log of limit events for historical reporting and audit
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useCreateAppLimitEventMutation = useCreateAppLimitEventMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
10
|
const client_1 = require("../client");
|
|
11
11
|
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
12
13
|
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
-
function
|
|
14
|
+
function useCreateAppLimitEventMutation(params) {
|
|
14
15
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
16
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
17
|
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
17
19
|
return (0, react_query_1.useMutation)({
|
|
18
|
-
mutationKey: mutation_keys_1.
|
|
19
|
-
mutationFn: (
|
|
20
|
-
.
|
|
20
|
+
mutationKey: mutation_keys_1.appLimitEventMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.appLimitEvent.create({
|
|
23
|
+
data,
|
|
21
24
|
select: args.select,
|
|
22
25
|
})
|
|
23
26
|
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.appLimitEventKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
24
32
|
...mutationOptions,
|
|
25
33
|
});
|
|
26
34
|
}
|
|
@@ -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,34 @@
|
|
|
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.useCreateOrgLimitAggregateMutation = useCreateOrgLimitAggregateMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateOrgLimitAggregateMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgLimitAggregateMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.orgLimitAggregate.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -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,34 @@
|
|
|
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.useCreateOrgLimitEventMutation = useCreateOrgLimitEventMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateOrgLimitEventMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgLimitEventMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.orgLimitEvent.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.orgLimitEventKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -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,39 @@
|
|
|
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.useDeleteOrgLimitAggregateMutation = useDeleteOrgLimitAggregateMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useDeleteOrgLimitAggregateMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgLimitAggregateMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id }) => (0, client_1.getClient)()
|
|
22
|
+
.orgLimitAggregate.delete({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
select: args.select,
|
|
27
|
+
})
|
|
28
|
+
.unwrap(),
|
|
29
|
+
onSuccess: (_, variables) => {
|
|
30
|
+
queryClient.removeQueries({
|
|
31
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.detail(variables.id),
|
|
32
|
+
});
|
|
33
|
+
queryClient.invalidateQueries({
|
|
34
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.lists(),
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
...mutationOptions,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -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,40 @@
|
|
|
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.useUpdateOrgLimitAggregateMutation = useUpdateOrgLimitAggregateMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useUpdateOrgLimitAggregateMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgLimitAggregateMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id, orgLimitAggregatePatch, }) => (0, client_1.getClient)()
|
|
22
|
+
.orgLimitAggregate.update({
|
|
23
|
+
where: {
|
|
24
|
+
id,
|
|
25
|
+
},
|
|
26
|
+
data: orgLimitAggregatePatch,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
onSuccess: (_, variables) => {
|
|
31
|
+
queryClient.invalidateQueries({
|
|
32
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.detail(variables.id),
|
|
33
|
+
});
|
|
34
|
+
queryClient.invalidateQueries({
|
|
35
|
+
queryKey: query_keys_1.orgLimitAggregateKeys.lists(),
|
|
36
|
+
});
|
|
37
|
+
},
|
|
38
|
+
...mutationOptions,
|
|
39
|
+
});
|
|
40
|
+
}
|