@constructive-io/react 1.19.6 → 1.19.8
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/agent/orm/input-types.d.ts +4 -4
- package/agent/schema-types.d.ts +4 -4
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +1 -0
- package/api/hooks/mutations/index.js +1 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +34 -0
- package/api/hooks/queries/index.d.ts +2 -0
- package/api/hooks/queries/index.js +2 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.js +38 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +53 -0
- package/api/hooks/query-keys.d.ts +14 -0
- package/api/hooks/query-keys.js +10 -2
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/api/schema-types.d.ts +22 -21
- package/api/types.d.ts +7 -2
- package/auth/hooks/mutation-keys.d.ts +6 -2
- package/auth/hooks/mutation-keys.js +9 -3
- package/auth/hooks/mutations/index.d.ts +3 -1
- package/auth/hooks/mutations/index.js +3 -1
- package/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +5 -5
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +26 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.js +26 -0
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/auth/schema-types.d.ts +29 -10
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -0
- package/compute/hooks/invalidation.js +32 -0
- package/compute/hooks/mutation-keys.d.ts +28 -0
- package/compute/hooks/mutation-keys.js +26 -3
- package/compute/hooks/mutations/index.d.ts +8 -0
- package/compute/hooks/mutations/index.js +8 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +19 -3
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/compute/schema-types.d.ts +319 -1
- package/compute/types.d.ts +29 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/schema-types.d.ts +4 -4
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +1 -0
- package/esm/api/hooks/mutations/index.js +1 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +31 -0
- package/esm/api/hooks/queries/index.d.ts +2 -0
- package/esm/api/hooks/queries/index.js +2 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.js +32 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +47 -0
- package/esm/api/hooks/query-keys.d.ts +14 -0
- package/esm/api/hooks/query-keys.js +8 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/api/schema-types.d.ts +22 -21
- package/esm/api/types.d.ts +7 -2
- package/esm/auth/hooks/mutation-keys.d.ts +6 -2
- package/esm/auth/hooks/mutation-keys.js +9 -3
- package/esm/auth/hooks/mutations/index.d.ts +3 -1
- package/esm/auth/hooks/mutations/index.js +3 -1
- package/esm/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/auth/schema-types.d.ts +29 -10
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -0
- package/esm/compute/hooks/invalidation.js +33 -1
- package/esm/compute/hooks/mutation-keys.d.ts +28 -0
- package/esm/compute/hooks/mutation-keys.js +23 -0
- package/esm/compute/hooks/mutations/index.d.ts +8 -0
- package/esm/compute/hooks/mutations/index.js +8 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -0
- package/esm/compute/hooks/queries/index.js +4 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +16 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/compute/schema-types.d.ts +319 -1
- package/esm/compute/types.d.ts +29 -0
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/modules/schema-types.d.ts +17 -33
- package/esm/modules/types.d.ts +3 -5
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/esm/remote/schema-types.d.ts +8 -1
- package/esm/remote/types.d.ts +1 -0
- package/modules/orm/input-types.d.ts +26 -48
- package/modules/schema-types.d.ts +17 -33
- package/modules/types.d.ts +3 -5
- package/package.json +5 -5
- package/remote/orm/input-types.d.ts +13 -1
- package/remote/schema-types.d.ts +8 -1
- package/remote/types.d.ts +1 -0
- package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import type { Build, BuildStep, BuilderBinding, ContentPreset, DatabaseFunctionGraph, DatabaseFunctionGraphExecution, DatabaseFunctionGraphExecutionNodeState, DatabaseFunctionGraphExecutionOutput, DatabaseGraphCommit, DatabaseGraphGetAllTreeNodesRecord, DatabaseGraphObject, DatabaseGraphRef, DatabaseGraphStore, DbPreset, FunctionApiBinding, FunctionCapabilityBinding, FunctionDefinition, FunctionDeployment, FunctionDeploymentEvent, FunctionExecutionLog, FunctionGraph, FunctionGraphCommit, FunctionGraphExecution, FunctionGraphExecutionNodeState, FunctionGraphExecutionOutput, FunctionGraphObject, FunctionGraphRef, FunctionGraphStore, FunctionInvocation, FunctionInvocationAttempt, GetAllTreeNodesRecord, Image, ImageGrant, InfraCommit, InfraGetAllTreeNodesRecord, InfraObject, InfraRef, InfraStore, IntegrationProvider, Namespace, NamespaceEvent, PlatformBuild, PlatformBuildStep, PlatformBuilderBinding, PlatformFunctionApiBinding, PlatformFunctionCapabilityBinding, PlatformFunctionDefinition, PlatformFunctionDeployment, PlatformFunctionDeploymentEvent, PlatformFunctionExecutionLog, PlatformFunctionInvocation, PlatformFunctionInvocationAttempt, PlatformImage, PlatformImageGrant, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformK8sResourceKind, PlatformK8sSpecRule, PlatformNamespace, PlatformNamespaceEvent, PlatformProposal, PlatformProposalComment, PlatformProposalFileView, PlatformProposalReaction, PlatformProposalReview, PlatformProposalsChunk, PlatformRegistry, PlatformRegistryBinding, PlatformRegistryGrant, PlatformRepository, PlatformRepositoryEvent, PlatformRepositoryRequiredCheck, PlatformRepositoryWorkflow, PlatformResource, PlatformResourceDeclaredCapacity, PlatformResourceDefinition, PlatformResourceEvent, PlatformResourceInstallation, PlatformResourceObservedStorage, PlatformResourceStatusCheck, PlatformResourceUsageLog, PlatformResourceUsageSummary, PlatformResourceUtilization, PlatformResourcesHealth, PlatformResourcesRequirementsState, PlatformResourcesResolvedRequirement, PlatformWebhookEndpoint, PlatformWebhookEvent, Proposal, ProposalComment, ProposalFileView, ProposalReaction, ProposalReview, ProposalsChunk, Registry, RegistryBinding, RegistryGrant, Repository, RepositoryEvent, RepositoryRequiredCheck, RepositoryWorkflow, Resource, ResourceDeclaredCapacity, ResourceDefinition, ResourceEvent, ResourceInstallation, ResourceObservedStorage, ResourceStatusCheck, ResourceUsageLog, ResourceUsageSummary, ResourceUtilization, ResourcesHealth, ResourcesRequirementsState, ResourcesResolvedRequirement, WebhookEndpoint, WebhookEvent, BigFloatFilter, BigIntFilter, BooleanFilter, DateFilter, DatetimeFilter, FullTextFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter, VectorFilter } from './types';
|
|
6
|
+
import type { Build, BuildStep, BuilderBinding, ContentPreset, DatabaseFunctionGraph, DatabaseFunctionGraphExecution, DatabaseFunctionGraphExecutionNodeState, DatabaseFunctionGraphExecutionOutput, DatabaseGraphCommit, DatabaseGraphGetAllTreeNodesRecord, DatabaseGraphObject, DatabaseGraphRef, DatabaseGraphStore, DbPreset, FunctionApiBinding, FunctionCapabilityBinding, FunctionDefinition, FunctionDeployment, FunctionDeploymentEvent, FunctionExecutionLog, FunctionGraph, FunctionGraphCommit, FunctionGraphExecution, FunctionGraphExecutionNodeState, FunctionGraphExecutionOutput, FunctionGraphObject, FunctionGraphRef, FunctionGraphStore, FunctionInvocation, FunctionInvocationAttempt, FunctionSchedule, GetAllTreeNodesRecord, Image, ImageGrant, InfraCommit, InfraGetAllTreeNodesRecord, InfraObject, InfraRef, InfraStore, IntegrationProvider, Namespace, NamespaceEvent, PlatformBuild, PlatformBuildStep, PlatformBuilderBinding, PlatformFunctionApiBinding, PlatformFunctionCapabilityBinding, PlatformFunctionDefinition, PlatformFunctionDeployment, PlatformFunctionDeploymentEvent, PlatformFunctionExecutionLog, PlatformFunctionInvocation, PlatformFunctionInvocationAttempt, PlatformFunctionSchedule, PlatformImage, PlatformImageGrant, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformK8sResourceKind, PlatformK8sSpecRule, PlatformNamespace, PlatformNamespaceEvent, PlatformProposal, PlatformProposalComment, PlatformProposalFileView, PlatformProposalReaction, PlatformProposalReview, PlatformProposalsChunk, PlatformRegistry, PlatformRegistryBinding, PlatformRegistryGrant, PlatformRepository, PlatformRepositoryEvent, PlatformRepositoryRequiredCheck, PlatformRepositoryWorkflow, PlatformResource, PlatformResourceDeclaredCapacity, PlatformResourceDefinition, PlatformResourceEvent, PlatformResourceInstallation, PlatformResourceObservedStorage, PlatformResourceStatusCheck, PlatformResourceUsageLog, PlatformResourceUsageSummary, PlatformResourceUtilization, PlatformResourcesHealth, PlatformResourcesRequirementsState, PlatformResourcesResolvedRequirement, PlatformWebhookEndpoint, PlatformWebhookEvent, Proposal, ProposalComment, ProposalFileView, ProposalReaction, ProposalReview, ProposalsChunk, Registry, RegistryBinding, RegistryGrant, Repository, RepositoryEvent, RepositoryRequiredCheck, RepositoryWorkflow, Resource, ResourceDeclaredCapacity, ResourceDefinition, ResourceEvent, ResourceInstallation, ResourceObservedStorage, ResourceStatusCheck, ResourceUsageLog, ResourceUsageSummary, ResourceUtilization, ResourcesHealth, ResourcesRequirementsState, ResourcesResolvedRequirement, WebhookEndpoint, WebhookEvent, BigFloatFilter, BigIntFilter, BooleanFilter, DateFilter, DatetimeFilter, FullTextFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter, VectorFilter } from './types';
|
|
7
7
|
export type Base64EncodedBinary = unknown;
|
|
8
8
|
export type ConstructiveInternalTypeImage = unknown;
|
|
9
9
|
export type ConstructiveInternalTypeUpload = unknown;
|
|
@@ -65,6 +65,8 @@ export type FunctionGraphStoreOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | '
|
|
|
65
65
|
export type FunctionInvocationAttemptOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ERROR_DETAIL_ASC' | 'ERROR_DETAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_CREATED_AT_ASC' | 'INVOCATION_CREATED_AT_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
|
|
66
66
|
/** Methods to use when ordering `FunctionInvocation`. */
|
|
67
67
|
export type FunctionInvocationOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'API_BINDING_ID_ASC' | 'API_BINDING_ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFINITION_SCOPE_ASC' | 'DEFINITION_SCOPE_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'PROVENANCE_ASC' | 'PROVENANCE_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
|
|
68
|
+
/** Methods to use when ordering `FunctionSchedule`. */
|
|
69
|
+
export type FunctionScheduleOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEDULE_INFO_ASC' | 'SCHEDULE_INFO_DESC' | 'SUSPENDED_AT_ASC' | 'SUSPENDED_AT_DESC' | 'SUSPENDED_REASON_ASC' | 'SUSPENDED_REASON_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
68
70
|
/** Methods to use when ordering `ImageGrant`. */
|
|
69
71
|
export type ImageGrantOrderBy = 'ACTIONS_ASC' | 'ACTIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'GRANTED_BY_ASC' | 'GRANTED_BY_DESC' | 'GRANTEE_KEY_ASC' | 'GRANTEE_KEY_DESC' | 'GRANTEE_SCOPE_ASC' | 'GRANTEE_SCOPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ID_ASC' | 'IMAGE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
70
72
|
/** Methods to use when ordering `Image`. */
|
|
@@ -105,6 +107,8 @@ export type PlatformFunctionExecutionLogOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DES
|
|
|
105
107
|
export type PlatformFunctionInvocationAttemptOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ERROR_DETAIL_ASC' | 'ERROR_DETAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_CREATED_AT_ASC' | 'INVOCATION_CREATED_AT_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
|
|
106
108
|
/** Methods to use when ordering `PlatformFunctionInvocation`. */
|
|
107
109
|
export type PlatformFunctionInvocationOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'API_BINDING_ID_ASC' | 'API_BINDING_ID_DESC' | 'CHANNEL_ASC' | 'CHANNEL_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFINITION_SCOPE_ASC' | 'DEFINITION_SCOPE_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENTITY_TYPE_ASC' | 'ENTITY_TYPE_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'NATURAL' | 'ORGANIZATION_ID_ASC' | 'ORGANIZATION_ID_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'PROVENANCE_ASC' | 'PROVENANCE_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC';
|
|
110
|
+
/** Methods to use when ordering `PlatformFunctionSchedule`. */
|
|
111
|
+
export type PlatformFunctionScheduleOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEDULE_INFO_ASC' | 'SCHEDULE_INFO_DESC' | 'SUSPENDED_AT_ASC' | 'SUSPENDED_AT_DESC' | 'SUSPENDED_REASON_ASC' | 'SUSPENDED_REASON_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
108
112
|
/** Methods to use when ordering `PlatformImageGrant`. */
|
|
109
113
|
export type PlatformImageGrantOrderBy = 'ACTIONS_ASC' | 'ACTIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'GRANTED_BY_ASC' | 'GRANTED_BY_DESC' | 'GRANTEE_KEY_ASC' | 'GRANTEE_KEY_DESC' | 'GRANTEE_SCOPE_ASC' | 'GRANTEE_SCOPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IMAGE_ID_ASC' | 'IMAGE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
|
|
110
114
|
/** Methods to use when ordering `PlatformImage`. */
|
|
@@ -1002,6 +1006,11 @@ export interface CreateFunctionInvocationInput {
|
|
|
1002
1006
|
/** The `FunctionInvocation` to be created by this mutation. */
|
|
1003
1007
|
functionInvocation: FunctionInvocationInput;
|
|
1004
1008
|
}
|
|
1009
|
+
export interface CreateFunctionScheduleInput {
|
|
1010
|
+
clientMutationId?: string;
|
|
1011
|
+
/** The `FunctionSchedule` to be created by this mutation. */
|
|
1012
|
+
functionSchedule: FunctionScheduleInput;
|
|
1013
|
+
}
|
|
1005
1014
|
export interface CreateImageGrantInput {
|
|
1006
1015
|
clientMutationId?: string;
|
|
1007
1016
|
/** The `ImageGrant` to be created by this mutation. */
|
|
@@ -1102,6 +1111,11 @@ export interface CreatePlatformFunctionInvocationInput {
|
|
|
1102
1111
|
/** The `PlatformFunctionInvocation` to be created by this mutation. */
|
|
1103
1112
|
platformFunctionInvocation: PlatformFunctionInvocationInput;
|
|
1104
1113
|
}
|
|
1114
|
+
export interface CreatePlatformFunctionScheduleInput {
|
|
1115
|
+
clientMutationId?: string;
|
|
1116
|
+
/** The `PlatformFunctionSchedule` to be created by this mutation. */
|
|
1117
|
+
platformFunctionSchedule: PlatformFunctionScheduleInput;
|
|
1118
|
+
}
|
|
1105
1119
|
export interface CreatePlatformImageGrantInput {
|
|
1106
1120
|
clientMutationId?: string;
|
|
1107
1121
|
/** The `PlatformImageGrant` to be created by this mutation. */
|
|
@@ -2481,6 +2495,10 @@ export interface DeleteFunctionInvocationInput {
|
|
|
2481
2495
|
/** Unique invocation identifier */
|
|
2482
2496
|
id: string;
|
|
2483
2497
|
}
|
|
2498
|
+
export interface DeleteFunctionScheduleInput {
|
|
2499
|
+
clientMutationId?: string;
|
|
2500
|
+
id: string;
|
|
2501
|
+
}
|
|
2484
2502
|
export interface DeleteImageGrantInput {
|
|
2485
2503
|
clientMutationId?: string;
|
|
2486
2504
|
id: string;
|
|
@@ -2589,6 +2607,10 @@ export interface DeletePlatformFunctionInvocationInput {
|
|
|
2589
2607
|
/** Unique invocation identifier */
|
|
2590
2608
|
id: string;
|
|
2591
2609
|
}
|
|
2610
|
+
export interface DeletePlatformFunctionScheduleInput {
|
|
2611
|
+
clientMutationId?: string;
|
|
2612
|
+
id: string;
|
|
2613
|
+
}
|
|
2592
2614
|
export interface DeletePlatformImageGrantInput {
|
|
2593
2615
|
clientMutationId?: string;
|
|
2594
2616
|
id: string;
|
|
@@ -3015,6 +3037,10 @@ export interface FunctionDefinitionFilter {
|
|
|
3015
3037
|
functionCapabilityBindingsByFunctionIdExist?: boolean;
|
|
3016
3038
|
/** Filter by the object’s `functionColumns` field. */
|
|
3017
3039
|
functionColumns?: JSONFilter;
|
|
3040
|
+
/** Filter by the object’s `functionSchedules` relation. */
|
|
3041
|
+
functionSchedules?: FunctionDefinitionToManyFunctionScheduleFilter;
|
|
3042
|
+
/** `functionSchedules` exist. */
|
|
3043
|
+
functionSchedulesExist?: boolean;
|
|
3018
3044
|
/** Filter by the object’s `graph` relation. */
|
|
3019
3045
|
graph?: DatabaseFunctionGraphFilter;
|
|
3020
3046
|
/** A related `graph` exists. */
|
|
@@ -3282,6 +3308,15 @@ export interface FunctionDefinitionToManyFunctionCapabilityBindingFilter {
|
|
|
3282
3308
|
/** Filters to entities where at least one related entity matches. */
|
|
3283
3309
|
some?: FunctionCapabilityBindingFilter;
|
|
3284
3310
|
}
|
|
3311
|
+
/** A filter to be used against many `FunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
|
|
3312
|
+
export interface FunctionDefinitionToManyFunctionScheduleFilter {
|
|
3313
|
+
/** Filters to entities where every related entity matches. */
|
|
3314
|
+
every?: FunctionScheduleFilter;
|
|
3315
|
+
/** Filters to entities where no related entity matches. */
|
|
3316
|
+
none?: FunctionScheduleFilter;
|
|
3317
|
+
/** Filters to entities where at least one related entity matches. */
|
|
3318
|
+
some?: FunctionScheduleFilter;
|
|
3319
|
+
}
|
|
3285
3320
|
/** A filter to be used against many `WebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
|
|
3286
3321
|
export interface FunctionDefinitionToManyWebhookEndpointFilter {
|
|
3287
3322
|
/** Filters to entities where every related entity matches. */
|
|
@@ -3580,6 +3615,15 @@ export interface FunctionExecutionLogPatch {
|
|
|
3580
3615
|
/** Function routing key (NULL for generic job logs) */
|
|
3581
3616
|
taskIdentifier?: string;
|
|
3582
3617
|
}
|
|
3618
|
+
export interface FunctionExecutionLogsAppendInput {
|
|
3619
|
+
clientMutationId?: string;
|
|
3620
|
+
createdAt?: string;
|
|
3621
|
+
invocationId?: string;
|
|
3622
|
+
logLevel?: string;
|
|
3623
|
+
message?: string;
|
|
3624
|
+
metadata?: unknown;
|
|
3625
|
+
taskIdentifier?: string;
|
|
3626
|
+
}
|
|
3583
3627
|
/** A filter to be used against `FunctionGraphCommit` object types. All fields are combined with a logical ‘and.’ */
|
|
3584
3628
|
export interface FunctionGraphCommitFilter {
|
|
3585
3629
|
/** Checks for all expressions in this list. */
|
|
@@ -4554,6 +4598,95 @@ export interface FunctionInvocationsCreateSyncInput {
|
|
|
4554
4598
|
routeBindingId?: string;
|
|
4555
4599
|
taskIdentifier?: string;
|
|
4556
4600
|
}
|
|
4601
|
+
/** A filter to be used against `FunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
|
|
4602
|
+
export interface FunctionScheduleFilter {
|
|
4603
|
+
/** Filter by the object’s `actorId` field. */
|
|
4604
|
+
actorId?: UUIDFilter;
|
|
4605
|
+
/** Checks for all expressions in this list. */
|
|
4606
|
+
and?: FunctionScheduleFilter[];
|
|
4607
|
+
/** Filter by the object’s `createdAt` field. */
|
|
4608
|
+
createdAt?: DatetimeFilter;
|
|
4609
|
+
/** Filter by the object’s `databaseId` field. */
|
|
4610
|
+
databaseId?: UUIDFilter;
|
|
4611
|
+
/** Filter by the object’s `description` field. */
|
|
4612
|
+
description?: StringFilter;
|
|
4613
|
+
/** Filter by the object’s `functionDefinition` relation. */
|
|
4614
|
+
functionDefinition?: FunctionDefinitionFilter;
|
|
4615
|
+
/** Filter by the object’s `functionDefinitionId` field. */
|
|
4616
|
+
functionDefinitionId?: UUIDFilter;
|
|
4617
|
+
/** Filter by the object’s `id` field. */
|
|
4618
|
+
id?: UUIDFilter;
|
|
4619
|
+
/** Filter by the object’s `isActive` field. */
|
|
4620
|
+
isActive?: BooleanFilter;
|
|
4621
|
+
/** Filter by the object’s `name` field. */
|
|
4622
|
+
name?: StringFilter;
|
|
4623
|
+
/** Negates the expression. */
|
|
4624
|
+
not?: FunctionScheduleFilter;
|
|
4625
|
+
/** Checks for any expressions in this list. */
|
|
4626
|
+
or?: FunctionScheduleFilter[];
|
|
4627
|
+
/** Filter by the object’s `payload` field. */
|
|
4628
|
+
payload?: JSONFilter;
|
|
4629
|
+
/** Filter by the object’s `scheduleInfo` field. */
|
|
4630
|
+
scheduleInfo?: JSONFilter;
|
|
4631
|
+
/** Filter by the object’s `suspendedAt` field. */
|
|
4632
|
+
suspendedAt?: DatetimeFilter;
|
|
4633
|
+
/** Filter by the object’s `suspendedReason` field. */
|
|
4634
|
+
suspendedReason?: StringFilter;
|
|
4635
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
4636
|
+
updatedAt?: DatetimeFilter;
|
|
4637
|
+
}
|
|
4638
|
+
/** An input for mutations affecting `FunctionSchedule` */
|
|
4639
|
+
export interface FunctionScheduleInput {
|
|
4640
|
+
/** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
|
|
4641
|
+
actorId?: string;
|
|
4642
|
+
createdAt?: string;
|
|
4643
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
4644
|
+
databaseId: string;
|
|
4645
|
+
/** Human-readable description of what this schedule does */
|
|
4646
|
+
description?: string;
|
|
4647
|
+
/** Function definition this schedule invokes */
|
|
4648
|
+
functionDefinitionId: string;
|
|
4649
|
+
id?: string;
|
|
4650
|
+
/** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
|
|
4651
|
+
isActive?: boolean;
|
|
4652
|
+
/** Human-readable schedule name */
|
|
4653
|
+
name: string;
|
|
4654
|
+
/** Job payload passed to the function on each scheduled firing */
|
|
4655
|
+
payload?: unknown;
|
|
4656
|
+
/** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
|
|
4657
|
+
scheduleInfo: unknown;
|
|
4658
|
+
/** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
|
|
4659
|
+
suspendedAt?: string;
|
|
4660
|
+
/** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
|
|
4661
|
+
suspendedReason?: string;
|
|
4662
|
+
updatedAt?: string;
|
|
4663
|
+
}
|
|
4664
|
+
/** Represents an update to a `FunctionSchedule`. Fields that are set will be updated. */
|
|
4665
|
+
export interface FunctionSchedulePatch {
|
|
4666
|
+
/** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
|
|
4667
|
+
actorId?: string;
|
|
4668
|
+
createdAt?: string;
|
|
4669
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
4670
|
+
databaseId?: string;
|
|
4671
|
+
/** Human-readable description of what this schedule does */
|
|
4672
|
+
description?: string;
|
|
4673
|
+
/** Function definition this schedule invokes */
|
|
4674
|
+
functionDefinitionId?: string;
|
|
4675
|
+
id?: string;
|
|
4676
|
+
/** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
|
|
4677
|
+
isActive?: boolean;
|
|
4678
|
+
/** Human-readable schedule name */
|
|
4679
|
+
name?: string;
|
|
4680
|
+
/** Job payload passed to the function on each scheduled firing */
|
|
4681
|
+
payload?: unknown;
|
|
4682
|
+
/** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
|
|
4683
|
+
scheduleInfo?: unknown;
|
|
4684
|
+
/** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
|
|
4685
|
+
suspendedAt?: string;
|
|
4686
|
+
/** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
|
|
4687
|
+
suspendedReason?: string;
|
|
4688
|
+
updatedAt?: string;
|
|
4689
|
+
}
|
|
4557
4690
|
/** A filter to be used against `Image` object types. All fields are combined with a logical ‘and.’ */
|
|
4558
4691
|
export interface ImageFilter {
|
|
4559
4692
|
/** Checks for all expressions in this list. */
|
|
@@ -5984,6 +6117,10 @@ export interface PlatformFunctionDefinitionFilter {
|
|
|
5984
6117
|
platformFunctionCapabilityBindingsByFunctionId?: PlatformFunctionDefinitionToManyPlatformFunctionCapabilityBindingFilter;
|
|
5985
6118
|
/** `platformFunctionCapabilityBindingsByFunctionId` exist. */
|
|
5986
6119
|
platformFunctionCapabilityBindingsByFunctionIdExist?: boolean;
|
|
6120
|
+
/** Filter by the object’s `platformFunctionSchedulesByFunctionDefinitionId` relation. */
|
|
6121
|
+
platformFunctionSchedulesByFunctionDefinitionId?: PlatformFunctionDefinitionToManyPlatformFunctionScheduleFilter;
|
|
6122
|
+
/** `platformFunctionSchedulesByFunctionDefinitionId` exist. */
|
|
6123
|
+
platformFunctionSchedulesByFunctionDefinitionIdExist?: boolean;
|
|
5987
6124
|
/** Filter by the object’s `platformWebhookEndpointsByFunctionDefinitionId` relation. */
|
|
5988
6125
|
platformWebhookEndpointsByFunctionDefinitionId?: PlatformFunctionDefinitionToManyPlatformWebhookEndpointFilter;
|
|
5989
6126
|
/** `platformWebhookEndpointsByFunctionDefinitionId` exist. */
|
|
@@ -6221,6 +6358,15 @@ export interface PlatformFunctionDefinitionToManyPlatformFunctionCapabilityBindi
|
|
|
6221
6358
|
/** Filters to entities where at least one related entity matches. */
|
|
6222
6359
|
some?: PlatformFunctionCapabilityBindingFilter;
|
|
6223
6360
|
}
|
|
6361
|
+
/** A filter to be used against many `PlatformFunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
|
|
6362
|
+
export interface PlatformFunctionDefinitionToManyPlatformFunctionScheduleFilter {
|
|
6363
|
+
/** Filters to entities where every related entity matches. */
|
|
6364
|
+
every?: PlatformFunctionScheduleFilter;
|
|
6365
|
+
/** Filters to entities where no related entity matches. */
|
|
6366
|
+
none?: PlatformFunctionScheduleFilter;
|
|
6367
|
+
/** Filters to entities where at least one related entity matches. */
|
|
6368
|
+
some?: PlatformFunctionScheduleFilter;
|
|
6369
|
+
}
|
|
6224
6370
|
/** A filter to be used against many `PlatformWebhookEndpoint` object types. All fields are combined with a logical ‘and.’ */
|
|
6225
6371
|
export interface PlatformFunctionDefinitionToManyPlatformWebhookEndpointFilter {
|
|
6226
6372
|
/** Filters to entities where every related entity matches. */
|
|
@@ -6501,6 +6647,15 @@ export interface PlatformFunctionExecutionLogPatch {
|
|
|
6501
6647
|
/** Function routing key (NULL for generic job logs) */
|
|
6502
6648
|
taskIdentifier?: string;
|
|
6503
6649
|
}
|
|
6650
|
+
export interface PlatformFunctionExecutionLogsAppendInput {
|
|
6651
|
+
clientMutationId?: string;
|
|
6652
|
+
createdAt?: string;
|
|
6653
|
+
invocationId?: string;
|
|
6654
|
+
logLevel?: string;
|
|
6655
|
+
message?: string;
|
|
6656
|
+
metadata?: unknown;
|
|
6657
|
+
taskIdentifier?: string;
|
|
6658
|
+
}
|
|
6504
6659
|
/** A filter to be used against `PlatformFunctionInvocationAttempt` object types. All fields are combined with a logical ‘and.’ */
|
|
6505
6660
|
export interface PlatformFunctionInvocationAttemptFilter {
|
|
6506
6661
|
/** Filter by the object’s `actorId` field. */
|
|
@@ -6765,6 +6920,89 @@ export interface PlatformFunctionInvocationsCreateSyncInput {
|
|
|
6765
6920
|
routeBindingId?: string;
|
|
6766
6921
|
taskIdentifier?: string;
|
|
6767
6922
|
}
|
|
6923
|
+
/** A filter to be used against `PlatformFunctionSchedule` object types. All fields are combined with a logical ‘and.’ */
|
|
6924
|
+
export interface PlatformFunctionScheduleFilter {
|
|
6925
|
+
/** Filter by the object’s `actorId` field. */
|
|
6926
|
+
actorId?: UUIDFilter;
|
|
6927
|
+
/** Checks for all expressions in this list. */
|
|
6928
|
+
and?: PlatformFunctionScheduleFilter[];
|
|
6929
|
+
/** Filter by the object’s `createdAt` field. */
|
|
6930
|
+
createdAt?: DatetimeFilter;
|
|
6931
|
+
/** Filter by the object’s `description` field. */
|
|
6932
|
+
description?: StringFilter;
|
|
6933
|
+
/** Filter by the object’s `functionDefinition` relation. */
|
|
6934
|
+
functionDefinition?: PlatformFunctionDefinitionFilter;
|
|
6935
|
+
/** Filter by the object’s `functionDefinitionId` field. */
|
|
6936
|
+
functionDefinitionId?: UUIDFilter;
|
|
6937
|
+
/** Filter by the object’s `id` field. */
|
|
6938
|
+
id?: UUIDFilter;
|
|
6939
|
+
/** Filter by the object’s `isActive` field. */
|
|
6940
|
+
isActive?: BooleanFilter;
|
|
6941
|
+
/** Filter by the object’s `name` field. */
|
|
6942
|
+
name?: StringFilter;
|
|
6943
|
+
/** Negates the expression. */
|
|
6944
|
+
not?: PlatformFunctionScheduleFilter;
|
|
6945
|
+
/** Checks for any expressions in this list. */
|
|
6946
|
+
or?: PlatformFunctionScheduleFilter[];
|
|
6947
|
+
/** Filter by the object’s `payload` field. */
|
|
6948
|
+
payload?: JSONFilter;
|
|
6949
|
+
/** Filter by the object’s `scheduleInfo` field. */
|
|
6950
|
+
scheduleInfo?: JSONFilter;
|
|
6951
|
+
/** Filter by the object’s `suspendedAt` field. */
|
|
6952
|
+
suspendedAt?: DatetimeFilter;
|
|
6953
|
+
/** Filter by the object’s `suspendedReason` field. */
|
|
6954
|
+
suspendedReason?: StringFilter;
|
|
6955
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
6956
|
+
updatedAt?: DatetimeFilter;
|
|
6957
|
+
}
|
|
6958
|
+
/** An input for mutations affecting `PlatformFunctionSchedule` */
|
|
6959
|
+
export interface PlatformFunctionScheduleInput {
|
|
6960
|
+
/** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
|
|
6961
|
+
actorId?: string;
|
|
6962
|
+
createdAt?: string;
|
|
6963
|
+
/** Human-readable description of what this schedule does */
|
|
6964
|
+
description?: string;
|
|
6965
|
+
/** Function definition this schedule invokes */
|
|
6966
|
+
functionDefinitionId: string;
|
|
6967
|
+
id?: string;
|
|
6968
|
+
/** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
|
|
6969
|
+
isActive?: boolean;
|
|
6970
|
+
/** Human-readable schedule name */
|
|
6971
|
+
name: string;
|
|
6972
|
+
/** Job payload passed to the function on each scheduled firing */
|
|
6973
|
+
payload?: unknown;
|
|
6974
|
+
/** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
|
|
6975
|
+
scheduleInfo: unknown;
|
|
6976
|
+
/** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
|
|
6977
|
+
suspendedAt?: string;
|
|
6978
|
+
/** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
|
|
6979
|
+
suspendedReason?: string;
|
|
6980
|
+
updatedAt?: string;
|
|
6981
|
+
}
|
|
6982
|
+
/** Represents an update to a `PlatformFunctionSchedule`. Fields that are set will be updated. */
|
|
6983
|
+
export interface PlatformFunctionSchedulePatch {
|
|
6984
|
+
/** User who created this schedule; every fire runs as them. Forced to current_user_id() on INSERT, immutable after. */
|
|
6985
|
+
actorId?: string;
|
|
6986
|
+
createdAt?: string;
|
|
6987
|
+
/** Human-readable description of what this schedule does */
|
|
6988
|
+
description?: string;
|
|
6989
|
+
/** Function definition this schedule invokes */
|
|
6990
|
+
functionDefinitionId?: string;
|
|
6991
|
+
id?: string;
|
|
6992
|
+
/** Whether this schedule is active. Deactivating removes the worker scheduler row; reactivating recreates it. */
|
|
6993
|
+
isActive?: boolean;
|
|
6994
|
+
/** Human-readable schedule name */
|
|
6995
|
+
name?: string;
|
|
6996
|
+
/** Job payload passed to the function on each scheduled firing */
|
|
6997
|
+
payload?: unknown;
|
|
6998
|
+
/** Cron spec — same shape app_jobs.scheduled_jobs uses: {"rule": "0 0 * * *"} or recurrence objects ({minute, hour, dayOfWeek, ...}) */
|
|
6999
|
+
scheduleInfo?: unknown;
|
|
7000
|
+
/** System suspension timestamp (circuit-breaker). While non-NULL the schedule is not effectively running (is_active AND suspended_at IS NULL) and its worker scheduler row is removed. System-only; never conflated with the user-facing is_active flag. */
|
|
7001
|
+
suspendedAt?: string;
|
|
7002
|
+
/** Reason the system suspended this schedule (e.g. quota_exceeded, limit_exceeded). NULL when not suspended. */
|
|
7003
|
+
suspendedReason?: string;
|
|
7004
|
+
updatedAt?: string;
|
|
7005
|
+
}
|
|
6768
7006
|
/** A filter to be used against `PlatformImage` object types. All fields are combined with a logical ‘and.’ */
|
|
6769
7007
|
export interface PlatformImageFilter {
|
|
6770
7008
|
/** Checks for all expressions in this list. */
|
|
@@ -13310,6 +13548,12 @@ export interface UpdateFunctionInvocationInput {
|
|
|
13310
13548
|
/** Unique invocation identifier */
|
|
13311
13549
|
id: string;
|
|
13312
13550
|
}
|
|
13551
|
+
export interface UpdateFunctionScheduleInput {
|
|
13552
|
+
clientMutationId?: string;
|
|
13553
|
+
/** An object where the defined keys will be set on the `FunctionSchedule` being updated. */
|
|
13554
|
+
functionSchedulePatch: FunctionSchedulePatch;
|
|
13555
|
+
id: string;
|
|
13556
|
+
}
|
|
13313
13557
|
export interface UpdateImageGrantInput {
|
|
13314
13558
|
clientMutationId?: string;
|
|
13315
13559
|
id: string;
|
|
@@ -13458,6 +13702,12 @@ export interface UpdatePlatformFunctionInvocationInput {
|
|
|
13458
13702
|
/** An object where the defined keys will be set on the `PlatformFunctionInvocation` being updated. */
|
|
13459
13703
|
platformFunctionInvocationPatch: PlatformFunctionInvocationPatch;
|
|
13460
13704
|
}
|
|
13705
|
+
export interface UpdatePlatformFunctionScheduleInput {
|
|
13706
|
+
clientMutationId?: string;
|
|
13707
|
+
id: string;
|
|
13708
|
+
/** An object where the defined keys will be set on the `PlatformFunctionSchedule` being updated. */
|
|
13709
|
+
platformFunctionSchedulePatch: PlatformFunctionSchedulePatch;
|
|
13710
|
+
}
|
|
13461
13711
|
export interface UpdatePlatformImageGrantInput {
|
|
13462
13712
|
clientMutationId?: string;
|
|
13463
13713
|
id: string;
|
|
@@ -14251,6 +14501,13 @@ export interface FunctionInvocationConnection {
|
|
|
14251
14501
|
pageInfo: PageInfo;
|
|
14252
14502
|
totalCount: number;
|
|
14253
14503
|
}
|
|
14504
|
+
/** A connection to a list of `FunctionSchedule` values. */
|
|
14505
|
+
export interface FunctionScheduleConnection {
|
|
14506
|
+
edges: FunctionScheduleEdge[];
|
|
14507
|
+
nodes: FunctionSchedule[];
|
|
14508
|
+
pageInfo: PageInfo;
|
|
14509
|
+
totalCount: number;
|
|
14510
|
+
}
|
|
14254
14511
|
/** A connection to a list of `GetAllTreeNodesRecord` values. */
|
|
14255
14512
|
export interface GetAllTreeNodesConnection {
|
|
14256
14513
|
edges: GetAllTreeNodesEdge[];
|
|
@@ -14405,6 +14662,13 @@ export interface PlatformFunctionInvocationConnection {
|
|
|
14405
14662
|
pageInfo: PageInfo;
|
|
14406
14663
|
totalCount: number;
|
|
14407
14664
|
}
|
|
14665
|
+
/** A connection to a list of `PlatformFunctionSchedule` values. */
|
|
14666
|
+
export interface PlatformFunctionScheduleConnection {
|
|
14667
|
+
edges: PlatformFunctionScheduleEdge[];
|
|
14668
|
+
nodes: PlatformFunctionSchedule[];
|
|
14669
|
+
pageInfo: PageInfo;
|
|
14670
|
+
totalCount: number;
|
|
14671
|
+
}
|
|
14408
14672
|
/** A connection to a list of `PlatformImageGrant` values. */
|
|
14409
14673
|
export interface PlatformImageGrantConnection {
|
|
14410
14674
|
edges: PlatformImageGrantEdge[];
|
|
@@ -15063,6 +15327,12 @@ export interface CreateFunctionInvocationAttemptPayload {
|
|
|
15063
15327
|
functionInvocationAttempt?: FunctionInvocationAttempt | null;
|
|
15064
15328
|
functionInvocationAttemptEdge?: FunctionInvocationAttemptEdge | null;
|
|
15065
15329
|
}
|
|
15330
|
+
export interface CreateFunctionSchedulePayload {
|
|
15331
|
+
clientMutationId?: string | null;
|
|
15332
|
+
/** The `FunctionSchedule` that was created by this mutation. */
|
|
15333
|
+
functionSchedule?: FunctionSchedule | null;
|
|
15334
|
+
functionScheduleEdge?: FunctionScheduleEdge | null;
|
|
15335
|
+
}
|
|
15066
15336
|
export interface CreateImagePayload {
|
|
15067
15337
|
clientMutationId?: string | null;
|
|
15068
15338
|
/** The `Image` that was created by this mutation. */
|
|
@@ -15183,6 +15453,12 @@ export interface CreatePlatformFunctionInvocationAttemptPayload {
|
|
|
15183
15453
|
platformFunctionInvocationAttempt?: PlatformFunctionInvocationAttempt | null;
|
|
15184
15454
|
platformFunctionInvocationAttemptEdge?: PlatformFunctionInvocationAttemptEdge | null;
|
|
15185
15455
|
}
|
|
15456
|
+
export interface CreatePlatformFunctionSchedulePayload {
|
|
15457
|
+
clientMutationId?: string | null;
|
|
15458
|
+
/** The `PlatformFunctionSchedule` that was created by this mutation. */
|
|
15459
|
+
platformFunctionSchedule?: PlatformFunctionSchedule | null;
|
|
15460
|
+
platformFunctionScheduleEdge?: PlatformFunctionScheduleEdge | null;
|
|
15461
|
+
}
|
|
15186
15462
|
export interface CreatePlatformImagePayload {
|
|
15187
15463
|
clientMutationId?: string | null;
|
|
15188
15464
|
/** The `PlatformImage` that was created by this mutation. */
|
|
@@ -15752,6 +16028,12 @@ export interface DeleteFunctionInvocationAttemptPayload {
|
|
|
15752
16028
|
functionInvocationAttempt?: FunctionInvocationAttempt | null;
|
|
15753
16029
|
functionInvocationAttemptEdge?: FunctionInvocationAttemptEdge | null;
|
|
15754
16030
|
}
|
|
16031
|
+
export interface DeleteFunctionSchedulePayload {
|
|
16032
|
+
clientMutationId?: string | null;
|
|
16033
|
+
/** The `FunctionSchedule` that was deleted by this mutation. */
|
|
16034
|
+
functionSchedule?: FunctionSchedule | null;
|
|
16035
|
+
functionScheduleEdge?: FunctionScheduleEdge | null;
|
|
16036
|
+
}
|
|
15755
16037
|
export interface DeleteImagePayload {
|
|
15756
16038
|
clientMutationId?: string | null;
|
|
15757
16039
|
/** The `Image` that was deleted by this mutation. */
|
|
@@ -15872,6 +16154,12 @@ export interface DeletePlatformFunctionInvocationAttemptPayload {
|
|
|
15872
16154
|
platformFunctionInvocationAttempt?: PlatformFunctionInvocationAttempt | null;
|
|
15873
16155
|
platformFunctionInvocationAttemptEdge?: PlatformFunctionInvocationAttemptEdge | null;
|
|
15874
16156
|
}
|
|
16157
|
+
export interface DeletePlatformFunctionSchedulePayload {
|
|
16158
|
+
clientMutationId?: string | null;
|
|
16159
|
+
/** The `PlatformFunctionSchedule` that was deleted by this mutation. */
|
|
16160
|
+
platformFunctionSchedule?: PlatformFunctionSchedule | null;
|
|
16161
|
+
platformFunctionScheduleEdge?: PlatformFunctionScheduleEdge | null;
|
|
16162
|
+
}
|
|
15875
16163
|
export interface DeletePlatformImagePayload {
|
|
15876
16164
|
clientMutationId?: string | null;
|
|
15877
16165
|
/** The `PlatformImage` that was deleted by this mutation. */
|
|
@@ -16196,6 +16484,9 @@ export interface DeleteWebhookEventPayload {
|
|
|
16196
16484
|
webhookEvent?: WebhookEvent | null;
|
|
16197
16485
|
webhookEventEdge?: WebhookEventEdge | null;
|
|
16198
16486
|
}
|
|
16487
|
+
export interface FunctionExecutionLogsAppendPayload {
|
|
16488
|
+
clientMutationId?: string | null;
|
|
16489
|
+
}
|
|
16199
16490
|
export interface FunctionInvocationsCreateSyncPayload {
|
|
16200
16491
|
clientMutationId?: string | null;
|
|
16201
16492
|
functionInvocationEdge?: FunctionInvocationEdge | null;
|
|
@@ -16244,6 +16535,9 @@ export interface InsertNodesAtPathsPayload {
|
|
|
16244
16535
|
clientMutationId?: string | null;
|
|
16245
16536
|
result?: string | null;
|
|
16246
16537
|
}
|
|
16538
|
+
export interface PlatformFunctionExecutionLogsAppendPayload {
|
|
16539
|
+
clientMutationId?: string | null;
|
|
16540
|
+
}
|
|
16247
16541
|
export interface PlatformFunctionInvocationsCreateSyncPayload {
|
|
16248
16542
|
clientMutationId?: string | null;
|
|
16249
16543
|
platformFunctionInvocationEdge?: PlatformFunctionInvocationEdge | null;
|
|
@@ -16505,6 +16799,12 @@ export interface UpdateFunctionInvocationAttemptPayload {
|
|
|
16505
16799
|
functionInvocationAttempt?: FunctionInvocationAttempt | null;
|
|
16506
16800
|
functionInvocationAttemptEdge?: FunctionInvocationAttemptEdge | null;
|
|
16507
16801
|
}
|
|
16802
|
+
export interface UpdateFunctionSchedulePayload {
|
|
16803
|
+
clientMutationId?: string | null;
|
|
16804
|
+
/** The `FunctionSchedule` that was updated by this mutation. */
|
|
16805
|
+
functionSchedule?: FunctionSchedule | null;
|
|
16806
|
+
functionScheduleEdge?: FunctionScheduleEdge | null;
|
|
16807
|
+
}
|
|
16508
16808
|
export interface UpdateImagePayload {
|
|
16509
16809
|
clientMutationId?: string | null;
|
|
16510
16810
|
/** The `Image` that was updated by this mutation. */
|
|
@@ -16625,6 +16925,12 @@ export interface UpdatePlatformFunctionInvocationAttemptPayload {
|
|
|
16625
16925
|
platformFunctionInvocationAttempt?: PlatformFunctionInvocationAttempt | null;
|
|
16626
16926
|
platformFunctionInvocationAttemptEdge?: PlatformFunctionInvocationAttemptEdge | null;
|
|
16627
16927
|
}
|
|
16928
|
+
export interface UpdatePlatformFunctionSchedulePayload {
|
|
16929
|
+
clientMutationId?: string | null;
|
|
16930
|
+
/** The `PlatformFunctionSchedule` that was updated by this mutation. */
|
|
16931
|
+
platformFunctionSchedule?: PlatformFunctionSchedule | null;
|
|
16932
|
+
platformFunctionScheduleEdge?: PlatformFunctionScheduleEdge | null;
|
|
16933
|
+
}
|
|
16628
16934
|
export interface UpdatePlatformImagePayload {
|
|
16629
16935
|
clientMutationId?: string | null;
|
|
16630
16936
|
/** The `PlatformImage` that was updated by this mutation. */
|
|
@@ -17171,6 +17477,12 @@ export interface FunctionInvocationEdge {
|
|
|
17171
17477
|
/** The `FunctionInvocation` at the end of the edge. */
|
|
17172
17478
|
node?: FunctionInvocation | null;
|
|
17173
17479
|
}
|
|
17480
|
+
/** A `FunctionSchedule` edge in the connection. */
|
|
17481
|
+
export interface FunctionScheduleEdge {
|
|
17482
|
+
cursor?: string | null;
|
|
17483
|
+
/** The `FunctionSchedule` at the end of the edge. */
|
|
17484
|
+
node?: FunctionSchedule | null;
|
|
17485
|
+
}
|
|
17174
17486
|
/** A `GetAllTreeNodesRecord` edge in the connection. */
|
|
17175
17487
|
export interface GetAllTreeNodesEdge {
|
|
17176
17488
|
cursor?: string | null;
|
|
@@ -17303,6 +17615,12 @@ export interface PlatformFunctionInvocationEdge {
|
|
|
17303
17615
|
/** The `PlatformFunctionInvocation` at the end of the edge. */
|
|
17304
17616
|
node?: PlatformFunctionInvocation | null;
|
|
17305
17617
|
}
|
|
17618
|
+
/** A `PlatformFunctionSchedule` edge in the connection. */
|
|
17619
|
+
export interface PlatformFunctionScheduleEdge {
|
|
17620
|
+
cursor?: string | null;
|
|
17621
|
+
/** The `PlatformFunctionSchedule` at the end of the edge. */
|
|
17622
|
+
node?: PlatformFunctionSchedule | null;
|
|
17623
|
+
}
|
|
17306
17624
|
/** A `PlatformImageGrant` edge in the connection. */
|
|
17307
17625
|
export interface PlatformImageGrantEdge {
|
|
17308
17626
|
cursor?: string | null;
|
package/esm/compute/types.d.ts
CHANGED
|
@@ -480,6 +480,21 @@ export interface FunctionInvocation {
|
|
|
480
480
|
status: string | null;
|
|
481
481
|
taskIdentifier: string | null;
|
|
482
482
|
}
|
|
483
|
+
export interface FunctionSchedule {
|
|
484
|
+
actorId: string | null;
|
|
485
|
+
createdAt: string | null;
|
|
486
|
+
databaseId: string | null;
|
|
487
|
+
description: string | null;
|
|
488
|
+
functionDefinitionId: string | null;
|
|
489
|
+
id: string | null;
|
|
490
|
+
isActive: boolean | null;
|
|
491
|
+
name: string | null;
|
|
492
|
+
payload: unknown | null;
|
|
493
|
+
scheduleInfo: unknown | null;
|
|
494
|
+
suspendedAt: string | null;
|
|
495
|
+
suspendedReason: string | null;
|
|
496
|
+
updatedAt: string | null;
|
|
497
|
+
}
|
|
483
498
|
export interface GetAllTreeNodesRecord {
|
|
484
499
|
data: unknown | null;
|
|
485
500
|
path: string[] | null;
|
|
@@ -810,6 +825,20 @@ export interface PlatformFunctionInvocation {
|
|
|
810
825
|
status: string | null;
|
|
811
826
|
taskIdentifier: string | null;
|
|
812
827
|
}
|
|
828
|
+
export interface PlatformFunctionSchedule {
|
|
829
|
+
actorId: string | null;
|
|
830
|
+
createdAt: string | null;
|
|
831
|
+
description: string | null;
|
|
832
|
+
functionDefinitionId: string | null;
|
|
833
|
+
id: string | null;
|
|
834
|
+
isActive: boolean | null;
|
|
835
|
+
name: string | null;
|
|
836
|
+
payload: unknown | null;
|
|
837
|
+
scheduleInfo: unknown | null;
|
|
838
|
+
suspendedAt: string | null;
|
|
839
|
+
suspendedReason: string | null;
|
|
840
|
+
updatedAt: string | null;
|
|
841
|
+
}
|
|
813
842
|
export interface PlatformImage {
|
|
814
843
|
createdAt: string | null;
|
|
815
844
|
createdByPrincipal: string | null;
|