alchemy 2.0.0-beta.77 → 2.0.0-beta.78
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/bin/alchemy.js +1 -1
- package/bin/alchemy.js.map +1 -1
- package/bin/alchemy.ts +1 -1
- package/bin/cli.js +120 -66
- package/bin/exec.js +6723 -6276
- package/bin/exec.js.map +1 -1
- package/bin/exec.ts +1 -1
- package/bin/register-oxc.js +15 -4
- package/lib/AWS/ApiGateway/common.d.ts +1 -1
- package/lib/AWS/ApiGateway/common.d.ts.map +1 -1
- package/lib/AWS/ApiGatewayV2/common.d.ts +1 -1
- package/lib/AWS/ApiGatewayV2/common.d.ts.map +1 -1
- package/lib/AWS/AppSync/common.d.ts +1 -1
- package/lib/AWS/AppSync/common.d.ts.map +1 -1
- package/lib/AWS/Assets.d.ts +1 -1
- package/lib/AWS/Assets.d.ts.map +1 -1
- package/lib/AWS/Bedrock/LanguageModel.d.ts +2 -2
- package/lib/AWS/Bedrock/LanguageModel.d.ts.map +1 -1
- package/lib/AWS/Bedrock/LanguageModel.js +1 -1
- package/lib/AWS/Bedrock/LanguageModel.js.map +1 -1
- package/lib/AWS/Bootstrap.d.ts +2 -2
- package/lib/AWS/Bootstrap.d.ts.map +1 -1
- package/lib/AWS/Budgets/BindingHttp.d.ts +1 -8
- package/lib/AWS/Budgets/BindingHttp.d.ts.map +1 -1
- package/lib/AWS/Budgets/BindingHttp.js +2 -7
- package/lib/AWS/Budgets/BindingHttp.js.map +1 -1
- package/lib/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.d.ts.map +1 -1
- package/lib/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.js +0 -3
- package/lib/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.js.map +1 -1
- package/lib/AWS/CloudFront/KvRoutesUpdate.d.ts.map +1 -1
- package/lib/AWS/CloudFront/KvRoutesUpdate.js +9 -1
- package/lib/AWS/CloudFront/KvRoutesUpdate.js.map +1 -1
- package/lib/AWS/CloudMap/internal.d.ts +2 -2
- package/lib/AWS/CloudMap/internal.d.ts.map +1 -1
- package/lib/AWS/Connection/DbAuthToken.d.ts +2 -1
- package/lib/AWS/Connection/DbAuthToken.d.ts.map +1 -1
- package/lib/AWS/Credentials.d.ts +2 -2
- package/lib/AWS/Credentials.d.ts.map +1 -1
- package/lib/AWS/Credentials.js +1 -1
- package/lib/AWS/Credentials.js.map +1 -1
- package/lib/AWS/DSQL/Connect.d.ts +2 -2
- package/lib/AWS/DSQL/Connect.d.ts.map +1 -1
- package/lib/AWS/DynamoDB/Table.d.ts.map +1 -1
- package/lib/AWS/DynamoDB/Table.js +22 -11
- package/lib/AWS/DynamoDB/Table.js.map +1 -1
- package/lib/AWS/EC2/Instance.d.ts.map +1 -1
- package/lib/AWS/EC2/Instance.js +10 -1
- package/lib/AWS/EC2/Instance.js.map +1 -1
- package/lib/AWS/EC2/SecurityGroup.d.ts +70 -2
- package/lib/AWS/EC2/SecurityGroup.d.ts.map +1 -1
- package/lib/AWS/EC2/SecurityGroup.js +256 -66
- package/lib/AWS/EC2/SecurityGroup.js.map +1 -1
- package/lib/AWS/EC2/SecurityGroupRule.d.ts +43 -9
- package/lib/AWS/EC2/SecurityGroupRule.d.ts.map +1 -1
- package/lib/AWS/EC2/SecurityGroupRule.js +102 -22
- package/lib/AWS/EC2/SecurityGroupRule.js.map +1 -1
- package/lib/AWS/EC2/hosted.d.ts +1 -1
- package/lib/AWS/ECR/Image.d.ts +23 -12
- package/lib/AWS/ECR/Image.d.ts.map +1 -1
- package/lib/AWS/ECR/Image.js +26 -5
- package/lib/AWS/ECR/Image.js.map +1 -1
- package/lib/AWS/ECR/ImageSource.d.ts +1 -1
- package/lib/AWS/ECS/EcsDevWatch.d.ts +1 -1
- package/lib/AWS/ECS/EcsDevWatch.d.ts.map +1 -1
- package/lib/AWS/ECS/FlociServiceProvider.js +2 -2
- package/lib/AWS/ECS/FlociTaskProvider.js +2 -2
- package/lib/AWS/ECS/Service.d.ts.map +1 -1
- package/lib/AWS/ECS/Service.js +7 -7
- package/lib/AWS/ECS/Service.js.map +1 -1
- package/lib/AWS/ECS/Task.d.ts +5 -5
- package/lib/AWS/ECS/Task.d.ts.map +1 -1
- package/lib/AWS/EKS/KubernetesAdapter.js +4 -4
- package/lib/AWS/EKS/internal/podIdentity.d.ts +4 -4
- package/lib/AWS/EKS/internal/podIdentity.d.ts.map +1 -1
- package/lib/AWS/Environment.js +6 -6
- package/lib/AWS/IdentityCenter/common.d.ts +2 -2
- package/lib/AWS/IdentityCenter/common.d.ts.map +1 -1
- package/lib/AWS/Lambda/BindingHttp.d.ts +62 -10
- package/lib/AWS/Lambda/BindingHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/BindingHttp.js +161 -22
- package/lib/AWS/Lambda/BindingHttp.js.map +1 -1
- package/lib/AWS/Lambda/EventInvokeConfig.d.ts +1 -1
- package/lib/AWS/Lambda/EventInvokeConfig.d.ts.map +1 -1
- package/lib/AWS/Lambda/FlociFunctionProvider.js +2 -2
- package/lib/AWS/Lambda/FlociMicrovmImageProvider.js +2 -2
- package/lib/AWS/Lambda/Function.d.ts.map +1 -1
- package/lib/AWS/Lambda/Function.js +23 -15
- package/lib/AWS/Lambda/Function.js.map +1 -1
- package/lib/AWS/Lambda/FunctionImage.d.ts +1 -1
- package/lib/AWS/Lambda/GetFunctionHttp.d.ts +1 -1
- package/lib/AWS/Lambda/GetFunctionHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/InvokeFunctionHttp.d.ts +1 -1
- package/lib/AWS/Lambda/InvokeFunctionHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/InvokeWithResponseStreamHttp.d.ts +1 -1
- package/lib/AWS/Lambda/InvokeWithResponseStreamHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmBinding.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmBinding.js +11 -214
- package/lib/AWS/Lambda/MicrovmBinding.js.map +1 -1
- package/lib/AWS/Lambda/MicrovmBundle.d.ts +1 -1
- package/lib/AWS/Lambda/MicrovmBundle.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmBundle.js +1 -12
- package/lib/AWS/Lambda/MicrovmBundle.js.map +1 -1
- package/lib/AWS/Lambda/MicrovmRuntimeContext.js +1 -1
- package/lib/AWS/Local/DevWatchProvider.d.ts +4 -4
- package/lib/AWS/Local/DevWatchProvider.d.ts.map +1 -1
- package/lib/AWS/Local/DevWatchProvider.js +6 -5
- package/lib/AWS/Local/DevWatchProvider.js.map +1 -1
- package/lib/AWS/Local/Local.d.ts +13 -1
- package/lib/AWS/Local/Local.d.ts.map +1 -1
- package/lib/AWS/Local/Local.js +10 -9
- package/lib/AWS/Local/Local.js.map +1 -1
- package/lib/AWS/Logs/LogGroup.d.ts.map +1 -1
- package/lib/AWS/Logs/LogGroup.js +6 -2
- package/lib/AWS/Logs/LogGroup.js.map +1 -1
- package/lib/AWS/MediaPackageV2/internal.d.ts +1 -1
- package/lib/AWS/MediaPackageV2/internal.d.ts.map +1 -1
- package/lib/AWS/Notifications/internal.d.ts +1 -1
- package/lib/AWS/Notifications/internal.d.ts.map +1 -1
- package/lib/AWS/OAM/internal.d.ts +1 -1
- package/lib/AWS/OAM/internal.d.ts.map +1 -1
- package/lib/AWS/Organizations/common.d.ts.map +1 -1
- package/lib/AWS/Organizations/common.js +4 -1
- package/lib/AWS/Organizations/common.js.map +1 -1
- package/lib/AWS/Personalize/internal.d.ts +1 -1
- package/lib/AWS/Personalize/internal.d.ts.map +1 -1
- package/lib/AWS/RDS/Connect.d.ts +3 -3
- package/lib/AWS/RDS/Connect.d.ts.map +1 -1
- package/lib/AWS/RDS/DBInstance.d.ts +226 -11
- package/lib/AWS/RDS/DBInstance.d.ts.map +1 -1
- package/lib/AWS/RDS/DBInstance.js +692 -36
- package/lib/AWS/RDS/DBInstance.js.map +1 -1
- package/lib/AWS/RDS/DBParameterGroup.d.ts +8 -9
- package/lib/AWS/RDS/DBParameterGroup.d.ts.map +1 -1
- package/lib/AWS/RDS/DBParameterGroup.js +53 -27
- package/lib/AWS/RDS/DBParameterGroup.js.map +1 -1
- package/lib/AWS/Route53/HostedZoneLookup.d.ts +1 -1
- package/lib/AWS/Route53/HostedZoneLookup.d.ts.map +1 -1
- package/lib/AWS/S3/AbortMultipartUploadHttp.d.ts +1 -1
- package/lib/AWS/S3/AbortMultipartUploadHttp.d.ts.map +1 -1
- package/lib/AWS/S3/BindingHttp.d.ts +13 -5
- package/lib/AWS/S3/BindingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/BindingHttp.js +28 -30
- package/lib/AWS/S3/BindingHttp.js.map +1 -1
- package/lib/AWS/S3/Bucket.d.ts +95 -5
- package/lib/AWS/S3/Bucket.d.ts.map +1 -1
- package/lib/AWS/S3/Bucket.js +165 -47
- package/lib/AWS/S3/Bucket.js.map +1 -1
- package/lib/AWS/S3/CompleteMultipartUploadHttp.d.ts +1 -1
- package/lib/AWS/S3/CompleteMultipartUploadHttp.d.ts.map +1 -1
- package/lib/AWS/S3/CopyObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/CopyObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/CreateMultipartUploadHttp.d.ts +1 -1
- package/lib/AWS/S3/CreateMultipartUploadHttp.d.ts.map +1 -1
- package/lib/AWS/S3/DeleteObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/DeleteObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/DeleteObjectTaggingHttp.d.ts +1 -1
- package/lib/AWS/S3/DeleteObjectTaggingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/DeleteObjectsHttp.d.ts +1 -1
- package/lib/AWS/S3/DeleteObjectsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectAttributesHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectAttributesHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectLegalHoldHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectLegalHoldHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectRetentionHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectRetentionHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectTaggingHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectTaggingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/HeadObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/HeadObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/ListMultipartUploadsHttp.d.ts +1 -1
- package/lib/AWS/S3/ListMultipartUploadsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/ListObjectVersionsHttp.d.ts +1 -1
- package/lib/AWS/S3/ListObjectVersionsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/ListObjectsV2Http.d.ts +1 -1
- package/lib/AWS/S3/ListObjectsV2Http.d.ts.map +1 -1
- package/lib/AWS/S3/ListPartsHttp.d.ts +1 -1
- package/lib/AWS/S3/ListPartsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PresignGetObject.d.ts +2 -2
- package/lib/AWS/S3/PresignGetObject.d.ts.map +1 -1
- package/lib/AWS/S3/PresignGetObject.js.map +1 -1
- package/lib/AWS/S3/PresignPutObject.d.ts +2 -2
- package/lib/AWS/S3/PresignPutObject.d.ts.map +1 -1
- package/lib/AWS/S3/PresignPutObject.js.map +1 -1
- package/lib/AWS/S3/PutObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PutObjectLegalHoldHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectLegalHoldHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PutObjectRetentionHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectRetentionHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PutObjectTaggingHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectTaggingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/RestoreObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/RestoreObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/UploadPartCopyHttp.d.ts +1 -1
- package/lib/AWS/S3/UploadPartCopyHttp.d.ts.map +1 -1
- package/lib/AWS/S3/UploadPartHttp.d.ts +1 -1
- package/lib/AWS/S3/UploadPartHttp.d.ts.map +1 -1
- package/lib/AWS/SNS/Subscription.d.ts.map +1 -1
- package/lib/AWS/SNS/Subscription.js +21 -5
- package/lib/AWS/SNS/Subscription.js.map +1 -1
- package/lib/AWS/StateStore/State.d.ts +23 -3
- package/lib/AWS/StateStore/State.d.ts.map +1 -1
- package/lib/AWS/StateStore/State.js +19 -27
- package/lib/AWS/StateStore/State.js.map +1 -1
- package/lib/AWS/Synthetics/Canary.d.ts.map +1 -1
- package/lib/AWS/Synthetics/Canary.js +4 -9
- package/lib/AWS/Synthetics/Canary.js.map +1 -1
- package/lib/Alchemist/Entrypoint.d.ts +22 -0
- package/lib/Alchemist/Entrypoint.d.ts.map +1 -0
- package/lib/Alchemist/Entrypoint.js +27 -0
- package/lib/Alchemist/Entrypoint.js.map +1 -0
- package/lib/Alchemist/Session.d.ts +2 -12
- package/lib/Alchemist/Session.d.ts.map +1 -1
- package/lib/Alchemist/Session.js +5 -14
- package/lib/Alchemist/Session.js.map +1 -1
- package/lib/Alchemist/routes/aws.d.ts +2 -2
- package/lib/Alchemist/routes/aws.d.ts.map +1 -1
- package/lib/Alchemist/routes/cloudflare.d.ts +2 -2
- package/lib/Alchemist/routes/cloudflare.d.ts.map +1 -1
- package/lib/Alchemist/routes/nuke.d.ts +1 -1
- package/lib/Alchemist/routes/nuke.d.ts.map +1 -1
- package/lib/Alchemist/routes/nuke.js +1 -1
- package/lib/Alchemist/routes/state.d.ts.map +1 -1
- package/lib/Alchemist/routes/state.js +6 -2
- package/lib/Alchemist/routes/state.js.map +1 -1
- package/lib/Auth/AuthProvider.js +1 -1
- package/lib/Auth/Demand.js +1 -1
- package/lib/Auth/Env.js +4 -4
- package/lib/Auth/Lock.d.ts.map +1 -1
- package/lib/Auth/Lock.js +4 -3
- package/lib/Auth/Lock.js.map +1 -1
- package/lib/Auth/Profile.js +1 -1
- package/lib/Auth/Resolve.js +1 -1
- package/lib/Cli/LoggingCli.js +1 -1
- package/lib/Cli/commands/aws.d.ts +1 -1
- package/lib/Cli/commands/aws.d.ts.map +1 -1
- package/lib/Cli/commands/aws.js +2 -2
- package/lib/Cli/commands/cloudflare.d.ts +2 -2
- package/lib/Cli/commands/cloudflare.d.ts.map +1 -1
- package/lib/Cli/commands/cloudflare.js +10 -10
- package/lib/Cli/commands/cloudflare.js.map +1 -1
- package/lib/Cli/commands/deploy.js +3 -3
- package/lib/Cli/commands/dev.d.ts +1 -1
- package/lib/Cli/commands/dev.d.ts.map +1 -1
- package/lib/Cli/commands/dev.js +6 -3
- package/lib/Cli/commands/dev.js.map +1 -1
- package/lib/Cli/commands/drift.js +1 -1
- package/lib/Cli/commands/flags.d.ts +2 -0
- package/lib/Cli/commands/flags.d.ts.map +1 -1
- package/lib/Cli/commands/flags.js +14 -12
- package/lib/Cli/commands/flags.js.map +1 -1
- package/lib/Cli/commands/instrument.d.ts +7 -0
- package/lib/Cli/commands/instrument.d.ts.map +1 -1
- package/lib/Cli/commands/instrument.js +9 -1
- package/lib/Cli/commands/instrument.js.map +1 -1
- package/lib/Cli/commands/logs.js +4 -4
- package/lib/Cli/commands/logs.js.map +1 -1
- package/lib/Cli/commands/nuke.d.ts +1 -1
- package/lib/Cli/commands/nuke.d.ts.map +1 -1
- package/lib/Cli/commands/nuke.js +9 -9
- package/lib/Cli/commands/nuke.js.map +1 -1
- package/lib/Cli/commands/profile/commands.js +8 -8
- package/lib/Cli/commands/provider.d.ts +2 -2
- package/lib/Cli/commands/provider.d.ts.map +1 -1
- package/lib/Cli/commands/provider.js +1 -1
- package/lib/Cli/commands/state.js +5 -5
- package/lib/Cli/commands/state.js.map +1 -1
- package/lib/Cli/components/ui/Data.d.ts +1 -1
- package/lib/Cli/components/ui/Data.d.ts.map +1 -1
- package/lib/Cli/components/ui/Data.js +1 -1
- package/lib/Cli/components/ui/Environment.d.ts +1 -1
- package/lib/Cli/components/ui/Environment.d.ts.map +1 -1
- package/lib/Cli/components/ui/Environment.js +3 -3
- package/lib/Cli/components/ui/Environment.js.map +1 -1
- package/lib/Cli/components/ui/Feedback.js +3 -3
- package/lib/Cli/components/ui/Feedback.js.map +1 -1
- package/lib/Cli/components/ui/Interactive.d.ts +1 -1
- package/lib/Cli/components/ui/Interactive.d.ts.map +1 -1
- package/lib/Cli/components/ui/Interactive.js +4 -4
- package/lib/Cli/components/ui/Interactive.js.map +1 -1
- package/lib/Cli/components/ui/Layout.d.ts +2 -2
- package/lib/Cli/components/ui/Layout.d.ts.map +1 -1
- package/lib/Cli/components/ui/Layout.js +3 -3
- package/lib/Cli/components/ui/Layout.js.map +1 -1
- package/lib/Cli/components/ui/Live.d.ts +1 -1
- package/lib/Cli/components/ui/Live.d.ts.map +1 -1
- package/lib/Cli/components/ui/Live.js +2 -2
- package/lib/Cli/components/ui/Live.js.map +1 -1
- package/lib/Cli/components/ui/ProgressBar.d.ts +1 -1
- package/lib/Cli/components/ui/ProgressBar.d.ts.map +1 -1
- package/lib/Cli/components/ui/ProgressBar.js +1 -1
- package/lib/Cli/components/ui/Transcript.js +2 -2
- package/lib/Cli/components/ui/Transcript.js.map +1 -1
- package/lib/Cli/components/ui/Typography.d.ts +1 -1
- package/lib/Cli/components/ui/Typography.d.ts.map +1 -1
- package/lib/Cli/components/ui/Typography.js +2 -2
- package/lib/Cli/components/ui/Typography.js.map +1 -1
- package/lib/Cli/components/view/ApprovePlan.d.ts +1 -2
- package/lib/Cli/components/view/ApprovePlan.d.ts.map +1 -1
- package/lib/Cli/components/view/ApprovePlan.js +3 -3
- package/lib/Cli/components/view/ApprovePlan.js.map +1 -1
- package/lib/Cli/components/view/Help.js +2 -2
- package/lib/Cli/components/view/Help.js.map +1 -1
- package/lib/Cli/components/view/Logo.d.ts +1 -1
- package/lib/Cli/components/view/Logo.d.ts.map +1 -1
- package/lib/Cli/components/view/Logo.js +3 -3
- package/lib/Cli/components/view/Logo.js.map +1 -1
- package/lib/Cli/components/view/Nuke.d.ts +1 -1
- package/lib/Cli/components/view/Nuke.d.ts.map +1 -1
- package/lib/Cli/components/view/Nuke.js +2 -2
- package/lib/Cli/components/view/Nuke.js.map +1 -1
- package/lib/Cli/components/view/PlanDecision.d.ts.map +1 -1
- package/lib/Cli/components/view/PlanDecision.js +3 -3
- package/lib/Cli/components/view/PlanDecision.js.map +1 -1
- package/lib/Cli/components/view/PlanRow.d.ts +1 -1
- package/lib/Cli/components/view/PlanRow.d.ts.map +1 -1
- package/lib/Cli/components/view/PlanRow.js +1 -1
- package/lib/Cli/components/view/PlanView.d.ts +1 -20
- package/lib/Cli/components/view/PlanView.d.ts.map +1 -1
- package/lib/Cli/components/view/PlanView.js +3 -3
- package/lib/Cli/components/view/PlanView.js.map +1 -1
- package/lib/Cli/components/view/Profile.js +2 -2
- package/lib/Cli/components/view/Profile.js.map +1 -1
- package/lib/Cli/components/view/ProfileDashboard.d.ts +2 -2
- package/lib/Cli/components/view/ProfileDashboard.d.ts.map +1 -1
- package/lib/Cli/components/view/ProfileDashboard.js +3 -3
- package/lib/Cli/components/view/ProfileDashboard.js.map +1 -1
- package/lib/Cli/components/view/Prompts.d.ts.map +1 -1
- package/lib/Cli/components/view/Prompts.js +3 -3
- package/lib/Cli/components/view/Prompts.js.map +1 -1
- package/lib/Cli/components/view/Runtime.d.ts.map +1 -1
- package/lib/Cli/components/view/Runtime.js +4 -4
- package/lib/Cli/components/view/Runtime.js.map +1 -1
- package/lib/Cli/components/view/SigilCli.js +2 -2
- package/lib/Cli/components/view/SigilCli.js.map +1 -1
- package/lib/Cli/components/view/StackOutputs.js +2 -2
- package/lib/Cli/components/view/StackOutputs.js.map +1 -1
- package/lib/Cli/components/view/StateExplorer.js +3 -3
- package/lib/Cli/components/view/StateExplorer.js.map +1 -1
- package/lib/Cli/components/view/usePlanPresentation.js +1 -1
- package/lib/Cli/components/view/usePlanPresentation.js.map +1 -1
- package/lib/Cli/components/view/usePlanViewport.js +1 -1
- package/lib/Cli/components/view/usePlanViewport.js.map +1 -1
- package/lib/Cli/exec.d.ts.map +1 -1
- package/lib/Cli/exec.js +3 -2
- package/lib/Cli/exec.js.map +1 -1
- package/lib/Cli/main.d.ts.map +1 -1
- package/lib/Cli/main.js +5 -5
- package/lib/Cli/main.js.map +1 -1
- package/lib/Cloudflare/AI/GatewayProvider.d.ts +1 -1
- package/lib/Cloudflare/AI/GatewayProvider.js +1 -1
- package/lib/Cloudflare/AI/LanguageModel.d.ts +2 -2
- package/lib/Cloudflare/AI/LanguageModel.d.ts.map +1 -1
- package/lib/Cloudflare/AI/LanguageModel.js +1 -1
- package/lib/Cloudflare/AI/ProviderKey.d.ts +3 -3
- package/lib/Cloudflare/AI/ProviderKey.js +3 -3
- package/lib/Cloudflare/AI/SearchToken.d.ts.map +1 -1
- package/lib/Cloudflare/AI/SearchToken.js +3 -6
- package/lib/Cloudflare/AI/SearchToken.js.map +1 -1
- package/lib/Cloudflare/Access.js +1 -1
- package/lib/Cloudflare/Alerting/Webhook.d.ts +1 -1
- package/lib/Cloudflare/Alerting/Webhook.js +1 -1
- package/lib/Cloudflare/Bridge.d.ts +7 -0
- package/lib/Cloudflare/Bridge.d.ts.map +1 -1
- package/lib/Cloudflare/Bridge.js +8 -0
- package/lib/Cloudflare/Bridge.js.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.d.ts +2 -8
- package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.js +3 -5
- package/lib/Cloudflare/CloudflareEnvironment.js.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironmentService.d.ts +9 -0
- package/lib/Cloudflare/CloudflareEnvironmentService.d.ts.map +1 -0
- package/lib/Cloudflare/CloudflareEnvironmentService.js +5 -0
- package/lib/Cloudflare/CloudflareEnvironmentService.js.map +1 -0
- package/lib/Cloudflare/Containers/ContainerApplication.d.ts +11 -4
- package/lib/Cloudflare/Containers/ContainerApplication.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/ContainerApplication.js +0 -1
- package/lib/Cloudflare/Containers/ContainerApplication.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerPlatform.d.ts +2 -2
- package/lib/Cloudflare/Containers/ContainerPlatform.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/ContainerPlatform.js +1 -2
- package/lib/Cloudflare/Containers/ContainerPlatform.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/ContainerProvider.js +122 -65
- package/lib/Cloudflare/Containers/ContainerProvider.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerPublication.d.ts +4 -0
- package/lib/Cloudflare/Containers/ContainerPublication.d.ts.map +1 -0
- package/lib/Cloudflare/Containers/ContainerPublication.js +8 -0
- package/lib/Cloudflare/Containers/ContainerPublication.js.map +1 -0
- package/lib/Cloudflare/Containers/LocalContainerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/LocalContainerProvider.js +3 -2
- package/lib/Cloudflare/Containers/LocalContainerProvider.js.map +1 -1
- package/lib/Cloudflare/D1/CloneDatabase.d.ts +1 -1
- package/lib/Cloudflare/D1/CloneDatabase.d.ts.map +1 -1
- package/lib/Cloudflare/D1/Database.js +3 -3
- package/lib/Cloudflare/D1/Database.js.map +1 -1
- package/lib/Cloudflare/D1/ImportDatabase.d.ts +1 -1
- package/lib/Cloudflare/D1/ImportDatabase.d.ts.map +1 -1
- package/lib/Cloudflare/DNS/ReadDnsLocal.d.ts +1 -1
- package/lib/Cloudflare/DNS/ReadDnsLocal.d.ts.map +1 -1
- package/lib/Cloudflare/DNS/ReadWriteDnsLocal.d.ts +1 -1
- package/lib/Cloudflare/DNS/ReadWriteDnsLocal.d.ts.map +1 -1
- package/lib/Cloudflare/DNS/WriteDnsLocal.d.ts +1 -1
- package/lib/Cloudflare/DNS/WriteDnsLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Fetcher.d.ts.map +1 -1
- package/lib/Cloudflare/Fetcher.js +58 -116
- package/lib/Cloudflare/Fetcher.js.map +1 -1
- package/lib/Cloudflare/Flagship/Flag.d.ts +8 -1
- package/lib/Cloudflare/Flagship/Flag.d.ts.map +1 -1
- package/lib/Cloudflare/Flagship/Flag.js.map +1 -1
- package/lib/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.d.ts.map +1 -1
- package/lib/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.js +10 -24
- package/lib/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.js.map +1 -1
- package/lib/Cloudflare/Hyperdrive/Connection.d.ts +1 -1
- package/lib/Cloudflare/Hyperdrive/Connection.d.ts.map +1 -1
- package/lib/Cloudflare/Hyperdrive/Connection.js +10 -7
- package/lib/Cloudflare/Hyperdrive/Connection.js.map +1 -1
- package/lib/Cloudflare/KV/ReadNamespaceHttp.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadNamespaceLocal.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadNamespaceLocal.d.ts.map +1 -1
- package/lib/Cloudflare/KV/ReadWriteNamespaceHttp.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadWriteNamespaceLocal.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadWriteNamespaceLocal.d.ts.map +1 -1
- package/lib/Cloudflare/KV/WriteNamespaceHttp.d.ts +1 -1
- package/lib/Cloudflare/KV/WriteNamespaceLocal.d.ts +1 -1
- package/lib/Cloudflare/KV/WriteNamespaceLocal.d.ts.map +1 -1
- package/lib/Cloudflare/LoadBalancer/LoadBalancer.js +1 -1
- package/lib/Cloudflare/LoadBalancer/LoadBalancer.js.map +1 -1
- package/lib/Cloudflare/LoadBalancer/Monitor.js.map +1 -1
- package/lib/Cloudflare/Local.d.ts +8 -1
- package/lib/Cloudflare/Local.d.ts.map +1 -1
- package/lib/Cloudflare/Local.js +6 -2
- package/lib/Cloudflare/Local.js.map +1 -1
- package/lib/Cloudflare/LocalGateway.d.ts +1 -1
- package/lib/Cloudflare/LocalGateway.d.ts.map +1 -1
- package/lib/Cloudflare/LocalRuntime.d.ts +7 -2
- package/lib/Cloudflare/LocalRuntime.d.ts.map +1 -1
- package/lib/Cloudflare/LocalRuntime.js +8 -2
- package/lib/Cloudflare/LocalRuntime.js.map +1 -1
- package/lib/Cloudflare/Logs.d.ts.map +1 -1
- package/lib/Cloudflare/Logs.js +8 -7
- package/lib/Cloudflare/Logs.js.map +1 -1
- package/lib/Cloudflare/MagicTransit/IpsecTunnel.d.ts +1 -1
- package/lib/Cloudflare/MagicTransit/IpsecTunnel.js +1 -1
- package/lib/Cloudflare/MtlsCertificate/MtlsCertificate.d.ts +1 -1
- package/lib/Cloudflare/MtlsCertificate/MtlsCertificate.js +1 -1
- package/lib/Cloudflare/Organization/Organization.js +1 -1
- package/lib/Cloudflare/Organization/Organization.js.map +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/Certificate.d.ts +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/Certificate.js +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameAssociation.d.ts +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameAssociation.js +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameCertificate.d.ts +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameCertificate.js +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/Setting.d.ts +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/Setting.js +1 -1
- package/lib/Cloudflare/Pipelines/LegacyPipeline.d.ts +2 -2
- package/lib/Cloudflare/Pipelines/LegacyPipeline.js +2 -2
- package/lib/Cloudflare/Pipelines/Sink.d.ts +3 -3
- package/lib/Cloudflare/Pipelines/Sink.js +3 -3
- package/lib/Cloudflare/Providers.d.ts +12 -18
- package/lib/Cloudflare/Providers.d.ts.map +1 -1
- package/lib/Cloudflare/Providers.js +14 -20
- package/lib/Cloudflare/Providers.js.map +1 -1
- package/lib/Cloudflare/Queues/Consumer.js +2 -2
- package/lib/Cloudflare/Queues/Consumer.js.map +1 -1
- package/lib/Cloudflare/Queues/Queue.js +2 -2
- package/lib/Cloudflare/Queues/Queue.js.map +1 -1
- package/lib/Cloudflare/Queues/WriteQueueHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/Bucket.d.ts.map +1 -1
- package/lib/Cloudflare/R2/Bucket.js +15 -2
- package/lib/Cloudflare/R2/Bucket.js.map +1 -1
- package/lib/Cloudflare/R2/BucketBinding.d.ts.map +1 -1
- package/lib/Cloudflare/R2/BucketBinding.js +1 -0
- package/lib/Cloudflare/R2/BucketBinding.js.map +1 -1
- package/lib/Cloudflare/R2/BucketSippy.d.ts +7 -7
- package/lib/Cloudflare/R2/BucketSippy.js +7 -7
- package/lib/Cloudflare/R2/BucketTypes.d.ts +8 -0
- package/lib/Cloudflare/R2/BucketTypes.d.ts.map +1 -1
- package/lib/Cloudflare/R2/BucketTypes.js.map +1 -1
- package/lib/Cloudflare/R2/ReadBucketHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadBucketLocal.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadBucketLocal.d.ts.map +1 -1
- package/lib/Cloudflare/R2/ReadWriteBucketHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadWriteBucketLocal.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadWriteBucketLocal.d.ts.map +1 -1
- package/lib/Cloudflare/R2/WriteBucketBinding.d.ts.map +1 -1
- package/lib/Cloudflare/R2/WriteBucketBinding.js +9 -6
- package/lib/Cloudflare/R2/WriteBucketBinding.js.map +1 -1
- package/lib/Cloudflare/R2/WriteBucketHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/WriteBucketLocal.d.ts +1 -1
- package/lib/Cloudflare/R2/WriteBucketLocal.d.ts.map +1 -1
- package/lib/Cloudflare/R2/index.d.ts +1 -0
- package/lib/Cloudflare/R2/index.d.ts.map +1 -1
- package/lib/Cloudflare/R2/index.js +1 -0
- package/lib/Cloudflare/R2/index.js.map +1 -1
- package/lib/Cloudflare/SecretsStore/Secret.js +3 -3
- package/lib/Cloudflare/SecretsStore/Secret.js.map +1 -1
- package/lib/Cloudflare/Snippets/SnippetRules.d.ts.map +1 -1
- package/lib/Cloudflare/Snippets/SnippetRules.js +5 -3
- package/lib/Cloudflare/Snippets/SnippetRules.js.map +1 -1
- package/lib/Cloudflare/StateStore/Api.d.ts +15 -0
- package/lib/Cloudflare/StateStore/State.d.ts +4 -6
- package/lib/Cloudflare/StateStore/State.d.ts.map +1 -1
- package/lib/Cloudflare/StateStore/State.js +6 -14
- package/lib/Cloudflare/StateStore/State.js.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelBinding.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelLocal.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelBinding.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelLocal.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelBinding.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelLocal.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Website/Nuxt.d.ts +1 -1
- package/lib/Cloudflare/Website/Nuxt.js +1 -1
- package/lib/Cloudflare/Website/Octane.d.ts +1 -1
- package/lib/Cloudflare/Website/Octane.js +1 -1
- package/lib/Cloudflare/Website/SvelteKit.d.ts +1 -1
- package/lib/Cloudflare/Website/SvelteKit.js +1 -1
- package/lib/Cloudflare/Workers/AIBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/AIBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Assets.d.ts +1 -1
- package/lib/Cloudflare/Workers/Assets.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Assets.js +1 -1
- package/lib/Cloudflare/Workers/Assets.js.map +1 -1
- package/lib/Cloudflare/Workers/BrowserBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/BrowserBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/CloudflareTracer.js +1 -1
- package/lib/Cloudflare/Workers/CloudflareTracer.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObject.d.ts +22 -3
- package/lib/Cloudflare/Workers/DurableObject.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObject.js +4 -4
- package/lib/Cloudflare/Workers/DurableObject.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.js +1 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectState.js +1 -1
- package/lib/Cloudflare/Workers/DurableObjectState.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.js +22 -22
- package/lib/Cloudflare/Workers/DurableObjectStorage.js.map +1 -1
- package/lib/Cloudflare/Workers/HttpServer.d.ts +1 -1
- package/lib/Cloudflare/Workers/HttpServer.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/HttpServer.js +1 -1
- package/lib/Cloudflare/Workers/HttpServer.js.map +1 -1
- package/lib/Cloudflare/Workers/InferEnv.d.ts +1 -1
- package/lib/Cloudflare/Workers/InferEnv.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.js +33 -13
- package/lib/Cloudflare/Workers/LocalWorkerProvider.js.map +1 -1
- package/lib/Cloudflare/Workers/RateLimitBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/RateLimitBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Rpc.d.ts +9 -1
- package/lib/Cloudflare/Workers/Rpc.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Rpc.js +4 -3
- package/lib/Cloudflare/Workers/Rpc.js.map +1 -1
- package/lib/Cloudflare/Workers/RpcAsync.js +1 -1
- package/lib/Cloudflare/Workers/RpcAsync.js.map +1 -1
- package/lib/Cloudflare/Workers/SecretKeyBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/SecretKeyBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Prebuilt.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Prebuilt.js +3 -2
- package/lib/Cloudflare/Workers/Sources/Prebuilt.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Python.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Python.js +3 -2
- package/lib/Cloudflare/Workers/Sources/Python.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Rolldown.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Rolldown.js +24 -9
- package/lib/Cloudflare/Workers/Sources/Rolldown.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.d.ts +23 -0
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.js +52 -0
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.js.map +1 -0
- package/lib/Cloudflare/Workers/VersionMetadataBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/VersionMetadataBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.js +2 -1
- package/lib/Cloudflare/Workers/ViteChild.js.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.shared.d.ts +1 -0
- package/lib/Cloudflare/Workers/ViteChild.shared.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.shared.js.map +1 -1
- package/lib/Cloudflare/Workers/Worker.d.ts +168 -98
- package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Worker.js +46 -97
- package/lib/Cloudflare/Workers/Worker.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerBinding.d.ts +31 -1
- package/lib/Cloudflare/Workers/WorkerBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerBridge.js +5 -5
- package/lib/Cloudflare/Workers/WorkerBridge.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerEntrypoint.d.ts +42 -13
- package/lib/Cloudflare/Workers/WorkerEntrypoint.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerEntrypoint.js +36 -10
- package/lib/Cloudflare/Workers/WorkerEntrypoint.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerProvider.d.ts +20 -0
- package/lib/Cloudflare/Workers/WorkerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerProvider.js +434 -27
- package/lib/Cloudflare/Workers/WorkerProvider.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerRuntime.d.ts +82 -0
- package/lib/Cloudflare/Workers/WorkerRuntime.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/WorkerRuntime.js +77 -0
- package/lib/Cloudflare/Workers/WorkerRuntime.js.map +1 -0
- package/lib/Cloudflare/Workers/WorkerRuntimeContext.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerRuntimeContext.js +9 -6
- package/lib/Cloudflare/Workers/WorkerRuntimeContext.js.map +1 -1
- package/lib/Cloudflare/Workflows/Workflow.d.ts +2 -38
- package/lib/Cloudflare/Workflows/Workflow.d.ts.map +1 -1
- package/lib/Cloudflare/Workflows/Workflow.js +2 -21
- package/lib/Cloudflare/Workflows/Workflow.js.map +1 -1
- package/lib/Cloudflare/Workflows/WorkflowBridge.d.ts +2 -1
- package/lib/Cloudflare/Workflows/WorkflowBridge.d.ts.map +1 -1
- package/lib/Cloudflare/Workflows/WorkflowBridge.js +2 -2
- package/lib/Cloudflare/Workflows/WorkflowBridge.js.map +1 -1
- package/lib/Cloudflare/Workflows/WorkflowRuntime.d.ts +42 -0
- package/lib/Cloudflare/Workflows/WorkflowRuntime.d.ts.map +1 -0
- package/lib/Cloudflare/Workflows/WorkflowRuntime.js +20 -0
- package/lib/Cloudflare/Workflows/WorkflowRuntime.js.map +1 -0
- package/lib/Cloudflare/index.d.ts.map +1 -1
- package/lib/Cloudflare/index.js +3 -1
- package/lib/Cloudflare/index.js.map +1 -1
- package/lib/Command/Dev.d.ts.map +1 -1
- package/lib/Command/Dev.js +2 -1
- package/lib/Command/Dev.js.map +1 -1
- package/lib/Command/Local.d.ts +7 -1
- package/lib/Command/Local.d.ts.map +1 -1
- package/lib/Command/Local.js +5 -2
- package/lib/Command/Local.js.map +1 -1
- package/lib/Command/Memo.d.ts.map +1 -1
- package/lib/Command/Memo.js +6 -7
- package/lib/Command/Memo.js.map +1 -1
- package/lib/Docker/Container.d.ts +1 -1
- package/lib/Docker/Container.js +1 -1
- package/lib/Docker/Docker.d.ts +19 -7
- package/lib/Docker/Docker.d.ts.map +1 -1
- package/lib/Docker/Docker.js +132 -54
- package/lib/Docker/Docker.js.map +1 -1
- package/lib/Docker/Image.d.ts +1 -1
- package/lib/Docker/Image.js +1 -1
- package/lib/Docker/Registry.d.ts +1 -1
- package/lib/Docker/RegistryError.d.ts +21 -0
- package/lib/Docker/RegistryError.d.ts.map +1 -0
- package/lib/Docker/RegistryError.js +28 -0
- package/lib/Docker/RegistryError.js.map +1 -0
- package/lib/Docker/RemoteImage.d.ts +1 -1
- package/lib/Docker/RemoteImage.js +1 -1
- package/lib/Docker/ServiceImage.d.ts +1 -1
- package/lib/Docker/index.d.ts +1 -0
- package/lib/Docker/index.d.ts.map +1 -1
- package/lib/Docker/index.js +1 -0
- package/lib/Docker/index.js.map +1 -1
- package/lib/Drizzle/Postgres.d.ts.map +1 -1
- package/lib/Drizzle/Postgres.js +3 -1
- package/lib/Drizzle/Postgres.js.map +1 -1
- package/lib/Fly/BucketBinding.js +5 -5
- package/lib/Fly/GetSecretHttp.js +1 -1
- package/lib/Fly/RedisBinding.js +2 -2
- package/lib/Fly/Secret.d.ts +4 -4
- package/lib/Fly/Secret.js +4 -4
- package/lib/Fly/SecretHttp.js +1 -1
- package/lib/Fly/Service.d.ts +3 -3
- package/lib/Fly/Service.js +3 -3
- package/lib/Fly/Sprite.d.ts +2 -2
- package/lib/Fly/Sprite.js +2 -2
- package/lib/Fly/Website/AssetDeployment.d.ts.map +1 -1
- package/lib/Fly/Website/AssetDeployment.js +1 -1
- package/lib/Fly/Website/AssetDeployment.js.map +1 -1
- package/lib/Fly/replicas.d.ts +5 -5
- package/lib/Fly/replicas.d.ts.map +1 -1
- package/lib/Fly/replicas.js +39 -9
- package/lib/Fly/replicas.js.map +1 -1
- package/lib/Git/Api/GitHub.d.ts +38 -0
- package/lib/Git/Api/GitHub.d.ts.map +1 -0
- package/lib/Git/Api/GitHub.js +38 -0
- package/lib/Git/Api/GitHub.js.map +1 -0
- package/lib/Git/Api/Internal.d.ts +27 -0
- package/lib/Git/Api/Internal.d.ts.map +1 -0
- package/lib/Git/Api/Internal.js +27 -0
- package/lib/Git/Api/Internal.js.map +1 -0
- package/lib/Git/Api/Objects.d.ts +140 -0
- package/lib/Git/Api/Objects.d.ts.map +1 -0
- package/lib/Git/Api/Objects.js +100 -0
- package/lib/Git/Api/Objects.js.map +1 -0
- package/lib/Git/Api/Protocol.d.ts +41 -0
- package/lib/Git/Api/Protocol.d.ts.map +1 -0
- package/lib/Git/Api/Protocol.js +23 -0
- package/lib/Git/Api/Protocol.js.map +1 -0
- package/lib/Git/Api/Pulls.d.ts +157 -0
- package/lib/Git/Api/Pulls.d.ts.map +1 -0
- package/lib/Git/Api/Pulls.js +109 -0
- package/lib/Git/Api/Pulls.js.map +1 -0
- package/lib/Git/Api/Refs.d.ts +95 -0
- package/lib/Git/Api/Refs.d.ts.map +1 -0
- package/lib/Git/Api/Refs.js +70 -0
- package/lib/Git/Api/Refs.js.map +1 -0
- package/lib/Git/Api/Repos.d.ts +168 -0
- package/lib/Git/Api/Repos.d.ts.map +1 -0
- package/lib/Git/Api/Repos.js +123 -0
- package/lib/Git/Api/Repos.js.map +1 -0
- package/lib/Git/Api/Schema.d.ts +511 -0
- package/lib/Git/Api/Schema.d.ts.map +1 -0
- package/lib/Git/Api/Schema.js +443 -0
- package/lib/Git/Api/Schema.js.map +1 -0
- package/lib/Git/Api.d.ts +65 -0
- package/lib/Git/Api.d.ts.map +1 -0
- package/lib/Git/Api.js +54 -0
- package/lib/Git/Api.js.map +1 -0
- package/lib/Git/BlobStore.d.ts +129 -0
- package/lib/Git/BlobStore.d.ts.map +1 -0
- package/lib/Git/BlobStore.js +118 -0
- package/lib/Git/BlobStore.js.map +1 -0
- package/lib/Git/BlobStoreS3.d.ts +13 -0
- package/lib/Git/BlobStoreS3.d.ts.map +1 -0
- package/lib/Git/BlobStoreS3.js +184 -0
- package/lib/Git/BlobStoreS3.js.map +1 -0
- package/lib/Git/Engine.d.ts +127 -0
- package/lib/Git/Engine.d.ts.map +1 -0
- package/lib/Git/Engine.js +290 -0
- package/lib/Git/Engine.js.map +1 -0
- package/lib/Git/GitHubCompat.d.ts +155 -0
- package/lib/Git/GitHubCompat.d.ts.map +1 -0
- package/lib/Git/GitHubCompat.js +444 -0
- package/lib/Git/GitHubCompat.js.map +1 -0
- package/lib/Git/Hasher/Hasher.d.ts +129 -0
- package/lib/Git/Hasher/Hasher.d.ts.map +1 -0
- package/lib/Git/Hasher/Hasher.js +170 -0
- package/lib/Git/Hasher/Hasher.js.map +1 -0
- package/lib/Git/Hasher/Lambda.d.ts +18 -0
- package/lib/Git/Hasher/Lambda.d.ts.map +1 -0
- package/lib/Git/Hasher/Lambda.js +81 -0
- package/lib/Git/Hasher/Lambda.js.map +1 -0
- package/lib/Git/Hasher/LambdaEvent.d.ts +45 -0
- package/lib/Git/Hasher/LambdaEvent.d.ts.map +1 -0
- package/lib/Git/Hasher/LambdaEvent.js +99 -0
- package/lib/Git/Hasher/LambdaEvent.js.map +1 -0
- package/lib/Git/Hasher/LambdaFunction.d.ts +7 -0
- package/lib/Git/Hasher/LambdaFunction.d.ts.map +1 -0
- package/lib/Git/Hasher/LambdaFunction.js +41 -0
- package/lib/Git/Hasher/LambdaFunction.js.map +1 -0
- package/lib/Git/Hasher/Protocol.d.ts +46 -0
- package/lib/Git/Hasher/Protocol.d.ts.map +1 -0
- package/lib/Git/Hasher/Protocol.js +235 -0
- package/lib/Git/Hasher/Protocol.js.map +1 -0
- package/lib/Git/Hasher/WorkerLoader.d.ts +17 -0
- package/lib/Git/Hasher/WorkerLoader.d.ts.map +1 -0
- package/lib/Git/Hasher/WorkerLoader.js +90 -0
- package/lib/Git/Hasher/WorkerLoader.js.map +1 -0
- package/lib/Git/Hasher/WorkerLoaderModule.d.ts +5 -0
- package/lib/Git/Hasher/WorkerLoaderModule.d.ts.map +1 -0
- package/lib/Git/Hasher/WorkerLoaderModule.js +47 -0
- package/lib/Git/Hasher/WorkerLoaderModule.js.map +1 -0
- package/lib/Git/Hasher/index.d.ts +16 -0
- package/lib/Git/Hasher/index.d.ts.map +1 -0
- package/lib/Git/Hasher/index.js +16 -0
- package/lib/Git/Hasher/index.js.map +1 -0
- package/lib/Git/Http/ReceivePack.d.ts +38 -0
- package/lib/Git/Http/ReceivePack.d.ts.map +1 -0
- package/lib/Git/Http/ReceivePack.js +94 -0
- package/lib/Git/Http/ReceivePack.js.map +1 -0
- package/lib/Git/Http.d.ts +5 -0
- package/lib/Git/Http.d.ts.map +1 -0
- package/lib/Git/Http.js +5 -0
- package/lib/Git/Http.js.map +1 -0
- package/lib/Git/Jobs/Bundle.d.ts +139 -0
- package/lib/Git/Jobs/Bundle.d.ts.map +1 -0
- package/lib/Git/Jobs/Bundle.js +160 -0
- package/lib/Git/Jobs/Bundle.js.map +1 -0
- package/lib/Git/Jobs/Compact.d.ts +145 -0
- package/lib/Git/Jobs/Compact.d.ts.map +1 -0
- package/lib/Git/Jobs/Compact.js +331 -0
- package/lib/Git/Jobs/Compact.js.map +1 -0
- package/lib/Git/Jobs/Fork.d.ts +116 -0
- package/lib/Git/Jobs/Fork.d.ts.map +1 -0
- package/lib/Git/Jobs/Fork.js +173 -0
- package/lib/Git/Jobs/Fork.js.map +1 -0
- package/lib/Git/Jobs/Import.d.ts +144 -0
- package/lib/Git/Jobs/Import.d.ts.map +1 -0
- package/lib/Git/Jobs/Import.js +291 -0
- package/lib/Git/Jobs/Import.js.map +1 -0
- package/lib/Git/Jobs/Purge.d.ts +62 -0
- package/lib/Git/Jobs/Purge.d.ts.map +1 -0
- package/lib/Git/Jobs/Purge.js +55 -0
- package/lib/Git/Jobs/Purge.js.map +1 -0
- package/lib/Git/Operations.d.ts +136 -0
- package/lib/Git/Operations.d.ts.map +1 -0
- package/lib/Git/Operations.js +684 -0
- package/lib/Git/Operations.js.map +1 -0
- package/lib/Git/Protocol/Advertise.d.ts +50 -0
- package/lib/Git/Protocol/Advertise.d.ts.map +1 -0
- package/lib/Git/Protocol/Advertise.js +116 -0
- package/lib/Git/Protocol/Advertise.js.map +1 -0
- package/lib/Git/Protocol/Delta.d.ts +60 -0
- package/lib/Git/Protocol/Delta.d.ts.map +1 -0
- package/lib/Git/Protocol/Delta.js +147 -0
- package/lib/Git/Protocol/Delta.js.map +1 -0
- package/lib/Git/Protocol/GzipBody.d.ts +65 -0
- package/lib/Git/Protocol/GzipBody.d.ts.map +1 -0
- package/lib/Git/Protocol/GzipBody.js +108 -0
- package/lib/Git/Protocol/GzipBody.js.map +1 -0
- package/lib/Git/Protocol/ObjectCodec.d.ts +346 -0
- package/lib/Git/Protocol/ObjectCodec.d.ts.map +1 -0
- package/lib/Git/Protocol/ObjectCodec.js +685 -0
- package/lib/Git/Protocol/ObjectCodec.js.map +1 -0
- package/lib/Git/Protocol/PackParser.d.ts +231 -0
- package/lib/Git/Protocol/PackParser.d.ts.map +1 -0
- package/lib/Git/Protocol/PackParser.js +636 -0
- package/lib/Git/Protocol/PackParser.js.map +1 -0
- package/lib/Git/Protocol/PackWriter.d.ts +50 -0
- package/lib/Git/Protocol/PackWriter.d.ts.map +1 -0
- package/lib/Git/Protocol/PackWriter.js +82 -0
- package/lib/Git/Protocol/PackWriter.js.map +1 -0
- package/lib/Git/Protocol/PartialScan.d.ts +183 -0
- package/lib/Git/Protocol/PartialScan.d.ts.map +1 -0
- package/lib/Git/Protocol/PartialScan.js +513 -0
- package/lib/Git/Protocol/PartialScan.js.map +1 -0
- package/lib/Git/Protocol/Pkt.d.ts +107 -0
- package/lib/Git/Protocol/Pkt.d.ts.map +1 -0
- package/lib/Git/Protocol/Pkt.js +227 -0
- package/lib/Git/Protocol/Pkt.js.map +1 -0
- package/lib/Git/Protocol/ReceivePack.d.ts +190 -0
- package/lib/Git/Protocol/ReceivePack.d.ts.map +1 -0
- package/lib/Git/Protocol/ReceivePack.js +250 -0
- package/lib/Git/Protocol/ReceivePack.js.map +1 -0
- package/lib/Git/Protocol/Sideband.d.ts +97 -0
- package/lib/Git/Protocol/Sideband.d.ts.map +1 -0
- package/lib/Git/Protocol/Sideband.js +214 -0
- package/lib/Git/Protocol/Sideband.js.map +1 -0
- package/lib/Git/Protocol/Store.d.ts +160 -0
- package/lib/Git/Protocol/Store.d.ts.map +1 -0
- package/lib/Git/Protocol/Store.js +11 -0
- package/lib/Git/Protocol/Store.js.map +1 -0
- package/lib/Git/Protocol/TreeDiff.d.ts +114 -0
- package/lib/Git/Protocol/TreeDiff.d.ts.map +1 -0
- package/lib/Git/Protocol/TreeDiff.js +347 -0
- package/lib/Git/Protocol/TreeDiff.js.map +1 -0
- package/lib/Git/Protocol/UploadPack.d.ts +103 -0
- package/lib/Git/Protocol/UploadPack.d.ts.map +1 -0
- package/lib/Git/Protocol/UploadPack.js +269 -0
- package/lib/Git/Protocol/UploadPack.js.map +1 -0
- package/lib/Git/Protocol/Zlib.d.ts +75 -0
- package/lib/Git/Protocol/Zlib.d.ts.map +1 -0
- package/lib/Git/Protocol/Zlib.js +256 -0
- package/lib/Git/Protocol/Zlib.js.map +1 -0
- package/lib/Git/Push.d.ts +47 -0
- package/lib/Git/Push.d.ts.map +1 -0
- package/lib/Git/Push.js +12 -0
- package/lib/Git/Push.js.map +1 -0
- package/lib/Git/PushInput.d.ts +14 -0
- package/lib/Git/PushInput.d.ts.map +1 -0
- package/lib/Git/PushInput.js +45 -0
- package/lib/Git/PushInput.js.map +1 -0
- package/lib/Git/PushWire.d.ts +17 -0
- package/lib/Git/PushWire.d.ts.map +1 -0
- package/lib/Git/PushWire.js +49 -0
- package/lib/Git/PushWire.js.map +1 -0
- package/lib/Git/RegistryD1.d.ts +10 -0
- package/lib/Git/RegistryD1.d.ts.map +1 -0
- package/lib/Git/RegistryD1.js +188 -0
- package/lib/Git/RegistryD1.js.map +1 -0
- package/lib/Git/RegistryObject.d.ts +210 -0
- package/lib/Git/RegistryObject.d.ts.map +1 -0
- package/lib/Git/RegistryObject.js +287 -0
- package/lib/Git/RegistryObject.js.map +1 -0
- package/lib/Git/RepoObject.d.ts +804 -0
- package/lib/Git/RepoObject.d.ts.map +1 -0
- package/lib/Git/RepoObject.js +3839 -0
- package/lib/Git/RepoObject.js.map +1 -0
- package/lib/Git/Server.d.ts +215 -0
- package/lib/Git/Server.d.ts.map +1 -0
- package/lib/Git/Server.js +620 -0
- package/lib/Git/Server.js.map +1 -0
- package/lib/Git/Store/Closure.d.ts +85 -0
- package/lib/Git/Store/Closure.d.ts.map +1 -0
- package/lib/Git/Store/Closure.js +374 -0
- package/lib/Git/Store/Closure.js.map +1 -0
- package/lib/Git/Store/HeadSnapshot.d.ts +38 -0
- package/lib/Git/Store/HeadSnapshot.d.ts.map +1 -0
- package/lib/Git/Store/HeadSnapshot.js +12 -0
- package/lib/Git/Store/HeadSnapshot.js.map +1 -0
- package/lib/Git/Store/IncomingBody.d.ts +37 -0
- package/lib/Git/Store/IncomingBody.d.ts.map +1 -0
- package/lib/Git/Store/IncomingBody.js +61 -0
- package/lib/Git/Store/IncomingBody.js.map +1 -0
- package/lib/Git/Store/Keys.d.ts +105 -0
- package/lib/Git/Store/Keys.d.ts.map +1 -0
- package/lib/Git/Store/Keys.js +107 -0
- package/lib/Git/Store/Keys.js.map +1 -0
- package/lib/Git/Store/ObjectStore.d.ts +210 -0
- package/lib/Git/Store/ObjectStore.d.ts.map +1 -0
- package/lib/Git/Store/ObjectStore.js +598 -0
- package/lib/Git/Store/ObjectStore.js.map +1 -0
- package/lib/Git/Store/PackSource.d.ts +23 -0
- package/lib/Git/Store/PackSource.d.ts.map +1 -0
- package/lib/Git/Store/PackSource.js +129 -0
- package/lib/Git/Store/PackSource.js.map +1 -0
- package/lib/Git/Store/Sql.d.ts +213 -0
- package/lib/Git/Store/Sql.d.ts.map +1 -0
- package/lib/Git/Store/Sql.js +244 -0
- package/lib/Git/Store/Sql.js.map +1 -0
- package/lib/Git/Store/StreamingSource.d.ts +66 -0
- package/lib/Git/Store/StreamingSource.d.ts.map +1 -0
- package/lib/Git/Store/StreamingSource.js +274 -0
- package/lib/Git/Store/StreamingSource.js.map +1 -0
- package/lib/Git/index.d.ts +39 -0
- package/lib/Git/index.d.ts.map +1 -0
- package/lib/Git/index.js +38 -0
- package/lib/Git/index.js.map +1 -0
- package/lib/GitHub/BranchProtection.d.ts +309 -0
- package/lib/GitHub/BranchProtection.d.ts.map +1 -0
- package/lib/GitHub/BranchProtection.js +334 -0
- package/lib/GitHub/BranchProtection.js.map +1 -0
- package/lib/GitHub/Collaborator.d.ts +112 -0
- package/lib/GitHub/Collaborator.d.ts.map +1 -0
- package/lib/GitHub/Collaborator.js +164 -0
- package/lib/GitHub/Collaborator.js.map +1 -0
- package/lib/GitHub/Env.js +7 -7
- package/lib/GitHub/Issue.d.ts +168 -0
- package/lib/GitHub/Issue.d.ts.map +1 -0
- package/lib/GitHub/Issue.js +229 -0
- package/lib/GitHub/Issue.js.map +1 -0
- package/lib/GitHub/Label.d.ts +194 -0
- package/lib/GitHub/Label.d.ts.map +1 -0
- package/lib/GitHub/Label.js +260 -0
- package/lib/GitHub/Label.js.map +1 -0
- package/lib/GitHub/Milestone.d.ts +203 -0
- package/lib/GitHub/Milestone.d.ts.map +1 -0
- package/lib/GitHub/Milestone.js +261 -0
- package/lib/GitHub/Milestone.js.map +1 -0
- package/lib/GitHub/Providers.d.ts +1 -2
- package/lib/GitHub/Providers.d.ts.map +1 -1
- package/lib/GitHub/Providers.js +22 -3
- package/lib/GitHub/Providers.js.map +1 -1
- package/lib/GitHub/PullRequest.d.ts +220 -0
- package/lib/GitHub/PullRequest.d.ts.map +1 -0
- package/lib/GitHub/PullRequest.js +323 -0
- package/lib/GitHub/PullRequest.js.map +1 -0
- package/lib/GitHub/Release.d.ts +256 -0
- package/lib/GitHub/Release.d.ts.map +1 -0
- package/lib/GitHub/Release.js +315 -0
- package/lib/GitHub/Release.js.map +1 -0
- package/lib/GitHub/Ruleset.d.ts +277 -0
- package/lib/GitHub/Ruleset.d.ts.map +1 -0
- package/lib/GitHub/Ruleset.js +284 -0
- package/lib/GitHub/Ruleset.js.map +1 -0
- package/lib/GitHub/TeamAccess.d.ts +130 -0
- package/lib/GitHub/TeamAccess.d.ts.map +1 -0
- package/lib/GitHub/TeamAccess.js +176 -0
- package/lib/GitHub/TeamAccess.js.map +1 -0
- package/lib/GitHub/WikiPage.d.ts +252 -0
- package/lib/GitHub/WikiPage.d.ts.map +1 -0
- package/lib/GitHub/WikiPage.js +360 -0
- package/lib/GitHub/WikiPage.js.map +1 -0
- package/lib/GitHub/index.d.ts +10 -0
- package/lib/GitHub/index.d.ts.map +1 -1
- package/lib/GitHub/index.js +10 -0
- package/lib/GitHub/index.js.map +1 -1
- package/lib/Hetzner/Server.d.ts.map +1 -1
- package/lib/Hetzner/Server.js +29 -6
- package/lib/Hetzner/Server.js.map +1 -1
- package/lib/Hetzner/hosted.d.ts +1 -1
- package/lib/Http/Platform.d.ts +18 -0
- package/lib/Http/Platform.d.ts.map +1 -0
- package/lib/Http/Platform.js +35 -0
- package/lib/Http/Platform.js.map +1 -0
- package/lib/Http/index.d.ts +6 -0
- package/lib/Http/index.d.ts.map +1 -0
- package/lib/Http/index.js +6 -0
- package/lib/Http/index.js.map +1 -0
- package/lib/Http.d.ts +7 -1
- package/lib/Http.d.ts.map +1 -1
- package/lib/Http.js +2 -4
- package/lib/Http.js.map +1 -1
- package/lib/Kubernetes/internal/helm.js +1 -1
- package/lib/Kubernetes/internal/kubeconfig.js +1 -1
- package/lib/Kubernetes/internal/workload.js +4 -4
- package/lib/Local/LocalProvider.d.ts +3 -2
- package/lib/Local/LocalProvider.d.ts.map +1 -1
- package/lib/Local/LocalProvider.js +3 -2
- package/lib/Local/LocalProvider.js.map +1 -1
- package/lib/Local/ProviderLayer.d.ts +12 -9
- package/lib/Local/ProviderLayer.d.ts.map +1 -1
- package/lib/Local/ProviderLayer.js +25 -15
- package/lib/Local/ProviderLayer.js.map +1 -1
- package/lib/Local/RpcProvider.d.ts +2 -2
- package/lib/Local/RpcProvider.d.ts.map +1 -1
- package/lib/Local/RpcProvider.js +2 -2
- package/lib/Local/RpcProvider.js.map +1 -1
- package/lib/Local/RpcProviderProxy.d.ts +13 -1
- package/lib/Local/RpcProviderProxy.d.ts.map +1 -1
- package/lib/Local/RpcProviderProxy.js +16 -17
- package/lib/Local/RpcProviderProxy.js.map +1 -1
- package/lib/Local/RpcServer.d.ts +31 -10
- package/lib/Local/RpcServer.d.ts.map +1 -1
- package/lib/Local/RpcServer.js +31 -21
- package/lib/Local/RpcServer.js.map +1 -1
- package/lib/Local/RpcServerEnvironment.js +1 -1
- package/lib/Local/RpcSpawner.js +1 -1
- package/lib/Local/Sidecar.d.ts +2 -0
- package/lib/Local/Sidecar.d.ts.map +1 -0
- package/lib/Local/Sidecar.js +30 -0
- package/lib/Local/Sidecar.js.map +1 -0
- package/lib/Nuke.d.ts.map +1 -1
- package/lib/Nuke.js +25 -23
- package/lib/Nuke.js.map +1 -1
- package/lib/Output.js +1 -1
- package/lib/Phase.js +2 -2
- package/lib/Plan.d.ts.map +1 -1
- package/lib/Plan.js +7 -4
- package/lib/Plan.js.map +1 -1
- package/lib/Planetscale/Credentials.js +1 -1
- package/lib/Prisma/App.d.ts.map +1 -1
- package/lib/Prisma/App.js +81 -43
- package/lib/Prisma/App.js.map +1 -1
- package/lib/Prisma/Branch.d.ts.map +1 -1
- package/lib/Prisma/Branch.js +81 -36
- package/lib/Prisma/Branch.js.map +1 -1
- package/lib/Prisma/Bucket.d.ts.map +1 -1
- package/lib/Prisma/Bucket.js +41 -21
- package/lib/Prisma/Bucket.js.map +1 -1
- package/lib/Prisma/BucketAccessKey.d.ts.map +1 -1
- package/lib/Prisma/BucketAccessKey.js +46 -19
- package/lib/Prisma/BucketAccessKey.js.map +1 -1
- package/lib/Prisma/Client.d.ts +2 -1
- package/lib/Prisma/Client.d.ts.map +1 -1
- package/lib/Prisma/Client.js +5 -5
- package/lib/Prisma/Client.js.map +1 -1
- package/lib/Prisma/Compute.d.ts +82 -10
- package/lib/Prisma/Compute.d.ts.map +1 -1
- package/lib/Prisma/Compute.js +233 -116
- package/lib/Prisma/Compute.js.map +1 -1
- package/lib/Prisma/ComputeArchive.d.ts +9 -0
- package/lib/Prisma/ComputeArchive.d.ts.map +1 -1
- package/lib/Prisma/ComputeArchive.js +14 -4
- package/lib/Prisma/ComputeArchive.js.map +1 -1
- package/lib/Prisma/ComputeBuild.d.ts +67 -2
- package/lib/Prisma/ComputeBuild.d.ts.map +1 -1
- package/lib/Prisma/ComputeBuild.js +147 -1
- package/lib/Prisma/ComputeBuild.js.map +1 -1
- package/lib/Prisma/ComputeLifecycle.d.ts +51 -8
- package/lib/Prisma/ComputeLifecycle.d.ts.map +1 -1
- package/lib/Prisma/ComputeLifecycle.js +82 -40
- package/lib/Prisma/ComputeLifecycle.js.map +1 -1
- package/lib/Prisma/Connection.d.ts.map +1 -1
- package/lib/Prisma/Connection.js +72 -30
- package/lib/Prisma/Connection.js.map +1 -1
- package/lib/Prisma/Credentials.d.ts +22 -0
- package/lib/Prisma/Credentials.d.ts.map +1 -0
- package/lib/Prisma/Credentials.js +43 -0
- package/lib/Prisma/Credentials.js.map +1 -0
- package/lib/Prisma/Database.d.ts +9 -4
- package/lib/Prisma/Database.d.ts.map +1 -1
- package/lib/Prisma/Database.js +102 -66
- package/lib/Prisma/Database.js.map +1 -1
- package/lib/Prisma/Deployment.d.ts.map +1 -1
- package/lib/Prisma/Deployment.js +55 -26
- package/lib/Prisma/Deployment.js.map +1 -1
- package/lib/Prisma/EnvironmentVariable.d.ts.map +1 -1
- package/lib/Prisma/EnvironmentVariable.js +50 -26
- package/lib/Prisma/EnvironmentVariable.js.map +1 -1
- package/lib/Prisma/Internal/AppPromotion.d.ts +5 -4
- package/lib/Prisma/Internal/AppPromotion.d.ts.map +1 -1
- package/lib/Prisma/Internal/AppPromotion.js +16 -15
- package/lib/Prisma/Internal/AppPromotion.js.map +1 -1
- package/lib/Prisma/Internal/DatabaseSecrets.d.ts +5 -5
- package/lib/Prisma/Internal/DatabaseSecrets.d.ts.map +1 -1
- package/lib/Prisma/Internal/DatabaseSecrets.js +10 -5
- package/lib/Prisma/Internal/DatabaseSecrets.js.map +1 -1
- package/lib/Prisma/Internal/DeploymentActions.d.ts +3 -3
- package/lib/Prisma/Internal/DeploymentActions.d.ts.map +1 -1
- package/lib/Prisma/Internal/DeploymentActions.js +7 -11
- package/lib/Prisma/Internal/DeploymentActions.js.map +1 -1
- package/lib/Prisma/Internal/DeploymentIdentity.d.ts +2 -3
- package/lib/Prisma/Internal/DeploymentIdentity.d.ts.map +1 -1
- package/lib/Prisma/Internal/DeploymentIdentity.js +23 -2
- package/lib/Prisma/Internal/DeploymentIdentity.js.map +1 -1
- package/lib/Prisma/Internal/DeploymentObserve.d.ts +2 -2
- package/lib/Prisma/Internal/DeploymentObserve.d.ts.map +1 -1
- package/lib/Prisma/Internal/DeploymentObserve.js +3 -1
- package/lib/Prisma/Internal/DeploymentObserve.js.map +1 -1
- package/lib/Prisma/Internal/LogsClient.d.ts +8 -0
- package/lib/Prisma/Internal/LogsClient.d.ts.map +1 -0
- package/lib/Prisma/Internal/LogsClient.js +120 -0
- package/lib/Prisma/Internal/LogsClient.js.map +1 -0
- package/lib/Prisma/Internal/Observed.d.ts +164 -0
- package/lib/Prisma/Internal/Observed.d.ts.map +1 -0
- package/lib/Prisma/Internal/Observed.js +36 -0
- package/lib/Prisma/Internal/Observed.js.map +1 -0
- package/lib/Prisma/Internal/Pagination.d.ts +18 -0
- package/lib/Prisma/Internal/Pagination.d.ts.map +1 -0
- package/lib/Prisma/Internal/Pagination.js +13 -0
- package/lib/Prisma/Internal/Pagination.js.map +1 -0
- package/lib/Prisma/Operations.d.ts +2 -2
- package/lib/Prisma/Operations.d.ts.map +1 -1
- package/lib/Prisma/Operations.js +3 -2
- package/lib/Prisma/Operations.js.map +1 -1
- package/lib/Prisma/PrismaEnvironment.js +1 -1
- package/lib/Prisma/PrismaLogs.d.ts +2 -2
- package/lib/Prisma/PrismaLogs.d.ts.map +1 -1
- package/lib/Prisma/PrismaLogs.js +13 -4
- package/lib/Prisma/PrismaLogs.js.map +1 -1
- package/lib/Prisma/Project.d.ts +1 -2
- package/lib/Prisma/Project.d.ts.map +1 -1
- package/lib/Prisma/Project.js +84 -52
- package/lib/Prisma/Project.js.map +1 -1
- package/lib/Prisma/Providers.d.ts +18 -2
- package/lib/Prisma/Providers.d.ts.map +1 -1
- package/lib/Prisma/Providers.js +24 -5
- package/lib/Prisma/Providers.js.map +1 -1
- package/lib/Prisma/SourceRepository.d.ts.map +1 -1
- package/lib/Prisma/SourceRepository.js +137 -45
- package/lib/Prisma/SourceRepository.js.map +1 -1
- package/lib/Provider.d.ts +6 -2
- package/lib/Provider.d.ts.map +1 -1
- package/lib/Provider.js +12 -8
- package/lib/Provider.js.map +1 -1
- package/lib/Railway/AuditLog.d.ts +46 -5
- package/lib/Railway/AuditLog.d.ts.map +1 -1
- package/lib/Railway/AuditLog.js +14 -4
- package/lib/Railway/AuditLog.js.map +1 -1
- package/lib/Railway/AuthProvider.js.map +1 -1
- package/lib/Railway/Bucket.d.ts +1 -1
- package/lib/Railway/Bucket.d.ts.map +1 -1
- package/lib/Railway/Bucket.js +39 -19
- package/lib/Railway/Bucket.js.map +1 -1
- package/lib/Railway/BucketBinding.js +5 -5
- package/lib/Railway/Catalog.d.ts +42 -4
- package/lib/Railway/Catalog.d.ts.map +1 -1
- package/lib/Railway/Catalog.js +6 -1
- package/lib/Railway/Catalog.js.map +1 -1
- package/lib/Railway/CloudAgent.d.ts +68 -4
- package/lib/Railway/CloudAgent.d.ts.map +1 -1
- package/lib/Railway/CloudAgent.js +24 -20
- package/lib/Railway/CloudAgent.js.map +1 -1
- package/lib/Railway/CustomDomain.d.ts +1 -1
- package/lib/Railway/CustomDomain.d.ts.map +1 -1
- package/lib/Railway/CustomDomain.js +58 -32
- package/lib/Railway/CustomDomain.js.map +1 -1
- package/lib/Railway/Environment.d.ts +20 -2
- package/lib/Railway/Environment.d.ts.map +1 -1
- package/lib/Railway/Environment.js +7 -2
- package/lib/Railway/Environment.js.map +1 -1
- package/lib/Railway/Function.d.ts +1 -1
- package/lib/Railway/Function.d.ts.map +1 -1
- package/lib/Railway/Function.js +73 -55
- package/lib/Railway/Function.js.map +1 -1
- package/lib/Railway/GraphQL.d.ts +1230 -0
- package/lib/Railway/GraphQL.d.ts.map +1 -0
- package/lib/Railway/GraphQL.js +132 -0
- package/lib/Railway/GraphQL.js.map +1 -0
- package/lib/Railway/Group.d.ts +1 -1
- package/lib/Railway/Group.d.ts.map +1 -1
- package/lib/Railway/Group.js +101 -30
- package/lib/Railway/Group.js.map +1 -1
- package/lib/Railway/LoginSession.d.ts +10 -2
- package/lib/Railway/LoginSession.d.ts.map +1 -1
- package/lib/Railway/LoginSession.js +5 -4
- package/lib/Railway/LoginSession.js.map +1 -1
- package/lib/Railway/Mongo.d.ts +1 -1
- package/lib/Railway/Mongo.d.ts.map +1 -1
- package/lib/Railway/Mongo.js +107 -93
- package/lib/Railway/Mongo.js.map +1 -1
- package/lib/Railway/MountVolume.d.ts.map +1 -1
- package/lib/Railway/MountVolume.js +5 -4
- package/lib/Railway/MountVolume.js.map +1 -1
- package/lib/Railway/MySQL.d.ts +1 -1
- package/lib/Railway/MySQL.d.ts.map +1 -1
- package/lib/Railway/MySQL.js +107 -93
- package/lib/Railway/MySQL.js.map +1 -1
- package/lib/Railway/Postgres.d.ts +1 -1
- package/lib/Railway/Postgres.d.ts.map +1 -1
- package/lib/Railway/Postgres.js +113 -95
- package/lib/Railway/Postgres.js.map +1 -1
- package/lib/Railway/PrivateNetwork.d.ts +87 -61
- package/lib/Railway/PrivateNetwork.d.ts.map +1 -1
- package/lib/Railway/PrivateNetwork.js +298 -196
- package/lib/Railway/PrivateNetwork.js.map +1 -1
- package/lib/Railway/Project.d.ts +80 -6
- package/lib/Railway/Project.d.ts.map +1 -1
- package/lib/Railway/Project.js +24 -17
- package/lib/Railway/Project.js.map +1 -1
- package/lib/Railway/ProjectEnvironment.d.ts +1 -1
- package/lib/Railway/ProjectEnvironment.d.ts.map +1 -1
- package/lib/Railway/ProjectEnvironment.js +22 -15
- package/lib/Railway/ProjectEnvironment.js.map +1 -1
- package/lib/Railway/Providers.d.ts.map +1 -1
- package/lib/Railway/Providers.js +3 -2
- package/lib/Railway/Providers.js.map +1 -1
- package/lib/Railway/Redis.d.ts +1 -1
- package/lib/Railway/Redis.d.ts.map +1 -1
- package/lib/Railway/Redis.js +53 -42
- package/lib/Railway/Redis.js.map +1 -1
- package/lib/Railway/RedisBinding.js +2 -2
- package/lib/Railway/Sandbox.d.ts +182 -16
- package/lib/Railway/Sandbox.d.ts.map +1 -1
- package/lib/Railway/Sandbox.js +112 -53
- package/lib/Railway/Sandbox.js.map +1 -1
- package/lib/Railway/SandboxCheckpoint.d.ts +84 -0
- package/lib/Railway/SandboxCheckpoint.d.ts.map +1 -0
- package/lib/Railway/SandboxCheckpoint.js +189 -0
- package/lib/Railway/SandboxCheckpoint.js.map +1 -0
- package/lib/Railway/Service.d.ts +3 -1
- package/lib/Railway/Service.d.ts.map +1 -1
- package/lib/Railway/Service.js.map +1 -1
- package/lib/Railway/ServiceDomain.d.ts +79 -6
- package/lib/Railway/ServiceDomain.d.ts.map +1 -1
- package/lib/Railway/ServiceDomain.js +29 -49
- package/lib/Railway/ServiceDomain.js.map +1 -1
- package/lib/Railway/ServiceProvider.d.ts +1 -1
- package/lib/Railway/ServiceProvider.d.ts.map +1 -1
- package/lib/Railway/ServiceProvider.js +115 -65
- package/lib/Railway/ServiceProvider.js.map +1 -1
- package/lib/Railway/TcpProxy.d.ts +1 -1
- package/lib/Railway/TcpProxy.d.ts.map +1 -1
- package/lib/Railway/TcpProxy.js +24 -16
- package/lib/Railway/TcpProxy.js.map +1 -1
- package/lib/Railway/Template.d.ts +5 -5
- package/lib/Railway/Template.d.ts.map +1 -1
- package/lib/Railway/Template.js +83 -56
- package/lib/Railway/Template.js.map +1 -1
- package/lib/Railway/Usage.d.ts +82 -5
- package/lib/Railway/Usage.d.ts.map +1 -1
- package/lib/Railway/Usage.js +28 -12
- package/lib/Railway/Usage.js.map +1 -1
- package/lib/Railway/Variable.d.ts +1 -1
- package/lib/Railway/Variable.d.ts.map +1 -1
- package/lib/Railway/Variable.js +8 -10
- package/lib/Railway/Variable.js.map +1 -1
- package/lib/Railway/Volume.d.ts +77 -3
- package/lib/Railway/Volume.d.ts.map +1 -1
- package/lib/Railway/Volume.js +67 -35
- package/lib/Railway/Volume.js.map +1 -1
- package/lib/Railway/VolumeBackup.d.ts +20 -4
- package/lib/Railway/VolumeBackup.d.ts.map +1 -1
- package/lib/Railway/VolumeBackup.js +47 -28
- package/lib/Railway/VolumeBackup.js.map +1 -1
- package/lib/Railway/Website/Cdn.d.ts +18 -2
- package/lib/Railway/Website/Cdn.d.ts.map +1 -1
- package/lib/Railway/Website/Cdn.js +82 -35
- package/lib/Railway/Website/Cdn.js.map +1 -1
- package/lib/Railway/hosted.d.ts.map +1 -1
- package/lib/Railway/hosted.js +10 -3
- package/lib/Railway/hosted.js.map +1 -1
- package/lib/Railway/index.d.ts +1 -0
- package/lib/Railway/index.d.ts.map +1 -1
- package/lib/Railway/index.js +1 -0
- package/lib/Railway/index.js.map +1 -1
- package/lib/Railway/transient.d.ts +6 -16
- package/lib/Railway/transient.d.ts.map +1 -1
- package/lib/Railway/transient.js +20 -32
- package/lib/Railway/transient.js.map +1 -1
- package/lib/Rpc.d.ts +22 -1
- package/lib/Rpc.d.ts.map +1 -1
- package/lib/Rpc.js +37 -2
- package/lib/Rpc.js.map +1 -1
- package/lib/Runtime/Bootstrap/Process.js +2 -2
- package/lib/Runtime.d.ts +1 -1
- package/lib/Runtime.js +1 -1
- package/lib/RuntimeContext.d.ts +1 -1
- package/lib/RuntimeContext.js +1 -1
- package/lib/SQL/Postgres.d.ts.map +1 -1
- package/lib/SQL/Postgres.js +5 -1
- package/lib/SQL/Postgres.js.map +1 -1
- package/lib/SQL/PostgresTls.d.ts +29 -0
- package/lib/SQL/PostgresTls.d.ts.map +1 -0
- package/lib/SQL/PostgresTls.js +63 -0
- package/lib/SQL/PostgresTls.js.map +1 -0
- package/lib/Server/Process.js +1 -1
- package/lib/Server/index.d.ts +0 -2
- package/lib/Server/index.d.ts.map +1 -1
- package/lib/Server/index.js +0 -2
- package/lib/Server/index.js.map +1 -1
- package/lib/Stack.d.ts.map +1 -1
- package/lib/Stack.js +2 -1
- package/lib/Stack.js.map +1 -1
- package/lib/StackContext.d.ts +4 -0
- package/lib/StackContext.d.ts.map +1 -0
- package/lib/StackContext.js +3 -0
- package/lib/StackContext.js.map +1 -0
- package/lib/State/HttpStateApi.d.ts +8 -8
- package/lib/State/HttpStateStore.d.ts +5 -10
- package/lib/State/HttpStateStore.d.ts.map +1 -1
- package/lib/State/HttpStateStore.js +18 -32
- package/lib/State/HttpStateStore.js.map +1 -1
- package/lib/State/PostgresState.d.ts +4 -4
- package/lib/State/PostgresState.d.ts.map +1 -1
- package/lib/State/PostgresState.js +5 -4
- package/lib/State/PostgresState.js.map +1 -1
- package/lib/State/State.d.ts +5 -0
- package/lib/State/State.d.ts.map +1 -1
- package/lib/State/State.js.map +1 -1
- package/lib/Stripe/Account.d.ts +308 -0
- package/lib/Stripe/Account.d.ts.map +1 -0
- package/lib/Stripe/Account.js +436 -0
- package/lib/Stripe/Account.js.map +1 -0
- package/lib/Stripe/AccountExternalAccount.d.ts +139 -0
- package/lib/Stripe/AccountExternalAccount.d.ts.map +1 -0
- package/lib/Stripe/AccountExternalAccount.js +354 -0
- package/lib/Stripe/AccountExternalAccount.js.map +1 -0
- package/lib/Stripe/AccountPerson.d.ts +142 -0
- package/lib/Stripe/AccountPerson.d.ts.map +1 -0
- package/lib/Stripe/AccountPerson.js +354 -0
- package/lib/Stripe/AccountPerson.js.map +1 -0
- package/lib/Stripe/Alert.d.ts +168 -0
- package/lib/Stripe/Alert.d.ts.map +1 -0
- package/lib/Stripe/Alert.js +285 -0
- package/lib/Stripe/Alert.js.map +1 -0
- package/lib/Stripe/ApplePayDomain.d.ts +75 -0
- package/lib/Stripe/ApplePayDomain.d.ts.map +1 -0
- package/lib/Stripe/ApplePayDomain.js +178 -0
- package/lib/Stripe/ApplePayDomain.js.map +1 -0
- package/lib/Stripe/AppsSecret.d.ts +120 -0
- package/lib/Stripe/AppsSecret.d.ts.map +1 -0
- package/lib/Stripe/AppsSecret.js +232 -0
- package/lib/Stripe/AppsSecret.js.map +1 -0
- package/lib/Stripe/AuthProvider.d.ts +27 -0
- package/lib/Stripe/AuthProvider.d.ts.map +1 -0
- package/lib/Stripe/AuthProvider.js +56 -0
- package/lib/Stripe/AuthProvider.js.map +1 -0
- package/lib/Stripe/BillingMeter.d.ts +168 -0
- package/lib/Stripe/BillingMeter.d.ts.map +1 -0
- package/lib/Stripe/BillingMeter.js +270 -0
- package/lib/Stripe/BillingMeter.js.map +1 -0
- package/lib/Stripe/BillingPortalConfiguration.d.ts +358 -0
- package/lib/Stripe/BillingPortalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/BillingPortalConfiguration.js +480 -0
- package/lib/Stripe/BillingPortalConfiguration.js.map +1 -0
- package/lib/Stripe/ConsumeEvents.d.ts +80 -0
- package/lib/Stripe/ConsumeEvents.d.ts.map +1 -0
- package/lib/Stripe/ConsumeEvents.js +139 -0
- package/lib/Stripe/ConsumeEvents.js.map +1 -0
- package/lib/Stripe/Coupon.d.ts +179 -0
- package/lib/Stripe/Coupon.d.ts.map +1 -0
- package/lib/Stripe/Coupon.js +323 -0
- package/lib/Stripe/Coupon.js.map +1 -0
- package/lib/Stripe/CreateAccount.d.ts +25 -0
- package/lib/Stripe/CreateAccount.d.ts.map +1 -0
- package/lib/Stripe/CreateAccount.js +3 -0
- package/lib/Stripe/CreateAccount.js.map +1 -0
- package/lib/Stripe/CreateAccountHttp.d.ts +11 -0
- package/lib/Stripe/CreateAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateAccountHttp.js +17 -0
- package/lib/Stripe/CreateAccountHttp.js.map +1 -0
- package/lib/Stripe/CreateAccountLink.d.ts +29 -0
- package/lib/Stripe/CreateAccountLink.d.ts.map +1 -0
- package/lib/Stripe/CreateAccountLink.js +3 -0
- package/lib/Stripe/CreateAccountLink.js.map +1 -0
- package/lib/Stripe/CreateAccountLinkHttp.d.ts +11 -0
- package/lib/Stripe/CreateAccountLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateAccountLinkHttp.js +17 -0
- package/lib/Stripe/CreateAccountLinkHttp.js.map +1 -0
- package/lib/Stripe/CreateAppsSecret.d.ts +25 -0
- package/lib/Stripe/CreateAppsSecret.d.ts.map +1 -0
- package/lib/Stripe/CreateAppsSecret.js +3 -0
- package/lib/Stripe/CreateAppsSecret.js.map +1 -0
- package/lib/Stripe/CreateAppsSecretHttp.d.ts +11 -0
- package/lib/Stripe/CreateAppsSecretHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateAppsSecretHttp.js +17 -0
- package/lib/Stripe/CreateAppsSecretHttp.js.map +1 -0
- package/lib/Stripe/CreateBillingPortalSession.d.ts +33 -0
- package/lib/Stripe/CreateBillingPortalSession.d.ts.map +1 -0
- package/lib/Stripe/CreateBillingPortalSession.js +3 -0
- package/lib/Stripe/CreateBillingPortalSession.js.map +1 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.d.ts +11 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.js +17 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.js.map +1 -0
- package/lib/Stripe/CreateCheckoutSession.d.ts +35 -0
- package/lib/Stripe/CreateCheckoutSession.d.ts.map +1 -0
- package/lib/Stripe/CreateCheckoutSession.js +3 -0
- package/lib/Stripe/CreateCheckoutSession.js.map +1 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.d.ts +11 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.js +17 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.js.map +1 -0
- package/lib/Stripe/CreateCreditGrant.d.ts +27 -0
- package/lib/Stripe/CreateCreditGrant.d.ts.map +1 -0
- package/lib/Stripe/CreateCreditGrant.js +3 -0
- package/lib/Stripe/CreateCreditGrant.js.map +1 -0
- package/lib/Stripe/CreateCreditGrantHttp.d.ts +11 -0
- package/lib/Stripe/CreateCreditGrantHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateCreditGrantHttp.js +17 -0
- package/lib/Stripe/CreateCreditGrantHttp.js.map +1 -0
- package/lib/Stripe/CreateCustomer.d.ts +24 -0
- package/lib/Stripe/CreateCustomer.d.ts.map +1 -0
- package/lib/Stripe/CreateCustomer.js +3 -0
- package/lib/Stripe/CreateCustomer.js.map +1 -0
- package/lib/Stripe/CreateCustomerHttp.d.ts +11 -0
- package/lib/Stripe/CreateCustomerHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateCustomerHttp.js +17 -0
- package/lib/Stripe/CreateCustomerHttp.js.map +1 -0
- package/lib/Stripe/CreateFileLink.d.ts +23 -0
- package/lib/Stripe/CreateFileLink.d.ts.map +1 -0
- package/lib/Stripe/CreateFileLink.js +3 -0
- package/lib/Stripe/CreateFileLink.js.map +1 -0
- package/lib/Stripe/CreateFileLinkHttp.d.ts +11 -0
- package/lib/Stripe/CreateFileLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateFileLinkHttp.js +17 -0
- package/lib/Stripe/CreateFileLinkHttp.js.map +1 -0
- package/lib/Stripe/CreateIssuingCard.d.ts +25 -0
- package/lib/Stripe/CreateIssuingCard.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCard.js +3 -0
- package/lib/Stripe/CreateIssuingCard.js.map +1 -0
- package/lib/Stripe/CreateIssuingCardHttp.d.ts +11 -0
- package/lib/Stripe/CreateIssuingCardHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCardHttp.js +17 -0
- package/lib/Stripe/CreateIssuingCardHttp.js.map +1 -0
- package/lib/Stripe/CreateIssuingCardholder.d.ts +32 -0
- package/lib/Stripe/CreateIssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCardholder.js +3 -0
- package/lib/Stripe/CreateIssuingCardholder.js.map +1 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.d.ts +11 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.js +17 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.js.map +1 -0
- package/lib/Stripe/CreateTerminalReader.d.ts +25 -0
- package/lib/Stripe/CreateTerminalReader.d.ts.map +1 -0
- package/lib/Stripe/CreateTerminalReader.js +3 -0
- package/lib/Stripe/CreateTerminalReader.js.map +1 -0
- package/lib/Stripe/CreateTerminalReaderHttp.d.ts +11 -0
- package/lib/Stripe/CreateTerminalReaderHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateTerminalReaderHttp.js +17 -0
- package/lib/Stripe/CreateTerminalReaderHttp.js.map +1 -0
- package/lib/Stripe/Credentials.d.ts +15 -0
- package/lib/Stripe/Credentials.d.ts.map +1 -0
- package/lib/Stripe/Credentials.js +27 -0
- package/lib/Stripe/Credentials.js.map +1 -0
- package/lib/Stripe/CreditGrant.d.ts +219 -0
- package/lib/Stripe/CreditGrant.d.ts.map +1 -0
- package/lib/Stripe/CreditGrant.js +364 -0
- package/lib/Stripe/CreditGrant.js.map +1 -0
- package/lib/Stripe/Customer.d.ts +90 -0
- package/lib/Stripe/Customer.d.ts.map +1 -0
- package/lib/Stripe/Customer.js +203 -0
- package/lib/Stripe/Customer.js.map +1 -0
- package/lib/Stripe/CustomerTaxId.d.ts +81 -0
- package/lib/Stripe/CustomerTaxId.d.ts.map +1 -0
- package/lib/Stripe/CustomerTaxId.js +228 -0
- package/lib/Stripe/CustomerTaxId.js.map +1 -0
- package/lib/Stripe/EntitlementsFeature.d.ts +96 -0
- package/lib/Stripe/EntitlementsFeature.d.ts.map +1 -0
- package/lib/Stripe/EntitlementsFeature.js +261 -0
- package/lib/Stripe/EntitlementsFeature.js.map +1 -0
- package/lib/Stripe/Events.d.ts +91 -0
- package/lib/Stripe/Events.d.ts.map +1 -0
- package/lib/Stripe/Events.js +102 -0
- package/lib/Stripe/Events.js.map +1 -0
- package/lib/Stripe/FileLink.d.ts +92 -0
- package/lib/Stripe/FileLink.d.ts.map +1 -0
- package/lib/Stripe/FileLink.js +229 -0
- package/lib/Stripe/FileLink.js.map +1 -0
- package/lib/Stripe/IssuingCard.d.ts +249 -0
- package/lib/Stripe/IssuingCard.d.ts.map +1 -0
- package/lib/Stripe/IssuingCard.js +423 -0
- package/lib/Stripe/IssuingCard.js.map +1 -0
- package/lib/Stripe/IssuingCardholder.d.ts +366 -0
- package/lib/Stripe/IssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/IssuingCardholder.js +520 -0
- package/lib/Stripe/IssuingCardholder.js.map +1 -0
- package/lib/Stripe/IssuingPersonalizationDesign.d.ts +185 -0
- package/lib/Stripe/IssuingPersonalizationDesign.d.ts.map +1 -0
- package/lib/Stripe/IssuingPersonalizationDesign.js +340 -0
- package/lib/Stripe/IssuingPersonalizationDesign.js.map +1 -0
- package/lib/Stripe/Metadata.d.ts +39 -0
- package/lib/Stripe/Metadata.d.ts.map +1 -0
- package/lib/Stripe/Metadata.js +58 -0
- package/lib/Stripe/Metadata.js.map +1 -0
- package/lib/Stripe/PaymentLink.d.ts +219 -0
- package/lib/Stripe/PaymentLink.d.ts.map +1 -0
- package/lib/Stripe/PaymentLink.js +491 -0
- package/lib/Stripe/PaymentLink.js.map +1 -0
- package/lib/Stripe/PaymentMethodConfiguration.d.ts +269 -0
- package/lib/Stripe/PaymentMethodConfiguration.d.ts.map +1 -0
- package/lib/Stripe/PaymentMethodConfiguration.js +330 -0
- package/lib/Stripe/PaymentMethodConfiguration.js.map +1 -0
- package/lib/Stripe/PaymentMethodDomain.d.ts +118 -0
- package/lib/Stripe/PaymentMethodDomain.d.ts.map +1 -0
- package/lib/Stripe/PaymentMethodDomain.js +209 -0
- package/lib/Stripe/PaymentMethodDomain.js.map +1 -0
- package/lib/Stripe/Plan.d.ts +175 -0
- package/lib/Stripe/Plan.d.ts.map +1 -0
- package/lib/Stripe/Plan.js +305 -0
- package/lib/Stripe/Plan.js.map +1 -0
- package/lib/Stripe/Price.d.ts +176 -0
- package/lib/Stripe/Price.d.ts.map +1 -0
- package/lib/Stripe/Price.js +344 -0
- package/lib/Stripe/Price.js.map +1 -0
- package/lib/Stripe/Product.d.ts +92 -0
- package/lib/Stripe/Product.d.ts.map +1 -0
- package/lib/Stripe/Product.js +222 -0
- package/lib/Stripe/Product.js.map +1 -0
- package/lib/Stripe/ProductFeature.d.ts +70 -0
- package/lib/Stripe/ProductFeature.d.ts.map +1 -0
- package/lib/Stripe/ProductFeature.js +206 -0
- package/lib/Stripe/ProductFeature.js.map +1 -0
- package/lib/Stripe/PromotionCode.d.ts +168 -0
- package/lib/Stripe/PromotionCode.d.ts.map +1 -0
- package/lib/Stripe/PromotionCode.js +396 -0
- package/lib/Stripe/PromotionCode.js.map +1 -0
- package/lib/Stripe/Providers.d.ts +36 -0
- package/lib/Stripe/Providers.d.ts.map +1 -0
- package/lib/Stripe/Providers.js +162 -0
- package/lib/Stripe/Providers.js.map +1 -0
- package/lib/Stripe/RadarValueList.d.ts +112 -0
- package/lib/Stripe/RadarValueList.d.ts.map +1 -0
- package/lib/Stripe/RadarValueList.js +259 -0
- package/lib/Stripe/RadarValueList.js.map +1 -0
- package/lib/Stripe/RadarValueListItem.d.ts +69 -0
- package/lib/Stripe/RadarValueListItem.d.ts.map +1 -0
- package/lib/Stripe/RadarValueListItem.js +213 -0
- package/lib/Stripe/RadarValueListItem.js.map +1 -0
- package/lib/Stripe/RestrictedApiKey.d.ts +85 -0
- package/lib/Stripe/RestrictedApiKey.d.ts.map +1 -0
- package/lib/Stripe/RestrictedApiKey.js +91 -0
- package/lib/Stripe/RestrictedApiKey.js.map +1 -0
- package/lib/Stripe/RetrieveAccount.d.ts +23 -0
- package/lib/Stripe/RetrieveAccount.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccount.js +3 -0
- package/lib/Stripe/RetrieveAccount.js.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.d.ts +23 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.js +3 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.js.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.js +31 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAccountHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountHttp.js +18 -0
- package/lib/Stripe/RetrieveAccountHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAccountPerson.d.ts +23 -0
- package/lib/Stripe/RetrieveAccountPerson.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountPerson.js +3 -0
- package/lib/Stripe/RetrieveAccountPerson.js.map +1 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.js +31 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAlert.d.ts +23 -0
- package/lib/Stripe/RetrieveAlert.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAlert.js +3 -0
- package/lib/Stripe/RetrieveAlert.js.map +1 -0
- package/lib/Stripe/RetrieveAlertHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveAlertHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAlertHttp.js +17 -0
- package/lib/Stripe/RetrieveAlertHttp.js.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomain.d.ts +23 -0
- package/lib/Stripe/RetrieveApplePayDomain.d.ts.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomain.js +3 -0
- package/lib/Stripe/RetrieveApplePayDomain.js.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.js +18 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAppsSecret.d.ts +24 -0
- package/lib/Stripe/RetrieveAppsSecret.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAppsSecret.js +3 -0
- package/lib/Stripe/RetrieveAppsSecret.js.map +1 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.js +36 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.js.map +1 -0
- package/lib/Stripe/RetrieveBillingMeter.d.ts +23 -0
- package/lib/Stripe/RetrieveBillingMeter.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingMeter.js +3 -0
- package/lib/Stripe/RetrieveBillingMeter.js.map +1 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.js +17 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.js.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.d.ts +23 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.js +3 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.js.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.js +17 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCoupon.d.ts +23 -0
- package/lib/Stripe/RetrieveCoupon.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCoupon.js +3 -0
- package/lib/Stripe/RetrieveCoupon.js.map +1 -0
- package/lib/Stripe/RetrieveCouponHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCouponHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCouponHttp.js +18 -0
- package/lib/Stripe/RetrieveCouponHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCreditGrant.d.ts +23 -0
- package/lib/Stripe/RetrieveCreditGrant.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCreditGrant.js +3 -0
- package/lib/Stripe/RetrieveCreditGrant.js.map +1 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.js +18 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCustomer.d.ts +23 -0
- package/lib/Stripe/RetrieveCustomer.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomer.js +3 -0
- package/lib/Stripe/RetrieveCustomer.js.map +1 -0
- package/lib/Stripe/RetrieveCustomerHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCustomerHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomerHttp.js +18 -0
- package/lib/Stripe/RetrieveCustomerHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxId.d.ts +23 -0
- package/lib/Stripe/RetrieveCustomerTaxId.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxId.js +3 -0
- package/lib/Stripe/RetrieveCustomerTaxId.js.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.js +31 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.js.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.d.ts +23 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.d.ts.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.js +3 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.js.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.js +17 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.js.map +1 -0
- package/lib/Stripe/RetrieveFileLink.d.ts +23 -0
- package/lib/Stripe/RetrieveFileLink.d.ts.map +1 -0
- package/lib/Stripe/RetrieveFileLink.js +3 -0
- package/lib/Stripe/RetrieveFileLink.js.map +1 -0
- package/lib/Stripe/RetrieveFileLinkHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveFileLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveFileLinkHttp.js +18 -0
- package/lib/Stripe/RetrieveFileLinkHttp.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCard.d.ts +23 -0
- package/lib/Stripe/RetrieveIssuingCard.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCard.js +3 -0
- package/lib/Stripe/RetrieveIssuingCard.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.js +18 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholder.d.ts +23 -0
- package/lib/Stripe/RetrieveIssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholder.js +3 -0
- package/lib/Stripe/RetrieveIssuingCardholder.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.js +18 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.d.ts +23 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.js +3 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.js +18 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.js.map +1 -0
- package/lib/Stripe/RetrievePaymentLink.d.ts +23 -0
- package/lib/Stripe/RetrievePaymentLink.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentLink.js +3 -0
- package/lib/Stripe/RetrievePaymentLink.js.map +1 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.js +18 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.d.ts +23 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.js +3 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.d.ts +10 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.js +17 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.d.ts +23 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.js +3 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.d.ts +10 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.js +17 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.js.map +1 -0
- package/lib/Stripe/RetrievePlan.d.ts +23 -0
- package/lib/Stripe/RetrievePlan.d.ts.map +1 -0
- package/lib/Stripe/RetrievePlan.js +3 -0
- package/lib/Stripe/RetrievePlan.js.map +1 -0
- package/lib/Stripe/RetrievePlanHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePlanHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePlanHttp.js +18 -0
- package/lib/Stripe/RetrievePlanHttp.js.map +1 -0
- package/lib/Stripe/RetrievePrice.d.ts +23 -0
- package/lib/Stripe/RetrievePrice.d.ts.map +1 -0
- package/lib/Stripe/RetrievePrice.js +3 -0
- package/lib/Stripe/RetrievePrice.js.map +1 -0
- package/lib/Stripe/RetrievePriceHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePriceHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePriceHttp.js +18 -0
- package/lib/Stripe/RetrievePriceHttp.js.map +1 -0
- package/lib/Stripe/RetrieveProduct.d.ts +30 -0
- package/lib/Stripe/RetrieveProduct.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProduct.js +3 -0
- package/lib/Stripe/RetrieveProduct.js.map +1 -0
- package/lib/Stripe/RetrieveProductFeature.d.ts +23 -0
- package/lib/Stripe/RetrieveProductFeature.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProductFeature.js +3 -0
- package/lib/Stripe/RetrieveProductFeature.js.map +1 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.js +31 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.js.map +1 -0
- package/lib/Stripe/RetrieveProductHttp.d.ts +12 -0
- package/lib/Stripe/RetrieveProductHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProductHttp.js +33 -0
- package/lib/Stripe/RetrieveProductHttp.js.map +1 -0
- package/lib/Stripe/RetrievePromotionCode.d.ts +23 -0
- package/lib/Stripe/RetrievePromotionCode.d.ts.map +1 -0
- package/lib/Stripe/RetrievePromotionCode.js +3 -0
- package/lib/Stripe/RetrievePromotionCode.js.map +1 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.js +18 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueList.d.ts +23 -0
- package/lib/Stripe/RetrieveRadarValueList.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueList.js +3 -0
- package/lib/Stripe/RetrieveRadarValueList.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.js +17 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItem.d.ts +23 -0
- package/lib/Stripe/RetrieveRadarValueListItem.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItem.js +3 -0
- package/lib/Stripe/RetrieveRadarValueListItem.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.js +17 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.js.map +1 -0
- package/lib/Stripe/RetrieveShippingRate.d.ts +23 -0
- package/lib/Stripe/RetrieveShippingRate.d.ts.map +1 -0
- package/lib/Stripe/RetrieveShippingRate.js +3 -0
- package/lib/Stripe/RetrieveShippingRate.js.map +1 -0
- package/lib/Stripe/RetrieveShippingRateHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveShippingRateHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveShippingRateHttp.js +18 -0
- package/lib/Stripe/RetrieveShippingRateHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRate.d.ts +23 -0
- package/lib/Stripe/RetrieveTaxRate.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRate.js +3 -0
- package/lib/Stripe/RetrieveTaxRate.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRateHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTaxRateHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRateHttp.js +18 -0
- package/lib/Stripe/RetrieveTaxRateHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistration.d.ts +23 -0
- package/lib/Stripe/RetrieveTaxRegistration.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistration.js +3 -0
- package/lib/Stripe/RetrieveTaxRegistration.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.js +18 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTaxSettings.d.ts +25 -0
- package/lib/Stripe/RetrieveTaxSettings.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxSettings.js +3 -0
- package/lib/Stripe/RetrieveTaxSettings.js.map +1 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.d.ts +12 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.js +26 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.d.ts +23 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.js +3 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.js +18 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocation.d.ts +23 -0
- package/lib/Stripe/RetrieveTerminalLocation.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocation.js +3 -0
- package/lib/Stripe/RetrieveTerminalLocation.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.js +18 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalReader.d.ts +23 -0
- package/lib/Stripe/RetrieveTerminalReader.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalReader.js +3 -0
- package/lib/Stripe/RetrieveTerminalReader.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.js +18 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.js.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.d.ts +23 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.d.ts.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.js +3 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.js.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.js +18 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.js.map +1 -0
- package/lib/Stripe/ShippingRate.d.ts +192 -0
- package/lib/Stripe/ShippingRate.d.ts.map +1 -0
- package/lib/Stripe/ShippingRate.js +375 -0
- package/lib/Stripe/ShippingRate.js.map +1 -0
- package/lib/Stripe/StripeHttp.d.ts +58 -0
- package/lib/Stripe/StripeHttp.d.ts.map +1 -0
- package/lib/Stripe/StripeHttp.js +110 -0
- package/lib/Stripe/StripeHttp.js.map +1 -0
- package/lib/Stripe/TaxRate.d.ts +153 -0
- package/lib/Stripe/TaxRate.d.ts.map +1 -0
- package/lib/Stripe/TaxRate.js +287 -0
- package/lib/Stripe/TaxRate.js.map +1 -0
- package/lib/Stripe/TaxRegistration.d.ts +275 -0
- package/lib/Stripe/TaxRegistration.d.ts.map +1 -0
- package/lib/Stripe/TaxRegistration.js +300 -0
- package/lib/Stripe/TaxRegistration.js.map +1 -0
- package/lib/Stripe/TaxSettings.d.ts +165 -0
- package/lib/Stripe/TaxSettings.d.ts.map +1 -0
- package/lib/Stripe/TaxSettings.js +207 -0
- package/lib/Stripe/TaxSettings.js.map +1 -0
- package/lib/Stripe/TerminalConfiguration.d.ts +368 -0
- package/lib/Stripe/TerminalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/TerminalConfiguration.js +537 -0
- package/lib/Stripe/TerminalConfiguration.js.map +1 -0
- package/lib/Stripe/TerminalLocation.d.ts +215 -0
- package/lib/Stripe/TerminalLocation.d.ts.map +1 -0
- package/lib/Stripe/TerminalLocation.js +371 -0
- package/lib/Stripe/TerminalLocation.js.map +1 -0
- package/lib/Stripe/TerminalReader.d.ts +124 -0
- package/lib/Stripe/TerminalReader.d.ts.map +1 -0
- package/lib/Stripe/TerminalReader.js +239 -0
- package/lib/Stripe/TerminalReader.js.map +1 -0
- package/lib/Stripe/UpdateAccount.d.ts +23 -0
- package/lib/Stripe/UpdateAccount.d.ts.map +1 -0
- package/lib/Stripe/UpdateAccount.js +3 -0
- package/lib/Stripe/UpdateAccount.js.map +1 -0
- package/lib/Stripe/UpdateAccountHttp.d.ts +11 -0
- package/lib/Stripe/UpdateAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateAccountHttp.js +18 -0
- package/lib/Stripe/UpdateAccountHttp.js.map +1 -0
- package/lib/Stripe/UpdateCreditGrant.d.ts +24 -0
- package/lib/Stripe/UpdateCreditGrant.d.ts.map +1 -0
- package/lib/Stripe/UpdateCreditGrant.js +3 -0
- package/lib/Stripe/UpdateCreditGrant.js.map +1 -0
- package/lib/Stripe/UpdateCreditGrantHttp.d.ts +11 -0
- package/lib/Stripe/UpdateCreditGrantHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateCreditGrantHttp.js +18 -0
- package/lib/Stripe/UpdateCreditGrantHttp.js.map +1 -0
- package/lib/Stripe/UpdateCustomer.d.ts +23 -0
- package/lib/Stripe/UpdateCustomer.d.ts.map +1 -0
- package/lib/Stripe/UpdateCustomer.js +3 -0
- package/lib/Stripe/UpdateCustomer.js.map +1 -0
- package/lib/Stripe/UpdateCustomerHttp.d.ts +11 -0
- package/lib/Stripe/UpdateCustomerHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateCustomerHttp.js +18 -0
- package/lib/Stripe/UpdateCustomerHttp.js.map +1 -0
- package/lib/Stripe/UpdateFileLink.d.ts +24 -0
- package/lib/Stripe/UpdateFileLink.d.ts.map +1 -0
- package/lib/Stripe/UpdateFileLink.js +3 -0
- package/lib/Stripe/UpdateFileLink.js.map +1 -0
- package/lib/Stripe/UpdateFileLinkHttp.d.ts +11 -0
- package/lib/Stripe/UpdateFileLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateFileLinkHttp.js +18 -0
- package/lib/Stripe/UpdateFileLinkHttp.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCard.d.ts +23 -0
- package/lib/Stripe/UpdateIssuingCard.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCard.js +3 -0
- package/lib/Stripe/UpdateIssuingCard.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCardHttp.d.ts +11 -0
- package/lib/Stripe/UpdateIssuingCardHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCardHttp.js +18 -0
- package/lib/Stripe/UpdateIssuingCardHttp.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholder.d.ts +23 -0
- package/lib/Stripe/UpdateIssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholder.js +3 -0
- package/lib/Stripe/UpdateIssuingCardholder.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.d.ts +11 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.js +18 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.js.map +1 -0
- package/lib/Stripe/UpdateTaxSettings.d.ts +28 -0
- package/lib/Stripe/UpdateTaxSettings.d.ts.map +1 -0
- package/lib/Stripe/UpdateTaxSettings.js +3 -0
- package/lib/Stripe/UpdateTaxSettings.js.map +1 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.d.ts +12 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.js +26 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.js.map +1 -0
- package/lib/Stripe/UpdateTerminalReader.d.ts +23 -0
- package/lib/Stripe/UpdateTerminalReader.d.ts.map +1 -0
- package/lib/Stripe/UpdateTerminalReader.js +3 -0
- package/lib/Stripe/UpdateTerminalReader.js.map +1 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.d.ts +11 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.js +18 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.js.map +1 -0
- package/lib/Stripe/WebhookEndpoint.d.ts +135 -0
- package/lib/Stripe/WebhookEndpoint.d.ts.map +1 -0
- package/lib/Stripe/WebhookEndpoint.js +266 -0
- package/lib/Stripe/WebhookEndpoint.js.map +1 -0
- package/lib/Stripe/index.d.ts +151 -0
- package/lib/Stripe/index.d.ts.map +1 -0
- package/lib/Stripe/index.js +151 -0
- package/lib/Stripe/index.js.map +1 -0
- package/lib/Stripe/missing.d.ts +9 -0
- package/lib/Stripe/missing.d.ts.map +1 -0
- package/lib/Stripe/missing.js +13 -0
- package/lib/Stripe/missing.js.map +1 -0
- package/lib/Telemetry.d.ts +2 -61
- package/lib/Telemetry.d.ts.map +1 -1
- package/lib/Telemetry.js +3 -303
- package/lib/Telemetry.js.map +1 -1
- package/lib/TelemetryRuntime.d.ts +105 -0
- package/lib/TelemetryRuntime.d.ts.map +1 -0
- package/lib/TelemetryRuntime.js +308 -0
- package/lib/TelemetryRuntime.js.map +1 -0
- package/lib/Test/Alchemy.d.ts +2 -0
- package/lib/Test/Alchemy.d.ts.map +1 -1
- package/lib/Test/Alchemy.js +2 -0
- package/lib/Test/Alchemy.js.map +1 -1
- package/lib/Test/Bun.d.ts +2 -0
- package/lib/Test/Bun.d.ts.map +1 -1
- package/lib/Test/Bun.js +2 -0
- package/lib/Test/Bun.js.map +1 -1
- package/lib/Test/Core.d.ts +19 -1
- package/lib/Test/Core.d.ts.map +1 -1
- package/lib/Test/Core.js +19 -7
- package/lib/Test/Core.js.map +1 -1
- package/lib/Test/Vitest.d.ts +2 -0
- package/lib/Test/Vitest.d.ts.map +1 -1
- package/lib/Test/Vitest.js +2 -0
- package/lib/Test/Vitest.js.map +1 -1
- package/lib/Test/index.d.ts +1 -1
- package/lib/Test/index.d.ts.map +1 -1
- package/lib/Test/index.js +1 -1
- package/lib/Test/index.js.map +1 -1
- package/lib/Util/Node.d.ts +7 -0
- package/lib/Util/Node.d.ts.map +1 -1
- package/lib/Util/Node.js +7 -0
- package/lib/Util/Node.js.map +1 -1
- package/lib/Util/Terminal.d.ts.map +1 -1
- package/lib/Util/Terminal.js +1 -2
- package/lib/Util/Terminal.js.map +1 -1
- package/lib/Util/gitignore-rules-to-globs.d.ts +3 -3
- package/lib/Util/gitignore-rules-to-globs.js +3 -3
- package/lib/Util/proxy-chain.js +17 -0
- package/lib/Util/proxy-chain.js.map +1 -1
- package/lib/Util/zip.d.ts +2 -2
- package/lib/Util/zip.d.ts.map +1 -1
- package/lib/Util/zip.js +13 -38
- package/lib/Util/zip.js.map +1 -1
- package/lib/Utils/ip-address.d.ts +6 -0
- package/lib/Utils/ip-address.d.ts.map +1 -0
- package/lib/Utils/ip-address.js +83 -0
- package/lib/Utils/ip-address.js.map +1 -0
- package/lib/Website/Server.d.ts.map +1 -1
- package/lib/Website/Server.js +14 -4
- package/lib/Website/Server.js.map +1 -1
- package/lib/Website/ServerLocal.d.ts +2 -1
- package/lib/Website/ServerLocal.js +1 -2
- package/lib/Website/ServerLocal.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/package.json +76 -44
- package/src/AWS/Bedrock/LanguageModel.ts +2 -2
- package/src/AWS/Budgets/BindingHttp.ts +2 -13
- package/src/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.ts +0 -3
- package/src/AWS/CloudFront/KvRoutesUpdate.ts +20 -1
- package/src/AWS/Connection/DbAuthToken.ts +1 -1
- package/src/AWS/Credentials.ts +3 -3
- package/src/AWS/DSQL/Connect.ts +2 -2
- package/src/AWS/DynamoDB/Table.ts +33 -17
- package/src/AWS/EC2/Instance.ts +12 -1
- package/src/AWS/EC2/SecurityGroup.ts +376 -79
- package/src/AWS/EC2/SecurityGroupRule.ts +147 -23
- package/src/AWS/ECR/Image.ts +29 -7
- package/src/AWS/ECS/FlociServiceProvider.ts +2 -2
- package/src/AWS/ECS/FlociTaskProvider.ts +2 -2
- package/src/AWS/ECS/Service.ts +6 -7
- package/src/AWS/EKS/KubernetesAdapter.ts +4 -4
- package/src/AWS/Environment.ts +6 -6
- package/src/AWS/Lambda/BindingHttp.ts +237 -25
- package/src/AWS/Lambda/FlociFunctionProvider.ts +2 -2
- package/src/AWS/Lambda/FlociMicrovmImageProvider.ts +2 -2
- package/src/AWS/Lambda/Function.ts +36 -16
- package/src/AWS/Lambda/MicrovmBinding.ts +15 -276
- package/src/AWS/Lambda/MicrovmBundle.ts +1 -16
- package/src/AWS/Lambda/MicrovmRuntimeContext.ts +1 -1
- package/src/AWS/Local/DevWatchProvider.ts +8 -7
- package/src/AWS/Local/Local.ts +11 -10
- package/src/AWS/Logs/LogGroup.ts +8 -2
- package/src/AWS/Organizations/common.ts +4 -1
- package/src/AWS/RDS/Connect.ts +3 -3
- package/src/AWS/RDS/DBInstance.ts +979 -53
- package/src/AWS/RDS/DBParameterGroup.ts +89 -40
- package/src/AWS/S3/BindingHttp.ts +46 -37
- package/src/AWS/S3/Bucket.ts +220 -82
- package/src/AWS/S3/PresignGetObject.ts +2 -4
- package/src/AWS/S3/PresignPutObject.ts +2 -4
- package/src/AWS/SNS/Subscription.ts +29 -9
- package/src/AWS/StateStore/State.ts +24 -36
- package/src/AWS/Synthetics/Canary.ts +4 -11
- package/src/Alchemist/Entrypoint.ts +33 -0
- package/src/Alchemist/Session.ts +9 -17
- package/src/Alchemist/routes/nuke.ts +1 -1
- package/src/Alchemist/routes/state.ts +15 -2
- package/src/Auth/AuthProvider.ts +1 -1
- package/src/Auth/Demand.ts +1 -1
- package/src/Auth/Env.ts +4 -4
- package/src/Auth/Lock.ts +22 -19
- package/src/Auth/Profile.ts +1 -1
- package/src/Auth/Resolve.ts +1 -1
- package/src/Cli/LoggingCli.ts +1 -1
- package/src/Cli/commands/aws.ts +2 -2
- package/src/Cli/commands/cloudflare.ts +10 -10
- package/src/Cli/commands/deploy.ts +3 -3
- package/src/Cli/commands/dev.ts +6 -3
- package/src/Cli/commands/drift.ts +1 -1
- package/src/Cli/commands/flags.ts +20 -16
- package/src/Cli/commands/instrument.ts +9 -0
- package/src/Cli/commands/logs.ts +4 -4
- package/src/Cli/commands/nuke.ts +9 -9
- package/src/Cli/commands/profile/commands.ts +8 -8
- package/src/Cli/commands/provider.ts +1 -1
- package/src/Cli/commands/state.ts +5 -5
- package/src/Cli/components/ui/Data.tsx +1 -1
- package/src/Cli/components/ui/Environment.tsx +3 -2
- package/src/Cli/components/ui/Feedback.tsx +2 -2
- package/src/Cli/components/ui/Interactive.tsx +4 -5
- package/src/Cli/components/ui/Layout.tsx +8 -8
- package/src/Cli/components/ui/Live.tsx +2 -2
- package/src/Cli/components/ui/ProgressBar.tsx +1 -1
- package/src/Cli/components/ui/Transcript.tsx +1 -1
- package/src/Cli/components/ui/Typography.tsx +1 -1
- package/src/Cli/components/view/ApprovePlan.tsx +3 -2
- package/src/Cli/components/view/Help.tsx +1 -1
- package/src/Cli/components/view/Logo.tsx +3 -2
- package/src/Cli/components/view/Nuke.tsx +1 -1
- package/src/Cli/components/view/PlanDecision.tsx +3 -2
- package/src/Cli/components/view/PlanRow.tsx +1 -1
- package/src/Cli/components/view/PlanView.tsx +3 -2
- package/src/Cli/components/view/Profile.tsx +1 -1
- package/src/Cli/components/view/ProfileDashboard.tsx +3 -2
- package/src/Cli/components/view/Prompts.tsx +3 -2
- package/src/Cli/components/view/Runtime.tsx +4 -3
- package/src/Cli/components/view/SigilCli.tsx +1 -1
- package/src/Cli/components/view/StackOutputs.tsx +1 -1
- package/src/Cli/components/view/StateExplorer.tsx +3 -3
- package/src/Cli/components/view/usePlanPresentation.ts +1 -1
- package/src/Cli/components/view/usePlanViewport.ts +1 -1
- package/src/Cli/exec.ts +5 -2
- package/src/Cli/main.ts +6 -7
- package/src/Cloudflare/AI/GatewayProvider.ts +1 -1
- package/src/Cloudflare/AI/LanguageModel.ts +2 -2
- package/src/Cloudflare/AI/ProviderKey.ts +3 -3
- package/src/Cloudflare/AI/SearchToken.ts +3 -6
- package/src/Cloudflare/Access.ts +1 -1
- package/src/Cloudflare/Alerting/Webhook.ts +1 -1
- package/src/Cloudflare/Bridge.ts +9 -0
- package/src/Cloudflare/CloudflareEnvironment.ts +4 -8
- package/src/Cloudflare/CloudflareEnvironmentService.ts +10 -0
- package/src/Cloudflare/Containers/ContainerApplication.ts +10 -3
- package/src/Cloudflare/Containers/ContainerPlatform.ts +6 -6
- package/src/Cloudflare/Containers/ContainerProvider.ts +183 -86
- package/src/Cloudflare/Containers/ContainerPublication.ts +13 -0
- package/src/Cloudflare/Containers/LocalContainerProvider.ts +3 -2
- package/src/Cloudflare/D1/Database.ts +3 -3
- package/src/Cloudflare/Fetcher.ts +65 -174
- package/src/Cloudflare/Flagship/Flag.ts +13 -2
- package/src/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.ts +21 -41
- package/src/Cloudflare/Hyperdrive/Connection.ts +19 -12
- package/src/Cloudflare/Iam/ResourceGroup.ts +1 -1
- package/src/Cloudflare/LoadBalancer/LoadBalancer.ts +2 -2
- package/src/Cloudflare/LoadBalancer/Monitor.ts +1 -1
- package/src/Cloudflare/Local.ts +8 -4
- package/src/Cloudflare/LocalRuntime.ts +8 -2
- package/src/Cloudflare/Logs.ts +57 -49
- package/src/Cloudflare/MagicTransit/IpsecTunnel.ts +1 -1
- package/src/Cloudflare/MtlsCertificate/MtlsCertificate.ts +1 -1
- package/src/Cloudflare/Organization/Organization.ts +1 -1
- package/src/Cloudflare/OriginTlsClientAuth/Certificate.ts +2 -2
- package/src/Cloudflare/OriginTlsClientAuth/HostnameAssociation.ts +1 -1
- package/src/Cloudflare/OriginTlsClientAuth/HostnameCertificate.ts +2 -2
- package/src/Cloudflare/OriginTlsClientAuth/Setting.ts +1 -1
- package/src/Cloudflare/Pipelines/LegacyPipeline.ts +2 -2
- package/src/Cloudflare/Pipelines/Sink.ts +3 -3
- package/src/Cloudflare/Providers.ts +11 -49
- package/src/Cloudflare/Queues/Consumer.ts +2 -2
- package/src/Cloudflare/Queues/Queue.ts +2 -2
- package/src/Cloudflare/R2/Bucket.ts +25 -2
- package/src/Cloudflare/R2/BucketBinding.ts +1 -0
- package/src/Cloudflare/R2/BucketSippy.ts +7 -7
- package/src/Cloudflare/R2/BucketTypes.ts +8 -0
- package/src/Cloudflare/R2/WriteBucketBinding.ts +9 -6
- package/src/Cloudflare/R2/index.ts +1 -0
- package/src/Cloudflare/SecretsStore/Secret.ts +3 -3
- package/src/Cloudflare/Snippets/SnippetRules.ts +9 -3
- package/src/Cloudflare/StateStore/State.ts +15 -16
- package/src/Cloudflare/Website/Nuxt.ts +1 -1
- package/src/Cloudflare/Website/Octane.ts +1 -1
- package/src/Cloudflare/Website/SvelteKit.ts +1 -1
- package/src/Cloudflare/Workers/Assets.ts +1 -1
- package/src/Cloudflare/Workers/CloudflareTracer.ts +1 -1
- package/src/Cloudflare/Workers/DurableObject.ts +40 -8
- package/src/Cloudflare/Workers/DurableObjectBridge.ts +1 -1
- package/src/Cloudflare/Workers/DurableObjectState.ts +1 -1
- package/src/Cloudflare/Workers/DurableObjectStorage.ts +22 -24
- package/src/Cloudflare/Workers/HttpServer.ts +2 -1
- package/src/Cloudflare/Workers/InferEnv.ts +2 -2
- package/src/Cloudflare/Workers/LocalWorkerProvider.ts +35 -24
- package/src/Cloudflare/Workers/Rpc.ts +17 -2
- package/src/Cloudflare/Workers/RpcAsync.ts +1 -1
- package/src/Cloudflare/Workers/Sources/Prebuilt.ts +3 -2
- package/src/Cloudflare/Workers/Sources/Python.ts +3 -2
- package/src/Cloudflare/Workers/Sources/Rolldown.ts +34 -18
- package/src/Cloudflare/Workers/Sources/WorkerModulePlugin.ts +75 -0
- package/src/Cloudflare/Workers/ViteChild.shared.ts +1 -0
- package/src/Cloudflare/Workers/ViteChild.ts +2 -3
- package/src/Cloudflare/Workers/Worker.ts +176 -218
- package/src/Cloudflare/Workers/WorkerBinding.ts +1 -1
- package/src/Cloudflare/Workers/WorkerBridge.ts +6 -6
- package/src/Cloudflare/Workers/WorkerEntrypoint.ts +47 -14
- package/src/Cloudflare/Workers/WorkerProvider.ts +577 -30
- package/src/Cloudflare/Workers/WorkerRuntime.ts +195 -0
- package/src/Cloudflare/Workers/WorkerRuntimeContext.ts +10 -6
- package/src/Cloudflare/Workers/worker-module.d.ts +9 -0
- package/src/Cloudflare/Workflows/Workflow.ts +7 -50
- package/src/Cloudflare/Workflows/WorkflowBridge.ts +9 -7
- package/src/Cloudflare/Workflows/WorkflowRuntime.ts +56 -0
- package/src/Cloudflare/index.ts +3 -1
- package/src/Command/Dev.ts +2 -1
- package/src/Command/Local.ts +8 -2
- package/src/Command/Memo.ts +6 -7
- package/src/Docker/Container.ts +1 -1
- package/src/Docker/Docker.ts +225 -85
- package/src/Docker/Image.ts +1 -1
- package/src/Docker/Registry.ts +1 -1
- package/src/Docker/RegistryError.ts +52 -0
- package/src/Docker/RemoteImage.ts +1 -1
- package/src/Docker/index.ts +5 -0
- package/src/Drizzle/Postgres.ts +3 -1
- package/src/Fly/BucketBinding.ts +6 -6
- package/src/Fly/GetSecretHttp.ts +1 -1
- package/src/Fly/RedisBinding.ts +2 -2
- package/src/Fly/Secret.ts +4 -4
- package/src/Fly/SecretHttp.ts +1 -1
- package/src/Fly/Service.ts +3 -3
- package/src/Fly/Sprite.ts +2 -2
- package/src/Fly/Website/AssetDeployment.ts +12 -9
- package/src/Fly/replicas.ts +47 -9
- package/src/Git/Api/GitHub.ts +106 -0
- package/src/Git/Api/Internal.ts +27 -0
- package/src/Git/Api/Objects.ts +161 -0
- package/src/Git/Api/Protocol.ts +37 -0
- package/src/Git/Api/Pulls.ts +158 -0
- package/src/Git/Api/Refs.ts +96 -0
- package/src/Git/Api/Repos.ts +170 -0
- package/src/Git/Api/Schema.ts +552 -0
- package/src/Git/Api.ts +82 -0
- package/src/Git/BlobStore.ts +265 -0
- package/src/Git/BlobStoreS3.ts +265 -0
- package/src/Git/DESIGN.md +2098 -0
- package/src/Git/Engine.ts +461 -0
- package/src/Git/GitHubCompat.ts +713 -0
- package/src/Git/Hasher/Hasher.ts +360 -0
- package/src/Git/Hasher/Lambda.ts +126 -0
- package/src/Git/Hasher/LambdaEvent.ts +149 -0
- package/src/Git/Hasher/LambdaFunction.ts +46 -0
- package/src/Git/Hasher/Protocol.ts +309 -0
- package/src/Git/Hasher/WorkerLoader.ts +179 -0
- package/src/Git/Hasher/WorkerLoaderModule.ts +72 -0
- package/src/Git/Hasher/index.ts +39 -0
- package/src/Git/Http/ReceivePack.ts +133 -0
- package/src/Git/Http.ts +4 -0
- package/src/Git/Jobs/Bundle.ts +264 -0
- package/src/Git/Jobs/Compact.ts +517 -0
- package/src/Git/Jobs/Fork.ts +376 -0
- package/src/Git/Jobs/Import.ts +435 -0
- package/src/Git/Jobs/Purge.ts +136 -0
- package/src/Git/Operations.ts +1087 -0
- package/src/Git/Protocol/Advertise.ts +159 -0
- package/src/Git/Protocol/Delta.ts +182 -0
- package/src/Git/Protocol/GzipBody.ts +153 -0
- package/src/Git/Protocol/ObjectCodec.ts +941 -0
- package/src/Git/Protocol/PackParser.ts +907 -0
- package/src/Git/Protocol/PackWriter.ts +141 -0
- package/src/Git/Protocol/PartialScan.ts +705 -0
- package/src/Git/Protocol/Pkt.ts +289 -0
- package/src/Git/Protocol/ReceivePack.ts +446 -0
- package/src/Git/Protocol/Sideband.ts +289 -0
- package/src/Git/Protocol/Store.ts +176 -0
- package/src/Git/Protocol/TreeDiff.ts +464 -0
- package/src/Git/Protocol/UploadPack.ts +366 -0
- package/src/Git/Protocol/Zlib.ts +350 -0
- package/src/Git/Push.ts +71 -0
- package/src/Git/PushInput.ts +73 -0
- package/src/Git/PushWire.ts +90 -0
- package/src/Git/RFC-building-blocks.md +548 -0
- package/src/Git/RegistryD1.ts +338 -0
- package/src/Git/RegistryObject.ts +522 -0
- package/src/Git/RepoObject.ts +5876 -0
- package/src/Git/Server.ts +827 -0
- package/src/Git/Store/Closure.ts +539 -0
- package/src/Git/Store/HeadSnapshot.ts +49 -0
- package/src/Git/Store/IncomingBody.ts +67 -0
- package/src/Git/Store/Keys.ts +129 -0
- package/src/Git/Store/ObjectStore.ts +1086 -0
- package/src/Git/Store/PackSource.ts +160 -0
- package/src/Git/Store/Sql.ts +492 -0
- package/src/Git/Store/StreamingSource.ts +335 -0
- package/src/Git/index.ts +75 -0
- package/src/GitHub/BranchProtection.ts +651 -0
- package/src/GitHub/Collaborator.ts +239 -0
- package/src/GitHub/Env.ts +8 -8
- package/src/GitHub/Issue.ts +379 -0
- package/src/GitHub/Label.ts +373 -0
- package/src/GitHub/Milestone.ts +424 -0
- package/src/GitHub/Providers.ts +34 -2
- package/src/GitHub/PullRequest.ts +570 -0
- package/src/GitHub/Release.ts +520 -0
- package/src/GitHub/Ruleset.ts +568 -0
- package/src/GitHub/TeamAccess.ts +251 -0
- package/src/GitHub/WikiPage.ts +581 -0
- package/src/GitHub/index.ts +10 -0
- package/src/Hetzner/Server.ts +34 -6
- package/src/Http/Platform.ts +47 -0
- package/src/Http/index.ts +5 -0
- package/src/Http.ts +9 -5
- package/src/Kubernetes/internal/helm.ts +1 -1
- package/src/Kubernetes/internal/kubeconfig.ts +1 -1
- package/src/Kubernetes/internal/workload.ts +4 -4
- package/src/Local/LocalProvider.ts +4 -3
- package/src/Local/ProviderLayer.ts +31 -15
- package/src/Local/RpcProvider.ts +3 -3
- package/src/Local/RpcProviderProxy.ts +28 -21
- package/src/Local/RpcServer.ts +90 -53
- package/src/Local/RpcServerEnvironment.ts +1 -1
- package/src/Local/RpcSpawner.ts +1 -1
- package/src/Local/Sidecar.ts +32 -0
- package/src/Nuke.ts +27 -23
- package/src/Output.ts +1 -1
- package/src/Phase.ts +3 -3
- package/src/Plan.ts +11 -4
- package/src/Planetscale/Credentials.ts +1 -1
- package/src/Prisma/App.ts +126 -80
- package/src/Prisma/Branch.ts +133 -66
- package/src/Prisma/Bucket.ts +64 -25
- package/src/Prisma/BucketAccessKey.ts +68 -32
- package/src/Prisma/Client.ts +8 -11
- package/src/Prisma/Compute.ts +355 -179
- package/src/Prisma/ComputeArchive.ts +29 -3
- package/src/Prisma/ComputeBuild.ts +256 -3
- package/src/Prisma/ComputeLifecycle.ts +179 -160
- package/src/Prisma/Connection.ts +112 -55
- package/src/Prisma/Credentials.ts +73 -0
- package/src/Prisma/Database.ts +191 -155
- package/src/Prisma/Deployment.ts +70 -50
- package/src/Prisma/EnvironmentVariable.ts +112 -69
- package/src/Prisma/Internal/AppPromotion.ts +39 -27
- package/src/Prisma/Internal/DatabaseSecrets.ts +23 -19
- package/src/Prisma/Internal/DeploymentActions.ts +24 -40
- package/src/Prisma/Internal/DeploymentIdentity.ts +29 -3
- package/src/Prisma/Internal/DeploymentObserve.ts +4 -5
- package/src/Prisma/Internal/LogsClient.ts +165 -0
- package/src/Prisma/Internal/Observed.ts +192 -0
- package/src/Prisma/Internal/Pagination.ts +16 -0
- package/src/Prisma/Operations.ts +3 -2
- package/src/Prisma/PrismaEnvironment.ts +2 -2
- package/src/Prisma/PrismaLogs.ts +38 -16
- package/src/Prisma/Project.ts +163 -129
- package/src/Prisma/Providers.ts +37 -2
- package/src/Prisma/SourceRepository.ts +223 -87
- package/src/Provider.ts +19 -15
- package/src/Railway/AuditLog.ts +41 -17
- package/src/Railway/AuthProvider.ts +1 -1
- package/src/Railway/Bucket.ts +94 -63
- package/src/Railway/BucketBinding.ts +7 -7
- package/src/Railway/Catalog.ts +8 -1
- package/src/Railway/CloudAgent.ts +71 -54
- package/src/Railway/CustomDomain.ts +109 -64
- package/src/Railway/Environment.ts +18 -7
- package/src/Railway/Function.ts +165 -132
- package/src/Railway/GraphQL.ts +215 -0
- package/src/Railway/Group.ts +171 -71
- package/src/Railway/LoginSession.ts +7 -12
- package/src/Railway/Mongo.ts +227 -185
- package/src/Railway/MountVolume.ts +5 -4
- package/src/Railway/MySQL.ts +227 -185
- package/src/Railway/Postgres.ts +234 -188
- package/src/Railway/PrivateNetwork.ts +444 -310
- package/src/Railway/Project.ts +83 -61
- package/src/Railway/ProjectEnvironment.ts +84 -55
- package/src/Railway/Providers.ts +6 -2
- package/src/Railway/Redis.ts +114 -89
- package/src/Railway/RedisBinding.ts +2 -2
- package/src/Railway/Sandbox.ts +279 -130
- package/src/Railway/SandboxCheckpoint.ts +290 -0
- package/src/Railway/Service.ts +4 -1
- package/src/Railway/ServiceDomain.ts +77 -87
- package/src/Railway/ServiceProvider.ts +274 -159
- package/src/Railway/TcpProxy.ts +48 -35
- package/src/Railway/Template.ts +184 -130
- package/src/Railway/Usage.ts +91 -45
- package/src/Railway/Variable.ts +33 -33
- package/src/Railway/Volume.ts +148 -88
- package/src/Railway/VolumeBackup.ts +140 -97
- package/src/Railway/Website/Cdn.ts +136 -55
- package/src/Railway/hosted.ts +10 -3
- package/src/Railway/index.ts +1 -0
- package/src/Railway/transient.ts +26 -52
- package/src/Rpc.ts +53 -1
- package/src/Runtime/Bootstrap/Process.ts +2 -2
- package/src/Runtime.ts +1 -1
- package/src/RuntimeContext.ts +1 -1
- package/src/SQL/Postgres.ts +5 -1
- package/src/SQL/PostgresTls.ts +70 -0
- package/src/Server/Process.ts +1 -1
- package/src/Server/index.ts +0 -2
- package/src/Stack.ts +3 -2
- package/src/StackContext.ts +6 -0
- package/src/State/HttpStateStore.ts +18 -31
- package/src/State/PostgresState.ts +6 -5
- package/src/State/State.ts +5 -0
- package/src/Stripe/Account.ts +795 -0
- package/src/Stripe/AccountExternalAccount.ts +568 -0
- package/src/Stripe/AccountPerson.ts +562 -0
- package/src/Stripe/Alert.ts +437 -0
- package/src/Stripe/ApplePayDomain.ts +254 -0
- package/src/Stripe/AppsSecret.ts +385 -0
- package/src/Stripe/AuthProvider.ts +74 -0
- package/src/Stripe/BillingMeter.ts +449 -0
- package/src/Stripe/BillingPortalConfiguration.ts +920 -0
- package/src/Stripe/ConsumeEvents.ts +278 -0
- package/src/Stripe/Coupon.ts +535 -0
- package/src/Stripe/CreateAccount.ts +39 -0
- package/src/Stripe/CreateAccountHttp.ts +20 -0
- package/src/Stripe/CreateAccountLink.ts +43 -0
- package/src/Stripe/CreateAccountLinkHttp.ts +20 -0
- package/src/Stripe/CreateAppsSecret.ts +39 -0
- package/src/Stripe/CreateAppsSecretHttp.ts +20 -0
- package/src/Stripe/CreateBillingPortalSession.ts +52 -0
- package/src/Stripe/CreateBillingPortalSessionHttp.ts +20 -0
- package/src/Stripe/CreateCheckoutSession.ts +53 -0
- package/src/Stripe/CreateCheckoutSessionHttp.ts +20 -0
- package/src/Stripe/CreateCreditGrant.ts +45 -0
- package/src/Stripe/CreateCreditGrantHttp.ts +20 -0
- package/src/Stripe/CreateCustomer.ts +38 -0
- package/src/Stripe/CreateCustomerHttp.ts +20 -0
- package/src/Stripe/CreateFileLink.ts +37 -0
- package/src/Stripe/CreateFileLinkHttp.ts +20 -0
- package/src/Stripe/CreateIssuingCard.ts +43 -0
- package/src/Stripe/CreateIssuingCardHttp.ts +20 -0
- package/src/Stripe/CreateIssuingCardholder.ts +50 -0
- package/src/Stripe/CreateIssuingCardholderHttp.ts +20 -0
- package/src/Stripe/CreateTerminalReader.ts +43 -0
- package/src/Stripe/CreateTerminalReaderHttp.ts +20 -0
- package/src/Stripe/Credentials.ts +54 -0
- package/src/Stripe/CreditGrant.ts +627 -0
- package/src/Stripe/Customer.ts +315 -0
- package/src/Stripe/CustomerTaxId.ts +351 -0
- package/src/Stripe/EntitlementsFeature.ts +384 -0
- package/src/Stripe/Events.ts +94 -0
- package/src/Stripe/FileLink.ts +335 -0
- package/src/Stripe/IssuingCard.ts +712 -0
- package/src/Stripe/IssuingCardholder.ts +907 -0
- package/src/Stripe/IssuingPersonalizationDesign.ts +582 -0
- package/src/Stripe/Metadata.ts +93 -0
- package/src/Stripe/PaymentLink.ts +779 -0
- package/src/Stripe/PaymentMethodConfiguration.ts +619 -0
- package/src/Stripe/PaymentMethodDomain.ts +342 -0
- package/src/Stripe/Plan.ts +482 -0
- package/src/Stripe/Price.ts +523 -0
- package/src/Stripe/Product.ts +339 -0
- package/src/Stripe/ProductFeature.ts +300 -0
- package/src/Stripe/PromotionCode.ts +612 -0
- package/src/Stripe/Providers.ts +306 -0
- package/src/Stripe/RadarValueList.ts +397 -0
- package/src/Stripe/RadarValueListItem.ts +308 -0
- package/src/Stripe/RestrictedApiKey.ts +210 -0
- package/src/Stripe/RetrieveAccount.ts +42 -0
- package/src/Stripe/RetrieveAccountExternalAccount.ts +47 -0
- package/src/Stripe/RetrieveAccountExternalAccountHttp.ts +52 -0
- package/src/Stripe/RetrieveAccountHttp.ts +21 -0
- package/src/Stripe/RetrieveAccountPerson.ts +42 -0
- package/src/Stripe/RetrieveAccountPersonHttp.ts +52 -0
- package/src/Stripe/RetrieveAlert.ts +42 -0
- package/src/Stripe/RetrieveAlertHttp.ts +20 -0
- package/src/Stripe/RetrieveApplePayDomain.ts +46 -0
- package/src/Stripe/RetrieveApplePayDomainHttp.ts +21 -0
- package/src/Stripe/RetrieveAppsSecret.ts +47 -0
- package/src/Stripe/RetrieveAppsSecretHttp.ts +58 -0
- package/src/Stripe/RetrieveBillingMeter.ts +42 -0
- package/src/Stripe/RetrieveBillingMeterHttp.ts +20 -0
- package/src/Stripe/RetrieveBillingPortalConfiguration.ts +47 -0
- package/src/Stripe/RetrieveBillingPortalConfigurationHttp.ts +20 -0
- package/src/Stripe/RetrieveCoupon.ts +42 -0
- package/src/Stripe/RetrieveCouponHttp.ts +21 -0
- package/src/Stripe/RetrieveCreditGrant.ts +46 -0
- package/src/Stripe/RetrieveCreditGrantHttp.ts +21 -0
- package/src/Stripe/RetrieveCustomer.ts +42 -0
- package/src/Stripe/RetrieveCustomerHttp.ts +21 -0
- package/src/Stripe/RetrieveCustomerTaxId.ts +42 -0
- package/src/Stripe/RetrieveCustomerTaxIdHttp.ts +52 -0
- package/src/Stripe/RetrieveEntitlementsFeature.ts +47 -0
- package/src/Stripe/RetrieveEntitlementsFeatureHttp.ts +20 -0
- package/src/Stripe/RetrieveFileLink.ts +42 -0
- package/src/Stripe/RetrieveFileLinkHttp.ts +21 -0
- package/src/Stripe/RetrieveIssuingCard.ts +42 -0
- package/src/Stripe/RetrieveIssuingCardHttp.ts +21 -0
- package/src/Stripe/RetrieveIssuingCardholder.ts +47 -0
- package/src/Stripe/RetrieveIssuingCardholderHttp.ts +21 -0
- package/src/Stripe/RetrieveIssuingPersonalizationDesign.ts +47 -0
- package/src/Stripe/RetrieveIssuingPersonalizationDesignHttp.ts +21 -0
- package/src/Stripe/RetrievePaymentLink.ts +42 -0
- package/src/Stripe/RetrievePaymentLinkHttp.ts +21 -0
- package/src/Stripe/RetrievePaymentMethodConfiguration.ts +47 -0
- package/src/Stripe/RetrievePaymentMethodConfigurationHttp.ts +20 -0
- package/src/Stripe/RetrievePaymentMethodDomain.ts +47 -0
- package/src/Stripe/RetrievePaymentMethodDomainHttp.ts +20 -0
- package/src/Stripe/RetrievePlan.ts +39 -0
- package/src/Stripe/RetrievePlanHttp.ts +21 -0
- package/src/Stripe/RetrievePrice.ts +39 -0
- package/src/Stripe/RetrievePriceHttp.ts +21 -0
- package/src/Stripe/RetrieveProduct.ts +46 -0
- package/src/Stripe/RetrieveProductFeature.ts +46 -0
- package/src/Stripe/RetrieveProductFeatureHttp.ts +52 -0
- package/src/Stripe/RetrieveProductHttp.ts +58 -0
- package/src/Stripe/RetrievePromotionCode.ts +46 -0
- package/src/Stripe/RetrievePromotionCodeHttp.ts +21 -0
- package/src/Stripe/RetrieveRadarValueList.ts +46 -0
- package/src/Stripe/RetrieveRadarValueListHttp.ts +20 -0
- package/src/Stripe/RetrieveRadarValueListItem.ts +47 -0
- package/src/Stripe/RetrieveRadarValueListItemHttp.ts +20 -0
- package/src/Stripe/RetrieveShippingRate.ts +42 -0
- package/src/Stripe/RetrieveShippingRateHttp.ts +21 -0
- package/src/Stripe/RetrieveTaxRate.ts +42 -0
- package/src/Stripe/RetrieveTaxRateHttp.ts +21 -0
- package/src/Stripe/RetrieveTaxRegistration.ts +46 -0
- package/src/Stripe/RetrieveTaxRegistrationHttp.ts +21 -0
- package/src/Stripe/RetrieveTaxSettings.ts +41 -0
- package/src/Stripe/RetrieveTaxSettingsHttp.ts +46 -0
- package/src/Stripe/RetrieveTerminalConfiguration.ts +47 -0
- package/src/Stripe/RetrieveTerminalConfigurationHttp.ts +21 -0
- package/src/Stripe/RetrieveTerminalLocation.ts +45 -0
- package/src/Stripe/RetrieveTerminalLocationHttp.ts +21 -0
- package/src/Stripe/RetrieveTerminalReader.ts +46 -0
- package/src/Stripe/RetrieveTerminalReaderHttp.ts +21 -0
- package/src/Stripe/RetrieveWebhookEndpoint.ts +46 -0
- package/src/Stripe/RetrieveWebhookEndpointHttp.ts +21 -0
- package/src/Stripe/ShippingRate.ts +614 -0
- package/src/Stripe/StripeHttp.ts +241 -0
- package/src/Stripe/TaxRate.ts +468 -0
- package/src/Stripe/TaxRegistration.ts +722 -0
- package/src/Stripe/TaxSettings.ts +395 -0
- package/src/Stripe/TerminalConfiguration.ts +977 -0
- package/src/Stripe/TerminalLocation.ts +627 -0
- package/src/Stripe/TerminalReader.ts +377 -0
- package/src/Stripe/UpdateAccount.ts +42 -0
- package/src/Stripe/UpdateAccountHttp.ts +21 -0
- package/src/Stripe/UpdateCreditGrant.ts +47 -0
- package/src/Stripe/UpdateCreditGrantHttp.ts +21 -0
- package/src/Stripe/UpdateCustomer.ts +42 -0
- package/src/Stripe/UpdateCustomerHttp.ts +21 -0
- package/src/Stripe/UpdateFileLink.ts +43 -0
- package/src/Stripe/UpdateFileLinkHttp.ts +21 -0
- package/src/Stripe/UpdateIssuingCard.ts +46 -0
- package/src/Stripe/UpdateIssuingCardHttp.ts +21 -0
- package/src/Stripe/UpdateIssuingCardholder.ts +46 -0
- package/src/Stripe/UpdateIssuingCardholderHttp.ts +21 -0
- package/src/Stripe/UpdateTaxSettings.ts +48 -0
- package/src/Stripe/UpdateTaxSettingsHttp.ts +46 -0
- package/src/Stripe/UpdateTerminalReader.ts +46 -0
- package/src/Stripe/UpdateTerminalReaderHttp.ts +21 -0
- package/src/Stripe/WebhookEndpoint.ts +411 -0
- package/src/Stripe/index.ts +150 -0
- package/src/Stripe/missing.ts +16 -0
- package/src/Telemetry.ts +15 -439
- package/src/TelemetryRuntime.ts +446 -0
- package/src/Test/Alchemy.ts +2 -0
- package/src/Test/Bun.ts +2 -0
- package/src/Test/Core.ts +32 -9
- package/src/Test/Vitest.ts +2 -0
- package/src/Test/index.ts +6 -1
- package/src/Util/Node.ts +9 -0
- package/src/Util/Terminal.ts +1 -1
- package/src/Util/gitignore-rules-to-globs.ts +3 -3
- package/src/Util/proxy-chain.ts +19 -0
- package/src/Util/zip.ts +16 -45
- package/src/Utils/ip-address.ts +90 -0
- package/src/Website/Server.ts +19 -4
- package/src/Website/ServerLocal.ts +6 -2
- package/src/index.ts +0 -1
- package/lib/AWS/Website/ServerLocal.d.ts +0 -2
- package/lib/AWS/Website/ServerLocal.d.ts.map +0 -1
- package/lib/AWS/Website/ServerLocal.js +0 -4
- package/lib/AWS/Website/ServerLocal.js.map +0 -1
- package/lib/Railway/RetryPolicy.d.ts +0 -22
- package/lib/Railway/RetryPolicy.d.ts.map +0 -1
- package/lib/Railway/RetryPolicy.js +0 -43
- package/lib/Railway/RetryPolicy.js.map +0 -1
- package/src/AWS/Website/ServerLocal.ts +0 -4
- package/src/Railway/RetryPolicy.ts +0 -53
package/src/Prisma/Compute.ts
CHANGED
|
@@ -32,22 +32,34 @@ import { RuntimeContext } from "../RuntimeContext.ts";
|
|
|
32
32
|
import type * as Server from "../Server/index.ts";
|
|
33
33
|
import { Stack } from "../Stack.ts";
|
|
34
34
|
import { sha256Object } from "../Util/sha256.ts";
|
|
35
|
+
import { Retry } from "@distilled.cloud/prisma";
|
|
35
36
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
type GetServicesResponse,
|
|
38
|
+
type GetEnvironmentVariablesResponse,
|
|
39
|
+
type GetProjectBranchesResponse,
|
|
40
|
+
deleteEnvironmentVariable,
|
|
41
|
+
getServices,
|
|
42
|
+
getService,
|
|
43
|
+
getBranch,
|
|
44
|
+
getEnvironmentVariables,
|
|
45
|
+
getProjectBranches,
|
|
46
|
+
updateService,
|
|
47
|
+
updateEnvironmentVariable,
|
|
48
|
+
createService,
|
|
49
|
+
createServiceDeployment,
|
|
50
|
+
createServiceRollback,
|
|
51
|
+
createEnvironmentVariable,
|
|
52
|
+
} from "@distilled.cloud/prisma/management";
|
|
41
53
|
import {
|
|
42
54
|
runBuildCommand,
|
|
43
55
|
runComputeAutoBuild,
|
|
56
|
+
runComputeStaticBuild,
|
|
44
57
|
type ComputeAutoBuildFramework,
|
|
45
58
|
} from "./ComputeBuild.ts";
|
|
46
59
|
import { createComputeArchive, normalizeEntrypoint } from "./ComputeArchive.ts";
|
|
47
60
|
import {
|
|
48
61
|
destroyApp,
|
|
49
62
|
destroyDeployment,
|
|
50
|
-
isConflict,
|
|
51
63
|
toDeploymentUrl,
|
|
52
64
|
waitForDeploymentStatus,
|
|
53
65
|
} from "./ComputeLifecycle.ts";
|
|
@@ -74,18 +86,15 @@ import {
|
|
|
74
86
|
resolveProjectId,
|
|
75
87
|
unresolvedProjectIdOf,
|
|
76
88
|
} from "./Refs.ts";
|
|
89
|
+
import type { PrismaRegionId } from "./Types.ts";
|
|
77
90
|
import type {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
91
|
+
ObservedApp,
|
|
92
|
+
ObservedDeployment,
|
|
93
|
+
ObservedEnvironmentVariable,
|
|
94
|
+
} from "./Internal/Observed.ts";
|
|
95
|
+
import { PrismaPaginationError } from "./Internal/Pagination.ts";
|
|
83
96
|
import { readUploadArtifact, uploadArtifact } from "./Deployment.ts";
|
|
84
97
|
|
|
85
|
-
type ObservedDeployment = Omit<ApiDeployment, "createdAt"> & {
|
|
86
|
-
createdAt?: string;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
98
|
const ComputeTypeId = "Prisma.Compute" as const;
|
|
90
99
|
type ComputeTypeId = typeof ComputeTypeId;
|
|
91
100
|
|
|
@@ -176,7 +185,70 @@ export interface ComputeAutoBuild {
|
|
|
176
185
|
timeoutSeconds?: number;
|
|
177
186
|
}
|
|
178
187
|
|
|
179
|
-
export
|
|
188
|
+
export interface ComputeStaticBuild {
|
|
189
|
+
/**
|
|
190
|
+
* Build a static site and package it with a production HTTP server.
|
|
191
|
+
*/
|
|
192
|
+
type: "static";
|
|
193
|
+
/**
|
|
194
|
+
* Static output directory, relative to `cwd`.
|
|
195
|
+
*/
|
|
196
|
+
outdir: string;
|
|
197
|
+
/**
|
|
198
|
+
* Optional shell command that creates the static output directory. Omit it
|
|
199
|
+
* when `outdir` already contains the files to deploy.
|
|
200
|
+
*/
|
|
201
|
+
command?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Working directory for the build command and `outdir`.
|
|
204
|
+
*
|
|
205
|
+
* @default path
|
|
206
|
+
*/
|
|
207
|
+
cwd?: string;
|
|
208
|
+
/**
|
|
209
|
+
* HTML file served at the root and for SPA fallbacks.
|
|
210
|
+
*
|
|
211
|
+
* @default "index.html"
|
|
212
|
+
*/
|
|
213
|
+
indexPage?: string;
|
|
214
|
+
/**
|
|
215
|
+
* Serve the index page when no static file matches the request.
|
|
216
|
+
*
|
|
217
|
+
* @default false
|
|
218
|
+
*/
|
|
219
|
+
spa?: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Environment variables supplied to the build command.
|
|
222
|
+
* Ambient `PRISMA_SERVICE_TOKEN` and `PRISMA_API_TOKEN` credentials are not
|
|
223
|
+
* inherited; include one here explicitly only when the application build
|
|
224
|
+
* genuinely needs Prisma Management API access.
|
|
225
|
+
*
|
|
226
|
+
* Plain strings are persisted in Alchemy state. Wrap secrets with
|
|
227
|
+
* `Redacted.make(secret)`.
|
|
228
|
+
*
|
|
229
|
+
* ```typescript
|
|
230
|
+
* env: { NPM_TOKEN: Redacted.make(process.env.NPM_TOKEN!) }
|
|
231
|
+
* ```
|
|
232
|
+
*/
|
|
233
|
+
env?: Record<string, string | Redacted.Redacted<string> | undefined>;
|
|
234
|
+
/**
|
|
235
|
+
* Maximum bytes retained from each build output stream.
|
|
236
|
+
*
|
|
237
|
+
* @default 1048576 (1 MiB)
|
|
238
|
+
*/
|
|
239
|
+
outputLimitBytes?: number;
|
|
240
|
+
/**
|
|
241
|
+
* Maximum wall-clock time for the build command.
|
|
242
|
+
*
|
|
243
|
+
* @default 900 (15 minutes)
|
|
244
|
+
*/
|
|
245
|
+
timeoutSeconds?: number;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type ComputeBuild =
|
|
249
|
+
| ComputeCommandBuild
|
|
250
|
+
| ComputeAutoBuild
|
|
251
|
+
| ComputeStaticBuild;
|
|
180
252
|
|
|
181
253
|
export interface ComputeBundleOptions {
|
|
182
254
|
/**
|
|
@@ -271,10 +343,12 @@ export interface ComputeProps extends PlatformProps {
|
|
|
271
343
|
*/
|
|
272
344
|
path?: string;
|
|
273
345
|
/**
|
|
274
|
-
* Additional
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
*
|
|
346
|
+
* Additional files or directories to exclude from path deployments. Static
|
|
347
|
+
* build patterns are relative to the configured output directory; other
|
|
348
|
+
* patterns are artifact-relative. `*` and `**` wildcards are supported;
|
|
349
|
+
* absolute paths, parent segments, and negated patterns are rejected.
|
|
350
|
+
* `.env*`, `.git`, and `.alchemy` are always excluded. Static index pages
|
|
351
|
+
* must remain present after exclusions.
|
|
278
352
|
*/
|
|
279
353
|
archiveIgnore?: readonly string[];
|
|
280
354
|
/**
|
|
@@ -308,8 +382,8 @@ export interface ComputeProps extends PlatformProps {
|
|
|
308
382
|
/**
|
|
309
383
|
* Build command and output directory. Set to `"auto"` or `{ type: "auto" }`
|
|
310
384
|
* to use Prisma Compute-style framework detection for Next.js, Nuxt, Astro,
|
|
311
|
-
* TanStack Start, or Bun. Set to `false` to upload `path` as a
|
|
312
|
-
* artifact.
|
|
385
|
+
* TanStack Start, Vite, or Bun. Set to `false` to upload `path` as a
|
|
386
|
+
* pre-built artifact.
|
|
313
387
|
*/
|
|
314
388
|
build?: ComputeBuild | false | "auto";
|
|
315
389
|
/**
|
|
@@ -663,6 +737,18 @@ const isEffectNativeCompute = (props: ComputeProps) =>
|
|
|
663
737
|
* });
|
|
664
738
|
* ```
|
|
665
739
|
*
|
|
740
|
+
* **Example:** Deploy a static site
|
|
741
|
+
* ```typescript
|
|
742
|
+
* const web = yield* Prisma.Compute("web", {
|
|
743
|
+
* project,
|
|
744
|
+
* path: "./site",
|
|
745
|
+
* build: {
|
|
746
|
+
* type: "static",
|
|
747
|
+
* outdir: ".",
|
|
748
|
+
* },
|
|
749
|
+
* });
|
|
750
|
+
* ```
|
|
751
|
+
*
|
|
666
752
|
* **Example:** Deploy a prebuilt tar.gz artifact
|
|
667
753
|
* ```typescript
|
|
668
754
|
* const app = yield* Prisma.Compute("api", {
|
|
@@ -832,27 +918,78 @@ const projectConsistencySchedule = Schedule.max([
|
|
|
832
918
|
Schedule.recurs(6),
|
|
833
919
|
]);
|
|
834
920
|
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
921
|
+
// Only project/branch/app reads and the app create flow through the
|
|
922
|
+
// provisioning-consistency retries, so a NotFound there is exactly the
|
|
923
|
+
// post-create lag the schedule exists to absorb.
|
|
924
|
+
// The retried effects mix distilled's tagged operation errors with plain
|
|
925
|
+
// `Error` failures of their own (an unresolvable branch, a foreign App), so
|
|
926
|
+
// narrow before reading the tag.
|
|
927
|
+
const isAppProvisioningNotFound = (error: Error | { readonly _tag: string }) =>
|
|
928
|
+
"_tag" in error && error._tag === "NotFound";
|
|
929
|
+
|
|
930
|
+
// Distilled emits the cursor-paginated list operations as plain ops, so
|
|
931
|
+
// callers walk `pagination` themselves (see `src/Neon/Project.ts`).
|
|
932
|
+
const listBranches = (projectId: string, gitName?: string) =>
|
|
933
|
+
Effect.gen(function* () {
|
|
934
|
+
const branches: GetProjectBranchesResponse["data"][number][] = [];
|
|
935
|
+
let cursor: string | undefined;
|
|
936
|
+
while (true) {
|
|
937
|
+
const page = yield* getProjectBranches({
|
|
938
|
+
projectId,
|
|
939
|
+
limit: 100,
|
|
940
|
+
...(gitName === undefined ? {} : { gitName }),
|
|
941
|
+
...(cursor === undefined ? {} : { cursor }),
|
|
942
|
+
});
|
|
943
|
+
branches.push(...page.data);
|
|
944
|
+
const nextCursor = page.pagination.nextCursor;
|
|
945
|
+
if (!page.pagination.hasMore) break;
|
|
946
|
+
if (nextCursor === null) {
|
|
947
|
+
return yield* Effect.fail(
|
|
948
|
+
new PrismaPaginationError({
|
|
949
|
+
message:
|
|
950
|
+
"Invalid Prisma Management API pagination response from getProjectBranches: hasMore was true without a non-empty nextCursor",
|
|
951
|
+
}),
|
|
952
|
+
);
|
|
953
|
+
}
|
|
954
|
+
cursor = nextCursor;
|
|
955
|
+
}
|
|
956
|
+
return branches;
|
|
957
|
+
});
|
|
958
|
+
|
|
959
|
+
const listApps = (projectId: string) =>
|
|
960
|
+
Effect.gen(function* () {
|
|
961
|
+
const apps: GetServicesResponse["data"][number][] = [];
|
|
962
|
+
let cursor: string | undefined;
|
|
963
|
+
while (true) {
|
|
964
|
+
const page = yield* getServices(
|
|
965
|
+
cursor === undefined
|
|
966
|
+
? { projectId, limit: 100 }
|
|
967
|
+
: { projectId, limit: 100, cursor },
|
|
968
|
+
);
|
|
969
|
+
apps.push(...page.data);
|
|
970
|
+
const nextCursor = page.pagination.nextCursor;
|
|
971
|
+
if (!page.pagination.hasMore) break;
|
|
972
|
+
if (nextCursor === null) {
|
|
973
|
+
return yield* Effect.fail(
|
|
974
|
+
new PrismaPaginationError({
|
|
975
|
+
message:
|
|
976
|
+
"Invalid Prisma Management API pagination response from getServices: hasMore was true without a non-empty nextCursor",
|
|
977
|
+
}),
|
|
978
|
+
);
|
|
979
|
+
}
|
|
980
|
+
cursor = nextCursor;
|
|
981
|
+
}
|
|
982
|
+
return apps;
|
|
983
|
+
});
|
|
841
984
|
|
|
842
985
|
const desiredComputeBranchId = Effect.fn(function* (
|
|
843
|
-
client: PrismaManagementClient,
|
|
844
986
|
projectId: string,
|
|
845
987
|
props: Pick<ComputeProps, "branchId" | "branchGitName">,
|
|
846
988
|
) {
|
|
847
989
|
if (props.branchId !== undefined && !isPrismaDevId(props.branchId)) {
|
|
848
990
|
return { resolved: true as const, id: props.branchId };
|
|
849
991
|
}
|
|
850
|
-
const branches = yield*
|
|
851
|
-
projectId,
|
|
852
|
-
props.branchGitName === undefined
|
|
853
|
-
? { limit: 100 }
|
|
854
|
-
: { gitName: props.branchGitName, limit: 100 },
|
|
855
|
-
);
|
|
992
|
+
const branches = yield* listBranches(projectId, props.branchGitName);
|
|
856
993
|
const matchingBranches =
|
|
857
994
|
props.branchGitName === undefined
|
|
858
995
|
? branches.filter((branch) => branch.isDefault)
|
|
@@ -876,17 +1013,15 @@ const createAppName = (id: string, appName: string | undefined) =>
|
|
|
876
1013
|
appName === undefined ? createPhysicalName({ id }) : Effect.succeed(appName);
|
|
877
1014
|
|
|
878
1015
|
const findApp = Effect.fn(function* (
|
|
879
|
-
client: PrismaManagementClient,
|
|
880
1016
|
projectId: string,
|
|
881
1017
|
appName: string,
|
|
882
1018
|
props: Pick<ComputeProps, "branchId" | "branchGitName">,
|
|
883
1019
|
) {
|
|
884
|
-
const candidates = (yield*
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
})).filter((app) => app.name === appName);
|
|
1020
|
+
const candidates = (yield* listApps(projectId)).filter(
|
|
1021
|
+
(app) => app.name === appName,
|
|
1022
|
+
);
|
|
888
1023
|
if (candidates.length === 0) return undefined;
|
|
889
|
-
const branch = yield* desiredComputeBranchId(
|
|
1024
|
+
const branch = yield* desiredComputeBranchId(projectId, props);
|
|
890
1025
|
if (!branch.resolved) return undefined;
|
|
891
1026
|
const matches = candidates.filter((app) => app.branchId === branch.id);
|
|
892
1027
|
if (matches.length > 1) {
|
|
@@ -900,18 +1035,21 @@ const findApp = Effect.fn(function* (
|
|
|
900
1035
|
});
|
|
901
1036
|
|
|
902
1037
|
const createApp = (
|
|
903
|
-
client: PrismaManagementClient,
|
|
904
1038
|
projectId: string,
|
|
905
1039
|
props: ComputeProps & { appName: string },
|
|
906
1040
|
branchId: string,
|
|
907
1041
|
) =>
|
|
908
|
-
|
|
1042
|
+
createService({
|
|
909
1043
|
projectId,
|
|
910
1044
|
displayName: props.appName,
|
|
911
|
-
regionId: props.regionId,
|
|
912
1045
|
branchId,
|
|
913
|
-
|
|
914
|
-
})
|
|
1046
|
+
...(props.regionId === undefined ? {} : { regionId: props.regionId }),
|
|
1047
|
+
}).pipe(
|
|
1048
|
+
// A replayed create would make a second App; the retry policy cannot
|
|
1049
|
+
// see the request, so opt out explicitly.
|
|
1050
|
+
Retry.none,
|
|
1051
|
+
Effect.map((response) => response.data),
|
|
1052
|
+
);
|
|
915
1053
|
|
|
916
1054
|
const plainEnv = (
|
|
917
1055
|
env: Record<
|
|
@@ -1331,6 +1469,14 @@ const isAutoBuild = (
|
|
|
1331
1469
|
"type" in build &&
|
|
1332
1470
|
build.type === "auto");
|
|
1333
1471
|
|
|
1472
|
+
const isStaticBuild = (
|
|
1473
|
+
build: ComputeProps["build"],
|
|
1474
|
+
): build is ComputeStaticBuild =>
|
|
1475
|
+
typeof build === "object" &&
|
|
1476
|
+
build !== null &&
|
|
1477
|
+
"type" in build &&
|
|
1478
|
+
build.type === "static";
|
|
1479
|
+
|
|
1334
1480
|
const readPackageMain = Effect.fn(function* (directory: string) {
|
|
1335
1481
|
const fs = yield* FileSystem.FileSystem;
|
|
1336
1482
|
const path = yield* Path.Path;
|
|
@@ -1575,6 +1721,41 @@ const resolveArtifact = Effect.fn(function* (props: ComputeProps) {
|
|
|
1575
1721
|
directory: artifact.directory,
|
|
1576
1722
|
entrypoint: artifact.entrypoint,
|
|
1577
1723
|
ignore: props.archiveIgnore,
|
|
1724
|
+
ignorePrefix: artifact.archiveIgnorePrefix,
|
|
1725
|
+
requiredFiles: artifact.requiredFiles,
|
|
1726
|
+
output: "file",
|
|
1727
|
+
}).pipe(Effect.ensuring(artifact.cleanup));
|
|
1728
|
+
port = props.port ?? artifact.defaultPort ?? 8080;
|
|
1729
|
+
return {
|
|
1730
|
+
file,
|
|
1731
|
+
hash: yield* sha256Object({
|
|
1732
|
+
artifact: file.sha256,
|
|
1733
|
+
env,
|
|
1734
|
+
envClass,
|
|
1735
|
+
port,
|
|
1736
|
+
}),
|
|
1737
|
+
port,
|
|
1738
|
+
};
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
if (isStaticBuild(props.build)) {
|
|
1742
|
+
const artifact = yield* runComputeStaticBuild({
|
|
1743
|
+
appPath,
|
|
1744
|
+
command: props.build.command,
|
|
1745
|
+
cwd: props.build.cwd,
|
|
1746
|
+
outdir: props.build.outdir,
|
|
1747
|
+
indexPage: props.build.indexPage,
|
|
1748
|
+
spa: props.build.spa,
|
|
1749
|
+
env: props.build.env,
|
|
1750
|
+
outputLimitBytes: props.build.outputLimitBytes,
|
|
1751
|
+
timeoutSeconds: props.build.timeoutSeconds,
|
|
1752
|
+
});
|
|
1753
|
+
const file = yield* createComputeArchive({
|
|
1754
|
+
directory: artifact.directory,
|
|
1755
|
+
entrypoint: artifact.entrypoint,
|
|
1756
|
+
ignore: props.archiveIgnore,
|
|
1757
|
+
ignorePrefix: artifact.archiveIgnorePrefix,
|
|
1758
|
+
requiredFiles: artifact.requiredFiles,
|
|
1578
1759
|
output: "file",
|
|
1579
1760
|
}).pipe(Effect.ensuring(artifact.cleanup));
|
|
1580
1761
|
port = props.port ?? artifact.defaultPort ?? 8080;
|
|
@@ -1632,27 +1813,27 @@ const resolveArtifact = Effect.fn(function* (props: ComputeProps) {
|
|
|
1632
1813
|
});
|
|
1633
1814
|
|
|
1634
1815
|
const findExistingApp = Effect.fn(function* (
|
|
1635
|
-
client: PrismaManagementClient,
|
|
1636
1816
|
output: Compute["Attributes"] | undefined,
|
|
1637
1817
|
) {
|
|
1638
1818
|
const appId =
|
|
1639
1819
|
output?.appId && !isPrismaDevId(output.appId) ? output.appId : undefined;
|
|
1640
1820
|
return appId
|
|
1641
|
-
? yield*
|
|
1642
|
-
.
|
|
1643
|
-
|
|
1821
|
+
? yield* getService({ serviceId: appId }).pipe(
|
|
1822
|
+
Effect.map((response) => response.data),
|
|
1823
|
+
Effect.catchTag("NotFound", () => Effect.succeed(undefined)),
|
|
1824
|
+
)
|
|
1644
1825
|
: undefined;
|
|
1645
1826
|
});
|
|
1646
1827
|
|
|
1647
1828
|
const ensureApp = Effect.fn(function* (
|
|
1648
|
-
client: PrismaManagementClient,
|
|
1649
1829
|
projectId: string,
|
|
1650
1830
|
props: ComputeProps & { appName: string },
|
|
1651
1831
|
output: Compute["Attributes"] | undefined,
|
|
1652
|
-
observedApp?:
|
|
1832
|
+
observedApp?: ObservedApp,
|
|
1653
1833
|
) {
|
|
1654
|
-
let app
|
|
1655
|
-
|
|
1834
|
+
let app: ObservedApp | undefined =
|
|
1835
|
+
observedApp ?? (yield* findExistingApp(output));
|
|
1836
|
+
const branch = yield* desiredComputeBranchId(projectId, props);
|
|
1656
1837
|
if (!branch.resolved) {
|
|
1657
1838
|
return yield* Effect.fail(
|
|
1658
1839
|
new Error(
|
|
@@ -1665,10 +1846,10 @@ const ensureApp = Effect.fn(function* (
|
|
|
1665
1846
|
|
|
1666
1847
|
let createdApp = false;
|
|
1667
1848
|
if (!app) {
|
|
1668
|
-
const result = yield* createApp(
|
|
1849
|
+
const result = yield* createApp(projectId, props, branch.id).pipe(
|
|
1669
1850
|
Effect.map((app) => ({ app, created: true })),
|
|
1670
|
-
Effect.
|
|
1671
|
-
findApp(
|
|
1851
|
+
Effect.catchTag("Conflict", (conflict) =>
|
|
1852
|
+
findApp(projectId, props.appName, props).pipe(
|
|
1672
1853
|
Effect.flatMap((app) =>
|
|
1673
1854
|
app && output?.appId !== undefined && app.id === output.appId
|
|
1674
1855
|
? Effect.succeed({ app, created: false })
|
|
@@ -1692,11 +1873,11 @@ const ensureApp = Effect.fn(function* (
|
|
|
1692
1873
|
props.regionId ?? output?.regionId ?? app.region.id,
|
|
1693
1874
|
);
|
|
1694
1875
|
if (app.name !== props.appName || app.branchId !== branch.id) {
|
|
1695
|
-
app = yield*
|
|
1876
|
+
app = yield* updateService({
|
|
1877
|
+
serviceId: app.id,
|
|
1696
1878
|
displayName: props.appName,
|
|
1697
1879
|
branchId: branch.id,
|
|
1698
|
-
|
|
1699
|
-
});
|
|
1880
|
+
}).pipe(Effect.map((response) => response.data));
|
|
1700
1881
|
}
|
|
1701
1882
|
|
|
1702
1883
|
return { app, created: createdApp };
|
|
@@ -1704,7 +1885,7 @@ const ensureApp = Effect.fn(function* (
|
|
|
1704
1885
|
|
|
1705
1886
|
const ensureSkipCodeUploadCanFork = (
|
|
1706
1887
|
props: ComputeProps,
|
|
1707
|
-
app:
|
|
1888
|
+
app: ObservedApp | undefined,
|
|
1708
1889
|
) =>
|
|
1709
1890
|
Effect.gen(function* () {
|
|
1710
1891
|
if (!(props.skipCodeUpload ?? false)) return;
|
|
@@ -1717,25 +1898,42 @@ const ensureSkipCodeUploadCanFork = (
|
|
|
1717
1898
|
});
|
|
1718
1899
|
|
|
1719
1900
|
const findEnvironmentVariable = (
|
|
1720
|
-
client: PrismaManagementClient,
|
|
1721
1901
|
projectId: string,
|
|
1722
1902
|
cls: "production" | "preview",
|
|
1723
1903
|
key: string,
|
|
1724
1904
|
branchId?: string | null,
|
|
1725
1905
|
) =>
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1906
|
+
Effect.gen(function* () {
|
|
1907
|
+
// Distilled emits the cursor-paginated list operations as plain ops, so
|
|
1908
|
+
// callers walk `pagination` themselves (see `src/Neon/Project.ts`).
|
|
1909
|
+
const variables: GetEnvironmentVariablesResponse["data"][number][] = [];
|
|
1910
|
+
let cursor: string | undefined;
|
|
1911
|
+
while (true) {
|
|
1912
|
+
const page = yield* getEnvironmentVariables({
|
|
1913
|
+
projectId,
|
|
1914
|
+
class: cls,
|
|
1915
|
+
key,
|
|
1916
|
+
limit: 100,
|
|
1917
|
+
...(branchId ? { branchId } : {}),
|
|
1918
|
+
...(cursor === undefined ? {} : { cursor }),
|
|
1919
|
+
});
|
|
1920
|
+
variables.push(...page.data);
|
|
1921
|
+
const nextCursor = page.pagination.nextCursor;
|
|
1922
|
+
if (!page.pagination.hasMore) break;
|
|
1923
|
+
if (nextCursor === null) {
|
|
1924
|
+
return yield* Effect.fail(
|
|
1925
|
+
new PrismaPaginationError({
|
|
1926
|
+
message:
|
|
1927
|
+
"Invalid Prisma Management API pagination response from getEnvironmentVariables: hasMore was true without a non-empty nextCursor",
|
|
1928
|
+
}),
|
|
1929
|
+
);
|
|
1930
|
+
}
|
|
1931
|
+
cursor = nextCursor;
|
|
1932
|
+
}
|
|
1933
|
+
return variables.find(
|
|
1934
|
+
(variable) => variable.branchId === (branchId ?? null),
|
|
1738
1935
|
);
|
|
1936
|
+
});
|
|
1739
1937
|
|
|
1740
1938
|
const systemManagedEnvironmentVariableError = (key: string) =>
|
|
1741
1939
|
new Error(
|
|
@@ -1743,7 +1941,7 @@ const systemManagedEnvironmentVariableError = (key: string) =>
|
|
|
1743
1941
|
);
|
|
1744
1942
|
|
|
1745
1943
|
const ensureUserManagedEnvironmentVariable = (
|
|
1746
|
-
variable:
|
|
1944
|
+
variable: ObservedEnvironmentVariable,
|
|
1747
1945
|
) =>
|
|
1748
1946
|
Effect.gen(function* () {
|
|
1749
1947
|
if (variable.isManagedBySystem) {
|
|
@@ -1777,8 +1975,7 @@ const sameEnvironmentScope = (
|
|
|
1777
1975
|
) => left.class === right.class && left.branchId === right.branchId;
|
|
1778
1976
|
|
|
1779
1977
|
const resolveComputeEnvironmentScope = Effect.fn(function* (
|
|
1780
|
-
|
|
1781
|
-
app: ApiApp,
|
|
1978
|
+
app: ObservedApp,
|
|
1782
1979
|
props: ComputeProps,
|
|
1783
1980
|
) {
|
|
1784
1981
|
if (!app.branchId) {
|
|
@@ -1789,7 +1986,9 @@ const resolveComputeEnvironmentScope = Effect.fn(function* (
|
|
|
1789
1986
|
);
|
|
1790
1987
|
}
|
|
1791
1988
|
|
|
1792
|
-
const branch = yield*
|
|
1989
|
+
const branch = yield* getBranch({
|
|
1990
|
+
branchId: app.branchId,
|
|
1991
|
+
}).pipe(Effect.map((response) => response.data));
|
|
1793
1992
|
const inferredClass = branch.role;
|
|
1794
1993
|
if (props.envClass !== undefined && props.envClass !== inferredClass) {
|
|
1795
1994
|
return yield* Effect.fail(
|
|
@@ -1808,11 +2007,10 @@ const resolveComputeEnvironmentScope = Effect.fn(function* (
|
|
|
1808
2007
|
interface ComputeEnvironmentPlan {
|
|
1809
2008
|
key: string;
|
|
1810
2009
|
value: string | null;
|
|
1811
|
-
variable:
|
|
2010
|
+
variable: ObservedEnvironmentVariable | undefined;
|
|
1812
2011
|
}
|
|
1813
2012
|
|
|
1814
2013
|
const rollbackCreatedEnvironmentVariables = Effect.fn(function* (
|
|
1815
|
-
client: PrismaManagementClient,
|
|
1816
2014
|
createdIds: ReadonlyArray<{ key: string; id: string }>,
|
|
1817
2015
|
originalError: unknown,
|
|
1818
2016
|
) {
|
|
@@ -1822,9 +2020,9 @@ const rollbackCreatedEnvironmentVariables = Effect.fn(function* (
|
|
|
1822
2020
|
const cleanupErrors: unknown[] = [];
|
|
1823
2021
|
for (const created of [...createdIds].reverse()) {
|
|
1824
2022
|
const result = yield* Effect.result(
|
|
1825
|
-
|
|
1826
|
-
.
|
|
1827
|
-
|
|
2023
|
+
deleteEnvironmentVariable({ envVarId: created.id }).pipe(
|
|
2024
|
+
Effect.catchTag("NotFound", () => Effect.void),
|
|
2025
|
+
),
|
|
1828
2026
|
);
|
|
1829
2027
|
if (Result.isFailure(result)) {
|
|
1830
2028
|
cleanupErrors.push(result.failure);
|
|
@@ -1842,7 +2040,6 @@ const rollbackCreatedEnvironmentVariables = Effect.fn(function* (
|
|
|
1842
2040
|
});
|
|
1843
2041
|
|
|
1844
2042
|
const syncComputeEnvironmentInternal = Effect.fn(function* (
|
|
1845
|
-
client: PrismaManagementClient,
|
|
1846
2043
|
projectId: string,
|
|
1847
2044
|
cls: "production" | "preview",
|
|
1848
2045
|
env: Record<
|
|
@@ -1868,7 +2065,6 @@ const syncComputeEnvironmentInternal = Effect.fn(function* (
|
|
|
1868
2065
|
yield* validateComputeEnvironmentWrite(key, value);
|
|
1869
2066
|
}
|
|
1870
2067
|
const variable = yield* findEnvironmentVariable(
|
|
1871
|
-
client,
|
|
1872
2068
|
projectId,
|
|
1873
2069
|
cls,
|
|
1874
2070
|
key,
|
|
@@ -1889,16 +2085,24 @@ const syncComputeEnvironmentInternal = Effect.fn(function* (
|
|
|
1889
2085
|
for (const { key, value, variable } of plans) {
|
|
1890
2086
|
if (value === null) continue;
|
|
1891
2087
|
if (variable) {
|
|
1892
|
-
yield*
|
|
2088
|
+
yield* updateEnvironmentVariable({
|
|
2089
|
+
envVarId: variable.id,
|
|
2090
|
+
value,
|
|
2091
|
+
});
|
|
1893
2092
|
nextOwnedIds[key] = variable.id;
|
|
1894
2093
|
} else {
|
|
1895
|
-
const created = yield*
|
|
2094
|
+
const created = yield* createEnvironmentVariable({
|
|
1896
2095
|
projectId,
|
|
1897
2096
|
...(branchId ? { branchId } : {}),
|
|
1898
2097
|
class: cls,
|
|
1899
2098
|
key,
|
|
1900
2099
|
value,
|
|
1901
|
-
})
|
|
2100
|
+
}).pipe(
|
|
2101
|
+
// A replayed create would make a second variable; the retry policy
|
|
2102
|
+
// cannot see the request, so opt out explicitly.
|
|
2103
|
+
Retry.none,
|
|
2104
|
+
Effect.map((response) => response.data),
|
|
2105
|
+
);
|
|
1902
2106
|
createdIds.push({ key, id: created.id });
|
|
1903
2107
|
nextOwnedIds[key] = created.id;
|
|
1904
2108
|
}
|
|
@@ -1907,9 +2111,9 @@ const syncComputeEnvironmentInternal = Effect.fn(function* (
|
|
|
1907
2111
|
// Apply explicit deletions only after all ownership checks and upserts.
|
|
1908
2112
|
for (const { key, value, variable } of plans) {
|
|
1909
2113
|
if (value !== null || !variable) continue;
|
|
1910
|
-
yield*
|
|
1911
|
-
|
|
1912
|
-
|
|
2114
|
+
yield* deleteEnvironmentVariable({
|
|
2115
|
+
envVarId: variable.id,
|
|
2116
|
+
}).pipe(Effect.catchTag("NotFound", () => Effect.void));
|
|
1913
2117
|
deleted.push(key);
|
|
1914
2118
|
}
|
|
1915
2119
|
return { synced, deleted, ownedIds: nextOwnedIds, createdIds };
|
|
@@ -1917,13 +2121,12 @@ const syncComputeEnvironmentInternal = Effect.fn(function* (
|
|
|
1917
2121
|
|
|
1918
2122
|
return yield* apply.pipe(
|
|
1919
2123
|
Effect.catch((error) =>
|
|
1920
|
-
rollbackCreatedEnvironmentVariables(
|
|
2124
|
+
rollbackCreatedEnvironmentVariables(createdIds, error),
|
|
1921
2125
|
),
|
|
1922
2126
|
);
|
|
1923
2127
|
});
|
|
1924
2128
|
|
|
1925
2129
|
export const syncComputeEnvironment = Effect.fn(function* (
|
|
1926
|
-
client: PrismaManagementClient,
|
|
1927
2130
|
projectId: string,
|
|
1928
2131
|
cls: "production" | "preview",
|
|
1929
2132
|
env: Record<
|
|
@@ -1934,7 +2137,6 @@ export const syncComputeEnvironment = Effect.fn(function* (
|
|
|
1934
2137
|
ownedIds: Readonly<Record<string, string>> = {},
|
|
1935
2138
|
) {
|
|
1936
2139
|
const result = yield* syncComputeEnvironmentInternal(
|
|
1937
|
-
client,
|
|
1938
2140
|
projectId,
|
|
1939
2141
|
cls,
|
|
1940
2142
|
env,
|
|
@@ -1949,7 +2151,6 @@ export const syncComputeEnvironment = Effect.fn(function* (
|
|
|
1949
2151
|
});
|
|
1950
2152
|
|
|
1951
2153
|
const destroyComputeEnvironment = Effect.fn(function* (
|
|
1952
|
-
client: PrismaManagementClient,
|
|
1953
2154
|
projectId: string,
|
|
1954
2155
|
scope: ComputeEnvironmentScope,
|
|
1955
2156
|
ownedIds: Readonly<Record<string, string>> = {},
|
|
@@ -1957,24 +2158,22 @@ const destroyComputeEnvironment = Effect.fn(function* (
|
|
|
1957
2158
|
const deleted: string[] = [];
|
|
1958
2159
|
for (const [key, ownedId] of Object.entries(ownedIds)) {
|
|
1959
2160
|
const variable = yield* findEnvironmentVariable(
|
|
1960
|
-
client,
|
|
1961
2161
|
projectId,
|
|
1962
2162
|
scope.class,
|
|
1963
2163
|
key,
|
|
1964
2164
|
scope.branchId,
|
|
1965
|
-
).pipe(Effect.
|
|
2165
|
+
).pipe(Effect.catchTag("NotFound", () => Effect.succeed(undefined)));
|
|
1966
2166
|
if (!variable) continue;
|
|
1967
2167
|
if (variable.id !== ownedId || variable.isManagedBySystem) continue;
|
|
1968
|
-
yield*
|
|
1969
|
-
|
|
1970
|
-
|
|
2168
|
+
yield* deleteEnvironmentVariable({
|
|
2169
|
+
envVarId: variable.id,
|
|
2170
|
+
}).pipe(Effect.catchTag("NotFound", () => Effect.void));
|
|
1971
2171
|
deleted.push(key);
|
|
1972
2172
|
}
|
|
1973
2173
|
return { deleted };
|
|
1974
2174
|
});
|
|
1975
2175
|
|
|
1976
2176
|
const cleanupRemovedComputeEnvironment = Effect.fn(function* (
|
|
1977
|
-
client: PrismaManagementClient,
|
|
1978
2177
|
projectId: string,
|
|
1979
2178
|
oldScope: ComputeEnvironmentScope,
|
|
1980
2179
|
oldOwnedIds: Readonly<Record<string, string>>,
|
|
@@ -1988,7 +2187,6 @@ const cleanupRemovedComputeEnvironment = Effect.fn(function* (
|
|
|
1988
2187
|
for (const [key, ownedId] of Object.entries(oldOwnedIds)) {
|
|
1989
2188
|
if (sameEnvironmentScope(oldScope, newScope) && key in newValues) continue;
|
|
1990
2189
|
const variable = yield* findEnvironmentVariable(
|
|
1991
|
-
client,
|
|
1992
2190
|
projectId,
|
|
1993
2191
|
oldScope.class,
|
|
1994
2192
|
key,
|
|
@@ -1996,9 +2194,9 @@ const cleanupRemovedComputeEnvironment = Effect.fn(function* (
|
|
|
1996
2194
|
);
|
|
1997
2195
|
if (!variable) continue;
|
|
1998
2196
|
if (variable.id !== ownedId || variable.isManagedBySystem) continue;
|
|
1999
|
-
yield*
|
|
2000
|
-
|
|
2001
|
-
|
|
2197
|
+
yield* deleteEnvironmentVariable({
|
|
2198
|
+
envVarId: variable.id,
|
|
2199
|
+
}).pipe(Effect.catchTag("NotFound", () => Effect.void));
|
|
2002
2200
|
deleted.push(key);
|
|
2003
2201
|
}
|
|
2004
2202
|
return { deleted };
|
|
@@ -2064,7 +2262,6 @@ const ProviderLive = () =>
|
|
|
2064
2262
|
Provider.effect(
|
|
2065
2263
|
Compute,
|
|
2066
2264
|
Effect.gen(function* () {
|
|
2067
|
-
const client = yield* PrismaClient;
|
|
2068
2265
|
return {
|
|
2069
2266
|
stables: ["appId"],
|
|
2070
2267
|
// Compute is a composite over App + Deployment. AppProvider owns nuke
|
|
@@ -2109,16 +2306,14 @@ const ProviderLive = () =>
|
|
|
2109
2306
|
? output.appId
|
|
2110
2307
|
: undefined;
|
|
2111
2308
|
const app = appId
|
|
2112
|
-
? yield*
|
|
2113
|
-
.
|
|
2114
|
-
.
|
|
2115
|
-
|
|
2116
|
-
)
|
|
2309
|
+
? yield* getService({ serviceId: appId }).pipe(
|
|
2310
|
+
Effect.map((response) => response.data),
|
|
2311
|
+
Effect.catchTag("NotFound", () => Effect.succeed(undefined)),
|
|
2312
|
+
)
|
|
2117
2313
|
: yield* Effect.gen(function* () {
|
|
2118
2314
|
const projectId = unresolvedProjectIdOf(olds.project);
|
|
2119
2315
|
return projectId
|
|
2120
2316
|
? yield* findApp(
|
|
2121
|
-
client,
|
|
2122
2317
|
projectId,
|
|
2123
2318
|
yield* createAppName(id, olds.appName),
|
|
2124
2319
|
olds,
|
|
@@ -2127,15 +2322,14 @@ const ProviderLive = () =>
|
|
|
2127
2322
|
});
|
|
2128
2323
|
if (!app) return undefined;
|
|
2129
2324
|
const readDeployment = (id: string) =>
|
|
2130
|
-
observeDeployment(
|
|
2131
|
-
Effect.
|
|
2325
|
+
observeDeployment(id).pipe(
|
|
2326
|
+
Effect.catchTag("NotFound", () => Effect.succeed(undefined)),
|
|
2132
2327
|
);
|
|
2133
2328
|
const outputDeployment = output?.deploymentId
|
|
2134
2329
|
? yield* readDeployment(output.deploymentId)
|
|
2135
2330
|
: undefined;
|
|
2136
2331
|
if (outputDeployment) {
|
|
2137
2332
|
yield* ensureDeploymentMembership(
|
|
2138
|
-
client,
|
|
2139
2333
|
app.id,
|
|
2140
2334
|
outputDeployment,
|
|
2141
2335
|
app.latestDeploymentId,
|
|
@@ -2204,7 +2398,7 @@ const ProviderLive = () =>
|
|
|
2204
2398
|
);
|
|
2205
2399
|
const observedApp = effectiveNews.skipCodeUpload
|
|
2206
2400
|
? yield* releaseArtifactOnFailure(
|
|
2207
|
-
findExistingApp(
|
|
2401
|
+
findExistingApp(output).pipe(
|
|
2208
2402
|
Effect.retry({
|
|
2209
2403
|
while: isAppProvisioningNotFound,
|
|
2210
2404
|
schedule: projectConsistencySchedule,
|
|
@@ -2216,13 +2410,7 @@ const ProviderLive = () =>
|
|
|
2216
2410
|
ensureSkipCodeUploadCanFork(effectiveNews, observedApp),
|
|
2217
2411
|
);
|
|
2218
2412
|
const ensuredApp = yield* releaseArtifactOnFailure(
|
|
2219
|
-
ensureApp(
|
|
2220
|
-
client,
|
|
2221
|
-
projectId,
|
|
2222
|
-
effectiveNews,
|
|
2223
|
-
output,
|
|
2224
|
-
observedApp,
|
|
2225
|
-
).pipe(
|
|
2413
|
+
ensureApp(projectId, effectiveNews, output, observedApp).pipe(
|
|
2226
2414
|
Effect.retry({
|
|
2227
2415
|
while: isAppProvisioningNotFound,
|
|
2228
2416
|
schedule: projectConsistencySchedule,
|
|
@@ -2233,13 +2421,13 @@ const ProviderLive = () =>
|
|
|
2233
2421
|
let preserveCreatedAppOnFailure = false;
|
|
2234
2422
|
const cleanupCreatedAppOnFailure = (error: unknown) =>
|
|
2235
2423
|
ensuredApp.created && !preserveCreatedAppOnFailure
|
|
2236
|
-
? destroyApp(
|
|
2424
|
+
? destroyApp(app.id).pipe(
|
|
2237
2425
|
Effect.catch((cleanupError) =>
|
|
2238
2426
|
Effect.fail(
|
|
2239
2427
|
aggregateCleanupFailure(
|
|
2240
2428
|
"App",
|
|
2241
2429
|
app.id,
|
|
2242
|
-
`/v1/
|
|
2430
|
+
`/v1/services/${app.id}`,
|
|
2243
2431
|
error,
|
|
2244
2432
|
cleanupError,
|
|
2245
2433
|
),
|
|
@@ -2257,7 +2445,7 @@ const ProviderLive = () =>
|
|
|
2257
2445
|
|
|
2258
2446
|
return yield* Effect.gen(function* () {
|
|
2259
2447
|
const currentEnvironmentScope =
|
|
2260
|
-
yield* resolveComputeEnvironmentScope(
|
|
2448
|
+
yield* resolveComputeEnvironmentScope(app, effectiveNews);
|
|
2261
2449
|
const deploymentHash = yield* sha256Object({
|
|
2262
2450
|
artifact: artifact.hash,
|
|
2263
2451
|
branchId: app.branchId,
|
|
@@ -2271,8 +2459,8 @@ const ProviderLive = () =>
|
|
|
2271
2459
|
| undefined,
|
|
2272
2460
|
);
|
|
2273
2461
|
const persistedDeployment = output?.deploymentId
|
|
2274
|
-
? yield* observeDeployment(
|
|
2275
|
-
Effect.
|
|
2462
|
+
? yield* observeDeployment(output.deploymentId).pipe(
|
|
2463
|
+
Effect.catchTag("NotFound", () => Effect.succeed(undefined)),
|
|
2276
2464
|
)
|
|
2277
2465
|
: undefined;
|
|
2278
2466
|
const terminalFailedDeploymentId =
|
|
@@ -2285,11 +2473,8 @@ const ProviderLive = () =>
|
|
|
2285
2473
|
deploymentId: string,
|
|
2286
2474
|
action: "stop" | "destroy",
|
|
2287
2475
|
) {
|
|
2288
|
-
const observed = yield* observeDeployment(
|
|
2289
|
-
|
|
2290
|
-
deploymentId,
|
|
2291
|
-
).pipe(
|
|
2292
|
-
Effect.catchIf(isNotFound, () => Effect.succeed(undefined)),
|
|
2476
|
+
const observed = yield* observeDeployment(deploymentId).pipe(
|
|
2477
|
+
Effect.catchTag("NotFound", () => Effect.succeed(undefined)),
|
|
2293
2478
|
);
|
|
2294
2479
|
if (!observed) {
|
|
2295
2480
|
return (action === "destroy" ? "destroyed" : "stopped") as
|
|
@@ -2297,25 +2482,23 @@ const ProviderLive = () =>
|
|
|
2297
2482
|
| "stopped";
|
|
2298
2483
|
}
|
|
2299
2484
|
yield* ensureDeploymentMembership(
|
|
2300
|
-
client,
|
|
2301
2485
|
app.id,
|
|
2302
2486
|
observed,
|
|
2303
2487
|
app.latestDeploymentId,
|
|
2304
2488
|
);
|
|
2305
2489
|
if (action === "destroy") {
|
|
2306
|
-
yield* destroyDeployment(
|
|
2490
|
+
yield* destroyDeployment(deploymentId, effectiveNews);
|
|
2307
2491
|
return "destroyed" as const;
|
|
2308
2492
|
}
|
|
2309
|
-
yield* stopDeploymentIdempotent(
|
|
2310
|
-
Effect.
|
|
2493
|
+
yield* stopDeploymentIdempotent(deploymentId).pipe(
|
|
2494
|
+
Effect.catchTag("NotFound", () => Effect.void),
|
|
2311
2495
|
);
|
|
2312
2496
|
yield* waitForDeploymentStatus(
|
|
2313
|
-
client,
|
|
2314
2497
|
deploymentId,
|
|
2315
2498
|
"stopped",
|
|
2316
2499
|
effectiveNews,
|
|
2317
2500
|
).pipe(
|
|
2318
|
-
Effect.
|
|
2501
|
+
Effect.catchTag("NotFound", () => Effect.succeed(undefined)),
|
|
2319
2502
|
);
|
|
2320
2503
|
return "stopped" as const;
|
|
2321
2504
|
});
|
|
@@ -2353,13 +2536,14 @@ const ProviderLive = () =>
|
|
|
2353
2536
|
) {
|
|
2354
2537
|
const persistedDeploymentId = output.deploymentId;
|
|
2355
2538
|
const displacedDeploymentId = app.latestDeploymentId;
|
|
2356
|
-
const rollback = yield*
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
.
|
|
2539
|
+
const rollback = yield* createServiceRollback({
|
|
2540
|
+
serviceId: app.id,
|
|
2541
|
+
deploymentId: persistedDeploymentId,
|
|
2542
|
+
}).pipe(
|
|
2543
|
+
Effect.map((response) => response.data),
|
|
2544
|
+
Effect.result,
|
|
2545
|
+
);
|
|
2361
2546
|
const observedAfterRollback = yield* waitForAppDeploymentTarget(
|
|
2362
|
-
client,
|
|
2363
2547
|
app.id,
|
|
2364
2548
|
persistedDeploymentId,
|
|
2365
2549
|
effectiveNews,
|
|
@@ -2374,14 +2558,13 @@ const ProviderLive = () =>
|
|
|
2374
2558
|
? [observedAfterRollback.failure]
|
|
2375
2559
|
: []),
|
|
2376
2560
|
],
|
|
2377
|
-
`Prisma App '${app.id}' has live deployment '${displacedDeploymentId}', while Alchemy state preserves deployment '${persistedDeploymentId}' as the prior promoted generation. Recovery via POST /v1/
|
|
2561
|
+
`Prisma App '${app.id}' has live deployment '${displacedDeploymentId}', while Alchemy state preserves deployment '${persistedDeploymentId}' as the prior promoted generation. Recovery via POST /v1/services/${app.id}/rollback did not converge, so no environment variables or new deployment were changed and neither deployment was deleted.`,
|
|
2378
2562
|
),
|
|
2379
2563
|
);
|
|
2380
2564
|
}
|
|
2381
2565
|
|
|
2382
2566
|
app = observedAfterRollback.success;
|
|
2383
2567
|
yield* destroyDeployment(
|
|
2384
|
-
client,
|
|
2385
2568
|
displacedDeploymentId,
|
|
2386
2569
|
effectiveNews,
|
|
2387
2570
|
).pipe(
|
|
@@ -2436,7 +2619,6 @@ const ProviderLive = () =>
|
|
|
2436
2619
|
const previousEnvironmentVariableIds =
|
|
2437
2620
|
output?.environmentVariableIds ?? {};
|
|
2438
2621
|
const environmentResult = yield* syncComputeEnvironmentInternal(
|
|
2439
|
-
client,
|
|
2440
2622
|
projectId,
|
|
2441
2623
|
currentEnvironmentScope.class,
|
|
2442
2624
|
effectiveNews.env,
|
|
@@ -2455,7 +2637,6 @@ const ProviderLive = () =>
|
|
|
2455
2637
|
// captured into the new runtime. Any failure here happens before
|
|
2456
2638
|
// deployment creation and rolls back newly-created variables.
|
|
2457
2639
|
yield* cleanupRemovedComputeEnvironment(
|
|
2458
|
-
client,
|
|
2459
2640
|
projectId,
|
|
2460
2641
|
previousEnvironmentScope,
|
|
2461
2642
|
previousEnvironmentVariableIds,
|
|
@@ -2478,7 +2659,6 @@ const ProviderLive = () =>
|
|
|
2478
2659
|
terminalFailedDeploymentId !== undefined)
|
|
2479
2660
|
) {
|
|
2480
2661
|
yield* ensureDeploymentMembership(
|
|
2481
|
-
client,
|
|
2482
2662
|
app.id,
|
|
2483
2663
|
persistedDeployment,
|
|
2484
2664
|
app.latestDeploymentId,
|
|
@@ -2493,11 +2673,7 @@ const ProviderLive = () =>
|
|
|
2493
2673
|
error: unknown,
|
|
2494
2674
|
) =>
|
|
2495
2675
|
createdDeploymentId === failedDeploymentId
|
|
2496
|
-
? destroyDeployment(
|
|
2497
|
-
client,
|
|
2498
|
-
failedDeploymentId,
|
|
2499
|
-
effectiveNews,
|
|
2500
|
-
).pipe(
|
|
2676
|
+
? destroyDeployment(failedDeploymentId, effectiveNews).pipe(
|
|
2501
2677
|
Effect.catch((cleanupError) =>
|
|
2502
2678
|
Effect.fail(
|
|
2503
2679
|
aggregateCleanupFailure(
|
|
@@ -2514,10 +2690,18 @@ const ProviderLive = () =>
|
|
|
2514
2690
|
: Effect.fail(error);
|
|
2515
2691
|
|
|
2516
2692
|
if (!deployment) {
|
|
2517
|
-
const created = yield*
|
|
2693
|
+
const created = yield* createServiceDeployment({
|
|
2694
|
+
serviceId: app.id,
|
|
2518
2695
|
portMapping: { http: artifact.port },
|
|
2519
|
-
|
|
2520
|
-
|
|
2696
|
+
...(effectiveNews.skipCodeUpload === undefined
|
|
2697
|
+
? {}
|
|
2698
|
+
: { skipCodeUpload: effectiveNews.skipCodeUpload }),
|
|
2699
|
+
}).pipe(
|
|
2700
|
+
// A replayed create would make a second deployment; the retry
|
|
2701
|
+
// policy cannot see the request, so opt out explicitly.
|
|
2702
|
+
Retry.none,
|
|
2703
|
+
Effect.map((response) => response.data),
|
|
2704
|
+
);
|
|
2521
2705
|
createdDeploymentId = created.id;
|
|
2522
2706
|
if (artifact.file !== undefined && !created.uploadUrl) {
|
|
2523
2707
|
return yield* cleanupCreatedDeploymentOnFailure(
|
|
@@ -2538,12 +2722,10 @@ const ProviderLive = () =>
|
|
|
2538
2722
|
),
|
|
2539
2723
|
);
|
|
2540
2724
|
}
|
|
2541
|
-
deployment = yield* observeDeployment(
|
|
2542
|
-
Effect.
|
|
2725
|
+
deployment = yield* observeDeployment(created.id).pipe(
|
|
2726
|
+
Effect.catchTag("NotFound", () =>
|
|
2543
2727
|
Effect.succeed({
|
|
2544
2728
|
id: created.id,
|
|
2545
|
-
type: "deployment" as const,
|
|
2546
|
-
url: created.url,
|
|
2547
2729
|
foundryVersionId: created.foundryVersionId,
|
|
2548
2730
|
status: "new",
|
|
2549
2731
|
previewDomain: null,
|
|
@@ -2583,13 +2765,9 @@ const ProviderLive = () =>
|
|
|
2583
2765
|
currentDeployment.status !== "running" &&
|
|
2584
2766
|
currentDeployment.status !== "provisioning"
|
|
2585
2767
|
) {
|
|
2586
|
-
yield* startDeploymentIdempotent(
|
|
2587
|
-
client,
|
|
2588
|
-
currentDeployment.id,
|
|
2589
|
-
);
|
|
2768
|
+
yield* startDeploymentIdempotent(currentDeployment.id);
|
|
2590
2769
|
}
|
|
2591
2770
|
const running = yield* waitForDeploymentStatus(
|
|
2592
|
-
client,
|
|
2593
2771
|
currentDeployment.id,
|
|
2594
2772
|
"running",
|
|
2595
2773
|
effectiveNews,
|
|
@@ -2618,7 +2796,6 @@ const ProviderLive = () =>
|
|
|
2618
2796
|
// Promotion also repairs endpoint/custom-domain routing drift.
|
|
2619
2797
|
preserveCreatedAppOnFailure = true;
|
|
2620
2798
|
const promotedApp = yield* promoteAppObserved(
|
|
2621
|
-
client,
|
|
2622
2799
|
app.id,
|
|
2623
2800
|
deployment.id,
|
|
2624
2801
|
effectiveNews,
|
|
@@ -2640,13 +2817,14 @@ const ProviderLive = () =>
|
|
|
2640
2817
|
if (Result.isSuccess(readiness)) {
|
|
2641
2818
|
readinessStatus = "ready";
|
|
2642
2819
|
} else if (rollbackDeploymentId) {
|
|
2643
|
-
const rollback = yield*
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
.
|
|
2820
|
+
const rollback = yield* createServiceRollback({
|
|
2821
|
+
serviceId: app.id,
|
|
2822
|
+
deploymentId: rollbackDeploymentId,
|
|
2823
|
+
}).pipe(
|
|
2824
|
+
Effect.map((response) => response.data),
|
|
2825
|
+
Effect.result,
|
|
2826
|
+
);
|
|
2648
2827
|
const observedAfterRollback = yield* waitForAppDeploymentTarget(
|
|
2649
|
-
client,
|
|
2650
2828
|
app.id,
|
|
2651
2829
|
rollbackDeploymentId,
|
|
2652
2830
|
effectiveNews,
|
|
@@ -2670,7 +2848,7 @@ const ProviderLive = () =>
|
|
|
2670
2848
|
...(Result.isFailure(rollback) ? [rollback.failure] : []),
|
|
2671
2849
|
observedAfterRollback.failure,
|
|
2672
2850
|
],
|
|
2673
|
-
`Prisma App '${app.id}' promoted deployment '${deployment.id}', but its stable endpoint failed readiness and rollback to deployment '${rollbackDeploymentId}' did not converge. Alchemy preserved the prior deployment in state and deleted neither deployment; the next reconcile will retry recovery via POST /v1/
|
|
2851
|
+
`Prisma App '${app.id}' promoted deployment '${deployment.id}', but its stable endpoint failed readiness and rollback to deployment '${rollbackDeploymentId}' did not converge. Alchemy preserved the prior deployment in state and deleted neither deployment; the next reconcile will retry recovery via POST /v1/services/${app.id}/rollback before making any new cloud changes.`,
|
|
2674
2852
|
),
|
|
2675
2853
|
);
|
|
2676
2854
|
} else {
|
|
@@ -2755,7 +2933,6 @@ const ProviderLive = () =>
|
|
|
2755
2933
|
deploymentConverged
|
|
2756
2934
|
? Effect.fail(error)
|
|
2757
2935
|
: rollbackCreatedEnvironmentVariables(
|
|
2758
|
-
client,
|
|
2759
2936
|
createdEnvironmentVariableIds,
|
|
2760
2937
|
error,
|
|
2761
2938
|
),
|
|
@@ -2770,7 +2947,6 @@ const ProviderLive = () =>
|
|
|
2770
2947
|
return;
|
|
2771
2948
|
}
|
|
2772
2949
|
yield* destroyComputeEnvironment(
|
|
2773
|
-
client,
|
|
2774
2950
|
output.projectId,
|
|
2775
2951
|
environmentScope(
|
|
2776
2952
|
olds?.envClass ?? output.environmentClass ?? "production",
|
|
@@ -2778,11 +2954,11 @@ const ProviderLive = () =>
|
|
|
2778
2954
|
),
|
|
2779
2955
|
output.environmentVariableIds,
|
|
2780
2956
|
);
|
|
2781
|
-
yield* destroyApp(
|
|
2957
|
+
yield* destroyApp(output.appId);
|
|
2782
2958
|
}),
|
|
2783
2959
|
tail: ({ output }) =>
|
|
2784
2960
|
output.deploymentId
|
|
2785
|
-
? tailDeploymentLogs(
|
|
2961
|
+
? tailDeploymentLogs(output.deploymentId)
|
|
2786
2962
|
: Stream.empty,
|
|
2787
2963
|
};
|
|
2788
2964
|
}),
|