@constructive-io/sdk 1.19.2 → 1.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/admin/orm/index.d.ts +36 -69
- package/admin/orm/index.js +4 -32
- package/admin/orm/input-types.d.ts +426 -3916
- package/admin/orm/input-types.js +1 -37
- package/admin/orm/models/index.d.ts +2 -16
- package/admin/orm/models/index.js +5 -33
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
- package/admin/orm/models/myPendingAppInvitesRecord.js +80 -0
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
- package/admin/orm/models/myPendingOrgInvitesRecord.js +80 -0
- package/admin/orm/mutation/index.d.ts +54 -5
- package/admin/orm/mutation/index.js +72 -0
- package/admin/orm/query/index.d.ts +5 -79
- package/admin/orm/query/index.js +8 -112
- package/agent/orm/index.d.ts +30 -0
- package/agent/orm/index.js +30 -0
- package/agent/orm/input-types.d.ts +6040 -1415
- package/agent/orm/input-types.js +34 -0
- package/agent/orm/models/agentEvent.d.ts +54 -0
- package/{admin/orm/models/orgProfile.js → agent/orm/models/agentEvent.js} +27 -27
- package/agent/orm/models/agentRun.d.ts +54 -0
- package/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +27 -27
- package/agent/orm/models/agentRunWorkspace.d.ts +54 -0
- package/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +27 -27
- package/agent/orm/models/index.d.ts +15 -0
- package/agent/orm/models/index.js +31 -1
- package/agent/orm/models/platformAgent.d.ts +54 -0
- package/{usage/orm/models/appLevelGrant.js → agent/orm/models/platformAgent.js} +27 -27
- package/agent/orm/models/platformAgentEvent.d.ts +54 -0
- package/{admin/orm/models/orgProfileTemplate.js → agent/orm/models/platformAgentEvent.js} +27 -27
- package/agent/orm/models/platformAgentMessage.d.ts +54 -0
- package/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +27 -27
- package/agent/orm/models/platformAgentPersona.d.ts +54 -0
- package/{admin/orm/models/orgCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +27 -27
- package/agent/orm/models/platformAgentPlan.d.ts +54 -0
- package/agent/orm/models/platformAgentPlan.js +104 -0
- package/agent/orm/models/platformAgentPrompt.d.ts +54 -0
- package/{usage/orm/models/appLevelRequirement.js → agent/orm/models/platformAgentPrompt.js} +27 -27
- package/agent/orm/models/platformAgentResource.d.ts +54 -0
- package/agent/orm/models/platformAgentResource.js +104 -0
- package/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
- package/agent/orm/models/platformAgentResourceChunk.js +104 -0
- package/agent/orm/models/platformAgentRun.d.ts +54 -0
- package/agent/orm/models/platformAgentRun.js +104 -0
- package/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
- package/{admin/orm/models/appProfileDefinitionGrant.js → agent/orm/models/platformAgentRunWorkspace.js} +27 -27
- package/agent/orm/models/platformAgentTask.d.ts +54 -0
- package/agent/orm/models/platformAgentTask.js +104 -0
- package/agent/orm/models/platformAgentThread.d.ts +54 -0
- package/{usage/orm/models/billingUsageSummary.js → agent/orm/models/platformAgentThread.js} +27 -27
- package/agent/orm/mutation/index.d.ts +5 -4
- package/api/orm/index.d.ts +177 -22
- package/api/orm/index.js +16 -6
- package/api/orm/input-types.d.ts +2520 -1059
- package/api/orm/input-types.js +7 -4
- package/api/orm/models/astMigration.d.ts +36 -0
- package/api/orm/models/astMigration.js +80 -0
- package/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
- package/api/orm/models/getSitePreviewsRecord.js +59 -0
- package/api/orm/models/identityProviderRegistry.d.ts +54 -0
- package/api/orm/models/identityProviderRegistry.js +104 -0
- package/api/orm/models/index.d.ts +8 -3
- package/api/orm/models/index.js +18 -8
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
- package/api/orm/models/platformGetSitePreviewsRecord.js +59 -0
- package/api/orm/models/platformSiteRelease.d.ts +54 -0
- package/api/orm/models/platformSiteRelease.js +104 -0
- package/api/orm/models/redirect.d.ts +54 -0
- package/{usage/orm/models/appEvent.js → api/orm/models/redirect.js} +27 -30
- package/api/orm/models/siteRelease.d.ts +54 -0
- package/{usage/orm/models/meterSource.js → api/orm/models/siteRelease.js} +27 -27
- package/api/orm/models/sqlAction.d.ts +36 -0
- package/api/orm/models/sqlAction.js +80 -0
- package/api/orm/mutation/index.d.ts +170 -24
- package/api/orm/mutation/index.js +240 -24
- package/api/orm/query/index.d.ts +107 -11
- package/api/orm/query/index.js +177 -13
- package/auth/orm/index.d.ts +104 -0
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +1017 -238
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/principalEntity.d.ts +2 -20
- package/auth/orm/models/principalEntity.js +0 -24
- package/auth/orm/models/userSetting.d.ts +54 -0
- package/{usage/orm/models/meterCredit.js → auth/orm/models/userSetting.js} +27 -27
- package/auth/orm/models/userSettingsSecurity.d.ts +54 -0
- package/{admin/orm/models/appProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +27 -27
- package/auth/orm/mutation/index.d.ts +158 -5
- package/auth/orm/mutation/index.js +228 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/compute/orm/index.d.ts +208 -0
- package/compute/orm/index.js +98 -0
- package/compute/orm/input-types.d.ts +23534 -8853
- package/compute/orm/input-types.js +78 -0
- package/compute/orm/models/build.d.ts +54 -0
- package/{usage/orm/models/meter.js → compute/orm/models/build.js} +27 -27
- package/compute/orm/models/buildStep.d.ts +56 -0
- package/{usage/orm/models/planLimit.js → compute/orm/models/buildStep.js} +30 -27
- package/compute/orm/models/builderBinding.d.ts +54 -0
- package/{usage/orm/models/planMeterLimit.js → compute/orm/models/builderBinding.js} +27 -27
- package/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
- package/compute/orm/models/databaseFunctionGraph.js +104 -0
- package/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecution.js +107 -0
- package/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +107 -0
- package/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
- package/compute/orm/models/databaseFunctionGraphExecutionOutput.js +107 -0
- package/compute/orm/models/databaseGraphCommit.d.ts +56 -0
- package/compute/orm/models/databaseGraphCommit.js +107 -0
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +59 -0
- package/compute/orm/models/databaseGraphObject.d.ts +56 -0
- package/compute/orm/models/databaseGraphObject.js +97 -0
- package/compute/orm/models/databaseGraphRef.d.ts +56 -0
- package/compute/orm/models/databaseGraphRef.js +107 -0
- package/compute/orm/models/databaseGraphStore.d.ts +54 -0
- package/{admin/orm/models/appProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +27 -27
- package/compute/orm/models/image.d.ts +54 -0
- package/{api/orm/models/app.js → compute/orm/models/image.js} +27 -27
- package/compute/orm/models/imageGrant.d.ts +54 -0
- package/{admin/orm/models/appProfile.js → compute/orm/models/imageGrant.js} +27 -27
- package/compute/orm/models/index.d.ts +49 -0
- package/compute/orm/models/index.js +101 -2
- package/compute/orm/models/platformBuild.d.ts +54 -0
- package/{admin/orm/models/appCapability.js → compute/orm/models/platformBuild.js} +27 -27
- package/compute/orm/models/platformBuildStep.d.ts +56 -0
- package/compute/orm/models/platformBuildStep.js +107 -0
- package/compute/orm/models/platformBuilderBinding.d.ts +54 -0
- package/{admin/orm/models/appCapabilityDefault.js → compute/orm/models/platformBuilderBinding.js} +27 -27
- package/compute/orm/models/platformImage.d.ts +54 -0
- package/{admin/orm/models/orgCapability.js → compute/orm/models/platformImage.js} +27 -27
- package/compute/orm/models/platformImageGrant.d.ts +54 -0
- package/compute/orm/models/platformImageGrant.js +104 -0
- package/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
- package/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/platformK8sResourceKind.js} +27 -27
- package/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
- package/compute/orm/models/platformK8sSpecRule.js +104 -0
- package/compute/orm/models/platformProposal.d.ts +54 -0
- package/compute/orm/models/platformProposal.js +104 -0
- package/compute/orm/models/platformProposalComment.d.ts +54 -0
- package/compute/orm/models/platformProposalComment.js +104 -0
- package/compute/orm/models/platformProposalFileView.d.ts +54 -0
- package/compute/orm/models/platformProposalFileView.js +104 -0
- package/compute/orm/models/platformProposalReaction.d.ts +54 -0
- package/compute/orm/models/platformProposalReaction.js +104 -0
- package/compute/orm/models/platformProposalReview.d.ts +54 -0
- package/compute/orm/models/platformProposalReview.js +104 -0
- package/compute/orm/models/platformProposalsChunk.d.ts +54 -0
- package/compute/orm/models/platformProposalsChunk.js +104 -0
- package/compute/orm/models/platformRegistry.d.ts +54 -0
- package/compute/orm/models/platformRegistry.js +104 -0
- package/compute/orm/models/platformRegistryBinding.d.ts +54 -0
- package/compute/orm/models/platformRegistryBinding.js +104 -0
- package/compute/orm/models/platformRegistryGrant.d.ts +54 -0
- package/compute/orm/models/platformRegistryGrant.js +104 -0
- package/compute/orm/models/platformRepository.d.ts +54 -0
- package/compute/orm/models/platformRepository.js +104 -0
- package/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
- package/compute/orm/models/platformRepositoryEvent.js +104 -0
- package/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
- package/compute/orm/models/platformRepositoryRequiredCheck.js +104 -0
- package/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
- package/compute/orm/models/platformRepositoryWorkflow.js +104 -0
- package/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
- package/compute/orm/models/platformResourceObservedStorage.js +59 -0
- package/compute/orm/models/proposal.d.ts +54 -0
- package/compute/orm/models/proposal.js +104 -0
- package/compute/orm/models/proposalComment.d.ts +54 -0
- package/{admin/orm/models/appProfileGrant.js → compute/orm/models/proposalComment.js} +27 -27
- package/compute/orm/models/proposalFileView.d.ts +54 -0
- package/compute/orm/models/proposalFileView.js +104 -0
- package/compute/orm/models/proposalReaction.d.ts +54 -0
- package/{usage/orm/models/planSubscription.js → compute/orm/models/proposalReaction.js} +27 -27
- package/compute/orm/models/proposalReview.d.ts +54 -0
- package/compute/orm/models/proposalReview.js +104 -0
- package/compute/orm/models/proposalsChunk.d.ts +54 -0
- package/compute/orm/models/proposalsChunk.js +104 -0
- package/compute/orm/models/registry.d.ts +54 -0
- package/compute/orm/models/registry.js +104 -0
- package/compute/orm/models/registryBinding.d.ts +54 -0
- package/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +27 -27
- package/compute/orm/models/registryGrant.d.ts +54 -0
- package/{usage/orm/models/appEventType.js → compute/orm/models/registryGrant.js} +27 -27
- package/compute/orm/models/repository.d.ts +54 -0
- package/{api/orm/models/httpRoute.js → compute/orm/models/repository.js} +27 -27
- package/compute/orm/models/repositoryEvent.d.ts +54 -0
- package/{admin/orm/models/orgProfileGrant.js → compute/orm/models/repositoryEvent.js} +27 -27
- package/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
- package/compute/orm/models/repositoryRequiredCheck.js +104 -0
- package/compute/orm/models/repositoryWorkflow.d.ts +54 -0
- package/compute/orm/models/repositoryWorkflow.js +104 -0
- package/compute/orm/models/resourceObservedStorage.d.ts +30 -0
- package/compute/orm/models/resourceObservedStorage.js +59 -0
- package/compute/orm/mutation/index.d.ts +174 -5
- package/compute/orm/mutation/index.js +252 -0
- package/compute/orm/query/index.d.ts +8 -0
- package/compute/orm/query/index.js +12 -0
- package/config/orm/index.d.ts +48 -0
- package/config/orm/index.js +8 -0
- package/config/orm/input-types.d.ts +711 -41
- package/config/orm/models/appInternalSecret.d.ts +36 -0
- package/config/orm/models/appInternalSecret.js +80 -0
- package/config/orm/models/index.d.ts +4 -0
- package/config/orm/models/index.js +9 -1
- package/config/orm/models/internalConfig.d.ts +54 -0
- package/config/orm/models/internalConfig.js +104 -0
- package/config/orm/models/internalSecret.d.ts +36 -0
- package/config/orm/models/internalSecret.js +80 -0
- package/config/orm/models/platformInternalConfig.d.ts +54 -0
- package/config/orm/models/platformInternalConfig.js +104 -0
- package/config/orm/mutation/index.d.ts +70 -5
- package/config/orm/mutation/index.js +96 -0
- package/esm/admin/orm/index.d.ts +36 -69
- package/esm/admin/orm/index.js +4 -32
- package/esm/admin/orm/input-types.d.ts +426 -3916
- package/esm/admin/orm/input-types.js +1 -37
- package/esm/admin/orm/models/index.d.ts +2 -16
- package/esm/admin/orm/models/index.js +2 -16
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +76 -0
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +76 -0
- package/esm/admin/orm/mutation/index.d.ts +54 -5
- package/esm/admin/orm/mutation/index.js +72 -0
- package/esm/admin/orm/query/index.d.ts +5 -79
- package/esm/admin/orm/query/index.js +8 -112
- package/esm/agent/orm/index.d.ts +30 -0
- package/esm/agent/orm/index.js +30 -0
- package/esm/agent/orm/input-types.d.ts +6040 -1415
- package/esm/agent/orm/input-types.js +34 -0
- package/esm/agent/orm/models/agentEvent.d.ts +54 -0
- package/esm/{admin/orm/models/appProfile.js → agent/orm/models/agentEvent.js} +25 -25
- package/esm/agent/orm/models/agentRun.d.ts +54 -0
- package/esm/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +25 -25
- package/esm/agent/orm/models/agentRunWorkspace.d.ts +54 -0
- package/esm/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +25 -25
- package/esm/agent/orm/models/index.d.ts +15 -0
- package/esm/agent/orm/models/index.js +15 -0
- package/esm/agent/orm/models/platformAgent.d.ts +54 -0
- package/esm/{usage/orm/models/planLimit.js → agent/orm/models/platformAgent.js} +25 -25
- package/esm/agent/orm/models/platformAgentEvent.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentEvent.js +100 -0
- package/esm/agent/orm/models/platformAgentMessage.d.ts +54 -0
- package/esm/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +25 -25
- package/esm/agent/orm/models/platformAgentPersona.d.ts +54 -0
- package/esm/{admin/orm/models/appCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +25 -25
- package/esm/agent/orm/models/platformAgentPlan.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPlan.js +100 -0
- package/esm/agent/orm/models/platformAgentPrompt.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentPrompt.js +100 -0
- package/esm/agent/orm/models/platformAgentResource.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentResource.js +100 -0
- package/esm/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentResourceChunk.js +100 -0
- package/esm/agent/orm/models/platformAgentRun.d.ts +54 -0
- package/esm/{usage/orm/models/planSubscription.js → agent/orm/models/platformAgentRun.js} +25 -25
- package/esm/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentRunWorkspace.js +100 -0
- package/esm/agent/orm/models/platformAgentTask.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentTask.js +100 -0
- package/esm/agent/orm/models/platformAgentThread.d.ts +54 -0
- package/esm/agent/orm/models/platformAgentThread.js +100 -0
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/api/orm/index.d.ts +177 -22
- package/esm/api/orm/index.js +16 -6
- package/esm/api/orm/input-types.d.ts +2520 -1059
- package/esm/api/orm/input-types.js +7 -4
- package/esm/api/orm/models/astMigration.d.ts +36 -0
- package/esm/api/orm/models/astMigration.js +76 -0
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
- package/esm/api/orm/models/getSitePreviewsRecord.js +55 -0
- package/esm/api/orm/models/identityProviderRegistry.d.ts +54 -0
- package/esm/api/orm/models/identityProviderRegistry.js +100 -0
- package/esm/api/orm/models/index.d.ts +8 -3
- package/esm/api/orm/models/index.js +8 -3
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +55 -0
- package/esm/api/orm/models/platformSiteRelease.d.ts +54 -0
- package/esm/api/orm/models/platformSiteRelease.js +100 -0
- package/esm/api/orm/models/redirect.d.ts +54 -0
- package/esm/api/orm/models/redirect.js +100 -0
- package/esm/api/orm/models/siteRelease.d.ts +54 -0
- package/esm/{usage/orm/models/planPricing.js → api/orm/models/siteRelease.js} +25 -25
- package/esm/api/orm/models/sqlAction.d.ts +36 -0
- package/esm/api/orm/models/sqlAction.js +76 -0
- package/esm/api/orm/mutation/index.d.ts +170 -24
- package/esm/api/orm/mutation/index.js +240 -24
- package/esm/api/orm/query/index.d.ts +107 -11
- package/esm/api/orm/query/index.js +177 -13
- package/esm/auth/orm/index.d.ts +104 -0
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +1017 -238
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/principalEntity.d.ts +2 -20
- package/esm/auth/orm/models/principalEntity.js +1 -25
- package/esm/auth/orm/models/userSetting.d.ts +54 -0
- package/esm/auth/orm/models/userSetting.js +100 -0
- package/esm/auth/orm/models/userSettingsSecurity.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +25 -25
- package/esm/auth/orm/mutation/index.d.ts +158 -5
- package/esm/auth/orm/mutation/index.js +228 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/compute/orm/index.d.ts +208 -0
- package/esm/compute/orm/index.js +98 -0
- package/esm/compute/orm/input-types.d.ts +23534 -8853
- package/esm/compute/orm/input-types.js +78 -0
- package/esm/compute/orm/models/build.d.ts +54 -0
- package/esm/{api/orm/models/app.js → compute/orm/models/build.js} +25 -25
- package/esm/compute/orm/models/buildStep.d.ts +56 -0
- package/esm/{api/orm/models/httpRoute.js → compute/orm/models/buildStep.js} +28 -25
- package/esm/compute/orm/models/builderBinding.d.ts +54 -0
- package/esm/{usage/orm/models/billingUsageSummary.js → compute/orm/models/builderBinding.js} +25 -25
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfileGrant.js → compute/orm/models/databaseFunctionGraph.js} +25 -25
- package/esm/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecution.js +103 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +103 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.js +103 -0
- package/esm/compute/orm/models/databaseGraphCommit.d.ts +56 -0
- package/esm/{usage/orm/models/appLevelRequirement.js → compute/orm/models/databaseGraphCommit.js} +28 -25
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +55 -0
- package/esm/compute/orm/models/databaseGraphObject.d.ts +56 -0
- package/esm/compute/orm/models/databaseGraphObject.js +93 -0
- package/esm/compute/orm/models/databaseGraphRef.d.ts +56 -0
- package/esm/{usage/orm/models/appEvent.js → compute/orm/models/databaseGraphRef.js} +27 -27
- package/esm/compute/orm/models/databaseGraphStore.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +25 -25
- package/esm/compute/orm/models/image.d.ts +54 -0
- package/esm/compute/orm/models/image.js +100 -0
- package/esm/compute/orm/models/imageGrant.d.ts +54 -0
- package/esm/{admin/orm/models/orgProfile.js → compute/orm/models/imageGrant.js} +25 -25
- package/esm/compute/orm/models/index.d.ts +49 -0
- package/esm/compute/orm/models/index.js +49 -0
- package/esm/compute/orm/models/platformBuild.d.ts +54 -0
- package/esm/compute/orm/models/platformBuild.js +100 -0
- package/esm/compute/orm/models/platformBuildStep.d.ts +56 -0
- package/esm/compute/orm/models/platformBuildStep.js +103 -0
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformBuilderBinding.js +100 -0
- package/esm/compute/orm/models/platformImage.d.ts +54 -0
- package/esm/compute/orm/models/platformImage.js +100 -0
- package/esm/compute/orm/models/platformImageGrant.d.ts +54 -0
- package/esm/compute/orm/models/platformImageGrant.js +100 -0
- package/esm/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
- package/esm/compute/orm/models/platformK8sResourceKind.js +100 -0
- package/esm/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
- package/esm/compute/orm/models/platformK8sSpecRule.js +100 -0
- package/esm/compute/orm/models/platformProposal.d.ts +54 -0
- package/esm/compute/orm/models/platformProposal.js +100 -0
- package/esm/compute/orm/models/platformProposalComment.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalComment.js +100 -0
- package/esm/compute/orm/models/platformProposalFileView.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalFileView.js +100 -0
- package/esm/compute/orm/models/platformProposalReaction.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalReaction.js +100 -0
- package/esm/compute/orm/models/platformProposalReview.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalReview.js +100 -0
- package/esm/compute/orm/models/platformProposalsChunk.d.ts +54 -0
- package/esm/compute/orm/models/platformProposalsChunk.js +100 -0
- package/esm/compute/orm/models/platformRegistry.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistry.js +100 -0
- package/esm/compute/orm/models/platformRegistryBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistryBinding.js +100 -0
- package/esm/compute/orm/models/platformRegistryGrant.d.ts +54 -0
- package/esm/compute/orm/models/platformRegistryGrant.js +100 -0
- package/esm/compute/orm/models/platformRepository.d.ts +54 -0
- package/esm/compute/orm/models/platformRepository.js +100 -0
- package/esm/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryEvent.js +100 -0
- package/esm/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryRequiredCheck.js +100 -0
- package/esm/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
- package/esm/compute/orm/models/platformRepositoryWorkflow.js +100 -0
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
- package/esm/compute/orm/models/platformResourceObservedStorage.js +55 -0
- package/esm/compute/orm/models/proposal.d.ts +54 -0
- package/esm/{usage/orm/models/planCap.js → compute/orm/models/proposal.js} +25 -25
- package/esm/compute/orm/models/proposalComment.d.ts +54 -0
- package/esm/compute/orm/models/proposalComment.js +100 -0
- package/esm/compute/orm/models/proposalFileView.d.ts +54 -0
- package/esm/compute/orm/models/proposalFileView.js +100 -0
- package/esm/compute/orm/models/proposalReaction.d.ts +54 -0
- package/esm/compute/orm/models/proposalReaction.js +100 -0
- package/esm/compute/orm/models/proposalReview.d.ts +54 -0
- package/esm/compute/orm/models/proposalReview.js +100 -0
- package/esm/compute/orm/models/proposalsChunk.d.ts +54 -0
- package/esm/compute/orm/models/proposalsChunk.js +100 -0
- package/esm/compute/orm/models/registry.d.ts +54 -0
- package/esm/compute/orm/models/registry.js +100 -0
- package/esm/compute/orm/models/registryBinding.d.ts +54 -0
- package/esm/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +25 -25
- package/esm/compute/orm/models/registryGrant.d.ts +54 -0
- package/esm/{usage/orm/models/appLevelGrant.js → compute/orm/models/registryGrant.js} +25 -25
- package/esm/compute/orm/models/repository.d.ts +54 -0
- package/esm/{usage/orm/models/ledger.js → compute/orm/models/repository.js} +25 -28
- package/esm/compute/orm/models/repositoryEvent.d.ts +54 -0
- package/esm/{admin/orm/models/appProfileGrant.js → compute/orm/models/repositoryEvent.js} +25 -25
- package/esm/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
- package/esm/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/repositoryRequiredCheck.js} +25 -25
- package/esm/compute/orm/models/repositoryWorkflow.d.ts +54 -0
- package/esm/{admin/orm/models/appProfileTemplate.js → compute/orm/models/repositoryWorkflow.js} +25 -25
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +30 -0
- package/esm/compute/orm/models/resourceObservedStorage.js +55 -0
- package/esm/compute/orm/mutation/index.d.ts +174 -5
- package/esm/compute/orm/mutation/index.js +252 -0
- package/esm/compute/orm/query/index.d.ts +8 -0
- package/esm/compute/orm/query/index.js +12 -0
- package/esm/config/orm/index.d.ts +48 -0
- package/esm/config/orm/index.js +8 -0
- package/esm/config/orm/input-types.d.ts +711 -41
- package/esm/config/orm/models/appInternalSecret.d.ts +36 -0
- package/esm/config/orm/models/appInternalSecret.js +76 -0
- package/esm/config/orm/models/index.d.ts +4 -0
- package/esm/config/orm/models/index.js +4 -0
- package/esm/config/orm/models/internalConfig.d.ts +54 -0
- package/esm/config/orm/models/internalConfig.js +100 -0
- package/esm/config/orm/models/internalSecret.d.ts +36 -0
- package/esm/config/orm/models/internalSecret.js +76 -0
- package/esm/config/orm/models/platformInternalConfig.d.ts +54 -0
- package/esm/config/orm/models/platformInternalConfig.js +100 -0
- package/esm/config/orm/mutation/index.d.ts +70 -5
- package/esm/config/orm/mutation/index.js +96 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/infra/orm/index.d.ts +17 -0
- package/esm/infra/orm/index.js +2 -0
- package/esm/infra/orm/input-types.d.ts +297 -36
- package/esm/infra/orm/models/contentPreset.d.ts +54 -0
- package/esm/{admin/orm/models/appCapability.js → infra/orm/models/contentPreset.js} +25 -25
- package/esm/infra/orm/models/index.d.ts +1 -0
- package/esm/infra/orm/models/index.js +1 -0
- package/esm/infra/orm/mutation/index.d.ts +30 -5
- package/esm/infra/orm/mutation/index.js +36 -0
- package/esm/modules/orm/index.d.ts +14 -4
- package/esm/modules/orm/index.js +14 -4
- package/esm/modules/orm/input-types.d.ts +2752 -747
- package/esm/modules/orm/input-types.js +1 -5
- package/esm/modules/orm/models/clusterModule.d.ts +54 -0
- package/esm/{admin/orm/models/orgCapability.js → modules/orm/models/clusterModule.js} +25 -25
- package/esm/modules/orm/models/imageModule.d.ts +54 -0
- package/esm/modules/orm/models/imageModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +7 -2
- package/esm/modules/orm/models/index.js +7 -2
- package/esm/modules/orm/models/internalConfigModule.d.ts +54 -0
- package/esm/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +25 -25
- package/esm/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
- package/esm/modules/orm/models/k8sAdmissionModule.js +100 -0
- package/esm/modules/orm/models/machineModule.d.ts +54 -0
- package/esm/{usage/orm/models/meterCredit.js → modules/orm/models/machineModule.js} +25 -25
- package/esm/modules/orm/models/refusalLogModule.d.ts +54 -0
- package/esm/modules/orm/models/refusalLogModule.js +100 -0
- package/esm/modules/orm/models/repositoryModule.d.ts +54 -0
- package/esm/modules/orm/models/repositoryModule.js +100 -0
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/objects/orm/input-types.d.ts +11 -18
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/remote/index.d.ts +5 -0
- package/esm/remote/index.js +5 -0
- package/esm/remote/orm/client.d.ts +97 -0
- package/esm/remote/orm/client.js +155 -0
- package/esm/remote/orm/index.d.ts +50 -0
- package/esm/remote/orm/index.js +47 -0
- package/esm/remote/orm/input-types.d.ts +1482 -0
- package/esm/remote/orm/input-types.js +9 -0
- package/esm/remote/orm/models/index.d.ts +8 -0
- package/esm/remote/orm/models/index.js +8 -0
- package/esm/remote/orm/models/machine.d.ts +54 -0
- package/esm/{usage/orm/models/meter.js → remote/orm/models/machine.js} +25 -25
- package/esm/remote/orm/models/machineMessage.d.ts +56 -0
- package/esm/{usage/orm/models/meterDefault.js → remote/orm/models/machineMessage.js} +28 -25
- package/esm/remote/orm/models/machineSession.d.ts +54 -0
- package/esm/{usage/orm/models/meterSource.js → remote/orm/models/machineSession.js} +25 -25
- package/esm/remote/orm/mutation/index.d.ts +35 -0
- package/esm/remote/orm/mutation/index.js +30 -0
- package/esm/remote/orm/query-builder.d.ts +110 -0
- package/esm/remote/orm/query-builder.js +705 -0
- package/esm/remote/orm/realtime.d.ts +142 -0
- package/esm/remote/orm/realtime.js +100 -0
- package/esm/remote/orm/select-types.d.ts +125 -0
- package/esm/remote/orm/select-types.js +1 -0
- package/esm/remote/orm/types.d.ts +6 -0
- package/esm/remote/orm/types.js +7 -0
- package/esm/storage/index.d.ts +5 -0
- package/esm/storage/index.js +5 -0
- package/esm/storage/orm/client.d.ts +97 -0
- package/esm/storage/orm/client.js +155 -0
- package/esm/storage/orm/index.d.ts +77 -0
- package/esm/storage/orm/index.js +49 -0
- package/esm/storage/orm/input-types.d.ts +2076 -0
- package/esm/storage/orm/input-types.js +11 -0
- package/esm/storage/orm/models/bucket.d.ts +54 -0
- package/esm/storage/orm/models/bucket.js +100 -0
- package/esm/storage/orm/models/file.d.ts +54 -0
- package/esm/{usage/orm/models/plan.js → storage/orm/models/file.js} +25 -25
- package/esm/storage/orm/models/index.d.ts +9 -0
- package/esm/storage/orm/models/index.js +9 -0
- package/esm/storage/orm/models/platformBucket.d.ts +54 -0
- package/esm/{usage/orm/models/planMeterLimit.js → storage/orm/models/platformBucket.js} +25 -25
- package/esm/storage/orm/models/platformFile.d.ts +54 -0
- package/esm/{usage/orm/models/planOverride.js → storage/orm/models/platformFile.js} +25 -25
- package/esm/storage/orm/mutation/index.d.ts +91 -0
- package/esm/storage/orm/mutation/index.js +90 -0
- package/esm/storage/orm/query-builder.d.ts +110 -0
- package/esm/storage/orm/query-builder.js +705 -0
- package/esm/storage/orm/realtime.d.ts +142 -0
- package/esm/storage/orm/realtime.js +100 -0
- package/esm/storage/orm/select-types.d.ts +125 -0
- package/esm/storage/orm/select-types.js +1 -0
- package/esm/storage/orm/types.d.ts +6 -0
- package/esm/storage/orm/types.js +7 -0
- package/esm/usage/orm/index.d.ts +0 -85
- package/esm/usage/orm/index.js +0 -40
- package/esm/usage/orm/input-types.d.ts +130 -3767
- package/esm/usage/orm/input-types.js +0 -10
- package/esm/usage/orm/models/index.d.ts +0 -20
- package/esm/usage/orm/models/index.js +0 -20
- package/esm/usage/orm/mutation/index.d.ts +6 -53
- package/esm/usage/orm/mutation/index.js +0 -72
- package/esm/usage/orm/query/index.d.ts +0 -33
- package/esm/usage/orm/query/index.js +0 -51
- package/index.d.ts +2 -0
- package/index.js +3 -1
- package/infra/orm/index.d.ts +17 -0
- package/infra/orm/index.js +2 -0
- package/infra/orm/input-types.d.ts +297 -36
- package/infra/orm/models/contentPreset.d.ts +54 -0
- package/infra/orm/models/contentPreset.js +104 -0
- package/infra/orm/models/index.d.ts +1 -0
- package/infra/orm/models/index.js +3 -1
- package/infra/orm/mutation/index.d.ts +30 -5
- package/infra/orm/mutation/index.js +36 -0
- package/modules/orm/index.d.ts +14 -4
- package/modules/orm/index.js +14 -4
- package/modules/orm/input-types.d.ts +2752 -747
- package/modules/orm/input-types.js +1 -5
- package/modules/orm/models/clusterModule.d.ts +54 -0
- package/modules/orm/models/clusterModule.js +104 -0
- package/modules/orm/models/imageModule.d.ts +54 -0
- package/{usage/orm/models/planPricing.js → modules/orm/models/imageModule.js} +27 -27
- package/modules/orm/models/index.d.ts +7 -2
- package/modules/orm/models/index.js +16 -6
- package/modules/orm/models/internalConfigModule.d.ts +54 -0
- package/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +27 -27
- package/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
- package/modules/orm/models/k8sAdmissionModule.js +104 -0
- package/modules/orm/models/machineModule.d.ts +54 -0
- package/modules/orm/models/machineModule.js +104 -0
- package/modules/orm/models/refusalLogModule.d.ts +54 -0
- package/modules/orm/models/refusalLogModule.js +104 -0
- package/modules/orm/models/repositoryModule.d.ts +54 -0
- package/modules/orm/models/repositoryModule.js +104 -0
- package/modules/orm/mutation/index.d.ts +6 -5
- package/objects/orm/input-types.d.ts +11 -18
- package/objects/orm/mutation/index.d.ts +5 -4
- package/package.json +5 -5
- package/remote/index.d.ts +5 -0
- package/remote/index.js +21 -0
- package/remote/orm/client.d.ts +97 -0
- package/remote/orm/client.js +162 -0
- package/remote/orm/index.d.ts +50 -0
- package/remote/orm/index.js +69 -0
- package/remote/orm/input-types.d.ts +1482 -0
- package/remote/orm/input-types.js +12 -0
- package/remote/orm/models/index.d.ts +8 -0
- package/remote/orm/models/index.js +14 -0
- package/remote/orm/models/machine.d.ts +54 -0
- package/{usage/orm/models/planCap.js → remote/orm/models/machine.js} +27 -27
- package/remote/orm/models/machineMessage.d.ts +56 -0
- package/remote/orm/models/machineMessage.js +107 -0
- package/remote/orm/models/machineSession.d.ts +54 -0
- package/{usage/orm/models/meterDefault.js → remote/orm/models/machineSession.js} +27 -27
- package/remote/orm/mutation/index.d.ts +35 -0
- package/remote/orm/mutation/index.js +33 -0
- package/remote/orm/query-builder.d.ts +110 -0
- package/remote/orm/query-builder.js +757 -0
- package/remote/orm/realtime.d.ts +142 -0
- package/remote/orm/realtime.js +104 -0
- package/remote/orm/select-types.d.ts +125 -0
- package/remote/orm/select-types.js +2 -0
- package/remote/orm/types.d.ts +6 -0
- package/remote/orm/types.js +23 -0
- package/storage/index.d.ts +5 -0
- package/storage/index.js +21 -0
- package/storage/orm/client.d.ts +97 -0
- package/storage/orm/client.js +162 -0
- package/storage/orm/index.d.ts +77 -0
- package/storage/orm/index.js +71 -0
- package/storage/orm/input-types.d.ts +2076 -0
- package/storage/orm/input-types.js +14 -0
- package/storage/orm/models/bucket.d.ts +54 -0
- package/{usage/orm/models/ledger.js → storage/orm/models/bucket.js} +27 -30
- package/storage/orm/models/file.d.ts +54 -0
- package/{usage/orm/models/plan.js → storage/orm/models/file.js} +27 -27
- package/storage/orm/models/index.d.ts +9 -0
- package/storage/orm/models/index.js +16 -0
- package/storage/orm/models/platformBucket.d.ts +54 -0
- package/storage/orm/models/platformBucket.js +104 -0
- package/storage/orm/models/platformFile.d.ts +54 -0
- package/{api/orm/models/appComponent.js → storage/orm/models/platformFile.js} +27 -27
- package/storage/orm/mutation/index.d.ts +91 -0
- package/storage/orm/mutation/index.js +93 -0
- package/storage/orm/query-builder.d.ts +110 -0
- package/storage/orm/query-builder.js +757 -0
- package/storage/orm/realtime.d.ts +142 -0
- package/storage/orm/realtime.js +104 -0
- package/storage/orm/select-types.d.ts +125 -0
- package/storage/orm/select-types.js +2 -0
- package/storage/orm/types.d.ts +6 -0
- package/storage/orm/types.js +23 -0
- package/usage/orm/index.d.ts +0 -85
- package/usage/orm/index.js +0 -40
- package/usage/orm/input-types.d.ts +130 -3767
- package/usage/orm/input-types.js +0 -10
- package/usage/orm/models/index.d.ts +0 -20
- package/usage/orm/models/index.js +1 -41
- package/usage/orm/mutation/index.d.ts +6 -53
- package/usage/orm/mutation/index.js +0 -72
- package/usage/orm/query/index.d.ts +0 -33
- package/usage/orm/query/index.js +0 -51
- package/admin/orm/models/appCapability.d.ts +0 -54
- package/admin/orm/models/appCapabilityDefault.d.ts +0 -54
- package/admin/orm/models/appMembershipProfile.d.ts +0 -54
- package/admin/orm/models/appProfile.d.ts +0 -54
- package/admin/orm/models/appProfileCapability.d.ts +0 -54
- package/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
- package/admin/orm/models/appProfileGrant.d.ts +0 -54
- package/admin/orm/models/appProfileTemplate.d.ts +0 -54
- package/admin/orm/models/orgCapability.d.ts +0 -54
- package/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
- package/admin/orm/models/orgMembershipProfile.d.ts +0 -54
- package/admin/orm/models/orgProfile.d.ts +0 -54
- package/admin/orm/models/orgProfileCapability.d.ts +0 -54
- package/admin/orm/models/orgProfileCapability.js +0 -104
- package/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
- package/admin/orm/models/orgProfileDefinitionGrant.js +0 -104
- package/admin/orm/models/orgProfileGrant.d.ts +0 -54
- package/admin/orm/models/orgProfileTemplate.d.ts +0 -54
- package/api/orm/models/app.d.ts +0 -54
- package/api/orm/models/appComponent.d.ts +0 -54
- package/api/orm/models/httpRoute.d.ts +0 -54
- package/esm/admin/orm/models/appCapability.d.ts +0 -54
- package/esm/admin/orm/models/appCapabilityDefault.d.ts +0 -54
- package/esm/admin/orm/models/appMembershipProfile.d.ts +0 -54
- package/esm/admin/orm/models/appProfile.d.ts +0 -54
- package/esm/admin/orm/models/appProfileCapability.d.ts +0 -54
- package/esm/admin/orm/models/appProfileCapability.js +0 -100
- package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
- package/esm/admin/orm/models/appProfileDefinitionGrant.js +0 -100
- package/esm/admin/orm/models/appProfileGrant.d.ts +0 -54
- package/esm/admin/orm/models/appProfileTemplate.d.ts +0 -54
- package/esm/admin/orm/models/orgCapability.d.ts +0 -54
- package/esm/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
- package/esm/admin/orm/models/orgCapabilityDefault.js +0 -100
- package/esm/admin/orm/models/orgMembershipProfile.d.ts +0 -54
- package/esm/admin/orm/models/orgProfile.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileCapability.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileDefinitionGrant.js +0 -100
- package/esm/admin/orm/models/orgProfileGrant.d.ts +0 -54
- package/esm/admin/orm/models/orgProfileTemplate.d.ts +0 -54
- package/esm/api/orm/models/app.d.ts +0 -54
- package/esm/api/orm/models/appComponent.d.ts +0 -54
- package/esm/api/orm/models/appComponent.js +0 -100
- package/esm/api/orm/models/httpRoute.d.ts +0 -54
- package/esm/modules/orm/models/configSecretsUserModule.d.ts +0 -54
- package/esm/modules/orm/models/httpRouteModule.d.ts +0 -54
- package/esm/usage/orm/models/appAchievementReward.d.ts +0 -54
- package/esm/usage/orm/models/appAchievementReward.js +0 -100
- package/esm/usage/orm/models/appEvent.d.ts +0 -56
- package/esm/usage/orm/models/appEventAggregate.d.ts +0 -54
- package/esm/usage/orm/models/appEventType.d.ts +0 -54
- package/esm/usage/orm/models/appEventType.js +0 -100
- package/esm/usage/orm/models/appLevel.d.ts +0 -54
- package/esm/usage/orm/models/appLevelGrant.d.ts +0 -54
- package/esm/usage/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/usage/orm/models/billingUsageSummary.d.ts +0 -54
- package/esm/usage/orm/models/ledger.d.ts +0 -56
- package/esm/usage/orm/models/meter.d.ts +0 -54
- package/esm/usage/orm/models/meterCredit.d.ts +0 -54
- package/esm/usage/orm/models/meterDefault.d.ts +0 -54
- package/esm/usage/orm/models/meterSource.d.ts +0 -54
- package/esm/usage/orm/models/plan.d.ts +0 -54
- package/esm/usage/orm/models/planCap.d.ts +0 -54
- package/esm/usage/orm/models/planLimit.d.ts +0 -54
- package/esm/usage/orm/models/planMeterLimit.d.ts +0 -54
- package/esm/usage/orm/models/planOverride.d.ts +0 -54
- package/esm/usage/orm/models/planPricing.d.ts +0 -54
- package/esm/usage/orm/models/planSubscription.d.ts +0 -54
- package/modules/orm/models/configSecretsUserModule.d.ts +0 -54
- package/modules/orm/models/httpRouteModule.d.ts +0 -54
- package/usage/orm/models/appAchievementReward.d.ts +0 -54
- package/usage/orm/models/appAchievementReward.js +0 -104
- package/usage/orm/models/appEvent.d.ts +0 -56
- package/usage/orm/models/appEventAggregate.d.ts +0 -54
- package/usage/orm/models/appEventType.d.ts +0 -54
- package/usage/orm/models/appLevel.d.ts +0 -54
- package/usage/orm/models/appLevelGrant.d.ts +0 -54
- package/usage/orm/models/appLevelRequirement.d.ts +0 -54
- package/usage/orm/models/billingUsageSummary.d.ts +0 -54
- package/usage/orm/models/ledger.d.ts +0 -56
- package/usage/orm/models/meter.d.ts +0 -54
- package/usage/orm/models/meterCredit.d.ts +0 -54
- package/usage/orm/models/meterDefault.d.ts +0 -54
- package/usage/orm/models/meterSource.d.ts +0 -54
- package/usage/orm/models/plan.d.ts +0 -54
- package/usage/orm/models/planCap.d.ts +0 -54
- package/usage/orm/models/planLimit.d.ts +0 -54
- package/usage/orm/models/planMeterLimit.d.ts +0 -54
- package/usage/orm/models/planOverride.d.ts +0 -54
- package/usage/orm/models/planOverride.js +0 -104
- package/usage/orm/models/planPricing.d.ts +0 -54
- package/usage/orm/models/planSubscription.d.ts +0 -54
|
@@ -0,0 +1,2076 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GraphQL types for ORM client
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
export interface StringFilter {
|
|
7
|
+
isNull?: boolean;
|
|
8
|
+
equalTo?: string;
|
|
9
|
+
notEqualTo?: string;
|
|
10
|
+
distinctFrom?: string;
|
|
11
|
+
notDistinctFrom?: string;
|
|
12
|
+
in?: string[];
|
|
13
|
+
notIn?: string[];
|
|
14
|
+
lessThan?: string;
|
|
15
|
+
lessThanOrEqualTo?: string;
|
|
16
|
+
greaterThan?: string;
|
|
17
|
+
greaterThanOrEqualTo?: string;
|
|
18
|
+
includes?: string;
|
|
19
|
+
notIncludes?: string;
|
|
20
|
+
includesInsensitive?: string;
|
|
21
|
+
notIncludesInsensitive?: string;
|
|
22
|
+
startsWith?: string;
|
|
23
|
+
notStartsWith?: string;
|
|
24
|
+
startsWithInsensitive?: string;
|
|
25
|
+
notStartsWithInsensitive?: string;
|
|
26
|
+
endsWith?: string;
|
|
27
|
+
notEndsWith?: string;
|
|
28
|
+
endsWithInsensitive?: string;
|
|
29
|
+
notEndsWithInsensitive?: string;
|
|
30
|
+
like?: string;
|
|
31
|
+
notLike?: string;
|
|
32
|
+
likeInsensitive?: string;
|
|
33
|
+
notLikeInsensitive?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface IntFilter {
|
|
36
|
+
isNull?: boolean;
|
|
37
|
+
equalTo?: number;
|
|
38
|
+
notEqualTo?: number;
|
|
39
|
+
distinctFrom?: number;
|
|
40
|
+
notDistinctFrom?: number;
|
|
41
|
+
in?: number[];
|
|
42
|
+
notIn?: number[];
|
|
43
|
+
lessThan?: number;
|
|
44
|
+
lessThanOrEqualTo?: number;
|
|
45
|
+
greaterThan?: number;
|
|
46
|
+
greaterThanOrEqualTo?: number;
|
|
47
|
+
}
|
|
48
|
+
export interface FloatFilter {
|
|
49
|
+
isNull?: boolean;
|
|
50
|
+
equalTo?: number;
|
|
51
|
+
notEqualTo?: number;
|
|
52
|
+
distinctFrom?: number;
|
|
53
|
+
notDistinctFrom?: number;
|
|
54
|
+
in?: number[];
|
|
55
|
+
notIn?: number[];
|
|
56
|
+
lessThan?: number;
|
|
57
|
+
lessThanOrEqualTo?: number;
|
|
58
|
+
greaterThan?: number;
|
|
59
|
+
greaterThanOrEqualTo?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface BooleanFilter {
|
|
62
|
+
isNull?: boolean;
|
|
63
|
+
equalTo?: boolean;
|
|
64
|
+
notEqualTo?: boolean;
|
|
65
|
+
}
|
|
66
|
+
export interface UUIDFilter {
|
|
67
|
+
isNull?: boolean;
|
|
68
|
+
equalTo?: string;
|
|
69
|
+
notEqualTo?: string;
|
|
70
|
+
distinctFrom?: string;
|
|
71
|
+
notDistinctFrom?: string;
|
|
72
|
+
in?: string[];
|
|
73
|
+
notIn?: string[];
|
|
74
|
+
}
|
|
75
|
+
export interface DatetimeFilter {
|
|
76
|
+
isNull?: boolean;
|
|
77
|
+
equalTo?: string;
|
|
78
|
+
notEqualTo?: string;
|
|
79
|
+
distinctFrom?: string;
|
|
80
|
+
notDistinctFrom?: string;
|
|
81
|
+
in?: string[];
|
|
82
|
+
notIn?: string[];
|
|
83
|
+
lessThan?: string;
|
|
84
|
+
lessThanOrEqualTo?: string;
|
|
85
|
+
greaterThan?: string;
|
|
86
|
+
greaterThanOrEqualTo?: string;
|
|
87
|
+
}
|
|
88
|
+
export interface DateFilter {
|
|
89
|
+
isNull?: boolean;
|
|
90
|
+
equalTo?: string;
|
|
91
|
+
notEqualTo?: string;
|
|
92
|
+
distinctFrom?: string;
|
|
93
|
+
notDistinctFrom?: string;
|
|
94
|
+
in?: string[];
|
|
95
|
+
notIn?: string[];
|
|
96
|
+
lessThan?: string;
|
|
97
|
+
lessThanOrEqualTo?: string;
|
|
98
|
+
greaterThan?: string;
|
|
99
|
+
greaterThanOrEqualTo?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface JSONFilter {
|
|
102
|
+
isNull?: boolean;
|
|
103
|
+
equalTo?: Record<string, unknown>;
|
|
104
|
+
notEqualTo?: Record<string, unknown>;
|
|
105
|
+
distinctFrom?: Record<string, unknown>;
|
|
106
|
+
notDistinctFrom?: Record<string, unknown>;
|
|
107
|
+
contains?: Record<string, unknown>;
|
|
108
|
+
containedBy?: Record<string, unknown>;
|
|
109
|
+
containsKey?: string;
|
|
110
|
+
containsAllKeys?: string[];
|
|
111
|
+
containsAnyKeys?: string[];
|
|
112
|
+
}
|
|
113
|
+
export interface BigIntFilter {
|
|
114
|
+
isNull?: boolean;
|
|
115
|
+
equalTo?: string;
|
|
116
|
+
notEqualTo?: string;
|
|
117
|
+
distinctFrom?: string;
|
|
118
|
+
notDistinctFrom?: string;
|
|
119
|
+
in?: string[];
|
|
120
|
+
notIn?: string[];
|
|
121
|
+
lessThan?: string;
|
|
122
|
+
lessThanOrEqualTo?: string;
|
|
123
|
+
greaterThan?: string;
|
|
124
|
+
greaterThanOrEqualTo?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface BigFloatFilter {
|
|
127
|
+
isNull?: boolean;
|
|
128
|
+
equalTo?: string;
|
|
129
|
+
notEqualTo?: string;
|
|
130
|
+
distinctFrom?: string;
|
|
131
|
+
notDistinctFrom?: string;
|
|
132
|
+
in?: string[];
|
|
133
|
+
notIn?: string[];
|
|
134
|
+
lessThan?: string;
|
|
135
|
+
lessThanOrEqualTo?: string;
|
|
136
|
+
greaterThan?: string;
|
|
137
|
+
greaterThanOrEqualTo?: string;
|
|
138
|
+
}
|
|
139
|
+
export interface BitStringFilter {
|
|
140
|
+
isNull?: boolean;
|
|
141
|
+
equalTo?: string;
|
|
142
|
+
notEqualTo?: string;
|
|
143
|
+
}
|
|
144
|
+
export interface InternetAddressFilter {
|
|
145
|
+
isNull?: boolean;
|
|
146
|
+
equalTo?: string;
|
|
147
|
+
notEqualTo?: string;
|
|
148
|
+
distinctFrom?: string;
|
|
149
|
+
notDistinctFrom?: string;
|
|
150
|
+
in?: string[];
|
|
151
|
+
notIn?: string[];
|
|
152
|
+
lessThan?: string;
|
|
153
|
+
lessThanOrEqualTo?: string;
|
|
154
|
+
greaterThan?: string;
|
|
155
|
+
greaterThanOrEqualTo?: string;
|
|
156
|
+
contains?: string;
|
|
157
|
+
containsOrEqualTo?: string;
|
|
158
|
+
containedBy?: string;
|
|
159
|
+
containedByOrEqualTo?: string;
|
|
160
|
+
containsOrContainedBy?: string;
|
|
161
|
+
}
|
|
162
|
+
export interface FullTextFilter {
|
|
163
|
+
matches?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface VectorFilter {
|
|
166
|
+
isNull?: boolean;
|
|
167
|
+
equalTo?: number[];
|
|
168
|
+
notEqualTo?: number[];
|
|
169
|
+
distinctFrom?: number[];
|
|
170
|
+
notDistinctFrom?: number[];
|
|
171
|
+
}
|
|
172
|
+
export interface StringListFilter {
|
|
173
|
+
isNull?: boolean;
|
|
174
|
+
equalTo?: string[];
|
|
175
|
+
notEqualTo?: string[];
|
|
176
|
+
distinctFrom?: string[];
|
|
177
|
+
notDistinctFrom?: string[];
|
|
178
|
+
lessThan?: string[];
|
|
179
|
+
lessThanOrEqualTo?: string[];
|
|
180
|
+
greaterThan?: string[];
|
|
181
|
+
greaterThanOrEqualTo?: string[];
|
|
182
|
+
contains?: string[];
|
|
183
|
+
containedBy?: string[];
|
|
184
|
+
overlaps?: string[];
|
|
185
|
+
anyEqualTo?: string;
|
|
186
|
+
anyNotEqualTo?: string;
|
|
187
|
+
anyLessThan?: string;
|
|
188
|
+
anyLessThanOrEqualTo?: string;
|
|
189
|
+
anyGreaterThan?: string;
|
|
190
|
+
anyGreaterThanOrEqualTo?: string;
|
|
191
|
+
}
|
|
192
|
+
export interface IntListFilter {
|
|
193
|
+
isNull?: boolean;
|
|
194
|
+
equalTo?: number[];
|
|
195
|
+
notEqualTo?: number[];
|
|
196
|
+
distinctFrom?: number[];
|
|
197
|
+
notDistinctFrom?: number[];
|
|
198
|
+
lessThan?: number[];
|
|
199
|
+
lessThanOrEqualTo?: number[];
|
|
200
|
+
greaterThan?: number[];
|
|
201
|
+
greaterThanOrEqualTo?: number[];
|
|
202
|
+
contains?: number[];
|
|
203
|
+
containedBy?: number[];
|
|
204
|
+
overlaps?: number[];
|
|
205
|
+
anyEqualTo?: number;
|
|
206
|
+
anyNotEqualTo?: number;
|
|
207
|
+
anyLessThan?: number;
|
|
208
|
+
anyLessThanOrEqualTo?: number;
|
|
209
|
+
anyGreaterThan?: number;
|
|
210
|
+
anyGreaterThanOrEqualTo?: number;
|
|
211
|
+
}
|
|
212
|
+
export interface UUIDListFilter {
|
|
213
|
+
isNull?: boolean;
|
|
214
|
+
equalTo?: string[];
|
|
215
|
+
notEqualTo?: string[];
|
|
216
|
+
distinctFrom?: string[];
|
|
217
|
+
notDistinctFrom?: string[];
|
|
218
|
+
lessThan?: string[];
|
|
219
|
+
lessThanOrEqualTo?: string[];
|
|
220
|
+
greaterThan?: string[];
|
|
221
|
+
greaterThanOrEqualTo?: string[];
|
|
222
|
+
contains?: string[];
|
|
223
|
+
containedBy?: string[];
|
|
224
|
+
overlaps?: string[];
|
|
225
|
+
anyEqualTo?: string;
|
|
226
|
+
anyNotEqualTo?: string;
|
|
227
|
+
anyLessThan?: string;
|
|
228
|
+
anyLessThanOrEqualTo?: string;
|
|
229
|
+
anyGreaterThan?: string;
|
|
230
|
+
anyGreaterThanOrEqualTo?: string;
|
|
231
|
+
}
|
|
232
|
+
export type BucketType = 'PRIVATE' | 'PUBLIC' | 'TEMP';
|
|
233
|
+
export type FileStatus = 'EXPIRED' | 'PROCESSED' | 'REJECTED' | 'REQUESTED' | 'UPLOADED';
|
|
234
|
+
export type ConstructiveInternalTypeUpload = unknown;
|
|
235
|
+
/** Logical storage containers that group files with shared access policies and CDN behavior */
|
|
236
|
+
export interface Bucket {
|
|
237
|
+
/** User who created this bucket. Forced to current_user_id() on INSERT. */
|
|
238
|
+
actorId?: string | null;
|
|
239
|
+
/** When true, clients can provide custom S3 keys (e.g. reports/2024/Q1.pdf). When false (default), S3 key = content hash (automatic dedup). contentHash always required for integrity. */
|
|
240
|
+
allowCustomKeys?: boolean | null;
|
|
241
|
+
/** Whitelist of allowed MIME types for files in this bucket (NULL = all allowed, enforcement deferred) */
|
|
242
|
+
allowedMimeTypes?: string[] | null;
|
|
243
|
+
/** Per-bucket CORS allowed origins override (NULL = inherit from storage_module/plugin defaults). Use ARRAY['*'] for open/CDN mode. */
|
|
244
|
+
allowedOrigins?: string[] | null;
|
|
245
|
+
createdAt?: string | null;
|
|
246
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
247
|
+
databaseId?: string | null;
|
|
248
|
+
/** Human-readable description of the bucket purpose */
|
|
249
|
+
description?: string | null;
|
|
250
|
+
/** For a temp bucket, the permanent bucket its uploads are promoted into. NULL on non-temp buckets; required on temp buckets. */
|
|
251
|
+
destinationBucketId?: string | null;
|
|
252
|
+
id: string;
|
|
253
|
+
/** Whether bucket contents are publicly readable. Set to true when type is public. */
|
|
254
|
+
isPublic?: boolean | null;
|
|
255
|
+
/** Unique bucket identifier used in S3 key paths (e.g. avatars, documents, temp) */
|
|
256
|
+
key?: string | null;
|
|
257
|
+
/** Maximum file size in bytes allowed in this bucket (NULL = no limit, enforcement deferred) */
|
|
258
|
+
maxFileSize?: string | null;
|
|
259
|
+
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
260
|
+
physicalName?: string | null;
|
|
261
|
+
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
262
|
+
stagingTtl?: string | null;
|
|
263
|
+
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
264
|
+
tags?: string[] | null;
|
|
265
|
+
/** Bucket CDN access type: public (CDN-served), private (presigned GET), temp (staging uploads) */
|
|
266
|
+
type?: BucketType | null;
|
|
267
|
+
updatedAt?: string | null;
|
|
268
|
+
}
|
|
269
|
+
/** Individual file records within buckets, with immutable identity fields and mutable metadata */
|
|
270
|
+
export interface File {
|
|
271
|
+
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
272
|
+
actorId?: string | null;
|
|
273
|
+
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
274
|
+
bucketId?: string | null;
|
|
275
|
+
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
276
|
+
contentHash?: string | null;
|
|
277
|
+
createdAt?: string | null;
|
|
278
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
279
|
+
databaseId?: string | null;
|
|
280
|
+
/** Human-readable description or alt text for the file (mutable) */
|
|
281
|
+
description?: string | null;
|
|
282
|
+
/** URL to download this file. For public files, returns the public URL. For private files, returns a time-limited presigned URL. */
|
|
283
|
+
downloadUrl?: string | null;
|
|
284
|
+
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
285
|
+
expiryEnqueuedAt?: string | null;
|
|
286
|
+
filePath?: string | null;
|
|
287
|
+
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
288
|
+
filename?: string | null;
|
|
289
|
+
id: string;
|
|
290
|
+
/** Whether this file is publicly readable. Inherited from bucket on INSERT. */
|
|
291
|
+
isPublic?: boolean | null;
|
|
292
|
+
/** S3 object key for this file, unique within its bucket */
|
|
293
|
+
key?: string | null;
|
|
294
|
+
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
295
|
+
mimeType?: string | null;
|
|
296
|
+
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
297
|
+
promotedAt?: string | null;
|
|
298
|
+
/** File size in bytes. Immutable after INSERT. */
|
|
299
|
+
size?: string | null;
|
|
300
|
+
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes), expired (bytes never arrived before the confirm window closed). */
|
|
301
|
+
status?: FileStatus | null;
|
|
302
|
+
/** User-defined tags for categorization and search (mutable) */
|
|
303
|
+
tags?: string[] | null;
|
|
304
|
+
updatedAt?: string | null;
|
|
305
|
+
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
306
|
+
upload?: ConstructiveInternalTypeUpload | null;
|
|
307
|
+
}
|
|
308
|
+
/** Logical storage containers that group files with shared access policies and CDN behavior */
|
|
309
|
+
export interface PlatformBucket {
|
|
310
|
+
/** User who created this bucket. Forced to current_user_id() on INSERT. */
|
|
311
|
+
actorId?: string | null;
|
|
312
|
+
/** When true, clients can provide custom S3 keys (e.g. reports/2024/Q1.pdf). When false (default), S3 key = content hash (automatic dedup). contentHash always required for integrity. */
|
|
313
|
+
allowCustomKeys?: boolean | null;
|
|
314
|
+
/** Whitelist of allowed MIME types for files in this bucket (NULL = all allowed, enforcement deferred) */
|
|
315
|
+
allowedMimeTypes?: string[] | null;
|
|
316
|
+
/** Per-bucket CORS allowed origins override (NULL = inherit from storage_module/plugin defaults). Use ARRAY['*'] for open/CDN mode. */
|
|
317
|
+
allowedOrigins?: string[] | null;
|
|
318
|
+
createdAt?: string | null;
|
|
319
|
+
/** Human-readable description of the bucket purpose */
|
|
320
|
+
description?: string | null;
|
|
321
|
+
/** For a temp bucket, the permanent bucket its uploads are promoted into. NULL on non-temp buckets; required on temp buckets. */
|
|
322
|
+
destinationBucketId?: string | null;
|
|
323
|
+
id: string;
|
|
324
|
+
/** Whether bucket contents are publicly readable. Set to true when type is public. */
|
|
325
|
+
isPublic?: boolean | null;
|
|
326
|
+
/** Unique bucket identifier used in S3 key paths (e.g. avatars, documents, temp) */
|
|
327
|
+
key?: string | null;
|
|
328
|
+
/** Maximum file size in bytes allowed in this bucket (NULL = no limit, enforcement deferred) */
|
|
329
|
+
maxFileSize?: string | null;
|
|
330
|
+
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
331
|
+
physicalName?: string | null;
|
|
332
|
+
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
333
|
+
stagingTtl?: string | null;
|
|
334
|
+
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
335
|
+
tags?: string[] | null;
|
|
336
|
+
/** Bucket CDN access type: public (CDN-served), private (presigned GET), temp (staging uploads) */
|
|
337
|
+
type?: BucketType | null;
|
|
338
|
+
updatedAt?: string | null;
|
|
339
|
+
}
|
|
340
|
+
/** Individual file records within buckets, with immutable identity fields and mutable metadata */
|
|
341
|
+
export interface PlatformFile {
|
|
342
|
+
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
343
|
+
actorId?: string | null;
|
|
344
|
+
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
345
|
+
bucketId?: string | null;
|
|
346
|
+
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
347
|
+
contentHash?: string | null;
|
|
348
|
+
createdAt?: string | null;
|
|
349
|
+
/** Human-readable description or alt text for the file (mutable) */
|
|
350
|
+
description?: string | null;
|
|
351
|
+
/** URL to download this file. For public files, returns the public URL. For private files, returns a time-limited presigned URL. */
|
|
352
|
+
downloadUrl?: string | null;
|
|
353
|
+
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
354
|
+
expiryEnqueuedAt?: string | null;
|
|
355
|
+
filePath?: string | null;
|
|
356
|
+
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
357
|
+
filename?: string | null;
|
|
358
|
+
id: string;
|
|
359
|
+
/** Whether this file is publicly readable. Inherited from bucket on INSERT. */
|
|
360
|
+
isPublic?: boolean | null;
|
|
361
|
+
/** S3 object key for this file, unique within its bucket */
|
|
362
|
+
key?: string | null;
|
|
363
|
+
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
364
|
+
mimeType?: string | null;
|
|
365
|
+
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
366
|
+
promotedAt?: string | null;
|
|
367
|
+
/** File size in bytes. Immutable after INSERT. */
|
|
368
|
+
size?: string | null;
|
|
369
|
+
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes), expired (bytes never arrived before the confirm window closed). */
|
|
370
|
+
status?: FileStatus | null;
|
|
371
|
+
/** User-defined tags for categorization and search (mutable) */
|
|
372
|
+
tags?: string[] | null;
|
|
373
|
+
updatedAt?: string | null;
|
|
374
|
+
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
375
|
+
upload?: ConstructiveInternalTypeUpload | null;
|
|
376
|
+
}
|
|
377
|
+
export interface ConnectionResult<T> {
|
|
378
|
+
nodes: T[];
|
|
379
|
+
totalCount: number;
|
|
380
|
+
pageInfo: PageInfo;
|
|
381
|
+
}
|
|
382
|
+
export interface PageInfo {
|
|
383
|
+
hasNextPage: boolean;
|
|
384
|
+
hasPreviousPage: boolean;
|
|
385
|
+
startCursor?: string | null;
|
|
386
|
+
endCursor?: string | null;
|
|
387
|
+
}
|
|
388
|
+
export interface BucketRelations {
|
|
389
|
+
destinationBucket?: Bucket | null;
|
|
390
|
+
bucketsByDestinationBucketId?: ConnectionResult<Bucket>;
|
|
391
|
+
files?: ConnectionResult<File>;
|
|
392
|
+
}
|
|
393
|
+
export interface FileRelations {
|
|
394
|
+
bucket?: Bucket | null;
|
|
395
|
+
}
|
|
396
|
+
export interface PlatformBucketRelations {
|
|
397
|
+
destinationBucket?: PlatformBucket | null;
|
|
398
|
+
platformBucketsByDestinationBucketId?: ConnectionResult<PlatformBucket>;
|
|
399
|
+
platformFilesByBucketId?: ConnectionResult<PlatformFile>;
|
|
400
|
+
}
|
|
401
|
+
export interface PlatformFileRelations {
|
|
402
|
+
bucket?: PlatformBucket | null;
|
|
403
|
+
}
|
|
404
|
+
export type BucketWithRelations = Bucket & BucketRelations;
|
|
405
|
+
export type FileWithRelations = File & FileRelations;
|
|
406
|
+
export type PlatformBucketWithRelations = PlatformBucket & PlatformBucketRelations;
|
|
407
|
+
export type PlatformFileWithRelations = PlatformFile & PlatformFileRelations;
|
|
408
|
+
export type BucketSelect = {
|
|
409
|
+
actorId?: boolean;
|
|
410
|
+
allowCustomKeys?: boolean;
|
|
411
|
+
allowedMimeTypes?: boolean;
|
|
412
|
+
allowedOrigins?: boolean;
|
|
413
|
+
createdAt?: boolean;
|
|
414
|
+
databaseId?: boolean;
|
|
415
|
+
description?: boolean;
|
|
416
|
+
destinationBucketId?: boolean;
|
|
417
|
+
id?: boolean;
|
|
418
|
+
isPublic?: boolean;
|
|
419
|
+
key?: boolean;
|
|
420
|
+
maxFileSize?: boolean;
|
|
421
|
+
physicalName?: boolean;
|
|
422
|
+
stagingTtl?: boolean;
|
|
423
|
+
tags?: boolean;
|
|
424
|
+
type?: boolean;
|
|
425
|
+
updatedAt?: boolean;
|
|
426
|
+
destinationBucket?: {
|
|
427
|
+
select: BucketSelect;
|
|
428
|
+
};
|
|
429
|
+
bucketsByDestinationBucketId?: {
|
|
430
|
+
select: BucketSelect;
|
|
431
|
+
first?: number;
|
|
432
|
+
filter?: BucketFilter;
|
|
433
|
+
orderBy?: BucketOrderBy[];
|
|
434
|
+
};
|
|
435
|
+
files?: {
|
|
436
|
+
select: FileSelect;
|
|
437
|
+
first?: number;
|
|
438
|
+
filter?: FileFilter;
|
|
439
|
+
orderBy?: FileOrderBy[];
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
export type FileSelect = {
|
|
443
|
+
actorId?: boolean;
|
|
444
|
+
bucketId?: boolean;
|
|
445
|
+
contentHash?: boolean;
|
|
446
|
+
createdAt?: boolean;
|
|
447
|
+
databaseId?: boolean;
|
|
448
|
+
description?: boolean;
|
|
449
|
+
downloadUrl?: boolean;
|
|
450
|
+
expiryEnqueuedAt?: boolean;
|
|
451
|
+
filePath?: boolean;
|
|
452
|
+
filename?: boolean;
|
|
453
|
+
id?: boolean;
|
|
454
|
+
isPublic?: boolean;
|
|
455
|
+
key?: boolean;
|
|
456
|
+
mimeType?: boolean;
|
|
457
|
+
promotedAt?: boolean;
|
|
458
|
+
size?: boolean;
|
|
459
|
+
status?: boolean;
|
|
460
|
+
tags?: boolean;
|
|
461
|
+
updatedAt?: boolean;
|
|
462
|
+
upload?: boolean;
|
|
463
|
+
bucket?: {
|
|
464
|
+
select: BucketSelect;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
export type PlatformBucketSelect = {
|
|
468
|
+
actorId?: boolean;
|
|
469
|
+
allowCustomKeys?: boolean;
|
|
470
|
+
allowedMimeTypes?: boolean;
|
|
471
|
+
allowedOrigins?: boolean;
|
|
472
|
+
createdAt?: boolean;
|
|
473
|
+
description?: boolean;
|
|
474
|
+
destinationBucketId?: boolean;
|
|
475
|
+
id?: boolean;
|
|
476
|
+
isPublic?: boolean;
|
|
477
|
+
key?: boolean;
|
|
478
|
+
maxFileSize?: boolean;
|
|
479
|
+
physicalName?: boolean;
|
|
480
|
+
stagingTtl?: boolean;
|
|
481
|
+
tags?: boolean;
|
|
482
|
+
type?: boolean;
|
|
483
|
+
updatedAt?: boolean;
|
|
484
|
+
destinationBucket?: {
|
|
485
|
+
select: PlatformBucketSelect;
|
|
486
|
+
};
|
|
487
|
+
platformBucketsByDestinationBucketId?: {
|
|
488
|
+
select: PlatformBucketSelect;
|
|
489
|
+
first?: number;
|
|
490
|
+
filter?: PlatformBucketFilter;
|
|
491
|
+
orderBy?: PlatformBucketOrderBy[];
|
|
492
|
+
};
|
|
493
|
+
platformFilesByBucketId?: {
|
|
494
|
+
select: PlatformFileSelect;
|
|
495
|
+
first?: number;
|
|
496
|
+
filter?: PlatformFileFilter;
|
|
497
|
+
orderBy?: PlatformFileOrderBy[];
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
export type PlatformFileSelect = {
|
|
501
|
+
actorId?: boolean;
|
|
502
|
+
bucketId?: boolean;
|
|
503
|
+
contentHash?: boolean;
|
|
504
|
+
createdAt?: boolean;
|
|
505
|
+
description?: boolean;
|
|
506
|
+
downloadUrl?: boolean;
|
|
507
|
+
expiryEnqueuedAt?: boolean;
|
|
508
|
+
filePath?: boolean;
|
|
509
|
+
filename?: boolean;
|
|
510
|
+
id?: boolean;
|
|
511
|
+
isPublic?: boolean;
|
|
512
|
+
key?: boolean;
|
|
513
|
+
mimeType?: boolean;
|
|
514
|
+
promotedAt?: boolean;
|
|
515
|
+
size?: boolean;
|
|
516
|
+
status?: boolean;
|
|
517
|
+
tags?: boolean;
|
|
518
|
+
updatedAt?: boolean;
|
|
519
|
+
upload?: boolean;
|
|
520
|
+
bucket?: {
|
|
521
|
+
select: PlatformBucketSelect;
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
export interface BucketFilter {
|
|
525
|
+
/** Filter by the object’s `actorId` field. */
|
|
526
|
+
actorId?: UUIDFilter;
|
|
527
|
+
/** Filter by the object’s `allowCustomKeys` field. */
|
|
528
|
+
allowCustomKeys?: BooleanFilter;
|
|
529
|
+
/** Filter by the object’s `allowedMimeTypes` field. */
|
|
530
|
+
allowedMimeTypes?: StringListFilter;
|
|
531
|
+
/** Filter by the object’s `allowedOrigins` field. */
|
|
532
|
+
allowedOrigins?: StringListFilter;
|
|
533
|
+
/** Checks for all expressions in this list. */
|
|
534
|
+
and?: BucketFilter[];
|
|
535
|
+
/** Filter by the object’s `bucketsByDestinationBucketId` relation. */
|
|
536
|
+
bucketsByDestinationBucketId?: BucketToManyBucketFilter;
|
|
537
|
+
/** `bucketsByDestinationBucketId` exist. */
|
|
538
|
+
bucketsByDestinationBucketIdExist?: boolean;
|
|
539
|
+
/** Filter by the object’s `createdAt` field. */
|
|
540
|
+
createdAt?: DatetimeFilter;
|
|
541
|
+
/** Filter by the object’s `databaseId` field. */
|
|
542
|
+
databaseId?: UUIDFilter;
|
|
543
|
+
/** Filter by the object’s `description` field. */
|
|
544
|
+
description?: StringFilter;
|
|
545
|
+
/** Filter by the object’s `destinationBucket` relation. */
|
|
546
|
+
destinationBucket?: BucketFilter;
|
|
547
|
+
/** A related `destinationBucket` exists. */
|
|
548
|
+
destinationBucketExists?: boolean;
|
|
549
|
+
/** Filter by the object’s `destinationBucketId` field. */
|
|
550
|
+
destinationBucketId?: UUIDFilter;
|
|
551
|
+
/** Filter by the object’s `files` relation. */
|
|
552
|
+
files?: BucketToManyFileFilter;
|
|
553
|
+
/** `files` exist. */
|
|
554
|
+
filesExist?: boolean;
|
|
555
|
+
/** Filter by the object’s `id` field. */
|
|
556
|
+
id?: UUIDFilter;
|
|
557
|
+
/** Filter by the object’s `isPublic` field. */
|
|
558
|
+
isPublic?: BooleanFilter;
|
|
559
|
+
/** Filter by the object’s `key` field. */
|
|
560
|
+
key?: StringFilter;
|
|
561
|
+
/** Filter by the object’s `maxFileSize` field. */
|
|
562
|
+
maxFileSize?: BigIntFilter;
|
|
563
|
+
/** Negates the expression. */
|
|
564
|
+
not?: BucketFilter;
|
|
565
|
+
/** Checks for any expressions in this list. */
|
|
566
|
+
or?: BucketFilter[];
|
|
567
|
+
/** Filter by the object’s `physicalName` field. */
|
|
568
|
+
physicalName?: StringFilter;
|
|
569
|
+
/** Filter by the object’s `stagingTtl` field. */
|
|
570
|
+
stagingTtl?: IntervalFilter;
|
|
571
|
+
/** Filter by the object’s `tags` field. */
|
|
572
|
+
tags?: StringListFilter;
|
|
573
|
+
/** Filter by the object’s `type` field. */
|
|
574
|
+
type?: BucketTypeFilter;
|
|
575
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
576
|
+
updatedAt?: DatetimeFilter;
|
|
577
|
+
}
|
|
578
|
+
export interface FileFilter {
|
|
579
|
+
/** Filter by the object’s `actorId` field. */
|
|
580
|
+
actorId?: UUIDFilter;
|
|
581
|
+
/** Checks for all expressions in this list. */
|
|
582
|
+
and?: FileFilter[];
|
|
583
|
+
/** Filter by the object’s `bucket` relation. */
|
|
584
|
+
bucket?: BucketFilter;
|
|
585
|
+
/** Filter by the object’s `bucketId` field. */
|
|
586
|
+
bucketId?: UUIDFilter;
|
|
587
|
+
/** Filter by the object’s `contentHash` field. */
|
|
588
|
+
contentHash?: StringFilter;
|
|
589
|
+
/** Filter by the object’s `createdAt` field. */
|
|
590
|
+
createdAt?: DatetimeFilter;
|
|
591
|
+
/** Filter by the object’s `databaseId` field. */
|
|
592
|
+
databaseId?: UUIDFilter;
|
|
593
|
+
/** Filter by the object’s `description` field. */
|
|
594
|
+
description?: StringFilter;
|
|
595
|
+
/** Filter by the object’s `expiryEnqueuedAt` field. */
|
|
596
|
+
expiryEnqueuedAt?: DatetimeFilter;
|
|
597
|
+
/** Filter by the object’s `filename` field. */
|
|
598
|
+
filename?: StringFilter;
|
|
599
|
+
/** Filter by the object’s `id` field. */
|
|
600
|
+
id?: UUIDFilter;
|
|
601
|
+
/** Filter by the object’s `isPublic` field. */
|
|
602
|
+
isPublic?: BooleanFilter;
|
|
603
|
+
/** Filter by the object’s `key` field. */
|
|
604
|
+
key?: StringFilter;
|
|
605
|
+
/** Filter by the object’s `mimeType` field. */
|
|
606
|
+
mimeType?: StringFilter;
|
|
607
|
+
/** Negates the expression. */
|
|
608
|
+
not?: FileFilter;
|
|
609
|
+
/** Checks for any expressions in this list. */
|
|
610
|
+
or?: FileFilter[];
|
|
611
|
+
/** Filter by the object’s `promotedAt` field. */
|
|
612
|
+
promotedAt?: DatetimeFilter;
|
|
613
|
+
/** Filter by the object’s `size` field. */
|
|
614
|
+
size?: BigIntFilter;
|
|
615
|
+
/** Filter by the object’s `status` field. */
|
|
616
|
+
status?: FileStatusFilter;
|
|
617
|
+
/** Filter by the object’s `tags` field. */
|
|
618
|
+
tags?: StringListFilter;
|
|
619
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
620
|
+
updatedAt?: DatetimeFilter;
|
|
621
|
+
/** Filter by the object’s `upload` field. */
|
|
622
|
+
upload?: ConstructiveInternalTypeUploadFilter;
|
|
623
|
+
}
|
|
624
|
+
export interface PlatformBucketFilter {
|
|
625
|
+
/** Filter by the object’s `actorId` field. */
|
|
626
|
+
actorId?: UUIDFilter;
|
|
627
|
+
/** Filter by the object’s `allowCustomKeys` field. */
|
|
628
|
+
allowCustomKeys?: BooleanFilter;
|
|
629
|
+
/** Filter by the object’s `allowedMimeTypes` field. */
|
|
630
|
+
allowedMimeTypes?: StringListFilter;
|
|
631
|
+
/** Filter by the object’s `allowedOrigins` field. */
|
|
632
|
+
allowedOrigins?: StringListFilter;
|
|
633
|
+
/** Checks for all expressions in this list. */
|
|
634
|
+
and?: PlatformBucketFilter[];
|
|
635
|
+
/** Filter by the object’s `createdAt` field. */
|
|
636
|
+
createdAt?: DatetimeFilter;
|
|
637
|
+
/** Filter by the object’s `description` field. */
|
|
638
|
+
description?: StringFilter;
|
|
639
|
+
/** Filter by the object’s `destinationBucket` relation. */
|
|
640
|
+
destinationBucket?: PlatformBucketFilter;
|
|
641
|
+
/** A related `destinationBucket` exists. */
|
|
642
|
+
destinationBucketExists?: boolean;
|
|
643
|
+
/** Filter by the object’s `destinationBucketId` field. */
|
|
644
|
+
destinationBucketId?: UUIDFilter;
|
|
645
|
+
/** Filter by the object’s `id` field. */
|
|
646
|
+
id?: UUIDFilter;
|
|
647
|
+
/** Filter by the object’s `isPublic` field. */
|
|
648
|
+
isPublic?: BooleanFilter;
|
|
649
|
+
/** Filter by the object’s `key` field. */
|
|
650
|
+
key?: StringFilter;
|
|
651
|
+
/** Filter by the object’s `maxFileSize` field. */
|
|
652
|
+
maxFileSize?: BigIntFilter;
|
|
653
|
+
/** Negates the expression. */
|
|
654
|
+
not?: PlatformBucketFilter;
|
|
655
|
+
/** Checks for any expressions in this list. */
|
|
656
|
+
or?: PlatformBucketFilter[];
|
|
657
|
+
/** Filter by the object’s `physicalName` field. */
|
|
658
|
+
physicalName?: StringFilter;
|
|
659
|
+
/** Filter by the object’s `platformBucketsByDestinationBucketId` relation. */
|
|
660
|
+
platformBucketsByDestinationBucketId?: PlatformBucketToManyPlatformBucketFilter;
|
|
661
|
+
/** `platformBucketsByDestinationBucketId` exist. */
|
|
662
|
+
platformBucketsByDestinationBucketIdExist?: boolean;
|
|
663
|
+
/** Filter by the object’s `platformFilesByBucketId` relation. */
|
|
664
|
+
platformFilesByBucketId?: PlatformBucketToManyPlatformFileFilter;
|
|
665
|
+
/** `platformFilesByBucketId` exist. */
|
|
666
|
+
platformFilesByBucketIdExist?: boolean;
|
|
667
|
+
/** Filter by the object’s `stagingTtl` field. */
|
|
668
|
+
stagingTtl?: IntervalFilter;
|
|
669
|
+
/** Filter by the object’s `tags` field. */
|
|
670
|
+
tags?: StringListFilter;
|
|
671
|
+
/** Filter by the object’s `type` field. */
|
|
672
|
+
type?: BucketTypeFilter;
|
|
673
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
674
|
+
updatedAt?: DatetimeFilter;
|
|
675
|
+
}
|
|
676
|
+
export interface PlatformFileFilter {
|
|
677
|
+
/** Filter by the object’s `actorId` field. */
|
|
678
|
+
actorId?: UUIDFilter;
|
|
679
|
+
/** Checks for all expressions in this list. */
|
|
680
|
+
and?: PlatformFileFilter[];
|
|
681
|
+
/** Filter by the object’s `bucket` relation. */
|
|
682
|
+
bucket?: PlatformBucketFilter;
|
|
683
|
+
/** Filter by the object’s `bucketId` field. */
|
|
684
|
+
bucketId?: UUIDFilter;
|
|
685
|
+
/** Filter by the object’s `contentHash` field. */
|
|
686
|
+
contentHash?: StringFilter;
|
|
687
|
+
/** Filter by the object’s `createdAt` field. */
|
|
688
|
+
createdAt?: DatetimeFilter;
|
|
689
|
+
/** Filter by the object’s `description` field. */
|
|
690
|
+
description?: StringFilter;
|
|
691
|
+
/** Filter by the object’s `expiryEnqueuedAt` field. */
|
|
692
|
+
expiryEnqueuedAt?: DatetimeFilter;
|
|
693
|
+
/** Filter by the object’s `filename` field. */
|
|
694
|
+
filename?: StringFilter;
|
|
695
|
+
/** Filter by the object’s `id` field. */
|
|
696
|
+
id?: UUIDFilter;
|
|
697
|
+
/** Filter by the object’s `isPublic` field. */
|
|
698
|
+
isPublic?: BooleanFilter;
|
|
699
|
+
/** Filter by the object’s `key` field. */
|
|
700
|
+
key?: StringFilter;
|
|
701
|
+
/** Filter by the object’s `mimeType` field. */
|
|
702
|
+
mimeType?: StringFilter;
|
|
703
|
+
/** Negates the expression. */
|
|
704
|
+
not?: PlatformFileFilter;
|
|
705
|
+
/** Checks for any expressions in this list. */
|
|
706
|
+
or?: PlatformFileFilter[];
|
|
707
|
+
/** Filter by the object’s `promotedAt` field. */
|
|
708
|
+
promotedAt?: DatetimeFilter;
|
|
709
|
+
/** Filter by the object’s `size` field. */
|
|
710
|
+
size?: BigIntFilter;
|
|
711
|
+
/** Filter by the object’s `status` field. */
|
|
712
|
+
status?: FileStatusFilter;
|
|
713
|
+
/** Filter by the object’s `tags` field. */
|
|
714
|
+
tags?: StringListFilter;
|
|
715
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
716
|
+
updatedAt?: DatetimeFilter;
|
|
717
|
+
/** Filter by the object’s `upload` field. */
|
|
718
|
+
upload?: ConstructiveInternalTypeUploadFilter;
|
|
719
|
+
}
|
|
720
|
+
export type BucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
721
|
+
export type FileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
722
|
+
export type PlatformBucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
723
|
+
export type PlatformFileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
724
|
+
export interface CreateBucketInput {
|
|
725
|
+
clientMutationId?: string;
|
|
726
|
+
bucket: {
|
|
727
|
+
actorId: string;
|
|
728
|
+
allowCustomKeys?: boolean;
|
|
729
|
+
allowedMimeTypes?: string[];
|
|
730
|
+
allowedOrigins?: string[];
|
|
731
|
+
databaseId: string;
|
|
732
|
+
description?: string;
|
|
733
|
+
destinationBucketId?: string;
|
|
734
|
+
isPublic?: boolean;
|
|
735
|
+
key: string;
|
|
736
|
+
maxFileSize?: string;
|
|
737
|
+
physicalName?: string;
|
|
738
|
+
stagingTtl?: IntervalInput;
|
|
739
|
+
tags?: string[];
|
|
740
|
+
type?: BucketType;
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
export interface BucketPatch {
|
|
744
|
+
actorId?: string | null;
|
|
745
|
+
allowCustomKeys?: boolean | null;
|
|
746
|
+
allowedMimeTypes?: string[] | null;
|
|
747
|
+
allowedOrigins?: string[] | null;
|
|
748
|
+
databaseId?: string | null;
|
|
749
|
+
description?: string | null;
|
|
750
|
+
destinationBucketId?: string | null;
|
|
751
|
+
isPublic?: boolean | null;
|
|
752
|
+
key?: string | null;
|
|
753
|
+
maxFileSize?: string | null;
|
|
754
|
+
physicalName?: string | null;
|
|
755
|
+
stagingTtl?: IntervalInput | null;
|
|
756
|
+
tags?: string[] | null;
|
|
757
|
+
type?: BucketType | null;
|
|
758
|
+
}
|
|
759
|
+
export interface UpdateBucketInput {
|
|
760
|
+
clientMutationId?: string;
|
|
761
|
+
id: string;
|
|
762
|
+
bucketPatch: BucketPatch;
|
|
763
|
+
}
|
|
764
|
+
export interface DeleteBucketInput {
|
|
765
|
+
clientMutationId?: string;
|
|
766
|
+
id: string;
|
|
767
|
+
}
|
|
768
|
+
export interface CreateFileInput {
|
|
769
|
+
clientMutationId?: string;
|
|
770
|
+
file: {
|
|
771
|
+
actorId: string;
|
|
772
|
+
bucketId: string;
|
|
773
|
+
contentHash?: string;
|
|
774
|
+
description?: string;
|
|
775
|
+
expiryEnqueuedAt?: string;
|
|
776
|
+
filename?: string;
|
|
777
|
+
key: string;
|
|
778
|
+
mimeType: string;
|
|
779
|
+
promotedAt?: string;
|
|
780
|
+
size: string;
|
|
781
|
+
status?: FileStatus;
|
|
782
|
+
tags?: string[];
|
|
783
|
+
upload?: ConstructiveInternalTypeUpload;
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
export interface FilePatch {
|
|
787
|
+
actorId?: string | null;
|
|
788
|
+
bucketId?: string | null;
|
|
789
|
+
contentHash?: string | null;
|
|
790
|
+
databaseId?: string | null;
|
|
791
|
+
description?: string | null;
|
|
792
|
+
expiryEnqueuedAt?: string | null;
|
|
793
|
+
filename?: string | null;
|
|
794
|
+
isPublic?: boolean | null;
|
|
795
|
+
key?: string | null;
|
|
796
|
+
mimeType?: string | null;
|
|
797
|
+
promotedAt?: string | null;
|
|
798
|
+
size?: string | null;
|
|
799
|
+
status?: FileStatus | null;
|
|
800
|
+
tags?: string[] | null;
|
|
801
|
+
upload?: ConstructiveInternalTypeUpload | null;
|
|
802
|
+
uploadUpload?: File | null;
|
|
803
|
+
}
|
|
804
|
+
export interface UpdateFileInput {
|
|
805
|
+
clientMutationId?: string;
|
|
806
|
+
id: string;
|
|
807
|
+
filePatch: FilePatch;
|
|
808
|
+
}
|
|
809
|
+
export interface DeleteFileInput {
|
|
810
|
+
clientMutationId?: string;
|
|
811
|
+
id: string;
|
|
812
|
+
}
|
|
813
|
+
export interface CreatePlatformBucketInput {
|
|
814
|
+
clientMutationId?: string;
|
|
815
|
+
platformBucket: {
|
|
816
|
+
actorId: string;
|
|
817
|
+
allowCustomKeys?: boolean;
|
|
818
|
+
allowedMimeTypes?: string[];
|
|
819
|
+
allowedOrigins?: string[];
|
|
820
|
+
description?: string;
|
|
821
|
+
destinationBucketId?: string;
|
|
822
|
+
isPublic?: boolean;
|
|
823
|
+
key: string;
|
|
824
|
+
maxFileSize?: string;
|
|
825
|
+
physicalName?: string;
|
|
826
|
+
stagingTtl?: IntervalInput;
|
|
827
|
+
tags?: string[];
|
|
828
|
+
type?: BucketType;
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
export interface PlatformBucketPatch {
|
|
832
|
+
actorId?: string | null;
|
|
833
|
+
allowCustomKeys?: boolean | null;
|
|
834
|
+
allowedMimeTypes?: string[] | null;
|
|
835
|
+
allowedOrigins?: string[] | null;
|
|
836
|
+
description?: string | null;
|
|
837
|
+
destinationBucketId?: string | null;
|
|
838
|
+
isPublic?: boolean | null;
|
|
839
|
+
key?: string | null;
|
|
840
|
+
maxFileSize?: string | null;
|
|
841
|
+
physicalName?: string | null;
|
|
842
|
+
stagingTtl?: IntervalInput | null;
|
|
843
|
+
tags?: string[] | null;
|
|
844
|
+
type?: BucketType | null;
|
|
845
|
+
}
|
|
846
|
+
export interface UpdatePlatformBucketInput {
|
|
847
|
+
clientMutationId?: string;
|
|
848
|
+
id: string;
|
|
849
|
+
platformBucketPatch: PlatformBucketPatch;
|
|
850
|
+
}
|
|
851
|
+
export interface DeletePlatformBucketInput {
|
|
852
|
+
clientMutationId?: string;
|
|
853
|
+
id: string;
|
|
854
|
+
}
|
|
855
|
+
export interface CreatePlatformFileInput {
|
|
856
|
+
clientMutationId?: string;
|
|
857
|
+
platformFile: {
|
|
858
|
+
actorId: string;
|
|
859
|
+
bucketId: string;
|
|
860
|
+
contentHash?: string;
|
|
861
|
+
description?: string;
|
|
862
|
+
expiryEnqueuedAt?: string;
|
|
863
|
+
filename?: string;
|
|
864
|
+
key: string;
|
|
865
|
+
mimeType: string;
|
|
866
|
+
promotedAt?: string;
|
|
867
|
+
size: string;
|
|
868
|
+
status?: FileStatus;
|
|
869
|
+
tags?: string[];
|
|
870
|
+
upload?: ConstructiveInternalTypeUpload;
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
export interface PlatformFilePatch {
|
|
874
|
+
actorId?: string | null;
|
|
875
|
+
bucketId?: string | null;
|
|
876
|
+
contentHash?: string | null;
|
|
877
|
+
description?: string | null;
|
|
878
|
+
expiryEnqueuedAt?: string | null;
|
|
879
|
+
filename?: string | null;
|
|
880
|
+
isPublic?: boolean | null;
|
|
881
|
+
key?: string | null;
|
|
882
|
+
mimeType?: string | null;
|
|
883
|
+
promotedAt?: string | null;
|
|
884
|
+
size?: string | null;
|
|
885
|
+
status?: FileStatus | null;
|
|
886
|
+
tags?: string[] | null;
|
|
887
|
+
upload?: ConstructiveInternalTypeUpload | null;
|
|
888
|
+
uploadUpload?: File | null;
|
|
889
|
+
}
|
|
890
|
+
export interface UpdatePlatformFileInput {
|
|
891
|
+
clientMutationId?: string;
|
|
892
|
+
id: string;
|
|
893
|
+
platformFilePatch: PlatformFilePatch;
|
|
894
|
+
}
|
|
895
|
+
export interface DeletePlatformFileInput {
|
|
896
|
+
clientMutationId?: string;
|
|
897
|
+
id: string;
|
|
898
|
+
}
|
|
899
|
+
export declare const connectionFieldsMap: Record<string, Record<string, string>>;
|
|
900
|
+
export interface FilesRenameInput {
|
|
901
|
+
clientMutationId?: string;
|
|
902
|
+
fileId?: string;
|
|
903
|
+
newFilename?: string;
|
|
904
|
+
}
|
|
905
|
+
export interface PlatformFilesRenameInput {
|
|
906
|
+
clientMutationId?: string;
|
|
907
|
+
fileId?: string;
|
|
908
|
+
newFilename?: string;
|
|
909
|
+
}
|
|
910
|
+
export interface ProvisionBucketInput {
|
|
911
|
+
/** The logical bucket key (e.g., "public", "private") */
|
|
912
|
+
bucketKey: string;
|
|
913
|
+
/**
|
|
914
|
+
* Owner entity ID for entity-scoped bucket provisioning.
|
|
915
|
+
* Omit for app-level (database-wide) storage.
|
|
916
|
+
*/
|
|
917
|
+
ownerId?: string;
|
|
918
|
+
}
|
|
919
|
+
export interface UploadFileInput {
|
|
920
|
+
/** Bucket key (e.g., "public", "private"). Omit to use the database's default bucket for the requested access. */
|
|
921
|
+
bucketKey?: string;
|
|
922
|
+
/** SHA-256 content hash (hex-encoded, 64 chars) */
|
|
923
|
+
contentHash: string;
|
|
924
|
+
/** MIME type of the file */
|
|
925
|
+
contentType: string;
|
|
926
|
+
/** Original filename (optional) */
|
|
927
|
+
filename?: string;
|
|
928
|
+
/** Which default bucket to resolve when bucketKey is omitted: the public one (true) or the private one (default false). Ignored when bucketKey is given. */
|
|
929
|
+
isPublic?: boolean;
|
|
930
|
+
/** Custom S3 key (only when bucket has allow_custom_keys=true) */
|
|
931
|
+
key?: string;
|
|
932
|
+
/** File size in bytes */
|
|
933
|
+
size: number;
|
|
934
|
+
}
|
|
935
|
+
export interface UploadFileBulkInput {
|
|
936
|
+
/** Bucket key (e.g., "public", "private"). Omit to use the database's default bucket for the requested access. */
|
|
937
|
+
bucketKey?: string;
|
|
938
|
+
/** Array of files to upload */
|
|
939
|
+
files: UploadFileBulkFileInput[];
|
|
940
|
+
/** Which default bucket to resolve when bucketKey is omitted. Ignored when bucketKey is given. */
|
|
941
|
+
isPublic?: boolean;
|
|
942
|
+
}
|
|
943
|
+
export interface UploadPlatformFileInput {
|
|
944
|
+
/** Bucket key (e.g., "public", "private"). Omit to use the database's default bucket for the requested access. */
|
|
945
|
+
bucketKey?: string;
|
|
946
|
+
/** SHA-256 content hash (hex-encoded, 64 chars) */
|
|
947
|
+
contentHash: string;
|
|
948
|
+
/** MIME type of the file */
|
|
949
|
+
contentType: string;
|
|
950
|
+
/** Original filename (optional) */
|
|
951
|
+
filename?: string;
|
|
952
|
+
/** Which default bucket to resolve when bucketKey is omitted: the public one (true) or the private one (default false). Ignored when bucketKey is given. */
|
|
953
|
+
isPublic?: boolean;
|
|
954
|
+
/** Custom S3 key (only when bucket has allow_custom_keys=true) */
|
|
955
|
+
key?: string;
|
|
956
|
+
/** File size in bytes */
|
|
957
|
+
size: number;
|
|
958
|
+
}
|
|
959
|
+
export interface UploadPlatformFileBulkInput {
|
|
960
|
+
/** Bucket key (e.g., "public", "private"). Omit to use the database's default bucket for the requested access. */
|
|
961
|
+
bucketKey?: string;
|
|
962
|
+
/** Array of files to upload */
|
|
963
|
+
files: UploadPlatformFileBulkFileInput[];
|
|
964
|
+
/** Which default bucket to resolve when bucketKey is omitted. Ignored when bucketKey is given. */
|
|
965
|
+
isPublic?: boolean;
|
|
966
|
+
}
|
|
967
|
+
/** A filter to be used against many `Bucket` object types. All fields are combined with a logical ‘and.’ */
|
|
968
|
+
export interface BucketToManyBucketFilter {
|
|
969
|
+
/** Filters to entities where every related entity matches. */
|
|
970
|
+
every?: BucketFilter;
|
|
971
|
+
/** Filters to entities where no related entity matches. */
|
|
972
|
+
none?: BucketFilter;
|
|
973
|
+
/** Filters to entities where at least one related entity matches. */
|
|
974
|
+
some?: BucketFilter;
|
|
975
|
+
}
|
|
976
|
+
/** A filter to be used against many `File` object types. All fields are combined with a logical ‘and.’ */
|
|
977
|
+
export interface BucketToManyFileFilter {
|
|
978
|
+
/** Filters to entities where every related entity matches. */
|
|
979
|
+
every?: FileFilter;
|
|
980
|
+
/** Filters to entities where no related entity matches. */
|
|
981
|
+
none?: FileFilter;
|
|
982
|
+
/** Filters to entities where at least one related entity matches. */
|
|
983
|
+
some?: FileFilter;
|
|
984
|
+
}
|
|
985
|
+
/** A filter to be used against Interval fields. All fields are combined with a logical ‘and.’ */
|
|
986
|
+
export interface IntervalFilter {
|
|
987
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
988
|
+
distinctFrom?: IntervalInput;
|
|
989
|
+
/** Equal to the specified value. */
|
|
990
|
+
equalTo?: IntervalInput;
|
|
991
|
+
/** Greater than the specified value. */
|
|
992
|
+
greaterThan?: IntervalInput;
|
|
993
|
+
/** Greater than or equal to the specified value. */
|
|
994
|
+
greaterThanOrEqualTo?: IntervalInput;
|
|
995
|
+
/** Included in the specified list. */
|
|
996
|
+
in?: IntervalInput[];
|
|
997
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
998
|
+
isNull?: boolean;
|
|
999
|
+
/** Less than the specified value. */
|
|
1000
|
+
lessThan?: IntervalInput;
|
|
1001
|
+
/** Less than or equal to the specified value. */
|
|
1002
|
+
lessThanOrEqualTo?: IntervalInput;
|
|
1003
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1004
|
+
notDistinctFrom?: IntervalInput;
|
|
1005
|
+
/** Not equal to the specified value. */
|
|
1006
|
+
notEqualTo?: IntervalInput;
|
|
1007
|
+
/** Not included in the specified list. */
|
|
1008
|
+
notIn?: IntervalInput[];
|
|
1009
|
+
}
|
|
1010
|
+
/** A filter to be used against BucketType fields. All fields are combined with a logical ‘and.’ */
|
|
1011
|
+
export interface BucketTypeFilter {
|
|
1012
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1013
|
+
distinctFrom?: BucketType;
|
|
1014
|
+
/** Equal to the specified value. */
|
|
1015
|
+
equalTo?: BucketType;
|
|
1016
|
+
/** Greater than the specified value. */
|
|
1017
|
+
greaterThan?: BucketType;
|
|
1018
|
+
/** Greater than or equal to the specified value. */
|
|
1019
|
+
greaterThanOrEqualTo?: BucketType;
|
|
1020
|
+
/** Included in the specified list. */
|
|
1021
|
+
in?: BucketType[];
|
|
1022
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1023
|
+
isNull?: boolean;
|
|
1024
|
+
/** Less than the specified value. */
|
|
1025
|
+
lessThan?: BucketType;
|
|
1026
|
+
/** Less than or equal to the specified value. */
|
|
1027
|
+
lessThanOrEqualTo?: BucketType;
|
|
1028
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1029
|
+
notDistinctFrom?: BucketType;
|
|
1030
|
+
/** Not equal to the specified value. */
|
|
1031
|
+
notEqualTo?: BucketType;
|
|
1032
|
+
/** Not included in the specified list. */
|
|
1033
|
+
notIn?: BucketType[];
|
|
1034
|
+
}
|
|
1035
|
+
/** A filter to be used against FileStatus fields. All fields are combined with a logical ‘and.’ */
|
|
1036
|
+
export interface FileStatusFilter {
|
|
1037
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1038
|
+
distinctFrom?: FileStatus;
|
|
1039
|
+
/** Equal to the specified value. */
|
|
1040
|
+
equalTo?: FileStatus;
|
|
1041
|
+
/** Greater than the specified value. */
|
|
1042
|
+
greaterThan?: FileStatus;
|
|
1043
|
+
/** Greater than or equal to the specified value. */
|
|
1044
|
+
greaterThanOrEqualTo?: FileStatus;
|
|
1045
|
+
/** Included in the specified list. */
|
|
1046
|
+
in?: FileStatus[];
|
|
1047
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1048
|
+
isNull?: boolean;
|
|
1049
|
+
/** Less than the specified value. */
|
|
1050
|
+
lessThan?: FileStatus;
|
|
1051
|
+
/** Less than or equal to the specified value. */
|
|
1052
|
+
lessThanOrEqualTo?: FileStatus;
|
|
1053
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1054
|
+
notDistinctFrom?: FileStatus;
|
|
1055
|
+
/** Not equal to the specified value. */
|
|
1056
|
+
notEqualTo?: FileStatus;
|
|
1057
|
+
/** Not included in the specified list. */
|
|
1058
|
+
notIn?: FileStatus[];
|
|
1059
|
+
}
|
|
1060
|
+
/** A filter to be used against ConstructiveInternalTypeUpload fields. All fields are combined with a logical ‘and.’ */
|
|
1061
|
+
export interface ConstructiveInternalTypeUploadFilter {
|
|
1062
|
+
/** Contained by the specified JSON. */
|
|
1063
|
+
containedBy?: ConstructiveInternalTypeUpload;
|
|
1064
|
+
/** Contains the specified JSON. */
|
|
1065
|
+
contains?: ConstructiveInternalTypeUpload;
|
|
1066
|
+
/** Contains all of the specified keys. */
|
|
1067
|
+
containsAllKeys?: string[];
|
|
1068
|
+
/** Contains any of the specified keys. */
|
|
1069
|
+
containsAnyKeys?: string[];
|
|
1070
|
+
/** Contains the specified key. */
|
|
1071
|
+
containsKey?: string;
|
|
1072
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1073
|
+
distinctFrom?: ConstructiveInternalTypeUpload;
|
|
1074
|
+
/** Equal to the specified value. */
|
|
1075
|
+
equalTo?: ConstructiveInternalTypeUpload;
|
|
1076
|
+
/** Greater than the specified value. */
|
|
1077
|
+
greaterThan?: ConstructiveInternalTypeUpload;
|
|
1078
|
+
/** Greater than or equal to the specified value. */
|
|
1079
|
+
greaterThanOrEqualTo?: ConstructiveInternalTypeUpload;
|
|
1080
|
+
/** Included in the specified list. */
|
|
1081
|
+
in?: ConstructiveInternalTypeUpload[];
|
|
1082
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1083
|
+
isNull?: boolean;
|
|
1084
|
+
/** Less than the specified value. */
|
|
1085
|
+
lessThan?: ConstructiveInternalTypeUpload;
|
|
1086
|
+
/** Less than or equal to the specified value. */
|
|
1087
|
+
lessThanOrEqualTo?: ConstructiveInternalTypeUpload;
|
|
1088
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1089
|
+
notDistinctFrom?: ConstructiveInternalTypeUpload;
|
|
1090
|
+
/** Not equal to the specified value. */
|
|
1091
|
+
notEqualTo?: ConstructiveInternalTypeUpload;
|
|
1092
|
+
/** Not included in the specified list. */
|
|
1093
|
+
notIn?: ConstructiveInternalTypeUpload[];
|
|
1094
|
+
}
|
|
1095
|
+
/** A filter to be used against many `PlatformBucket` object types. All fields are combined with a logical ‘and.’ */
|
|
1096
|
+
export interface PlatformBucketToManyPlatformBucketFilter {
|
|
1097
|
+
/** Filters to entities where every related entity matches. */
|
|
1098
|
+
every?: PlatformBucketFilter;
|
|
1099
|
+
/** Filters to entities where no related entity matches. */
|
|
1100
|
+
none?: PlatformBucketFilter;
|
|
1101
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1102
|
+
some?: PlatformBucketFilter;
|
|
1103
|
+
}
|
|
1104
|
+
/** A filter to be used against many `PlatformFile` object types. All fields are combined with a logical ‘and.’ */
|
|
1105
|
+
export interface PlatformBucketToManyPlatformFileFilter {
|
|
1106
|
+
/** Filters to entities where every related entity matches. */
|
|
1107
|
+
every?: PlatformFileFilter;
|
|
1108
|
+
/** Filters to entities where no related entity matches. */
|
|
1109
|
+
none?: PlatformFileFilter;
|
|
1110
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1111
|
+
some?: PlatformFileFilter;
|
|
1112
|
+
}
|
|
1113
|
+
/** An input for mutations affecting `Bucket` */
|
|
1114
|
+
export interface BucketInput {
|
|
1115
|
+
/** User who created this bucket. Forced to current_user_id() on INSERT. */
|
|
1116
|
+
actorId: string;
|
|
1117
|
+
/** When true, clients can provide custom S3 keys (e.g. reports/2024/Q1.pdf). When false (default), S3 key = content hash (automatic dedup). contentHash always required for integrity. */
|
|
1118
|
+
allowCustomKeys?: boolean;
|
|
1119
|
+
/** Whitelist of allowed MIME types for files in this bucket (NULL = all allowed, enforcement deferred) */
|
|
1120
|
+
allowedMimeTypes?: string[];
|
|
1121
|
+
/** Per-bucket CORS allowed origins override (NULL = inherit from storage_module/plugin defaults). Use ARRAY['*'] for open/CDN mode. */
|
|
1122
|
+
allowedOrigins?: string[];
|
|
1123
|
+
createdAt?: string;
|
|
1124
|
+
/** Database that owns this resource (database-scoped isolation) */
|
|
1125
|
+
databaseId: string;
|
|
1126
|
+
/** Human-readable description of the bucket purpose */
|
|
1127
|
+
description?: string;
|
|
1128
|
+
/** For a temp bucket, the permanent bucket its uploads are promoted into. NULL on non-temp buckets; required on temp buckets. */
|
|
1129
|
+
destinationBucketId?: string;
|
|
1130
|
+
id?: string;
|
|
1131
|
+
/** Whether bucket contents are publicly readable. Set to true when type is public. */
|
|
1132
|
+
isPublic?: boolean;
|
|
1133
|
+
/** Unique bucket identifier used in S3 key paths (e.g. avatars, documents, temp) */
|
|
1134
|
+
key: string;
|
|
1135
|
+
/** Maximum file size in bytes allowed in this bucket (NULL = no limit, enforcement deferred) */
|
|
1136
|
+
maxFileSize?: string;
|
|
1137
|
+
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
1138
|
+
physicalName?: string;
|
|
1139
|
+
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
1140
|
+
stagingTtl?: IntervalInput;
|
|
1141
|
+
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
1142
|
+
tags?: string[];
|
|
1143
|
+
/** Bucket CDN access type: public (CDN-served), private (presigned GET), temp (staging uploads) */
|
|
1144
|
+
type?: BucketType;
|
|
1145
|
+
updatedAt?: string;
|
|
1146
|
+
}
|
|
1147
|
+
/** An interval of time that has passed where the smallest distinct unit is a second. */
|
|
1148
|
+
export interface IntervalInput {
|
|
1149
|
+
/** A quantity of days. */
|
|
1150
|
+
days?: number;
|
|
1151
|
+
/** A quantity of hours. */
|
|
1152
|
+
hours?: number;
|
|
1153
|
+
/** A quantity of minutes. */
|
|
1154
|
+
minutes?: number;
|
|
1155
|
+
/** A quantity of months. */
|
|
1156
|
+
months?: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* A quantity of seconds. This is the only non-integer field, as all the other
|
|
1159
|
+
* fields will dump their overflow into a smaller unit of time. Intervals don’t
|
|
1160
|
+
* have a smaller unit than seconds.
|
|
1161
|
+
*/
|
|
1162
|
+
seconds?: number;
|
|
1163
|
+
/** A quantity of years. */
|
|
1164
|
+
years?: number;
|
|
1165
|
+
}
|
|
1166
|
+
/** An input for mutations affecting `File` */
|
|
1167
|
+
export interface FileInput {
|
|
1168
|
+
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
1169
|
+
actorId: string;
|
|
1170
|
+
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
1171
|
+
bucketId: string;
|
|
1172
|
+
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
1173
|
+
contentHash?: string;
|
|
1174
|
+
createdAt?: string;
|
|
1175
|
+
/** Human-readable description or alt text for the file (mutable) */
|
|
1176
|
+
description?: string;
|
|
1177
|
+
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
1178
|
+
expiryEnqueuedAt?: string;
|
|
1179
|
+
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
1180
|
+
filename?: string;
|
|
1181
|
+
id?: string;
|
|
1182
|
+
/** S3 object key for this file, unique within its bucket */
|
|
1183
|
+
key: string;
|
|
1184
|
+
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
1185
|
+
mimeType: string;
|
|
1186
|
+
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
1187
|
+
promotedAt?: string;
|
|
1188
|
+
/** File size in bytes. Immutable after INSERT. */
|
|
1189
|
+
size: string;
|
|
1190
|
+
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes), expired (bytes never arrived before the confirm window closed). */
|
|
1191
|
+
status?: FileStatus;
|
|
1192
|
+
/** User-defined tags for categorization and search (mutable) */
|
|
1193
|
+
tags?: string[];
|
|
1194
|
+
updatedAt?: string;
|
|
1195
|
+
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
1196
|
+
upload?: ConstructiveInternalTypeUpload;
|
|
1197
|
+
}
|
|
1198
|
+
/** An input for mutations affecting `PlatformBucket` */
|
|
1199
|
+
export interface PlatformBucketInput {
|
|
1200
|
+
/** User who created this bucket. Forced to current_user_id() on INSERT. */
|
|
1201
|
+
actorId: string;
|
|
1202
|
+
/** When true, clients can provide custom S3 keys (e.g. reports/2024/Q1.pdf). When false (default), S3 key = content hash (automatic dedup). contentHash always required for integrity. */
|
|
1203
|
+
allowCustomKeys?: boolean;
|
|
1204
|
+
/** Whitelist of allowed MIME types for files in this bucket (NULL = all allowed, enforcement deferred) */
|
|
1205
|
+
allowedMimeTypes?: string[];
|
|
1206
|
+
/** Per-bucket CORS allowed origins override (NULL = inherit from storage_module/plugin defaults). Use ARRAY['*'] for open/CDN mode. */
|
|
1207
|
+
allowedOrigins?: string[];
|
|
1208
|
+
createdAt?: string;
|
|
1209
|
+
/** Human-readable description of the bucket purpose */
|
|
1210
|
+
description?: string;
|
|
1211
|
+
/** For a temp bucket, the permanent bucket its uploads are promoted into. NULL on non-temp buckets; required on temp buckets. */
|
|
1212
|
+
destinationBucketId?: string;
|
|
1213
|
+
id?: string;
|
|
1214
|
+
/** Whether bucket contents are publicly readable. Set to true when type is public. */
|
|
1215
|
+
isPublic?: boolean;
|
|
1216
|
+
/** Unique bucket identifier used in S3 key paths (e.g. avatars, documents, temp) */
|
|
1217
|
+
key: string;
|
|
1218
|
+
/** Maximum file size in bytes allowed in this bucket (NULL = no limit, enforcement deferred) */
|
|
1219
|
+
maxFileSize?: string;
|
|
1220
|
+
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
1221
|
+
physicalName?: string;
|
|
1222
|
+
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
1223
|
+
stagingTtl?: IntervalInput;
|
|
1224
|
+
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
1225
|
+
tags?: string[];
|
|
1226
|
+
/** Bucket CDN access type: public (CDN-served), private (presigned GET), temp (staging uploads) */
|
|
1227
|
+
type?: BucketType;
|
|
1228
|
+
updatedAt?: string;
|
|
1229
|
+
}
|
|
1230
|
+
/** An input for mutations affecting `PlatformFile` */
|
|
1231
|
+
export interface PlatformFileInput {
|
|
1232
|
+
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
1233
|
+
actorId: string;
|
|
1234
|
+
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
1235
|
+
bucketId: string;
|
|
1236
|
+
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
1237
|
+
contentHash?: string;
|
|
1238
|
+
createdAt?: string;
|
|
1239
|
+
/** Human-readable description or alt text for the file (mutable) */
|
|
1240
|
+
description?: string;
|
|
1241
|
+
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
1242
|
+
expiryEnqueuedAt?: string;
|
|
1243
|
+
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
1244
|
+
filename?: string;
|
|
1245
|
+
id?: string;
|
|
1246
|
+
/** S3 object key for this file, unique within its bucket */
|
|
1247
|
+
key: string;
|
|
1248
|
+
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
1249
|
+
mimeType: string;
|
|
1250
|
+
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
1251
|
+
promotedAt?: string;
|
|
1252
|
+
/** File size in bytes. Immutable after INSERT. */
|
|
1253
|
+
size: string;
|
|
1254
|
+
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes), expired (bytes never arrived before the confirm window closed). */
|
|
1255
|
+
status?: FileStatus;
|
|
1256
|
+
/** User-defined tags for categorization and search (mutable) */
|
|
1257
|
+
tags?: string[];
|
|
1258
|
+
updatedAt?: string;
|
|
1259
|
+
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
1260
|
+
upload?: ConstructiveInternalTypeUpload;
|
|
1261
|
+
}
|
|
1262
|
+
export interface UploadFileBulkFileInput {
|
|
1263
|
+
/** SHA-256 content hash (hex-encoded, 64 chars) */
|
|
1264
|
+
contentHash: string;
|
|
1265
|
+
/** MIME type of the file */
|
|
1266
|
+
contentType: string;
|
|
1267
|
+
/** Original filename (optional) */
|
|
1268
|
+
filename?: string;
|
|
1269
|
+
/** Custom S3 key (only when bucket has allow_custom_keys=true) */
|
|
1270
|
+
key?: string;
|
|
1271
|
+
/** File size in bytes */
|
|
1272
|
+
size: number;
|
|
1273
|
+
}
|
|
1274
|
+
export interface UploadPlatformFileBulkFileInput {
|
|
1275
|
+
/** SHA-256 content hash (hex-encoded, 64 chars) */
|
|
1276
|
+
contentHash: string;
|
|
1277
|
+
/** MIME type of the file */
|
|
1278
|
+
contentType: string;
|
|
1279
|
+
/** Original filename (optional) */
|
|
1280
|
+
filename?: string;
|
|
1281
|
+
/** Custom S3 key (only when bucket has allow_custom_keys=true) */
|
|
1282
|
+
key?: string;
|
|
1283
|
+
/** File size in bytes */
|
|
1284
|
+
size: number;
|
|
1285
|
+
}
|
|
1286
|
+
/** A filter to be used against `Bucket` object types. All fields are combined with a logical ‘and.’ */
|
|
1287
|
+
export interface BucketFilter {
|
|
1288
|
+
/** Filter by the object’s `actorId` field. */
|
|
1289
|
+
actorId?: UUIDFilter;
|
|
1290
|
+
/** Filter by the object’s `allowCustomKeys` field. */
|
|
1291
|
+
allowCustomKeys?: BooleanFilter;
|
|
1292
|
+
/** Filter by the object’s `allowedMimeTypes` field. */
|
|
1293
|
+
allowedMimeTypes?: StringListFilter;
|
|
1294
|
+
/** Filter by the object’s `allowedOrigins` field. */
|
|
1295
|
+
allowedOrigins?: StringListFilter;
|
|
1296
|
+
/** Checks for all expressions in this list. */
|
|
1297
|
+
and?: BucketFilter[];
|
|
1298
|
+
/** Filter by the object’s `bucketsByDestinationBucketId` relation. */
|
|
1299
|
+
bucketsByDestinationBucketId?: BucketToManyBucketFilter;
|
|
1300
|
+
/** `bucketsByDestinationBucketId` exist. */
|
|
1301
|
+
bucketsByDestinationBucketIdExist?: boolean;
|
|
1302
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1303
|
+
createdAt?: DatetimeFilter;
|
|
1304
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1305
|
+
databaseId?: UUIDFilter;
|
|
1306
|
+
/** Filter by the object’s `description` field. */
|
|
1307
|
+
description?: StringFilter;
|
|
1308
|
+
/** Filter by the object’s `destinationBucket` relation. */
|
|
1309
|
+
destinationBucket?: BucketFilter;
|
|
1310
|
+
/** A related `destinationBucket` exists. */
|
|
1311
|
+
destinationBucketExists?: boolean;
|
|
1312
|
+
/** Filter by the object’s `destinationBucketId` field. */
|
|
1313
|
+
destinationBucketId?: UUIDFilter;
|
|
1314
|
+
/** Filter by the object’s `files` relation. */
|
|
1315
|
+
files?: BucketToManyFileFilter;
|
|
1316
|
+
/** `files` exist. */
|
|
1317
|
+
filesExist?: boolean;
|
|
1318
|
+
/** Filter by the object’s `id` field. */
|
|
1319
|
+
id?: UUIDFilter;
|
|
1320
|
+
/** Filter by the object’s `isPublic` field. */
|
|
1321
|
+
isPublic?: BooleanFilter;
|
|
1322
|
+
/** Filter by the object’s `key` field. */
|
|
1323
|
+
key?: StringFilter;
|
|
1324
|
+
/** Filter by the object’s `maxFileSize` field. */
|
|
1325
|
+
maxFileSize?: BigIntFilter;
|
|
1326
|
+
/** Negates the expression. */
|
|
1327
|
+
not?: BucketFilter;
|
|
1328
|
+
/** Checks for any expressions in this list. */
|
|
1329
|
+
or?: BucketFilter[];
|
|
1330
|
+
/** Filter by the object’s `physicalName` field. */
|
|
1331
|
+
physicalName?: StringFilter;
|
|
1332
|
+
/** Filter by the object’s `stagingTtl` field. */
|
|
1333
|
+
stagingTtl?: IntervalFilter;
|
|
1334
|
+
/** Filter by the object’s `tags` field. */
|
|
1335
|
+
tags?: StringListFilter;
|
|
1336
|
+
/** Filter by the object’s `type` field. */
|
|
1337
|
+
type?: BucketTypeFilter;
|
|
1338
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1339
|
+
updatedAt?: DatetimeFilter;
|
|
1340
|
+
}
|
|
1341
|
+
/** A filter to be used against `File` object types. All fields are combined with a logical ‘and.’ */
|
|
1342
|
+
export interface FileFilter {
|
|
1343
|
+
/** Filter by the object’s `actorId` field. */
|
|
1344
|
+
actorId?: UUIDFilter;
|
|
1345
|
+
/** Checks for all expressions in this list. */
|
|
1346
|
+
and?: FileFilter[];
|
|
1347
|
+
/** Filter by the object’s `bucket` relation. */
|
|
1348
|
+
bucket?: BucketFilter;
|
|
1349
|
+
/** Filter by the object’s `bucketId` field. */
|
|
1350
|
+
bucketId?: UUIDFilter;
|
|
1351
|
+
/** Filter by the object’s `contentHash` field. */
|
|
1352
|
+
contentHash?: StringFilter;
|
|
1353
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1354
|
+
createdAt?: DatetimeFilter;
|
|
1355
|
+
/** Filter by the object’s `databaseId` field. */
|
|
1356
|
+
databaseId?: UUIDFilter;
|
|
1357
|
+
/** Filter by the object’s `description` field. */
|
|
1358
|
+
description?: StringFilter;
|
|
1359
|
+
/** Filter by the object’s `expiryEnqueuedAt` field. */
|
|
1360
|
+
expiryEnqueuedAt?: DatetimeFilter;
|
|
1361
|
+
/** Filter by the object’s `filename` field. */
|
|
1362
|
+
filename?: StringFilter;
|
|
1363
|
+
/** Filter by the object’s `id` field. */
|
|
1364
|
+
id?: UUIDFilter;
|
|
1365
|
+
/** Filter by the object’s `isPublic` field. */
|
|
1366
|
+
isPublic?: BooleanFilter;
|
|
1367
|
+
/** Filter by the object’s `key` field. */
|
|
1368
|
+
key?: StringFilter;
|
|
1369
|
+
/** Filter by the object’s `mimeType` field. */
|
|
1370
|
+
mimeType?: StringFilter;
|
|
1371
|
+
/** Negates the expression. */
|
|
1372
|
+
not?: FileFilter;
|
|
1373
|
+
/** Checks for any expressions in this list. */
|
|
1374
|
+
or?: FileFilter[];
|
|
1375
|
+
/** Filter by the object’s `promotedAt` field. */
|
|
1376
|
+
promotedAt?: DatetimeFilter;
|
|
1377
|
+
/** Filter by the object’s `size` field. */
|
|
1378
|
+
size?: BigIntFilter;
|
|
1379
|
+
/** Filter by the object’s `status` field. */
|
|
1380
|
+
status?: FileStatusFilter;
|
|
1381
|
+
/** Filter by the object’s `tags` field. */
|
|
1382
|
+
tags?: StringListFilter;
|
|
1383
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1384
|
+
updatedAt?: DatetimeFilter;
|
|
1385
|
+
/** Filter by the object’s `upload` field. */
|
|
1386
|
+
upload?: ConstructiveInternalTypeUploadFilter;
|
|
1387
|
+
}
|
|
1388
|
+
/** A filter to be used against `PlatformBucket` object types. All fields are combined with a logical ‘and.’ */
|
|
1389
|
+
export interface PlatformBucketFilter {
|
|
1390
|
+
/** Filter by the object’s `actorId` field. */
|
|
1391
|
+
actorId?: UUIDFilter;
|
|
1392
|
+
/** Filter by the object’s `allowCustomKeys` field. */
|
|
1393
|
+
allowCustomKeys?: BooleanFilter;
|
|
1394
|
+
/** Filter by the object’s `allowedMimeTypes` field. */
|
|
1395
|
+
allowedMimeTypes?: StringListFilter;
|
|
1396
|
+
/** Filter by the object’s `allowedOrigins` field. */
|
|
1397
|
+
allowedOrigins?: StringListFilter;
|
|
1398
|
+
/** Checks for all expressions in this list. */
|
|
1399
|
+
and?: PlatformBucketFilter[];
|
|
1400
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1401
|
+
createdAt?: DatetimeFilter;
|
|
1402
|
+
/** Filter by the object’s `description` field. */
|
|
1403
|
+
description?: StringFilter;
|
|
1404
|
+
/** Filter by the object’s `destinationBucket` relation. */
|
|
1405
|
+
destinationBucket?: PlatformBucketFilter;
|
|
1406
|
+
/** A related `destinationBucket` exists. */
|
|
1407
|
+
destinationBucketExists?: boolean;
|
|
1408
|
+
/** Filter by the object’s `destinationBucketId` field. */
|
|
1409
|
+
destinationBucketId?: UUIDFilter;
|
|
1410
|
+
/** Filter by the object’s `id` field. */
|
|
1411
|
+
id?: UUIDFilter;
|
|
1412
|
+
/** Filter by the object’s `isPublic` field. */
|
|
1413
|
+
isPublic?: BooleanFilter;
|
|
1414
|
+
/** Filter by the object’s `key` field. */
|
|
1415
|
+
key?: StringFilter;
|
|
1416
|
+
/** Filter by the object’s `maxFileSize` field. */
|
|
1417
|
+
maxFileSize?: BigIntFilter;
|
|
1418
|
+
/** Negates the expression. */
|
|
1419
|
+
not?: PlatformBucketFilter;
|
|
1420
|
+
/** Checks for any expressions in this list. */
|
|
1421
|
+
or?: PlatformBucketFilter[];
|
|
1422
|
+
/** Filter by the object’s `physicalName` field. */
|
|
1423
|
+
physicalName?: StringFilter;
|
|
1424
|
+
/** Filter by the object’s `platformBucketsByDestinationBucketId` relation. */
|
|
1425
|
+
platformBucketsByDestinationBucketId?: PlatformBucketToManyPlatformBucketFilter;
|
|
1426
|
+
/** `platformBucketsByDestinationBucketId` exist. */
|
|
1427
|
+
platformBucketsByDestinationBucketIdExist?: boolean;
|
|
1428
|
+
/** Filter by the object’s `platformFilesByBucketId` relation. */
|
|
1429
|
+
platformFilesByBucketId?: PlatformBucketToManyPlatformFileFilter;
|
|
1430
|
+
/** `platformFilesByBucketId` exist. */
|
|
1431
|
+
platformFilesByBucketIdExist?: boolean;
|
|
1432
|
+
/** Filter by the object’s `stagingTtl` field. */
|
|
1433
|
+
stagingTtl?: IntervalFilter;
|
|
1434
|
+
/** Filter by the object’s `tags` field. */
|
|
1435
|
+
tags?: StringListFilter;
|
|
1436
|
+
/** Filter by the object’s `type` field. */
|
|
1437
|
+
type?: BucketTypeFilter;
|
|
1438
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1439
|
+
updatedAt?: DatetimeFilter;
|
|
1440
|
+
}
|
|
1441
|
+
/** A filter to be used against `PlatformFile` object types. All fields are combined with a logical ‘and.’ */
|
|
1442
|
+
export interface PlatformFileFilter {
|
|
1443
|
+
/** Filter by the object’s `actorId` field. */
|
|
1444
|
+
actorId?: UUIDFilter;
|
|
1445
|
+
/** Checks for all expressions in this list. */
|
|
1446
|
+
and?: PlatformFileFilter[];
|
|
1447
|
+
/** Filter by the object’s `bucket` relation. */
|
|
1448
|
+
bucket?: PlatformBucketFilter;
|
|
1449
|
+
/** Filter by the object’s `bucketId` field. */
|
|
1450
|
+
bucketId?: UUIDFilter;
|
|
1451
|
+
/** Filter by the object’s `contentHash` field. */
|
|
1452
|
+
contentHash?: StringFilter;
|
|
1453
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1454
|
+
createdAt?: DatetimeFilter;
|
|
1455
|
+
/** Filter by the object’s `description` field. */
|
|
1456
|
+
description?: StringFilter;
|
|
1457
|
+
/** Filter by the object’s `expiryEnqueuedAt` field. */
|
|
1458
|
+
expiryEnqueuedAt?: DatetimeFilter;
|
|
1459
|
+
/** Filter by the object’s `filename` field. */
|
|
1460
|
+
filename?: StringFilter;
|
|
1461
|
+
/** Filter by the object’s `id` field. */
|
|
1462
|
+
id?: UUIDFilter;
|
|
1463
|
+
/** Filter by the object’s `isPublic` field. */
|
|
1464
|
+
isPublic?: BooleanFilter;
|
|
1465
|
+
/** Filter by the object’s `key` field. */
|
|
1466
|
+
key?: StringFilter;
|
|
1467
|
+
/** Filter by the object’s `mimeType` field. */
|
|
1468
|
+
mimeType?: StringFilter;
|
|
1469
|
+
/** Negates the expression. */
|
|
1470
|
+
not?: PlatformFileFilter;
|
|
1471
|
+
/** Checks for any expressions in this list. */
|
|
1472
|
+
or?: PlatformFileFilter[];
|
|
1473
|
+
/** Filter by the object’s `promotedAt` field. */
|
|
1474
|
+
promotedAt?: DatetimeFilter;
|
|
1475
|
+
/** Filter by the object’s `size` field. */
|
|
1476
|
+
size?: BigIntFilter;
|
|
1477
|
+
/** Filter by the object’s `status` field. */
|
|
1478
|
+
status?: FileStatusFilter;
|
|
1479
|
+
/** Filter by the object’s `tags` field. */
|
|
1480
|
+
tags?: StringListFilter;
|
|
1481
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1482
|
+
updatedAt?: DatetimeFilter;
|
|
1483
|
+
/** Filter by the object’s `upload` field. */
|
|
1484
|
+
upload?: ConstructiveInternalTypeUploadFilter;
|
|
1485
|
+
}
|
|
1486
|
+
/** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
|
|
1487
|
+
export interface UUIDFilter {
|
|
1488
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1489
|
+
distinctFrom?: string;
|
|
1490
|
+
/** Equal to the specified value. */
|
|
1491
|
+
equalTo?: string;
|
|
1492
|
+
/** Greater than the specified value. */
|
|
1493
|
+
greaterThan?: string;
|
|
1494
|
+
/** Greater than or equal to the specified value. */
|
|
1495
|
+
greaterThanOrEqualTo?: string;
|
|
1496
|
+
/** Included in the specified list. */
|
|
1497
|
+
in?: string[];
|
|
1498
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1499
|
+
isNull?: boolean;
|
|
1500
|
+
/** Less than the specified value. */
|
|
1501
|
+
lessThan?: string;
|
|
1502
|
+
/** Less than or equal to the specified value. */
|
|
1503
|
+
lessThanOrEqualTo?: string;
|
|
1504
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1505
|
+
notDistinctFrom?: string;
|
|
1506
|
+
/** Not equal to the specified value. */
|
|
1507
|
+
notEqualTo?: string;
|
|
1508
|
+
/** Not included in the specified list. */
|
|
1509
|
+
notIn?: string[];
|
|
1510
|
+
}
|
|
1511
|
+
/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
|
|
1512
|
+
export interface BooleanFilter {
|
|
1513
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1514
|
+
distinctFrom?: boolean;
|
|
1515
|
+
/** Equal to the specified value. */
|
|
1516
|
+
equalTo?: boolean;
|
|
1517
|
+
/** Greater than the specified value. */
|
|
1518
|
+
greaterThan?: boolean;
|
|
1519
|
+
/** Greater than or equal to the specified value. */
|
|
1520
|
+
greaterThanOrEqualTo?: boolean;
|
|
1521
|
+
/** Included in the specified list. */
|
|
1522
|
+
in?: boolean[];
|
|
1523
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1524
|
+
isNull?: boolean;
|
|
1525
|
+
/** Less than the specified value. */
|
|
1526
|
+
lessThan?: boolean;
|
|
1527
|
+
/** Less than or equal to the specified value. */
|
|
1528
|
+
lessThanOrEqualTo?: boolean;
|
|
1529
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1530
|
+
notDistinctFrom?: boolean;
|
|
1531
|
+
/** Not equal to the specified value. */
|
|
1532
|
+
notEqualTo?: boolean;
|
|
1533
|
+
/** Not included in the specified list. */
|
|
1534
|
+
notIn?: boolean[];
|
|
1535
|
+
}
|
|
1536
|
+
/** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
|
|
1537
|
+
export interface StringListFilter {
|
|
1538
|
+
/** Any array item is equal to the specified value. */
|
|
1539
|
+
anyEqualTo?: string;
|
|
1540
|
+
/** Any array item is greater than the specified value. */
|
|
1541
|
+
anyGreaterThan?: string;
|
|
1542
|
+
/** Any array item is greater than or equal to the specified value. */
|
|
1543
|
+
anyGreaterThanOrEqualTo?: string;
|
|
1544
|
+
/** Any array item is less than the specified value. */
|
|
1545
|
+
anyLessThan?: string;
|
|
1546
|
+
/** Any array item is less than or equal to the specified value. */
|
|
1547
|
+
anyLessThanOrEqualTo?: string;
|
|
1548
|
+
/** Any array item is not equal to the specified value. */
|
|
1549
|
+
anyNotEqualTo?: string;
|
|
1550
|
+
/** Contained by the specified list of values. */
|
|
1551
|
+
containedBy?: string[];
|
|
1552
|
+
/** Contains the specified list of values. */
|
|
1553
|
+
contains?: string[];
|
|
1554
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1555
|
+
distinctFrom?: string[];
|
|
1556
|
+
/** Equal to the specified value. */
|
|
1557
|
+
equalTo?: string[];
|
|
1558
|
+
/** Greater than the specified value. */
|
|
1559
|
+
greaterThan?: string[];
|
|
1560
|
+
/** Greater than or equal to the specified value. */
|
|
1561
|
+
greaterThanOrEqualTo?: string[];
|
|
1562
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1563
|
+
isNull?: boolean;
|
|
1564
|
+
/** Less than the specified value. */
|
|
1565
|
+
lessThan?: string[];
|
|
1566
|
+
/** Less than or equal to the specified value. */
|
|
1567
|
+
lessThanOrEqualTo?: string[];
|
|
1568
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1569
|
+
notDistinctFrom?: string[];
|
|
1570
|
+
/** Not equal to the specified value. */
|
|
1571
|
+
notEqualTo?: string[];
|
|
1572
|
+
/** Overlaps the specified list of values. */
|
|
1573
|
+
overlaps?: string[];
|
|
1574
|
+
}
|
|
1575
|
+
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
1576
|
+
export interface DatetimeFilter {
|
|
1577
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1578
|
+
distinctFrom?: string;
|
|
1579
|
+
/** Equal to the specified value. */
|
|
1580
|
+
equalTo?: string;
|
|
1581
|
+
/** Greater than the specified value. */
|
|
1582
|
+
greaterThan?: string;
|
|
1583
|
+
/** Greater than or equal to the specified value. */
|
|
1584
|
+
greaterThanOrEqualTo?: string;
|
|
1585
|
+
/** Included in the specified list. */
|
|
1586
|
+
in?: string[];
|
|
1587
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1588
|
+
isNull?: boolean;
|
|
1589
|
+
/** Less than the specified value. */
|
|
1590
|
+
lessThan?: string;
|
|
1591
|
+
/** Less than or equal to the specified value. */
|
|
1592
|
+
lessThanOrEqualTo?: string;
|
|
1593
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1594
|
+
notDistinctFrom?: string;
|
|
1595
|
+
/** Not equal to the specified value. */
|
|
1596
|
+
notEqualTo?: string;
|
|
1597
|
+
/** Not included in the specified list. */
|
|
1598
|
+
notIn?: string[];
|
|
1599
|
+
}
|
|
1600
|
+
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
|
|
1601
|
+
export interface StringFilter {
|
|
1602
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1603
|
+
distinctFrom?: string;
|
|
1604
|
+
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1605
|
+
distinctFromInsensitive?: string;
|
|
1606
|
+
/** Ends with the specified string (case-sensitive). */
|
|
1607
|
+
endsWith?: string;
|
|
1608
|
+
/** Ends with the specified string (case-insensitive). */
|
|
1609
|
+
endsWithInsensitive?: string;
|
|
1610
|
+
/** Equal to the specified value. */
|
|
1611
|
+
equalTo?: string;
|
|
1612
|
+
/** Equal to the specified value (case-insensitive). */
|
|
1613
|
+
equalToInsensitive?: string;
|
|
1614
|
+
/** Greater than the specified value. */
|
|
1615
|
+
greaterThan?: string;
|
|
1616
|
+
/** Greater than the specified value (case-insensitive). */
|
|
1617
|
+
greaterThanInsensitive?: string;
|
|
1618
|
+
/** Greater than or equal to the specified value. */
|
|
1619
|
+
greaterThanOrEqualTo?: string;
|
|
1620
|
+
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1621
|
+
greaterThanOrEqualToInsensitive?: string;
|
|
1622
|
+
/** Included in the specified list. */
|
|
1623
|
+
in?: string[];
|
|
1624
|
+
/** Included in the specified list (case-insensitive). */
|
|
1625
|
+
inInsensitive?: string[];
|
|
1626
|
+
/** Contains the specified string (case-sensitive). */
|
|
1627
|
+
includes?: string;
|
|
1628
|
+
/** Contains the specified string (case-insensitive). */
|
|
1629
|
+
includesInsensitive?: string;
|
|
1630
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1631
|
+
isNull?: boolean;
|
|
1632
|
+
/** Less than the specified value. */
|
|
1633
|
+
lessThan?: string;
|
|
1634
|
+
/** Less than the specified value (case-insensitive). */
|
|
1635
|
+
lessThanInsensitive?: string;
|
|
1636
|
+
/** Less than or equal to the specified value. */
|
|
1637
|
+
lessThanOrEqualTo?: string;
|
|
1638
|
+
/** Less than or equal to the specified value (case-insensitive). */
|
|
1639
|
+
lessThanOrEqualToInsensitive?: string;
|
|
1640
|
+
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1641
|
+
like?: string;
|
|
1642
|
+
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1643
|
+
likeInsensitive?: string;
|
|
1644
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1645
|
+
notDistinctFrom?: string;
|
|
1646
|
+
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1647
|
+
notDistinctFromInsensitive?: string;
|
|
1648
|
+
/** Does not end with the specified string (case-sensitive). */
|
|
1649
|
+
notEndsWith?: string;
|
|
1650
|
+
/** Does not end with the specified string (case-insensitive). */
|
|
1651
|
+
notEndsWithInsensitive?: string;
|
|
1652
|
+
/** Not equal to the specified value. */
|
|
1653
|
+
notEqualTo?: string;
|
|
1654
|
+
/** Not equal to the specified value (case-insensitive). */
|
|
1655
|
+
notEqualToInsensitive?: string;
|
|
1656
|
+
/** Not included in the specified list. */
|
|
1657
|
+
notIn?: string[];
|
|
1658
|
+
/** Not included in the specified list (case-insensitive). */
|
|
1659
|
+
notInInsensitive?: string[];
|
|
1660
|
+
/** Does not contain the specified string (case-sensitive). */
|
|
1661
|
+
notIncludes?: string;
|
|
1662
|
+
/** Does not contain the specified string (case-insensitive). */
|
|
1663
|
+
notIncludesInsensitive?: string;
|
|
1664
|
+
/** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1665
|
+
notLike?: string;
|
|
1666
|
+
/** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1667
|
+
notLikeInsensitive?: string;
|
|
1668
|
+
/** Does not start with the specified string (case-sensitive). */
|
|
1669
|
+
notStartsWith?: string;
|
|
1670
|
+
/** Does not start with the specified string (case-insensitive). */
|
|
1671
|
+
notStartsWithInsensitive?: string;
|
|
1672
|
+
/** Starts with the specified string (case-sensitive). */
|
|
1673
|
+
startsWith?: string;
|
|
1674
|
+
/** Starts with the specified string (case-insensitive). */
|
|
1675
|
+
startsWithInsensitive?: string;
|
|
1676
|
+
}
|
|
1677
|
+
/** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
|
|
1678
|
+
export interface BigIntFilter {
|
|
1679
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1680
|
+
distinctFrom?: string;
|
|
1681
|
+
/** Equal to the specified value. */
|
|
1682
|
+
equalTo?: string;
|
|
1683
|
+
/** Greater than the specified value. */
|
|
1684
|
+
greaterThan?: string;
|
|
1685
|
+
/** Greater than or equal to the specified value. */
|
|
1686
|
+
greaterThanOrEqualTo?: string;
|
|
1687
|
+
/** Included in the specified list. */
|
|
1688
|
+
in?: string[];
|
|
1689
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1690
|
+
isNull?: boolean;
|
|
1691
|
+
/** Less than the specified value. */
|
|
1692
|
+
lessThan?: string;
|
|
1693
|
+
/** Less than or equal to the specified value. */
|
|
1694
|
+
lessThanOrEqualTo?: string;
|
|
1695
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1696
|
+
notDistinctFrom?: string;
|
|
1697
|
+
/** Not equal to the specified value. */
|
|
1698
|
+
notEqualTo?: string;
|
|
1699
|
+
/** Not included in the specified list. */
|
|
1700
|
+
notIn?: string[];
|
|
1701
|
+
}
|
|
1702
|
+
export interface FilesRenamePayload {
|
|
1703
|
+
clientMutationId?: string | null;
|
|
1704
|
+
fileEdge?: FileEdge | null;
|
|
1705
|
+
result?: File | null;
|
|
1706
|
+
}
|
|
1707
|
+
export type FilesRenamePayloadSelect = {
|
|
1708
|
+
clientMutationId?: boolean;
|
|
1709
|
+
fileEdge?: {
|
|
1710
|
+
select: FileEdgeSelect;
|
|
1711
|
+
};
|
|
1712
|
+
result?: {
|
|
1713
|
+
select: FileSelect;
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
export interface PlatformFilesRenamePayload {
|
|
1717
|
+
clientMutationId?: string | null;
|
|
1718
|
+
platformFileEdge?: PlatformFileEdge | null;
|
|
1719
|
+
result?: PlatformFile | null;
|
|
1720
|
+
}
|
|
1721
|
+
export type PlatformFilesRenamePayloadSelect = {
|
|
1722
|
+
clientMutationId?: boolean;
|
|
1723
|
+
platformFileEdge?: {
|
|
1724
|
+
select: PlatformFileEdgeSelect;
|
|
1725
|
+
};
|
|
1726
|
+
result?: {
|
|
1727
|
+
select: PlatformFileSelect;
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
export interface ProvisionBucketPayload {
|
|
1731
|
+
/** The logical bucket row that was queued for reconciliation. */
|
|
1732
|
+
bucketId: string;
|
|
1733
|
+
bucketKey: string;
|
|
1734
|
+
/** The reconciler job enqueued to provision this bucket. */
|
|
1735
|
+
jobId: string;
|
|
1736
|
+
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
1737
|
+
physicalName?: string | null;
|
|
1738
|
+
}
|
|
1739
|
+
export type ProvisionBucketPayloadSelect = {
|
|
1740
|
+
bucketId?: boolean;
|
|
1741
|
+
bucketKey?: boolean;
|
|
1742
|
+
jobId?: boolean;
|
|
1743
|
+
physicalName?: boolean;
|
|
1744
|
+
};
|
|
1745
|
+
export interface UploadFilePayload {
|
|
1746
|
+
/** Whether this file was deduplicated (content already exists) */
|
|
1747
|
+
deduplicated: boolean;
|
|
1748
|
+
/** Presigned URL expiry time (null if deduplicated) */
|
|
1749
|
+
expiresAt?: string | null;
|
|
1750
|
+
/** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
|
|
1751
|
+
file?: Record<string, unknown> | null;
|
|
1752
|
+
/** The file ID (UUID) */
|
|
1753
|
+
fileId: string;
|
|
1754
|
+
/** The S3 object key */
|
|
1755
|
+
key: string;
|
|
1756
|
+
/** ID of the previous version (when using custom keys) */
|
|
1757
|
+
previousVersionId?: string | null;
|
|
1758
|
+
/** Presigned PUT URL (null if deduplicated) */
|
|
1759
|
+
uploadUrl?: string | null;
|
|
1760
|
+
}
|
|
1761
|
+
export type UploadFilePayloadSelect = {
|
|
1762
|
+
deduplicated?: boolean;
|
|
1763
|
+
expiresAt?: boolean;
|
|
1764
|
+
file?: boolean;
|
|
1765
|
+
fileId?: boolean;
|
|
1766
|
+
key?: boolean;
|
|
1767
|
+
previousVersionId?: boolean;
|
|
1768
|
+
uploadUrl?: boolean;
|
|
1769
|
+
};
|
|
1770
|
+
export interface UploadFileBulkPayload {
|
|
1771
|
+
files: UploadFileBulkFilePayload[];
|
|
1772
|
+
}
|
|
1773
|
+
export type UploadFileBulkPayloadSelect = {
|
|
1774
|
+
files?: {
|
|
1775
|
+
select: UploadFileBulkFilePayloadSelect;
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
export interface UploadPlatformFilePayload {
|
|
1779
|
+
/** Whether this file was deduplicated (content already exists) */
|
|
1780
|
+
deduplicated: boolean;
|
|
1781
|
+
/** Presigned URL expiry time (null if deduplicated) */
|
|
1782
|
+
expiresAt?: string | null;
|
|
1783
|
+
/** The projection document for the created file: {id, key, bucket_id, mime, size, filename, url?}. Store this verbatim in an image/upload column — its `id` is what keeps the object from being garbage collected while the column still references it. */
|
|
1784
|
+
file?: Record<string, unknown> | null;
|
|
1785
|
+
/** The file ID (UUID) */
|
|
1786
|
+
fileId: string;
|
|
1787
|
+
/** The S3 object key */
|
|
1788
|
+
key: string;
|
|
1789
|
+
/** ID of the previous version (when using custom keys) */
|
|
1790
|
+
previousVersionId?: string | null;
|
|
1791
|
+
/** Presigned PUT URL (null if deduplicated) */
|
|
1792
|
+
uploadUrl?: string | null;
|
|
1793
|
+
}
|
|
1794
|
+
export type UploadPlatformFilePayloadSelect = {
|
|
1795
|
+
deduplicated?: boolean;
|
|
1796
|
+
expiresAt?: boolean;
|
|
1797
|
+
file?: boolean;
|
|
1798
|
+
fileId?: boolean;
|
|
1799
|
+
key?: boolean;
|
|
1800
|
+
previousVersionId?: boolean;
|
|
1801
|
+
uploadUrl?: boolean;
|
|
1802
|
+
};
|
|
1803
|
+
export interface UploadPlatformFileBulkPayload {
|
|
1804
|
+
files: UploadPlatformFileBulkFilePayload[];
|
|
1805
|
+
}
|
|
1806
|
+
export type UploadPlatformFileBulkPayloadSelect = {
|
|
1807
|
+
files?: {
|
|
1808
|
+
select: UploadPlatformFileBulkFilePayloadSelect;
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
export interface CreateBucketPayload {
|
|
1812
|
+
/** The `Bucket` that was created by this mutation. */
|
|
1813
|
+
bucket?: Bucket | null;
|
|
1814
|
+
bucketEdge?: BucketEdge | null;
|
|
1815
|
+
clientMutationId?: string | null;
|
|
1816
|
+
}
|
|
1817
|
+
export type CreateBucketPayloadSelect = {
|
|
1818
|
+
bucket?: {
|
|
1819
|
+
select: BucketSelect;
|
|
1820
|
+
};
|
|
1821
|
+
bucketEdge?: {
|
|
1822
|
+
select: BucketEdgeSelect;
|
|
1823
|
+
};
|
|
1824
|
+
clientMutationId?: boolean;
|
|
1825
|
+
};
|
|
1826
|
+
export interface UpdateBucketPayload {
|
|
1827
|
+
/** The `Bucket` that was updated by this mutation. */
|
|
1828
|
+
bucket?: Bucket | null;
|
|
1829
|
+
bucketEdge?: BucketEdge | null;
|
|
1830
|
+
clientMutationId?: string | null;
|
|
1831
|
+
}
|
|
1832
|
+
export type UpdateBucketPayloadSelect = {
|
|
1833
|
+
bucket?: {
|
|
1834
|
+
select: BucketSelect;
|
|
1835
|
+
};
|
|
1836
|
+
bucketEdge?: {
|
|
1837
|
+
select: BucketEdgeSelect;
|
|
1838
|
+
};
|
|
1839
|
+
clientMutationId?: boolean;
|
|
1840
|
+
};
|
|
1841
|
+
export interface DeleteBucketPayload {
|
|
1842
|
+
/** The `Bucket` that was deleted by this mutation. */
|
|
1843
|
+
bucket?: Bucket | null;
|
|
1844
|
+
bucketEdge?: BucketEdge | null;
|
|
1845
|
+
clientMutationId?: string | null;
|
|
1846
|
+
}
|
|
1847
|
+
export type DeleteBucketPayloadSelect = {
|
|
1848
|
+
bucket?: {
|
|
1849
|
+
select: BucketSelect;
|
|
1850
|
+
};
|
|
1851
|
+
bucketEdge?: {
|
|
1852
|
+
select: BucketEdgeSelect;
|
|
1853
|
+
};
|
|
1854
|
+
clientMutationId?: boolean;
|
|
1855
|
+
};
|
|
1856
|
+
export interface CreateFilePayload {
|
|
1857
|
+
clientMutationId?: string | null;
|
|
1858
|
+
/** The `File` that was created by this mutation. */
|
|
1859
|
+
file?: File | null;
|
|
1860
|
+
fileEdge?: FileEdge | null;
|
|
1861
|
+
}
|
|
1862
|
+
export type CreateFilePayloadSelect = {
|
|
1863
|
+
clientMutationId?: boolean;
|
|
1864
|
+
file?: {
|
|
1865
|
+
select: FileSelect;
|
|
1866
|
+
};
|
|
1867
|
+
fileEdge?: {
|
|
1868
|
+
select: FileEdgeSelect;
|
|
1869
|
+
};
|
|
1870
|
+
};
|
|
1871
|
+
export interface UpdateFilePayload {
|
|
1872
|
+
clientMutationId?: string | null;
|
|
1873
|
+
/** The `File` that was updated by this mutation. */
|
|
1874
|
+
file?: File | null;
|
|
1875
|
+
fileEdge?: FileEdge | null;
|
|
1876
|
+
}
|
|
1877
|
+
export type UpdateFilePayloadSelect = {
|
|
1878
|
+
clientMutationId?: boolean;
|
|
1879
|
+
file?: {
|
|
1880
|
+
select: FileSelect;
|
|
1881
|
+
};
|
|
1882
|
+
fileEdge?: {
|
|
1883
|
+
select: FileEdgeSelect;
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
export interface DeleteFilePayload {
|
|
1887
|
+
clientMutationId?: string | null;
|
|
1888
|
+
/** The `File` that was deleted by this mutation. */
|
|
1889
|
+
file?: File | null;
|
|
1890
|
+
fileEdge?: FileEdge | null;
|
|
1891
|
+
}
|
|
1892
|
+
export type DeleteFilePayloadSelect = {
|
|
1893
|
+
clientMutationId?: boolean;
|
|
1894
|
+
file?: {
|
|
1895
|
+
select: FileSelect;
|
|
1896
|
+
};
|
|
1897
|
+
fileEdge?: {
|
|
1898
|
+
select: FileEdgeSelect;
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
export interface CreatePlatformBucketPayload {
|
|
1902
|
+
clientMutationId?: string | null;
|
|
1903
|
+
/** The `PlatformBucket` that was created by this mutation. */
|
|
1904
|
+
platformBucket?: PlatformBucket | null;
|
|
1905
|
+
platformBucketEdge?: PlatformBucketEdge | null;
|
|
1906
|
+
}
|
|
1907
|
+
export type CreatePlatformBucketPayloadSelect = {
|
|
1908
|
+
clientMutationId?: boolean;
|
|
1909
|
+
platformBucket?: {
|
|
1910
|
+
select: PlatformBucketSelect;
|
|
1911
|
+
};
|
|
1912
|
+
platformBucketEdge?: {
|
|
1913
|
+
select: PlatformBucketEdgeSelect;
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
export interface UpdatePlatformBucketPayload {
|
|
1917
|
+
clientMutationId?: string | null;
|
|
1918
|
+
/** The `PlatformBucket` that was updated by this mutation. */
|
|
1919
|
+
platformBucket?: PlatformBucket | null;
|
|
1920
|
+
platformBucketEdge?: PlatformBucketEdge | null;
|
|
1921
|
+
}
|
|
1922
|
+
export type UpdatePlatformBucketPayloadSelect = {
|
|
1923
|
+
clientMutationId?: boolean;
|
|
1924
|
+
platformBucket?: {
|
|
1925
|
+
select: PlatformBucketSelect;
|
|
1926
|
+
};
|
|
1927
|
+
platformBucketEdge?: {
|
|
1928
|
+
select: PlatformBucketEdgeSelect;
|
|
1929
|
+
};
|
|
1930
|
+
};
|
|
1931
|
+
export interface DeletePlatformBucketPayload {
|
|
1932
|
+
clientMutationId?: string | null;
|
|
1933
|
+
/** The `PlatformBucket` that was deleted by this mutation. */
|
|
1934
|
+
platformBucket?: PlatformBucket | null;
|
|
1935
|
+
platformBucketEdge?: PlatformBucketEdge | null;
|
|
1936
|
+
}
|
|
1937
|
+
export type DeletePlatformBucketPayloadSelect = {
|
|
1938
|
+
clientMutationId?: boolean;
|
|
1939
|
+
platformBucket?: {
|
|
1940
|
+
select: PlatformBucketSelect;
|
|
1941
|
+
};
|
|
1942
|
+
platformBucketEdge?: {
|
|
1943
|
+
select: PlatformBucketEdgeSelect;
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
export interface CreatePlatformFilePayload {
|
|
1947
|
+
clientMutationId?: string | null;
|
|
1948
|
+
/** The `PlatformFile` that was created by this mutation. */
|
|
1949
|
+
platformFile?: PlatformFile | null;
|
|
1950
|
+
platformFileEdge?: PlatformFileEdge | null;
|
|
1951
|
+
}
|
|
1952
|
+
export type CreatePlatformFilePayloadSelect = {
|
|
1953
|
+
clientMutationId?: boolean;
|
|
1954
|
+
platformFile?: {
|
|
1955
|
+
select: PlatformFileSelect;
|
|
1956
|
+
};
|
|
1957
|
+
platformFileEdge?: {
|
|
1958
|
+
select: PlatformFileEdgeSelect;
|
|
1959
|
+
};
|
|
1960
|
+
};
|
|
1961
|
+
export interface UpdatePlatformFilePayload {
|
|
1962
|
+
clientMutationId?: string | null;
|
|
1963
|
+
/** The `PlatformFile` that was updated by this mutation. */
|
|
1964
|
+
platformFile?: PlatformFile | null;
|
|
1965
|
+
platformFileEdge?: PlatformFileEdge | null;
|
|
1966
|
+
}
|
|
1967
|
+
export type UpdatePlatformFilePayloadSelect = {
|
|
1968
|
+
clientMutationId?: boolean;
|
|
1969
|
+
platformFile?: {
|
|
1970
|
+
select: PlatformFileSelect;
|
|
1971
|
+
};
|
|
1972
|
+
platformFileEdge?: {
|
|
1973
|
+
select: PlatformFileEdgeSelect;
|
|
1974
|
+
};
|
|
1975
|
+
};
|
|
1976
|
+
export interface DeletePlatformFilePayload {
|
|
1977
|
+
clientMutationId?: string | null;
|
|
1978
|
+
/** The `PlatformFile` that was deleted by this mutation. */
|
|
1979
|
+
platformFile?: PlatformFile | null;
|
|
1980
|
+
platformFileEdge?: PlatformFileEdge | null;
|
|
1981
|
+
}
|
|
1982
|
+
export type DeletePlatformFilePayloadSelect = {
|
|
1983
|
+
clientMutationId?: boolean;
|
|
1984
|
+
platformFile?: {
|
|
1985
|
+
select: PlatformFileSelect;
|
|
1986
|
+
};
|
|
1987
|
+
platformFileEdge?: {
|
|
1988
|
+
select: PlatformFileEdgeSelect;
|
|
1989
|
+
};
|
|
1990
|
+
};
|
|
1991
|
+
/** A `File` edge in the connection. */
|
|
1992
|
+
export interface FileEdge {
|
|
1993
|
+
cursor?: string | null;
|
|
1994
|
+
/** The `File` at the end of the edge. */
|
|
1995
|
+
node?: File | null;
|
|
1996
|
+
}
|
|
1997
|
+
export type FileEdgeSelect = {
|
|
1998
|
+
cursor?: boolean;
|
|
1999
|
+
node?: {
|
|
2000
|
+
select: FileSelect;
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
2003
|
+
/** A `PlatformFile` edge in the connection. */
|
|
2004
|
+
export interface PlatformFileEdge {
|
|
2005
|
+
cursor?: string | null;
|
|
2006
|
+
/** The `PlatformFile` at the end of the edge. */
|
|
2007
|
+
node?: PlatformFile | null;
|
|
2008
|
+
}
|
|
2009
|
+
export type PlatformFileEdgeSelect = {
|
|
2010
|
+
cursor?: boolean;
|
|
2011
|
+
node?: {
|
|
2012
|
+
select: PlatformFileSelect;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
export interface UploadFileBulkFilePayload {
|
|
2016
|
+
deduplicated: boolean;
|
|
2017
|
+
expiresAt?: string | null;
|
|
2018
|
+
/** The projection document for the created file. */
|
|
2019
|
+
file?: Record<string, unknown> | null;
|
|
2020
|
+
fileId: string;
|
|
2021
|
+
key: string;
|
|
2022
|
+
previousVersionId?: string | null;
|
|
2023
|
+
uploadUrl?: string | null;
|
|
2024
|
+
}
|
|
2025
|
+
export type UploadFileBulkFilePayloadSelect = {
|
|
2026
|
+
deduplicated?: boolean;
|
|
2027
|
+
expiresAt?: boolean;
|
|
2028
|
+
file?: boolean;
|
|
2029
|
+
fileId?: boolean;
|
|
2030
|
+
key?: boolean;
|
|
2031
|
+
previousVersionId?: boolean;
|
|
2032
|
+
uploadUrl?: boolean;
|
|
2033
|
+
};
|
|
2034
|
+
export interface UploadPlatformFileBulkFilePayload {
|
|
2035
|
+
deduplicated: boolean;
|
|
2036
|
+
expiresAt?: string | null;
|
|
2037
|
+
/** The projection document for the created file. */
|
|
2038
|
+
file?: Record<string, unknown> | null;
|
|
2039
|
+
fileId: string;
|
|
2040
|
+
key: string;
|
|
2041
|
+
previousVersionId?: string | null;
|
|
2042
|
+
uploadUrl?: string | null;
|
|
2043
|
+
}
|
|
2044
|
+
export type UploadPlatformFileBulkFilePayloadSelect = {
|
|
2045
|
+
deduplicated?: boolean;
|
|
2046
|
+
expiresAt?: boolean;
|
|
2047
|
+
file?: boolean;
|
|
2048
|
+
fileId?: boolean;
|
|
2049
|
+
key?: boolean;
|
|
2050
|
+
previousVersionId?: boolean;
|
|
2051
|
+
uploadUrl?: boolean;
|
|
2052
|
+
};
|
|
2053
|
+
/** A `Bucket` edge in the connection. */
|
|
2054
|
+
export interface BucketEdge {
|
|
2055
|
+
cursor?: string | null;
|
|
2056
|
+
/** The `Bucket` at the end of the edge. */
|
|
2057
|
+
node?: Bucket | null;
|
|
2058
|
+
}
|
|
2059
|
+
export type BucketEdgeSelect = {
|
|
2060
|
+
cursor?: boolean;
|
|
2061
|
+
node?: {
|
|
2062
|
+
select: BucketSelect;
|
|
2063
|
+
};
|
|
2064
|
+
};
|
|
2065
|
+
/** A `PlatformBucket` edge in the connection. */
|
|
2066
|
+
export interface PlatformBucketEdge {
|
|
2067
|
+
cursor?: string | null;
|
|
2068
|
+
/** The `PlatformBucket` at the end of the edge. */
|
|
2069
|
+
node?: PlatformBucket | null;
|
|
2070
|
+
}
|
|
2071
|
+
export type PlatformBucketEdgeSelect = {
|
|
2072
|
+
cursor?: boolean;
|
|
2073
|
+
node?: {
|
|
2074
|
+
select: PlatformBucketSelect;
|
|
2075
|
+
};
|
|
2076
|
+
};
|