@constructive-io/react 0.15.2 → 0.15.4
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
package/esm/public/types.d.ts
CHANGED
|
@@ -24,16 +24,6 @@ export interface GetAllRecord {
|
|
|
24
24
|
path: string[] | null;
|
|
25
25
|
data: unknown | null;
|
|
26
26
|
}
|
|
27
|
-
export interface Object {
|
|
28
|
-
hashUuid: string | null;
|
|
29
|
-
id: string | null;
|
|
30
|
-
databaseId: string | null;
|
|
31
|
-
kids: string[] | null;
|
|
32
|
-
ktree: string[] | null;
|
|
33
|
-
data: unknown | null;
|
|
34
|
-
frzn: boolean | null;
|
|
35
|
-
createdAt: string | null;
|
|
36
|
-
}
|
|
37
27
|
export interface AppPermission {
|
|
38
28
|
id: string | null;
|
|
39
29
|
name: string | null;
|
|
@@ -48,6 +38,16 @@ export interface OrgPermission {
|
|
|
48
38
|
bitstr: string | null;
|
|
49
39
|
description: string | null;
|
|
50
40
|
}
|
|
41
|
+
export interface Object {
|
|
42
|
+
hashUuid: string | null;
|
|
43
|
+
id: string | null;
|
|
44
|
+
databaseId: string | null;
|
|
45
|
+
kids: string[] | null;
|
|
46
|
+
ktree: string[] | null;
|
|
47
|
+
data: unknown | null;
|
|
48
|
+
frzn: boolean | null;
|
|
49
|
+
createdAt: string | null;
|
|
50
|
+
}
|
|
51
51
|
export interface AppLevelRequirement {
|
|
52
52
|
id: string | null;
|
|
53
53
|
name: string | null;
|
|
@@ -664,6 +664,7 @@ export interface LimitsModule {
|
|
|
664
664
|
limitDecrementTrigger: string | null;
|
|
665
665
|
limitUpdateTrigger: string | null;
|
|
666
666
|
limitCheckFunction: string | null;
|
|
667
|
+
aggregateTableId: string | null;
|
|
667
668
|
prefix: string | null;
|
|
668
669
|
membershipType: number | null;
|
|
669
670
|
entityTableId: string | null;
|
|
@@ -753,6 +754,8 @@ export interface ProfilesModule {
|
|
|
753
754
|
profileGrantsTableName: string | null;
|
|
754
755
|
profileDefinitionGrantsTableId: string | null;
|
|
755
756
|
profileDefinitionGrantsTableName: string | null;
|
|
757
|
+
profileTemplatesTableId: string | null;
|
|
758
|
+
profileTemplatesTableName: string | null;
|
|
756
759
|
membershipType: number | null;
|
|
757
760
|
entityTableId: string | null;
|
|
758
761
|
actorTableId: string | null;
|
|
@@ -873,10 +876,8 @@ export interface StorageModule {
|
|
|
873
876
|
privateSchemaId: string | null;
|
|
874
877
|
bucketsTableId: string | null;
|
|
875
878
|
filesTableId: string | null;
|
|
876
|
-
uploadRequestsTableId: string | null;
|
|
877
879
|
bucketsTableName: string | null;
|
|
878
880
|
filesTableName: string | null;
|
|
879
|
-
uploadRequestsTableName: string | null;
|
|
880
881
|
membershipType: number | null;
|
|
881
882
|
policies: unknown | null;
|
|
882
883
|
skipDefaultPolicyTables: string[] | null;
|
|
@@ -885,6 +886,7 @@ export interface StorageModule {
|
|
|
885
886
|
publicUrlPrefix: string | null;
|
|
886
887
|
provider: string | null;
|
|
887
888
|
allowedOrigins: string[] | null;
|
|
889
|
+
restrictReads: boolean | null;
|
|
888
890
|
uploadUrlExpirySeconds: number | null;
|
|
889
891
|
downloadUrlExpirySeconds: number | null;
|
|
890
892
|
defaultMaxFileSize: string | null;
|
|
@@ -1101,17 +1103,33 @@ export interface AppLimit {
|
|
|
1101
1103
|
id: string | null;
|
|
1102
1104
|
name: string | null;
|
|
1103
1105
|
actorId: string | null;
|
|
1104
|
-
num:
|
|
1105
|
-
max:
|
|
1106
|
+
num: string | null;
|
|
1107
|
+
max: string | null;
|
|
1108
|
+
softMax: string | null;
|
|
1109
|
+
windowStart: string | null;
|
|
1110
|
+
windowDuration: string | null;
|
|
1106
1111
|
}
|
|
1107
1112
|
export interface OrgLimit {
|
|
1108
1113
|
id: string | null;
|
|
1109
1114
|
name: string | null;
|
|
1110
1115
|
actorId: string | null;
|
|
1111
|
-
num:
|
|
1112
|
-
max:
|
|
1116
|
+
num: string | null;
|
|
1117
|
+
max: string | null;
|
|
1118
|
+
softMax: string | null;
|
|
1119
|
+
windowStart: string | null;
|
|
1120
|
+
windowDuration: string | null;
|
|
1113
1121
|
entityId: string | null;
|
|
1114
1122
|
}
|
|
1123
|
+
export interface OrgLimitAggregate {
|
|
1124
|
+
id: string | null;
|
|
1125
|
+
name: string | null;
|
|
1126
|
+
entityId: string | null;
|
|
1127
|
+
num: string | null;
|
|
1128
|
+
max: string | null;
|
|
1129
|
+
softMax: string | null;
|
|
1130
|
+
windowStart: string | null;
|
|
1131
|
+
windowDuration: string | null;
|
|
1132
|
+
}
|
|
1115
1133
|
export interface AppStep {
|
|
1116
1134
|
id: string | null;
|
|
1117
1135
|
actorId: string | null;
|
|
@@ -1194,6 +1212,7 @@ export interface AppInvite {
|
|
|
1194
1212
|
inviteCount: number | null;
|
|
1195
1213
|
multiple: boolean | null;
|
|
1196
1214
|
data: unknown | null;
|
|
1215
|
+
profileId: string | null;
|
|
1197
1216
|
expiresAt: string | null;
|
|
1198
1217
|
createdAt: string | null;
|
|
1199
1218
|
updatedAt: string | null;
|
|
@@ -1217,6 +1236,7 @@ export interface OrgInvite {
|
|
|
1217
1236
|
inviteCount: number | null;
|
|
1218
1237
|
multiple: boolean | null;
|
|
1219
1238
|
data: unknown | null;
|
|
1239
|
+
profileId: string | null;
|
|
1220
1240
|
expiresAt: string | null;
|
|
1221
1241
|
createdAt: string | null;
|
|
1222
1242
|
updatedAt: string | null;
|
|
@@ -1241,9 +1261,43 @@ export interface AuditLog {
|
|
|
1241
1261
|
success: boolean | null;
|
|
1242
1262
|
createdAt: string | null;
|
|
1243
1263
|
}
|
|
1244
|
-
export interface
|
|
1264
|
+
export interface AgentThread {
|
|
1265
|
+
title: string | null;
|
|
1266
|
+
mode: string | null;
|
|
1267
|
+
model: string | null;
|
|
1268
|
+
systemPrompt: string | null;
|
|
1245
1269
|
id: string | null;
|
|
1246
|
-
|
|
1270
|
+
createdAt: string | null;
|
|
1271
|
+
updatedAt: string | null;
|
|
1272
|
+
ownerId: string | null;
|
|
1273
|
+
entityId: string | null;
|
|
1274
|
+
status: string | null;
|
|
1275
|
+
}
|
|
1276
|
+
export interface AgentMessage {
|
|
1277
|
+
threadId: string | null;
|
|
1278
|
+
entityId: string | null;
|
|
1279
|
+
authorRole: string | null;
|
|
1280
|
+
id: string | null;
|
|
1281
|
+
createdAt: string | null;
|
|
1282
|
+
updatedAt: string | null;
|
|
1283
|
+
ownerId: string | null;
|
|
1284
|
+
parts: unknown | null;
|
|
1285
|
+
}
|
|
1286
|
+
export interface AgentTask {
|
|
1287
|
+
threadId: string | null;
|
|
1288
|
+
entityId: string | null;
|
|
1289
|
+
description: string | null;
|
|
1290
|
+
source: string | null;
|
|
1291
|
+
error: string | null;
|
|
1292
|
+
id: string | null;
|
|
1293
|
+
createdAt: string | null;
|
|
1294
|
+
updatedAt: string | null;
|
|
1295
|
+
ownerId: string | null;
|
|
1296
|
+
status: string | null;
|
|
1297
|
+
}
|
|
1298
|
+
export interface RoleType {
|
|
1299
|
+
id: number | null;
|
|
1300
|
+
name: string | null;
|
|
1247
1301
|
}
|
|
1248
1302
|
export interface IdentityProvider {
|
|
1249
1303
|
slug: string | null;
|
|
@@ -1266,25 +1320,23 @@ export interface Store {
|
|
|
1266
1320
|
hash: string | null;
|
|
1267
1321
|
createdAt: string | null;
|
|
1268
1322
|
}
|
|
1269
|
-
export interface
|
|
1323
|
+
export interface AppPermissionDefault {
|
|
1324
|
+
id: string | null;
|
|
1325
|
+
permissions: string | null;
|
|
1326
|
+
}
|
|
1327
|
+
export interface MembershipType {
|
|
1270
1328
|
id: number | null;
|
|
1271
1329
|
name: string | null;
|
|
1330
|
+
description: string | null;
|
|
1331
|
+
prefix: string | null;
|
|
1332
|
+
parentMembershipType: number | null;
|
|
1333
|
+
hasUsersTableEntry: boolean | null;
|
|
1272
1334
|
}
|
|
1273
1335
|
export interface MigrateFile {
|
|
1274
1336
|
id: string | null;
|
|
1275
1337
|
databaseId: string | null;
|
|
1276
1338
|
upload: ConstructiveInternalTypeUpload | null;
|
|
1277
1339
|
}
|
|
1278
|
-
export interface AppLimitDefault {
|
|
1279
|
-
id: string | null;
|
|
1280
|
-
name: string | null;
|
|
1281
|
-
max: number | null;
|
|
1282
|
-
}
|
|
1283
|
-
export interface OrgLimitDefault {
|
|
1284
|
-
id: string | null;
|
|
1285
|
-
name: string | null;
|
|
1286
|
-
max: number | null;
|
|
1287
|
-
}
|
|
1288
1340
|
export interface DevicesModule {
|
|
1289
1341
|
id: string | null;
|
|
1290
1342
|
databaseId: string | null;
|
|
@@ -1294,6 +1346,27 @@ export interface DevicesModule {
|
|
|
1294
1346
|
userDevicesTable: string | null;
|
|
1295
1347
|
deviceSettingsTable: string | null;
|
|
1296
1348
|
}
|
|
1349
|
+
export interface NodeTypeRegistry {
|
|
1350
|
+
name: string | null;
|
|
1351
|
+
slug: string | null;
|
|
1352
|
+
category: string | null;
|
|
1353
|
+
displayName: string | null;
|
|
1354
|
+
description: string | null;
|
|
1355
|
+
parameterSchema: unknown | null;
|
|
1356
|
+
tags: string[] | null;
|
|
1357
|
+
}
|
|
1358
|
+
export interface AppLimitDefault {
|
|
1359
|
+
id: string | null;
|
|
1360
|
+
name: string | null;
|
|
1361
|
+
max: string | null;
|
|
1362
|
+
softMax: string | null;
|
|
1363
|
+
}
|
|
1364
|
+
export interface OrgLimitDefault {
|
|
1365
|
+
id: string | null;
|
|
1366
|
+
name: string | null;
|
|
1367
|
+
max: string | null;
|
|
1368
|
+
softMax: string | null;
|
|
1369
|
+
}
|
|
1297
1370
|
export interface UserConnectedAccount {
|
|
1298
1371
|
id: string | null;
|
|
1299
1372
|
ownerId: string | null;
|
|
@@ -1304,24 +1377,6 @@ export interface UserConnectedAccount {
|
|
|
1304
1377
|
createdAt: string | null;
|
|
1305
1378
|
updatedAt: string | null;
|
|
1306
1379
|
}
|
|
1307
|
-
export interface AppMembershipDefault {
|
|
1308
|
-
id: string | null;
|
|
1309
|
-
createdAt: string | null;
|
|
1310
|
-
updatedAt: string | null;
|
|
1311
|
-
createdBy: string | null;
|
|
1312
|
-
updatedBy: string | null;
|
|
1313
|
-
isApproved: boolean | null;
|
|
1314
|
-
isVerified: boolean | null;
|
|
1315
|
-
}
|
|
1316
|
-
export interface OrgMembershipDefault {
|
|
1317
|
-
id: string | null;
|
|
1318
|
-
createdAt: string | null;
|
|
1319
|
-
updatedAt: string | null;
|
|
1320
|
-
createdBy: string | null;
|
|
1321
|
-
updatedBy: string | null;
|
|
1322
|
-
isApproved: boolean | null;
|
|
1323
|
-
entityId: string | null;
|
|
1324
|
-
}
|
|
1325
1380
|
export interface Commit {
|
|
1326
1381
|
id: string | null;
|
|
1327
1382
|
message: string | null;
|
|
@@ -1344,13 +1399,58 @@ export interface RateLimitsModule {
|
|
|
1344
1399
|
ipRateLimitsTable: string | null;
|
|
1345
1400
|
rateLimitsTable: string | null;
|
|
1346
1401
|
}
|
|
1347
|
-
export interface
|
|
1348
|
-
id:
|
|
1402
|
+
export interface AppMembershipDefault {
|
|
1403
|
+
id: string | null;
|
|
1404
|
+
createdAt: string | null;
|
|
1405
|
+
updatedAt: string | null;
|
|
1406
|
+
createdBy: string | null;
|
|
1407
|
+
updatedBy: string | null;
|
|
1408
|
+
isApproved: boolean | null;
|
|
1409
|
+
isVerified: boolean | null;
|
|
1410
|
+
}
|
|
1411
|
+
export interface OrgMembershipDefault {
|
|
1412
|
+
id: string | null;
|
|
1413
|
+
createdAt: string | null;
|
|
1414
|
+
updatedAt: string | null;
|
|
1415
|
+
createdBy: string | null;
|
|
1416
|
+
updatedBy: string | null;
|
|
1417
|
+
isApproved: boolean | null;
|
|
1418
|
+
entityId: string | null;
|
|
1419
|
+
}
|
|
1420
|
+
export interface AppLimitEvent {
|
|
1349
1421
|
name: string | null;
|
|
1350
|
-
|
|
1422
|
+
actorId: string | null;
|
|
1423
|
+
entityId: string | null;
|
|
1424
|
+
eventType: string | null;
|
|
1425
|
+
delta: string | null;
|
|
1426
|
+
numBefore: string | null;
|
|
1427
|
+
numAfter: string | null;
|
|
1428
|
+
maxAtEvent: string | null;
|
|
1429
|
+
reason: string | null;
|
|
1430
|
+
}
|
|
1431
|
+
export interface OrgLimitEvent {
|
|
1432
|
+
name: string | null;
|
|
1433
|
+
actorId: string | null;
|
|
1434
|
+
entityId: string | null;
|
|
1435
|
+
eventType: string | null;
|
|
1436
|
+
delta: string | null;
|
|
1437
|
+
numBefore: string | null;
|
|
1438
|
+
numAfter: string | null;
|
|
1439
|
+
maxAtEvent: string | null;
|
|
1440
|
+
reason: string | null;
|
|
1441
|
+
}
|
|
1442
|
+
export interface PlansModule {
|
|
1443
|
+
id: string | null;
|
|
1444
|
+
databaseId: string | null;
|
|
1445
|
+
schemaId: string | null;
|
|
1446
|
+
privateSchemaId: string | null;
|
|
1447
|
+
plansTableId: string | null;
|
|
1448
|
+
plansTableName: string | null;
|
|
1449
|
+
planLimitsTableId: string | null;
|
|
1450
|
+
planLimitsTableName: string | null;
|
|
1451
|
+
applyPlanFunction: string | null;
|
|
1452
|
+
applyPlanAggregateFunction: string | null;
|
|
1351
1453
|
prefix: string | null;
|
|
1352
|
-
parentMembershipType: number | null;
|
|
1353
|
-
hasUsersTableEntry: boolean | null;
|
|
1354
1454
|
}
|
|
1355
1455
|
export interface RlsModule {
|
|
1356
1456
|
id: string | null;
|
|
@@ -1380,19 +1480,36 @@ export interface SqlAction {
|
|
|
1380
1480
|
actionId: string | null;
|
|
1381
1481
|
actorId: string | null;
|
|
1382
1482
|
}
|
|
1383
|
-
export interface
|
|
1483
|
+
export interface BillingModule {
|
|
1384
1484
|
id: string | null;
|
|
1485
|
+
databaseId: string | null;
|
|
1486
|
+
schemaId: string | null;
|
|
1487
|
+
privateSchemaId: string | null;
|
|
1488
|
+
metersTableId: string | null;
|
|
1489
|
+
metersTableName: string | null;
|
|
1490
|
+
planSubscriptionsTableId: string | null;
|
|
1491
|
+
planSubscriptionsTableName: string | null;
|
|
1492
|
+
ledgerTableId: string | null;
|
|
1493
|
+
ledgerTableName: string | null;
|
|
1494
|
+
balancesTableId: string | null;
|
|
1495
|
+
balancesTableName: string | null;
|
|
1496
|
+
recordUsageFunction: string | null;
|
|
1497
|
+
prefix: string | null;
|
|
1498
|
+
}
|
|
1499
|
+
export interface AstMigration {
|
|
1500
|
+
id: number | null;
|
|
1501
|
+
databaseId: string | null;
|
|
1502
|
+
name: string | null;
|
|
1503
|
+
requires: string[] | null;
|
|
1504
|
+
payload: unknown | null;
|
|
1505
|
+
deploys: string | null;
|
|
1506
|
+
deploy: unknown | null;
|
|
1507
|
+
revert: unknown | null;
|
|
1508
|
+
verify: unknown | null;
|
|
1385
1509
|
createdAt: string | null;
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
entityId: string | null;
|
|
1390
|
-
deleteMemberCascadeChildren: boolean | null;
|
|
1391
|
-
createChildCascadeOwners: boolean | null;
|
|
1392
|
-
createChildCascadeAdmins: boolean | null;
|
|
1393
|
-
createChildCascadeMembers: boolean | null;
|
|
1394
|
-
allowExternalMembers: boolean | null;
|
|
1395
|
-
populateMemberEmail: boolean | null;
|
|
1510
|
+
action: string | null;
|
|
1511
|
+
actionId: string | null;
|
|
1512
|
+
actorId: string | null;
|
|
1396
1513
|
}
|
|
1397
1514
|
export interface User {
|
|
1398
1515
|
id: string | null;
|
|
@@ -1407,20 +1524,21 @@ export interface User {
|
|
|
1407
1524
|
displayNameTrgmSimilarity: number | null;
|
|
1408
1525
|
searchScore: number | null;
|
|
1409
1526
|
}
|
|
1410
|
-
export interface
|
|
1411
|
-
id:
|
|
1412
|
-
databaseId: string | null;
|
|
1413
|
-
name: string | null;
|
|
1414
|
-
requires: string[] | null;
|
|
1415
|
-
payload: unknown | null;
|
|
1416
|
-
deploys: string | null;
|
|
1417
|
-
deploy: unknown | null;
|
|
1418
|
-
revert: unknown | null;
|
|
1419
|
-
verify: unknown | null;
|
|
1527
|
+
export interface OrgMembershipSetting {
|
|
1528
|
+
id: string | null;
|
|
1420
1529
|
createdAt: string | null;
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1530
|
+
updatedAt: string | null;
|
|
1531
|
+
createdBy: string | null;
|
|
1532
|
+
updatedBy: string | null;
|
|
1533
|
+
entityId: string | null;
|
|
1534
|
+
deleteMemberCascadeChildren: boolean | null;
|
|
1535
|
+
createChildCascadeOwners: boolean | null;
|
|
1536
|
+
createChildCascadeAdmins: boolean | null;
|
|
1537
|
+
createChildCascadeMembers: boolean | null;
|
|
1538
|
+
allowExternalMembers: boolean | null;
|
|
1539
|
+
inviteProfileAssignmentMode: string | null;
|
|
1540
|
+
populateMemberEmail: boolean | null;
|
|
1541
|
+
limitAllocationMode: string | null;
|
|
1424
1542
|
}
|
|
1425
1543
|
export interface AppMembership {
|
|
1426
1544
|
id: string | null;
|
|
@@ -1433,7 +1551,6 @@ export interface AppMembership {
|
|
|
1433
1551
|
isDisabled: boolean | null;
|
|
1434
1552
|
isVerified: boolean | null;
|
|
1435
1553
|
isActive: boolean | null;
|
|
1436
|
-
isExternal: boolean | null;
|
|
1437
1554
|
isOwner: boolean | null;
|
|
1438
1555
|
isAdmin: boolean | null;
|
|
1439
1556
|
permissions: string | null;
|
|
@@ -43,7 +43,6 @@ export declare const customMutationKeys: {
|
|
|
43
43
|
/** Mutation key for updateNodeAtPath */ readonly updateNodeAtPath: (identifier?: string) => readonly ["mutation", "updateNodeAtPath", string] | readonly ["mutation", "updateNodeAtPath"];
|
|
44
44
|
/** Mutation key for setAndCommit */ readonly setAndCommit: (identifier?: string) => readonly ["mutation", "setAndCommit", string] | readonly ["mutation", "setAndCommit"];
|
|
45
45
|
/** Mutation key for requestUploadUrl */ readonly requestUploadUrl: (identifier?: string) => readonly ["mutation", "requestUploadUrl", string] | readonly ["mutation", "requestUploadUrl"];
|
|
46
|
-
/** Mutation key for confirmUpload */ readonly confirmUpload: (identifier?: string) => readonly ["mutation", "confirmUpload", string] | readonly ["mutation", "confirmUpload"];
|
|
47
46
|
/** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
@@ -109,7 +108,6 @@ export declare const mutationKeys: {
|
|
|
109
108
|
/** Mutation key for updateNodeAtPath */ readonly updateNodeAtPath: (identifier?: string) => readonly ["mutation", "updateNodeAtPath", string] | readonly ["mutation", "updateNodeAtPath"];
|
|
110
109
|
/** Mutation key for setAndCommit */ readonly setAndCommit: (identifier?: string) => readonly ["mutation", "setAndCommit", string] | readonly ["mutation", "setAndCommit"];
|
|
111
110
|
/** Mutation key for requestUploadUrl */ readonly requestUploadUrl: (identifier?: string) => readonly ["mutation", "requestUploadUrl", string] | readonly ["mutation", "requestUploadUrl"];
|
|
112
|
-
/** Mutation key for confirmUpload */ readonly confirmUpload: (identifier?: string) => readonly ["mutation", "confirmUpload", string] | readonly ["mutation", "confirmUpload"];
|
|
113
111
|
/** Mutation key for provisionBucket */ readonly provisionBucket: (identifier?: string) => readonly ["mutation", "provisionBucket", string] | readonly ["mutation", "provisionBucket"];
|
|
114
112
|
};
|
|
115
113
|
};
|
|
@@ -79,9 +79,6 @@ exports.customMutationKeys = {
|
|
|
79
79
|
/** Mutation key for requestUploadUrl */ requestUploadUrl: (identifier) => identifier
|
|
80
80
|
? ['mutation', 'requestUploadUrl', identifier]
|
|
81
81
|
: ['mutation', 'requestUploadUrl'],
|
|
82
|
-
/** Mutation key for confirmUpload */ confirmUpload: (identifier) => identifier
|
|
83
|
-
? ['mutation', 'confirmUpload', identifier]
|
|
84
|
-
: ['mutation', 'confirmUpload'],
|
|
85
82
|
/** Mutation key for provisionBucket */ provisionBucket: (identifier) => identifier
|
|
86
83
|
? ['mutation', 'provisionBucket', identifier]
|
|
87
84
|
: ['mutation', 'provisionBucket'],
|
|
@@ -25,5 +25,4 @@ export * from './useInsertNodeAtPathMutation';
|
|
|
25
25
|
export * from './useUpdateNodeAtPathMutation';
|
|
26
26
|
export * from './useSetAndCommitMutation';
|
|
27
27
|
export * from './useRequestUploadUrlMutation';
|
|
28
|
-
export * from './useConfirmUploadMutation';
|
|
29
28
|
export * from './useProvisionBucketMutation';
|
|
@@ -41,5 +41,4 @@ __exportStar(require("./useInsertNodeAtPathMutation"), exports);
|
|
|
41
41
|
__exportStar(require("./useUpdateNodeAtPathMutation"), exports);
|
|
42
42
|
__exportStar(require("./useSetAndCommitMutation"), exports);
|
|
43
43
|
__exportStar(require("./useRequestUploadUrlMutation"), exports);
|
|
44
|
-
__exportStar(require("./useConfirmUploadMutation"), exports);
|
|
45
44
|
__exportStar(require("./useProvisionBucketMutation"), exports);
|
package/objects/orm/index.d.ts
CHANGED
|
@@ -108,11 +108,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
108
108
|
} & import("./select-types").StrictSelect<S, import("./input-types").RequestUploadUrlPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
109
109
|
requestUploadUrl: import("./select-types").InferSelectResult<import("./input-types").RequestUploadUrlPayload, S> | null;
|
|
110
110
|
}>;
|
|
111
|
-
confirmUpload: <S extends import("./input-types").ConfirmUploadPayloadSelect>(args: import("./mutation").ConfirmUploadVariables, options: {
|
|
112
|
-
select: S;
|
|
113
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").ConfirmUploadPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
114
|
-
confirmUpload: import("./select-types").InferSelectResult<import("./input-types").ConfirmUploadPayload, S> | null;
|
|
115
|
-
}>;
|
|
116
111
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
117
112
|
select: S;
|
|
118
113
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -648,10 +648,6 @@ export interface RequestUploadUrlInput {
|
|
|
648
648
|
/** Original filename (optional, for display and Content-Disposition) */
|
|
649
649
|
filename?: string;
|
|
650
650
|
}
|
|
651
|
-
export interface ConfirmUploadInput {
|
|
652
|
-
/** The file ID returned by requestUploadUrl */
|
|
653
|
-
fileId: string;
|
|
654
|
-
}
|
|
655
651
|
export interface ProvisionBucketInput {
|
|
656
652
|
/** The logical bucket key (e.g., "public", "private") */
|
|
657
653
|
bucketKey: string;
|
|
@@ -751,8 +747,6 @@ export interface RequestUploadUrlPayload {
|
|
|
751
747
|
deduplicated: boolean;
|
|
752
748
|
/** Presigned URL expiry time (null if deduplicated) */
|
|
753
749
|
expiresAt?: string | null;
|
|
754
|
-
/** File status — 'pending' for fresh uploads, 'ready' or 'processed' for deduplicated files. Clients can use this to know immediately whether the file is usable. */
|
|
755
|
-
status: string;
|
|
756
750
|
}
|
|
757
751
|
export type RequestUploadUrlPayloadSelect = {
|
|
758
752
|
uploadUrl?: boolean;
|
|
@@ -760,20 +754,6 @@ export type RequestUploadUrlPayloadSelect = {
|
|
|
760
754
|
key?: boolean;
|
|
761
755
|
deduplicated?: boolean;
|
|
762
756
|
expiresAt?: boolean;
|
|
763
|
-
status?: boolean;
|
|
764
|
-
};
|
|
765
|
-
export interface ConfirmUploadPayload {
|
|
766
|
-
/** The confirmed file ID */
|
|
767
|
-
fileId: string;
|
|
768
|
-
/** New file status */
|
|
769
|
-
status: string;
|
|
770
|
-
/** Whether confirmation succeeded */
|
|
771
|
-
success: boolean;
|
|
772
|
-
}
|
|
773
|
-
export type ConfirmUploadPayloadSelect = {
|
|
774
|
-
fileId?: boolean;
|
|
775
|
-
status?: boolean;
|
|
776
|
-
success?: boolean;
|
|
777
757
|
};
|
|
778
758
|
export interface ProvisionBucketPayload {
|
|
779
759
|
/** Whether provisioning succeeded */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { FreezeObjectsInput, InitEmptyRepoInput, RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, RequestUploadUrlInput,
|
|
9
|
+
import type { FreezeObjectsInput, InitEmptyRepoInput, RemoveNodeAtPathInput, SetDataAtPathInput, SetPropsAndCommitInput, InsertNodeAtPathInput, UpdateNodeAtPathInput, SetAndCommitInput, RequestUploadUrlInput, ProvisionBucketInput, FreezeObjectsPayload, InitEmptyRepoPayload, RemoveNodeAtPathPayload, SetDataAtPathPayload, SetPropsAndCommitPayload, InsertNodeAtPathPayload, UpdateNodeAtPathPayload, SetAndCommitPayload, RequestUploadUrlPayload, ProvisionBucketPayload, FreezeObjectsPayloadSelect, InitEmptyRepoPayloadSelect, RemoveNodeAtPathPayloadSelect, SetDataAtPathPayloadSelect, SetPropsAndCommitPayloadSelect, InsertNodeAtPathPayloadSelect, UpdateNodeAtPathPayloadSelect, SetAndCommitPayloadSelect, RequestUploadUrlPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types';
|
|
10
10
|
export interface FreezeObjectsVariables {
|
|
11
11
|
input: FreezeObjectsInput;
|
|
12
12
|
}
|
|
@@ -41,15 +41,6 @@ existing file ID and deduplicated=true with no uploadUrl.
|
|
|
41
41
|
export interface RequestUploadUrlVariables {
|
|
42
42
|
input: RequestUploadUrlInput;
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* Variables for confirmUpload
|
|
46
|
-
* Confirm that a file has been uploaded to S3.
|
|
47
|
-
Verifies the object exists in S3, checks content-type,
|
|
48
|
-
and transitions the file status from 'pending' to 'ready'.
|
|
49
|
-
*/
|
|
50
|
-
export interface ConfirmUploadVariables {
|
|
51
|
-
input: ConfirmUploadInput;
|
|
52
|
-
}
|
|
53
44
|
/**
|
|
54
45
|
* Variables for provisionBucket
|
|
55
46
|
* Provision an S3 bucket for a logical bucket in the database.
|
|
@@ -106,11 +97,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
106
97
|
} & StrictSelect<S, RequestUploadUrlPayloadSelect>) => QueryBuilder<{
|
|
107
98
|
requestUploadUrl: InferSelectResult<RequestUploadUrlPayload, S> | null;
|
|
108
99
|
}>;
|
|
109
|
-
confirmUpload: <S extends ConfirmUploadPayloadSelect>(args: ConfirmUploadVariables, options: {
|
|
110
|
-
select: S;
|
|
111
|
-
} & StrictSelect<S, ConfirmUploadPayloadSelect>) => QueryBuilder<{
|
|
112
|
-
confirmUpload: InferSelectResult<ConfirmUploadPayload, S> | null;
|
|
113
|
-
}>;
|
|
114
100
|
provisionBucket: <S extends ProvisionBucketPayloadSelect>(args: ProvisionBucketVariables, options: {
|
|
115
101
|
select: S;
|
|
116
102
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
@@ -113,18 +113,6 @@ function createMutationOperations(client) {
|
|
|
113
113
|
},
|
|
114
114
|
], input_types_1.connectionFieldsMap, 'RequestUploadUrlPayload'),
|
|
115
115
|
}),
|
|
116
|
-
confirmUpload: (args, options) => new query_builder_1.QueryBuilder({
|
|
117
|
-
client,
|
|
118
|
-
operation: 'mutation',
|
|
119
|
-
operationName: 'ConfirmUpload',
|
|
120
|
-
fieldName: 'confirmUpload',
|
|
121
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ConfirmUpload', 'confirmUpload', options.select, args, [
|
|
122
|
-
{
|
|
123
|
-
name: 'input',
|
|
124
|
-
type: 'ConfirmUploadInput!',
|
|
125
|
-
},
|
|
126
|
-
], input_types_1.connectionFieldsMap, 'ConfirmUploadPayload'),
|
|
127
|
-
}),
|
|
128
116
|
provisionBucket: (args, options) => new query_builder_1.QueryBuilder({
|
|
129
117
|
client,
|
|
130
118
|
operation: 'mutation',
|
|
@@ -354,10 +354,6 @@ export interface RequestUploadUrlInput {
|
|
|
354
354
|
/** Original filename (optional, for display and Content-Disposition) */
|
|
355
355
|
filename?: string;
|
|
356
356
|
}
|
|
357
|
-
export interface ConfirmUploadInput {
|
|
358
|
-
/** The file ID returned by requestUploadUrl */
|
|
359
|
-
fileId: string;
|
|
360
|
-
}
|
|
361
357
|
export interface ProvisionBucketInput {
|
|
362
358
|
/** The logical bucket key (e.g., "public", "private") */
|
|
363
359
|
bucketKey: string;
|
|
@@ -519,16 +515,6 @@ export interface RequestUploadUrlPayload {
|
|
|
519
515
|
deduplicated: boolean;
|
|
520
516
|
/** Presigned URL expiry time (null if deduplicated) */
|
|
521
517
|
expiresAt?: string | null;
|
|
522
|
-
/** File status — 'pending' for fresh uploads, 'ready' or 'processed' for deduplicated files. Clients can use this to know immediately whether the file is usable. */
|
|
523
|
-
status: string;
|
|
524
|
-
}
|
|
525
|
-
export interface ConfirmUploadPayload {
|
|
526
|
-
/** The confirmed file ID */
|
|
527
|
-
fileId: string;
|
|
528
|
-
/** New file status */
|
|
529
|
-
status: string;
|
|
530
|
-
/** Whether confirmation succeeded */
|
|
531
|
-
success: boolean;
|
|
532
518
|
}
|
|
533
519
|
export interface ProvisionBucketPayload {
|
|
534
520
|
/** Whether provisioning succeeded */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive React - Auto-generated React Query hooks and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@0no-co/graphql.web": "^1.1.2",
|
|
45
|
-
"@constructive-io/graphql-query": "^3.17.
|
|
45
|
+
"@constructive-io/graphql-query": "^3.17.4",
|
|
46
46
|
"@constructive-io/graphql-types": "^3.5.1",
|
|
47
47
|
"@tanstack/react-query": "^5.90.21",
|
|
48
48
|
"gql-ast": "^3.5.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"react": "^18.0.0 || ^19.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@constructive-io/graphql-codegen": "^4.34.
|
|
55
|
+
"@constructive-io/graphql-codegen": "^4.34.4",
|
|
56
56
|
"@types/node": "^22.19.11",
|
|
57
57
|
"@types/react": "^19.2.14",
|
|
58
58
|
"makage": "^0.3.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"tsx": "^4.19.0",
|
|
61
61
|
"typescript": "^5.9.3"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "37b54b83a93b12743ef84507086cdcb935357678"
|
|
64
64
|
}
|
package/public/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord,
|
|
5
|
+
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, OrgLimitAggregate, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AgentThread, AgentMessage, AgentTask, RoleType, IdentityProvider, Ref, Store, AppPermissionDefault, MembershipType, MigrateFile, DevicesModule, NodeTypeRegistry, AppLimitDefault, OrgLimitDefault, UserConnectedAccount, Commit, RateLimitsModule, AppMembershipDefault, OrgMembershipDefault, AppLimitEvent, OrgLimitEvent, PlansModule, RlsModule, SqlAction, BillingModule, AstMigration, User, OrgMembershipSetting, AppMembership, HierarchyModule
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/public/hooks/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
* GraphQL SDK
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
*
|
|
21
|
-
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord,
|
|
21
|
+
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, AppPermission, OrgPermission, Object, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, OrgLimitAggregate, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AgentThread, AgentMessage, AgentTask, RoleType, IdentityProvider, Ref, Store, AppPermissionDefault, MembershipType, MigrateFile, DevicesModule, NodeTypeRegistry, AppLimitDefault, OrgLimitDefault, UserConnectedAccount, Commit, RateLimitsModule, AppMembershipDefault, OrgMembershipDefault, AppLimitEvent, OrgLimitEvent, PlansModule, RlsModule, SqlAction, BillingModule, AstMigration, User, OrgMembershipSetting, AppMembership, HierarchyModule
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|