alchemy 2.0.0-beta.76 → 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/README.md +1 -1
- package/THIRD_PARTY_LICENSES.md +11 -11
- package/bin/alchemy.js +1 -1
- package/bin/alchemy.js.map +1 -1
- package/bin/alchemy.ts +1 -1
- package/bin/cli.js +166 -35
- package/bin/exec.js +12863 -6308
- package/bin/exec.js.map +1 -1
- package/bin/exec.ts +1 -1
- package/bin/register-oxc.js +38 -0
- package/lib/AWS/AMP/Scraper.js +1 -1
- package/lib/AWS/AMP/Scraper.js.map +1 -1
- 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/AppRunner/Service.d.ts +11 -27
- package/lib/AWS/AppRunner/Service.d.ts.map +1 -1
- package/lib/AWS/AppRunner/Service.js +7 -21
- package/lib/AWS/AppRunner/Service.js.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 +2 -2
- package/lib/AWS/Assets.d.ts.map +1 -1
- package/lib/AWS/Assets.js +2 -2
- package/lib/AWS/Assets.js.map +1 -1
- package/lib/AWS/AuthProvider.d.ts +40 -53
- package/lib/AWS/AuthProvider.d.ts.map +1 -1
- package/lib/AWS/AuthProvider.js +480 -215
- package/lib/AWS/AuthProvider.js.map +1 -1
- package/lib/AWS/Batch/JobDefinition.d.ts +11 -27
- package/lib/AWS/Batch/JobDefinition.d.ts.map +1 -1
- package/lib/AWS/Batch/JobDefinition.js +7 -21
- package/lib/AWS/Batch/JobDefinition.js.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/GetAmi.d.ts +2 -0
- package/lib/AWS/EC2/GetAmi.d.ts.map +1 -1
- package/lib/AWS/EC2/Instance.d.ts +11 -27
- package/lib/AWS/EC2/Instance.d.ts.map +1 -1
- package/lib/AWS/EC2/Instance.js +17 -22
- 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 +6 -7
- package/lib/AWS/EC2/hosted.d.ts.map +1 -1
- package/lib/AWS/EC2/hosted.js.map +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 +5 -6
- package/lib/AWS/ECR/ImageSource.d.ts.map +1 -1
- package/lib/AWS/ECR/ImageSource.js.map +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 +7 -21
- package/lib/AWS/ECS/Service.d.ts.map +1 -1
- package/lib/AWS/ECS/Service.js +14 -28
- package/lib/AWS/ECS/Service.js.map +1 -1
- package/lib/AWS/ECS/Task.d.ts +12 -26
- package/lib/AWS/ECS/Task.d.ts.map +1 -1
- package/lib/AWS/ECS/Task.js +7 -21
- package/lib/AWS/ECS/Task.js.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/ElastiCache/CacheCluster.d.ts +60 -0
- package/lib/AWS/ElastiCache/CacheCluster.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/CacheCluster.js +199 -0
- package/lib/AWS/ElastiCache/CacheCluster.js.map +1 -0
- package/lib/AWS/ElastiCache/ConnectCacheCluster.d.ts +46 -0
- package/lib/AWS/ElastiCache/ConnectCacheCluster.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/ConnectCacheCluster.js +5 -0
- package/lib/AWS/ElastiCache/ConnectCacheCluster.js.map +1 -0
- package/lib/AWS/ElastiCache/ConnectCacheClusterHttp.d.ts +4 -0
- package/lib/AWS/ElastiCache/ConnectCacheClusterHttp.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/ConnectCacheClusterHttp.js +52 -0
- package/lib/AWS/ElastiCache/ConnectCacheClusterHttp.js.map +1 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroup.d.ts +47 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroup.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroup.js +5 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroup.js.map +1 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroupHttp.d.ts +4 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroupHttp.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroupHttp.js +77 -0
- package/lib/AWS/ElastiCache/ConnectReplicationGroupHttp.js.map +1 -0
- package/lib/AWS/ElastiCache/ReplicationGroup.d.ts +95 -0
- package/lib/AWS/ElastiCache/ReplicationGroup.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/ReplicationGroup.js +383 -0
- package/lib/AWS/ElastiCache/ReplicationGroup.js.map +1 -0
- package/lib/AWS/ElastiCache/SubnetGroup.d.ts +39 -0
- package/lib/AWS/ElastiCache/SubnetGroup.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/SubnetGroup.js +136 -0
- package/lib/AWS/ElastiCache/SubnetGroup.js.map +1 -0
- package/lib/AWS/ElastiCache/index.d.ts +7 -0
- package/lib/AWS/ElastiCache/index.d.ts.map +1 -1
- package/lib/AWS/ElastiCache/index.js +7 -0
- package/lib/AWS/ElastiCache/index.js.map +1 -1
- package/lib/AWS/ElastiCache/internal.d.ts +13 -0
- package/lib/AWS/ElastiCache/internal.d.ts.map +1 -0
- package/lib/AWS/ElastiCache/internal.js +19 -0
- package/lib/AWS/ElastiCache/internal.js.map +1 -0
- package/lib/AWS/Environment.d.ts +2 -3
- package/lib/AWS/Environment.d.ts.map +1 -1
- package/lib/AWS/Environment.js +17 -47
- package/lib/AWS/Environment.js.map +1 -1
- package/lib/AWS/IAM/actions.generated.js +1 -1
- package/lib/AWS/IAM/actions.generated.js.map +1 -1
- package/lib/AWS/IdentityCenter/AccountAssignment.js +6 -0
- package/lib/AWS/IdentityCenter/AccountAssignment.js.map +1 -1
- 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 +14 -23
- package/lib/AWS/Lambda/Function.d.ts.map +1 -1
- package/lib/AWS/Lambda/Function.js +38 -35
- 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/MicrovmImage.d.ts +12 -28
- package/lib/AWS/Lambda/MicrovmImage.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmImage.js +8 -22
- package/lib/AWS/Lambda/MicrovmImage.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 +16 -6
- 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/Account.d.ts +2 -2
- package/lib/AWS/Organizations/Account.d.ts.map +1 -1
- package/lib/AWS/Organizations/Account.js +16 -8
- package/lib/AWS/Organizations/Account.js.map +1 -1
- package/lib/AWS/Organizations/DelegatedAdministrator.d.ts +2 -3
- package/lib/AWS/Organizations/DelegatedAdministrator.d.ts.map +1 -1
- package/lib/AWS/Organizations/DelegatedAdministrator.js +5 -5
- package/lib/AWS/Organizations/DelegatedAdministrator.js.map +1 -1
- package/lib/AWS/Organizations/Organization.d.ts +1 -1
- package/lib/AWS/Organizations/Organization.d.ts.map +1 -1
- package/lib/AWS/Organizations/Organization.js +2 -2
- package/lib/AWS/Organizations/Organization.js.map +1 -1
- package/lib/AWS/Organizations/common.d.ts +9 -0
- package/lib/AWS/Organizations/common.d.ts.map +1 -1
- package/lib/AWS/Organizations/common.js +17 -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/Providers.d.ts.map +1 -1
- package/lib/AWS/Providers.js +4 -1
- package/lib/AWS/Providers.js.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 +24 -4
- 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/Errors.d.ts +31 -0
- package/lib/Alchemist/Errors.d.ts.map +1 -0
- package/lib/Alchemist/Errors.js +19 -0
- package/lib/Alchemist/Errors.js.map +1 -0
- package/lib/Alchemist/Progress.d.ts +16 -0
- package/lib/Alchemist/Progress.d.ts.map +1 -0
- package/lib/Alchemist/Progress.js +129 -0
- package/lib/Alchemist/Progress.js.map +1 -0
- package/lib/Alchemist/Runtime.d.ts +22 -0
- package/lib/Alchemist/Runtime.d.ts.map +1 -0
- package/lib/Alchemist/Runtime.js +28 -0
- package/lib/Alchemist/Runtime.js.map +1 -0
- package/lib/Alchemist/Session.d.ts +114 -0
- package/lib/Alchemist/Session.d.ts.map +1 -0
- package/lib/Alchemist/Session.js +214 -0
- package/lib/Alchemist/Session.js.map +1 -0
- package/lib/Alchemist/index.d.ts +15 -0
- package/lib/Alchemist/index.d.ts.map +1 -0
- package/lib/Alchemist/index.js +15 -0
- package/lib/Alchemist/index.js.map +1 -0
- package/lib/Alchemist/routes/aws.d.ts +21 -0
- package/lib/Alchemist/routes/aws.d.ts.map +1 -0
- package/lib/Alchemist/routes/aws.js +54 -0
- package/lib/Alchemist/routes/aws.js.map +1 -0
- package/lib/Alchemist/routes/cloudflare.d.ts +63 -0
- package/lib/Alchemist/routes/cloudflare.d.ts.map +1 -0
- package/lib/Alchemist/routes/cloudflare.js +113 -0
- package/lib/Alchemist/routes/cloudflare.js.map +1 -0
- package/lib/Alchemist/routes/cloudflareToken.d.ts +93 -0
- package/lib/Alchemist/routes/cloudflareToken.d.ts.map +1 -0
- package/lib/Alchemist/routes/cloudflareToken.js +111 -0
- package/lib/Alchemist/routes/cloudflareToken.js.map +1 -0
- package/lib/Alchemist/routes/drift.d.ts +55 -0
- package/lib/Alchemist/routes/drift.d.ts.map +1 -0
- package/lib/Alchemist/routes/drift.js +52 -0
- package/lib/Alchemist/routes/drift.js.map +1 -0
- package/lib/Alchemist/routes/logs.d.ts +41 -0
- package/lib/Alchemist/routes/logs.d.ts.map +1 -0
- package/lib/Alchemist/routes/logs.js +112 -0
- package/lib/Alchemist/routes/logs.js.map +1 -0
- package/lib/Alchemist/routes/nuke.d.ts +46 -0
- package/lib/Alchemist/routes/nuke.d.ts.map +1 -0
- package/lib/Alchemist/routes/nuke.js +80 -0
- package/lib/Alchemist/routes/nuke.js.map +1 -0
- package/lib/Alchemist/routes/profile.d.ts +133 -0
- package/lib/Alchemist/routes/profile.d.ts.map +1 -0
- package/lib/Alchemist/routes/profile.js +257 -0
- package/lib/Alchemist/routes/profile.js.map +1 -0
- package/lib/Alchemist/routes/provider.d.ts +33 -0
- package/lib/Alchemist/routes/provider.d.ts.map +1 -0
- package/lib/Alchemist/routes/provider.js +65 -0
- package/lib/Alchemist/routes/provider.js.map +1 -0
- package/lib/Alchemist/routes/stack.d.ts +78 -0
- package/lib/Alchemist/routes/stack.d.ts.map +1 -0
- package/lib/Alchemist/routes/stack.js +67 -0
- package/lib/Alchemist/routes/stack.js.map +1 -0
- package/lib/Alchemist/routes/state.d.ts +35 -0
- package/lib/Alchemist/routes/state.d.ts.map +1 -0
- package/lib/Alchemist/routes/state.js +46 -0
- package/lib/Alchemist/routes/state.js.map +1 -0
- package/lib/Apply.d.ts +8 -6
- package/lib/Apply.d.ts.map +1 -1
- package/lib/Apply.js +209 -103
- package/lib/Apply.js.map +1 -1
- package/lib/Auth/AuthProvider.d.ts +201 -25
- package/lib/Auth/AuthProvider.d.ts.map +1 -1
- package/lib/Auth/AuthProvider.js +180 -40
- package/lib/Auth/AuthProvider.js.map +1 -1
- package/lib/Auth/BrowserOAuth.d.ts +27 -0
- package/lib/Auth/BrowserOAuth.d.ts.map +1 -0
- package/lib/Auth/BrowserOAuth.js +41 -0
- package/lib/Auth/BrowserOAuth.js.map +1 -0
- package/lib/Auth/Credentials.d.ts +11 -6
- package/lib/Auth/Credentials.d.ts.map +1 -1
- package/lib/Auth/Credentials.js +62 -23
- package/lib/Auth/Credentials.js.map +1 -1
- package/lib/Auth/CredentialsCache.d.ts +15 -0
- package/lib/Auth/CredentialsCache.d.ts.map +1 -0
- package/lib/Auth/CredentialsCache.js +34 -0
- package/lib/Auth/CredentialsCache.js.map +1 -0
- package/lib/Auth/Demand.d.ts +59 -34
- package/lib/Auth/Demand.d.ts.map +1 -1
- package/lib/Auth/Demand.js +151 -61
- package/lib/Auth/Demand.js.map +1 -1
- package/lib/Auth/Env.d.ts +4 -4
- package/lib/Auth/Env.d.ts.map +1 -1
- package/lib/Auth/Env.js +18 -9
- package/lib/Auth/Env.js.map +1 -1
- package/lib/Auth/Inspect.d.ts +33 -0
- package/lib/Auth/Inspect.d.ts.map +1 -0
- package/lib/Auth/Inspect.js +67 -0
- package/lib/Auth/Inspect.js.map +1 -0
- package/lib/Auth/Lock.d.ts +6 -0
- package/lib/Auth/Lock.d.ts.map +1 -1
- package/lib/Auth/Lock.js +26 -14
- package/lib/Auth/Lock.js.map +1 -1
- package/lib/Auth/OAuthFlow.d.ts +119 -0
- package/lib/Auth/OAuthFlow.d.ts.map +1 -0
- package/lib/Auth/OAuthFlow.js +314 -0
- package/lib/Auth/OAuthFlow.js.map +1 -0
- package/lib/Auth/Paths.d.ts +18 -0
- package/lib/Auth/Paths.d.ts.map +1 -0
- package/lib/Auth/Paths.js +20 -0
- package/lib/Auth/Paths.js.map +1 -0
- package/lib/Auth/Profile.d.ts +91 -67
- package/lib/Auth/Profile.d.ts.map +1 -1
- package/lib/Auth/Profile.js +449 -92
- package/lib/Auth/Profile.js.map +1 -1
- package/lib/Auth/Resolve.d.ts +42 -0
- package/lib/Auth/Resolve.d.ts.map +1 -0
- package/lib/Auth/Resolve.js +90 -0
- package/lib/Auth/Resolve.js.map +1 -0
- package/lib/Auth/StoredAuthProvider.d.ts +84 -0
- package/lib/Auth/StoredAuthProvider.d.ts.map +1 -0
- package/lib/Auth/StoredAuthProvider.js +179 -0
- package/lib/Auth/StoredAuthProvider.js.map +1 -0
- package/lib/Auth/index.d.ts +1 -0
- package/lib/Auth/index.d.ts.map +1 -1
- package/lib/Auth/index.js +1 -0
- package/lib/Auth/index.js.map +1 -1
- package/lib/Axiom/AuthProvider.d.ts +17 -26
- package/lib/Axiom/AuthProvider.d.ts.map +1 -1
- package/lib/Axiom/AuthProvider.js +89 -172
- package/lib/Axiom/AuthProvider.js.map +1 -1
- package/lib/Axiom/Credentials.d.ts +2 -4
- package/lib/Axiom/Credentials.d.ts.map +1 -1
- package/lib/Axiom/Credentials.js +5 -10
- package/lib/Axiom/Credentials.js.map +1 -1
- package/lib/Axiom/Providers.d.ts +2 -2
- package/lib/Axiom/Providers.d.ts.map +1 -1
- package/lib/Axiom/Providers.js +3 -3
- package/lib/Axiom/Providers.js.map +1 -1
- package/lib/Bundle/Bundle.d.ts +3 -5
- package/lib/Bundle/Bundle.d.ts.map +1 -1
- package/lib/Bundle/Bundle.js.map +1 -1
- package/lib/Cli/CliKit/CliKit.d.ts +92 -0
- package/lib/Cli/CliKit/CliKit.d.ts.map +1 -0
- package/lib/Cli/CliKit/CliKit.js +27 -0
- package/lib/Cli/CliKit/CliKit.js.map +1 -0
- package/lib/Cli/CliKit/index.d.ts +9 -0
- package/lib/Cli/CliKit/index.d.ts.map +1 -0
- package/lib/Cli/CliKit/index.js +9 -0
- package/lib/Cli/CliKit/index.js.map +1 -0
- package/lib/Cli/CliKit/interaction.d.ts +13 -0
- package/lib/Cli/CliKit/interaction.d.ts.map +1 -0
- package/lib/Cli/CliKit/interaction.js +17 -0
- package/lib/Cli/CliKit/interaction.js.map +1 -0
- package/lib/Cli/CliKit/layer.d.ts +7 -0
- package/lib/Cli/CliKit/layer.d.ts.map +1 -0
- package/lib/Cli/CliKit/layer.js +34 -0
- package/lib/Cli/CliKit/layer.js.map +1 -0
- package/lib/Cli/DevOptions.d.ts +17 -0
- package/lib/Cli/DevOptions.d.ts.map +1 -0
- package/lib/Cli/DevOptions.js +16 -0
- package/lib/Cli/DevOptions.js.map +1 -0
- package/lib/Cli/Format.d.ts +5 -0
- package/lib/Cli/Format.d.ts.map +1 -0
- package/lib/Cli/Format.js +27 -0
- package/lib/Cli/Format.js.map +1 -0
- package/lib/Cli/GlobalLog.d.ts +41 -0
- package/lib/Cli/GlobalLog.d.ts.map +1 -0
- package/lib/Cli/GlobalLog.js +112 -0
- package/lib/Cli/GlobalLog.js.map +1 -0
- package/lib/Cli/LoggingCli.d.ts +4 -3
- package/lib/Cli/LoggingCli.d.ts.map +1 -1
- package/lib/Cli/LoggingCli.js +240 -100
- package/lib/Cli/LoggingCli.js.map +1 -1
- package/lib/Cli/ModeTag.d.ts +1 -1
- package/lib/Cli/ModeTag.js +1 -1
- package/lib/Cli/NamespaceTree.d.ts +18 -8
- package/lib/Cli/NamespaceTree.d.ts.map +1 -1
- package/lib/Cli/NamespaceTree.js +52 -11
- package/lib/Cli/NamespaceTree.js.map +1 -1
- package/lib/Cli/PlainCliFormatter.d.ts +11 -0
- package/lib/Cli/PlainCliFormatter.d.ts.map +1 -0
- package/lib/Cli/PlainCliFormatter.js +70 -0
- package/lib/Cli/PlainCliFormatter.js.map +1 -0
- package/lib/Cli/PropertyDiff.d.ts +37 -0
- package/lib/Cli/PropertyDiff.d.ts.map +1 -0
- package/lib/Cli/PropertyDiff.js +162 -0
- package/lib/Cli/PropertyDiff.js.map +1 -0
- package/lib/Cli/checkVersion.d.ts.map +1 -1
- package/lib/Cli/checkVersion.js +10 -6
- package/lib/Cli/checkVersion.js.map +1 -1
- package/lib/Cli/commands/aws.d.ts +2 -4
- package/lib/Cli/commands/aws.d.ts.map +1 -1
- package/lib/Cli/commands/aws.js +44 -56
- package/lib/Cli/commands/aws.js.map +1 -1
- package/lib/Cli/commands/cloudflare.d.ts +6 -7
- package/lib/Cli/commands/cloudflare.d.ts.map +1 -1
- package/lib/Cli/commands/cloudflare.js +156 -314
- package/lib/Cli/commands/cloudflare.js.map +1 -1
- package/lib/Cli/commands/compat.d.ts +11 -0
- package/lib/Cli/commands/compat.d.ts.map +1 -0
- package/lib/Cli/commands/compat.js +19 -0
- package/lib/Cli/commands/compat.js.map +1 -0
- package/lib/Cli/commands/confirm.d.ts +33 -0
- package/lib/Cli/commands/confirm.d.ts.map +1 -0
- package/lib/Cli/commands/confirm.js +39 -0
- package/lib/Cli/commands/confirm.js.map +1 -0
- package/lib/Cli/commands/deploy.d.ts +20 -32
- package/lib/Cli/commands/deploy.d.ts.map +1 -1
- package/lib/Cli/commands/deploy.js +141 -141
- package/lib/Cli/commands/deploy.js.map +1 -1
- package/lib/Cli/commands/dev.d.ts +5 -4
- package/lib/Cli/commands/dev.d.ts.map +1 -1
- package/lib/Cli/commands/dev.js +55 -26
- package/lib/Cli/commands/dev.js.map +1 -1
- package/lib/Cli/commands/drift.d.ts +12 -0
- package/lib/Cli/commands/drift.d.ts.map +1 -0
- package/lib/Cli/commands/drift.js +68 -0
- package/lib/Cli/commands/drift.js.map +1 -0
- package/lib/Cli/commands/errors.d.ts +35 -0
- package/lib/Cli/commands/errors.d.ts.map +1 -0
- package/lib/Cli/commands/errors.js +106 -0
- package/lib/Cli/commands/errors.js.map +1 -0
- package/lib/Cli/commands/flags.d.ts +48 -0
- package/lib/Cli/commands/flags.d.ts.map +1 -0
- package/lib/Cli/commands/flags.js +100 -0
- package/lib/Cli/commands/flags.js.map +1 -0
- package/lib/Cli/commands/instrument.d.ts +10 -0
- package/lib/Cli/commands/instrument.d.ts.map +1 -0
- package/lib/Cli/commands/instrument.js +14 -0
- package/lib/Cli/commands/instrument.js.map +1 -0
- package/lib/Cli/commands/logs.d.ts +5 -4
- package/lib/Cli/commands/logs.d.ts.map +1 -1
- package/lib/Cli/commands/logs.js +64 -89
- package/lib/Cli/commands/logs.js.map +1 -1
- package/lib/Cli/commands/nuke.d.ts +3 -2
- package/lib/Cli/commands/nuke.d.ts.map +1 -1
- package/lib/Cli/commands/nuke.js +89 -588
- package/lib/Cli/commands/nuke.js.map +1 -1
- package/lib/Cli/commands/profile/commands.d.ts +9 -0
- package/lib/Cli/commands/profile/commands.d.ts.map +1 -0
- package/lib/Cli/commands/profile/commands.js +276 -0
- package/lib/Cli/commands/profile/commands.js.map +1 -0
- package/lib/Cli/commands/profile/flows.d.ts +36 -0
- package/lib/Cli/commands/profile/flows.d.ts.map +1 -0
- package/lib/Cli/commands/profile/flows.js +155 -0
- package/lib/Cli/commands/profile/flows.js.map +1 -0
- package/lib/Cli/commands/profile/hub.d.ts +8 -0
- package/lib/Cli/commands/profile/hub.d.ts.map +1 -0
- package/lib/Cli/commands/profile/hub.js +154 -0
- package/lib/Cli/commands/profile/hub.js.map +1 -0
- package/lib/Cli/commands/profile/index.d.ts +2 -0
- package/lib/Cli/commands/profile/index.d.ts.map +1 -0
- package/lib/Cli/commands/profile/index.js +2 -0
- package/lib/Cli/commands/profile/index.js.map +1 -0
- package/lib/Cli/commands/provider.d.ts +17 -0
- package/lib/Cli/commands/provider.d.ts.map +1 -0
- package/lib/Cli/commands/provider.js +44 -0
- package/lib/Cli/commands/provider.js.map +1 -0
- package/lib/Cli/commands/render.d.ts +12 -0
- package/lib/Cli/commands/render.d.ts.map +1 -0
- package/lib/Cli/commands/render.js +82 -0
- package/lib/Cli/commands/render.js.map +1 -0
- package/lib/Cli/commands/state.d.ts +8 -1
- package/lib/Cli/commands/state.d.ts.map +1 -1
- package/lib/Cli/commands/state.js +125 -248
- package/lib/Cli/commands/state.js.map +1 -1
- package/lib/Cli/components/types.d.ts +104 -0
- package/lib/Cli/components/types.d.ts.map +1 -0
- package/lib/Cli/components/types.js +4 -0
- package/lib/Cli/components/types.js.map +1 -0
- package/lib/Cli/components/ui/Data.d.ts +15 -0
- package/lib/Cli/components/ui/Data.d.ts.map +1 -0
- package/lib/Cli/components/ui/Data.js +8 -0
- package/lib/Cli/components/ui/Data.js.map +1 -0
- package/lib/Cli/components/ui/Environment.d.ts +45 -0
- package/lib/Cli/components/ui/Environment.d.ts.map +1 -0
- package/lib/Cli/components/ui/Environment.js +38 -0
- package/lib/Cli/components/ui/Environment.js.map +1 -0
- package/lib/Cli/components/ui/Feedback.d.ts +57 -0
- package/lib/Cli/components/ui/Feedback.d.ts.map +1 -0
- package/lib/Cli/components/ui/Feedback.js +83 -0
- package/lib/Cli/components/ui/Feedback.js.map +1 -0
- package/lib/Cli/components/ui/Interactive.d.ts +157 -0
- package/lib/Cli/components/ui/Interactive.d.ts.map +1 -0
- package/lib/Cli/components/ui/Interactive.js +527 -0
- package/lib/Cli/components/ui/Interactive.js.map +1 -0
- package/lib/Cli/components/ui/Layout.d.ts +74 -0
- package/lib/Cli/components/ui/Layout.d.ts.map +1 -0
- package/lib/Cli/components/ui/Layout.js +91 -0
- package/lib/Cli/components/ui/Layout.js.map +1 -0
- package/lib/Cli/components/ui/Live.d.ts +49 -0
- package/lib/Cli/components/ui/Live.d.ts.map +1 -0
- package/lib/Cli/components/ui/Live.js +43 -0
- package/lib/Cli/components/ui/Live.js.map +1 -0
- package/lib/Cli/components/ui/ProgressBar.d.ts +16 -0
- package/lib/Cli/components/ui/ProgressBar.d.ts.map +1 -0
- package/lib/Cli/components/ui/ProgressBar.js +17 -0
- package/lib/Cli/components/ui/ProgressBar.js.map +1 -0
- package/lib/Cli/components/ui/Transcript.d.ts +12 -0
- package/lib/Cli/components/ui/Transcript.d.ts.map +1 -0
- package/lib/Cli/components/ui/Transcript.js +14 -0
- package/lib/Cli/components/ui/Transcript.js.map +1 -0
- package/lib/Cli/components/ui/Typography.d.ts +17 -0
- package/lib/Cli/components/ui/Typography.d.ts.map +1 -0
- package/lib/Cli/components/ui/Typography.js +21 -0
- package/lib/Cli/components/ui/Typography.js.map +1 -0
- package/lib/Cli/components/ui/index.d.ts +16 -0
- package/lib/Cli/components/ui/index.d.ts.map +1 -0
- package/lib/Cli/components/ui/index.js +16 -0
- package/lib/Cli/components/ui/index.js.map +1 -0
- package/lib/Cli/components/view/ApprovePlan.d.ts +16 -0
- package/lib/Cli/components/view/ApprovePlan.d.ts.map +1 -0
- package/lib/Cli/components/view/ApprovePlan.js +59 -0
- package/lib/Cli/components/view/ApprovePlan.js.map +1 -0
- package/lib/Cli/components/view/Help.d.ts +4 -0
- package/lib/Cli/components/view/Help.d.ts.map +1 -0
- package/lib/Cli/components/view/Help.js +116 -0
- package/lib/Cli/components/view/Help.js.map +1 -0
- package/lib/Cli/components/view/Logo.d.ts +7 -0
- package/lib/Cli/components/view/Logo.d.ts.map +1 -0
- package/lib/Cli/components/view/Logo.js +118 -0
- package/lib/Cli/components/view/Logo.js.map +1 -0
- package/lib/Cli/components/view/Nuke.d.ts +36 -0
- package/lib/Cli/components/view/Nuke.d.ts.map +1 -0
- package/lib/Cli/components/view/Nuke.js +148 -0
- package/lib/Cli/components/view/Nuke.js.map +1 -0
- package/lib/Cli/components/view/PlanDecision.d.ts +15 -0
- package/lib/Cli/components/view/PlanDecision.d.ts.map +1 -0
- package/lib/Cli/components/view/PlanDecision.js +26 -0
- package/lib/Cli/components/view/PlanDecision.js.map +1 -0
- package/lib/Cli/components/view/PlanRow.d.ts +17 -0
- package/lib/Cli/components/view/PlanRow.d.ts.map +1 -0
- package/lib/Cli/components/view/PlanRow.js +14 -0
- package/lib/Cli/components/view/PlanRow.js.map +1 -0
- package/lib/Cli/components/view/PlanTree.d.ts +116 -0
- package/lib/Cli/components/view/PlanTree.d.ts.map +1 -0
- package/lib/Cli/components/view/PlanTree.js +207 -0
- package/lib/Cli/components/view/PlanTree.js.map +1 -0
- package/lib/Cli/components/view/PlanView.d.ts +23 -0
- package/lib/Cli/components/view/PlanView.d.ts.map +1 -0
- package/lib/Cli/components/view/PlanView.js +310 -0
- package/lib/Cli/components/view/PlanView.js.map +1 -0
- package/lib/Cli/components/view/Profile.d.ts +130 -0
- package/lib/Cli/components/view/Profile.d.ts.map +1 -0
- package/lib/Cli/components/view/Profile.js +147 -0
- package/lib/Cli/components/view/Profile.js.map +1 -0
- package/lib/Cli/components/view/ProfileDashboard.d.ts +152 -0
- package/lib/Cli/components/view/ProfileDashboard.d.ts.map +1 -0
- package/lib/Cli/components/view/ProfileDashboard.js +485 -0
- package/lib/Cli/components/view/ProfileDashboard.js.map +1 -0
- package/lib/Cli/components/view/Prompts.d.ts +10 -0
- package/lib/Cli/components/view/Prompts.d.ts.map +1 -0
- package/lib/Cli/components/view/Prompts.js +440 -0
- package/lib/Cli/components/view/Prompts.js.map +1 -0
- package/lib/Cli/components/view/Runtime.d.ts +8 -0
- package/lib/Cli/components/view/Runtime.d.ts.map +1 -0
- package/lib/Cli/components/view/Runtime.js +670 -0
- package/lib/Cli/components/view/Runtime.js.map +1 -0
- package/lib/Cli/components/view/SigilCli.d.ts +5 -0
- package/lib/Cli/components/view/SigilCli.d.ts.map +1 -0
- package/lib/Cli/components/view/SigilCli.js +134 -0
- package/lib/Cli/components/view/SigilCli.js.map +1 -0
- package/lib/Cli/components/view/StackOutputs.d.ts +10 -0
- package/lib/Cli/components/view/StackOutputs.d.ts.map +1 -0
- package/lib/Cli/components/view/StackOutputs.js +14 -0
- package/lib/Cli/components/view/StackOutputs.js.map +1 -0
- package/lib/Cli/components/view/StateExplorer.d.ts +118 -0
- package/lib/Cli/components/view/StateExplorer.d.ts.map +1 -0
- package/lib/Cli/components/view/StateExplorer.js +664 -0
- package/lib/Cli/components/view/StateExplorer.js.map +1 -0
- package/lib/Cli/components/view/statusStyle.d.ts +18 -0
- package/lib/Cli/components/view/statusStyle.d.ts.map +1 -0
- package/lib/Cli/components/view/statusStyle.js +69 -0
- package/lib/Cli/components/view/statusStyle.js.map +1 -0
- package/lib/Cli/components/view/usePlanPresentation.d.ts +25 -0
- package/lib/Cli/components/view/usePlanPresentation.d.ts.map +1 -0
- package/lib/Cli/components/view/usePlanPresentation.js +54 -0
- package/lib/Cli/components/view/usePlanPresentation.js.map +1 -0
- package/lib/Cli/components/view/usePlanViewport.d.ts +31 -0
- package/lib/Cli/components/view/usePlanViewport.d.ts.map +1 -0
- package/lib/Cli/components/view/usePlanViewport.js +113 -0
- package/lib/Cli/components/view/usePlanViewport.js.map +1 -0
- package/lib/Cli/exec.d.ts +5 -1
- package/lib/Cli/exec.d.ts.map +1 -1
- package/lib/Cli/exec.js +174 -19
- package/lib/Cli/exec.js.map +1 -1
- package/lib/Cli/main.d.ts +4 -1
- package/lib/Cli/main.d.ts.map +1 -1
- package/lib/Cli/main.js +129 -38
- package/lib/Cli/main.js.map +1 -1
- package/lib/Cli/selectCli.d.ts +5 -3
- package/lib/Cli/selectCli.d.ts.map +1 -1
- package/lib/Cli/selectCli.js +16 -9
- package/lib/Cli/selectCli.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/ApiToken/UserApiToken.d.ts +1 -1
- package/lib/Cloudflare/ApiToken/UserApiToken.js +1 -1
- package/lib/Cloudflare/Auth/AuthConfig.d.ts +60 -0
- package/lib/Cloudflare/Auth/AuthConfig.d.ts.map +1 -0
- package/lib/Cloudflare/Auth/AuthConfig.js +68 -0
- package/lib/Cloudflare/Auth/AuthConfig.js.map +1 -0
- package/lib/Cloudflare/Auth/AuthProvider.d.ts +2 -142
- package/lib/Cloudflare/Auth/AuthProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Auth/AuthProvider.js +473 -327
- package/lib/Cloudflare/Auth/AuthProvider.js.map +1 -1
- package/lib/Cloudflare/Auth/OAuthClient.d.ts +16 -48
- package/lib/Cloudflare/Auth/OAuthClient.d.ts.map +1 -1
- package/lib/Cloudflare/Auth/OAuthClient.js +25 -260
- package/lib/Cloudflare/Auth/OAuthClient.js.map +1 -1
- package/lib/Cloudflare/Auth/OAuthScopes.d.ts +88 -0
- package/lib/Cloudflare/Auth/OAuthScopes.d.ts.map +1 -0
- package/lib/Cloudflare/Auth/OAuthScopes.js +887 -0
- package/lib/Cloudflare/Auth/OAuthScopes.js.map +1 -0
- package/lib/Cloudflare/Auth/TokenPolicy.d.ts +34 -0
- package/lib/Cloudflare/Auth/TokenPolicy.d.ts.map +1 -0
- package/lib/Cloudflare/Auth/TokenPolicy.js +51 -0
- package/lib/Cloudflare/Auth/TokenPolicy.js.map +1 -0
- 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 +3 -10
- package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.js +10 -16
- 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/Container.d.ts +10 -25
- package/lib/Cloudflare/Containers/Container.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/Container.js +9 -23
- package/lib/Cloudflare/Containers/Container.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerApplication.d.ts +23 -31
- 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/Containers/StartContainer.d.ts +1 -1
- package/lib/Cloudflare/Containers/StartContainer.d.ts.map +1 -1
- package/lib/Cloudflare/Credentials.d.ts +6 -20
- package/lib/Cloudflare/Credentials.d.ts.map +1 -1
- package/lib/Cloudflare/Credentials.js +12 -54
- package/lib/Cloudflare/Credentials.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/EdgeSession.d.ts +1 -1
- package/lib/Cloudflare/EdgeSession.d.ts.map +1 -1
- package/lib/Cloudflare/EdgeSession.js +1 -1
- package/lib/Cloudflare/EdgeSession.js.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 +18 -13
- 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/Pages/Project.d.ts +1 -1
- package/lib/Cloudflare/Pages/Project.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 +15 -21
- 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 +18 -0
- package/lib/Cloudflare/StateStore/Api.d.ts.map +1 -1
- package/lib/Cloudflare/StateStore/Api.js +2 -2
- package/lib/Cloudflare/StateStore/Api.js.map +1 -1
- package/lib/Cloudflare/StateStore/CredentialsFile.d.ts +10 -6
- package/lib/Cloudflare/StateStore/CredentialsFile.d.ts.map +1 -1
- package/lib/Cloudflare/StateStore/CredentialsFile.js +23 -1
- package/lib/Cloudflare/StateStore/CredentialsFile.js.map +1 -1
- package/lib/Cloudflare/StateStore/State.d.ts +11 -9
- package/lib/Cloudflare/StateStore/State.d.ts.map +1 -1
- package/lib/Cloudflare/StateStore/State.js +138 -113
- 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/Vectorize/SearchIndexHttpClient.js +1 -1
- package/lib/Cloudflare/Vectorize/SearchIndexHttpClient.js.map +1 -1
- package/lib/Cloudflare/Website/Nextjs.d.ts.map +1 -1
- package/lib/Cloudflare/Website/Nextjs.js +4 -12
- package/lib/Cloudflare/Website/Nextjs.js.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/Website/Vocs.d.ts +1 -1
- package/lib/Cloudflare/Website/Vocs.d.ts.map +1 -1
- package/lib/Cloudflare/Website/Vocs.js +3 -7
- package/lib/Cloudflare/Website/Vocs.js.map +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 +2 -2
- package/lib/Cloudflare/Workers/Assets.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Assets.js +74 -26
- 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/BrowserHttpClient.d.ts +2 -2
- package/lib/Cloudflare/Workers/BrowserHttpClient.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/BrowserHttpClient.js +10 -3
- package/lib/Cloudflare/Workers/BrowserHttpClient.js.map +1 -1
- package/lib/Cloudflare/Workers/CloudflareTracer.d.ts +9 -0
- package/lib/Cloudflare/Workers/CloudflareTracer.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/CloudflareTracer.js +87 -0
- package/lib/Cloudflare/Workers/CloudflareTracer.js.map +1 -0
- package/lib/Cloudflare/Workers/Compatibility.d.ts +13 -0
- package/lib/Cloudflare/Workers/Compatibility.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Compatibility.js +31 -6
- package/lib/Cloudflare/Workers/Compatibility.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObject.d.ts +72 -7
- package/lib/Cloudflare/Workers/DurableObject.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObject.js +48 -7
- package/lib/Cloudflare/Workers/DurableObject.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.js +5 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectState.d.ts +25 -2
- package/lib/Cloudflare/Workers/DurableObjectState.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectState.js +7 -2
- package/lib/Cloudflare/Workers/DurableObjectState.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts +7 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.js +27 -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 +155 -68
- 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/RpcWorker.d.ts +12 -5
- package/lib/Cloudflare/Workers/RpcWorker.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/RpcWorker.js +8 -2
- package/lib/Cloudflare/Workers/RpcWorker.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/Source.d.ts +3 -0
- package/lib/Cloudflare/Workers/Source.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Source.js +3 -1
- package/lib/Cloudflare/Workers/Source.js.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 +2 -0
- package/lib/Cloudflare/Workers/Sources/Python.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Python.js +19 -14
- 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 +25 -10
- package/lib/Cloudflare/Workers/Sources/Rolldown.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Vite.d.ts +1 -1
- package/lib/Cloudflare/Workers/Sources/Vite.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Vite.js +6 -4
- package/lib/Cloudflare/Workers/Sources/Vite.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/Telemetry.d.ts +113 -0
- package/lib/Cloudflare/Workers/Telemetry.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Telemetry.js +129 -0
- package/lib/Cloudflare/Workers/Telemetry.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/ViteBuildChildRunner.js +6 -1
- package/lib/Cloudflare/Workers/ViteBuildChildRunner.js.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.d.ts +2 -2
- package/lib/Cloudflare/Workers/ViteChild.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.js +21 -18
- package/lib/Cloudflare/Workers/ViteChild.js.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.shared.d.ts +2 -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/ViteChildRunner.js +2 -1
- package/lib/Cloudflare/Workers/ViteChildRunner.js.map +1 -1
- package/lib/Cloudflare/Workers/Worker.d.ts +269 -150
- package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Worker.js +137 -147
- package/lib/Cloudflare/Workers/Worker.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.d.ts +9 -1
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.js +23 -0
- package/lib/Cloudflare/Workers/WorkerAsyncBindings.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerBinding.d.ts +37 -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/WorkerLoader.d.ts +30 -4
- package/lib/Cloudflare/Workers/WorkerLoader.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerLoader.js +36 -5
- package/lib/Cloudflare/Workers/WorkerLoader.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 +486 -72
- 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/Workers/cloudflare_workers.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/cloudflare_workers.js +4 -1
- package/lib/Cloudflare/Workers/cloudflare_workers.js.map +1 -1
- package/lib/Cloudflare/Workers/index.d.ts +1 -0
- package/lib/Cloudflare/Workers/index.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/index.js +1 -0
- package/lib/Cloudflare/Workers/index.js.map +1 -1
- package/lib/Cloudflare/Workflows/Workflow.d.ts +79 -31
- package/lib/Cloudflare/Workflows/Workflow.d.ts.map +1 -1
- package/lib/Cloudflare/Workflows/Workflow.js +49 -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 +9 -6
- 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/Command.d.ts +1 -1
- package/lib/Command/Command.d.ts.map +1 -1
- package/lib/Command/Command.js +2 -2
- package/lib/Command/Command.js.map +1 -1
- package/lib/Command/Dev.d.ts +5 -2
- package/lib/Command/Dev.d.ts.map +1 -1
- package/lib/Command/Dev.js +33 -8
- 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/Command/Providers.d.ts +1 -1
- package/lib/Command/Providers.d.ts.map +1 -1
- package/lib/Deploy.d.ts +1 -1
- package/lib/Deploy.d.ts.map +1 -1
- package/lib/Destroy.d.ts +1 -1
- package/lib/Destroy.d.ts.map +1 -1
- package/lib/Docker/BuildHash.d.ts +13 -0
- package/lib/Docker/BuildHash.d.ts.map +1 -1
- package/lib/Docker/BuildHash.js +53 -3
- package/lib/Docker/BuildHash.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 +20 -8
- 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/Service.d.ts +7 -21
- package/lib/Docker/Service.d.ts.map +1 -1
- package/lib/Docker/Service.js +7 -21
- package/lib/Docker/Service.js.map +1 -1
- package/lib/Docker/ServiceImage.d.ts +5 -6
- package/lib/Docker/ServiceImage.d.ts.map +1 -1
- package/lib/Docker/ServiceImage.js.map +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/Drift.d.ts +91 -0
- package/lib/Drift.d.ts.map +1 -0
- package/lib/{Sync.js → Drift.js} +98 -29
- package/lib/Drift.js.map +1 -0
- 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/Drizzle/Schema.d.ts.map +1 -1
- package/lib/Drizzle/Schema.js +5 -5
- package/lib/Drizzle/Schema.js.map +1 -1
- package/lib/Fly/App.d.ts +1 -1
- package/lib/Fly/App.d.ts.map +1 -1
- package/lib/Fly/AuthProvider.d.ts +6 -20
- package/lib/Fly/AuthProvider.d.ts.map +1 -1
- package/lib/Fly/AuthProvider.js +32 -124
- package/lib/Fly/AuthProvider.js.map +1 -1
- package/lib/Fly/Bucket.d.ts +1 -1
- package/lib/Fly/Bucket.d.ts.map +1 -1
- package/lib/Fly/BucketBinding.js +5 -5
- package/lib/Fly/Catalog.d.ts +1 -1
- package/lib/Fly/Catalog.d.ts.map +1 -1
- package/lib/Fly/CheckpointHttp.d.ts.map +1 -1
- package/lib/Fly/CheckpointHttp.js +2 -2
- package/lib/Fly/CheckpointHttp.js.map +1 -1
- package/lib/Fly/Credentials.d.ts +15 -6
- package/lib/Fly/Credentials.d.ts.map +1 -1
- package/lib/Fly/Credentials.js +25 -13
- package/lib/Fly/Credentials.js.map +1 -1
- package/lib/Fly/DecryptHttp.d.ts.map +1 -1
- package/lib/Fly/DecryptHttp.js +2 -2
- package/lib/Fly/DecryptHttp.js.map +1 -1
- package/lib/Fly/EncryptHttp.d.ts.map +1 -1
- package/lib/Fly/EncryptHttp.js +2 -2
- package/lib/Fly/EncryptHttp.js.map +1 -1
- package/lib/Fly/Environment.d.ts +1 -1
- package/lib/Fly/Environment.d.ts.map +1 -1
- package/lib/Fly/ExecHttp.d.ts.map +1 -1
- package/lib/Fly/ExecHttp.js +2 -2
- package/lib/Fly/ExecHttp.js.map +1 -1
- package/lib/Fly/GetSecretHttp.d.ts.map +1 -1
- package/lib/Fly/GetSecretHttp.js +3 -3
- package/lib/Fly/GetSecretHttp.js.map +1 -1
- package/lib/Fly/ListSecretsHttp.d.ts.map +1 -1
- package/lib/Fly/ListSecretsHttp.js +2 -2
- package/lib/Fly/ListSecretsHttp.js.map +1 -1
- package/lib/Fly/Machine.d.ts +65 -0
- package/lib/Fly/Machine.d.ts.map +1 -1
- package/lib/Fly/Machine.js +34 -19
- package/lib/Fly/Machine.js.map +1 -1
- package/lib/Fly/Postgres.d.ts +1 -1
- package/lib/Fly/Postgres.d.ts.map +1 -1
- package/lib/Fly/Providers.d.ts +1 -1
- package/lib/Fly/Providers.d.ts.map +1 -1
- package/lib/Fly/Providers.js +2 -2
- package/lib/Fly/Providers.js.map +1 -1
- package/lib/Fly/Redis.d.ts +1 -1
- package/lib/Fly/Redis.d.ts.map +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 +46 -3
- package/lib/Fly/Service.d.ts.map +1 -1
- package/lib/Fly/Service.js +47 -22
- package/lib/Fly/Service.js.map +1 -1
- package/lib/Fly/SignHttp.d.ts.map +1 -1
- package/lib/Fly/SignHttp.js +2 -2
- package/lib/Fly/SignHttp.js.map +1 -1
- package/lib/Fly/Sprite.d.ts +2 -2
- package/lib/Fly/Sprite.js +2 -2
- package/lib/Fly/VerifyHttp.d.ts.map +1 -1
- package/lib/Fly/VerifyHttp.js +2 -2
- package/lib/Fly/VerifyHttp.js.map +1 -1
- package/lib/Fly/Volume.d.ts +8 -8
- package/lib/Fly/Volume.d.ts.map +1 -1
- 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/WriteSecretHttp.d.ts.map +1 -1
- package/lib/Fly/WriteSecretHttp.js +2 -2
- package/lib/Fly/WriteSecretHttp.js.map +1 -1
- package/lib/Fly/replicas.d.ts +12 -10
- package/lib/Fly/replicas.d.ts.map +1 -1
- package/lib/Fly/replicas.js +74 -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/AuthProvider.d.ts +20 -29
- package/lib/GitHub/AuthProvider.d.ts.map +1 -1
- package/lib/GitHub/AuthProvider.js +141 -75
- package/lib/GitHub/AuthProvider.js.map +1 -1
- 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/Credentials.d.ts +2 -3
- package/lib/GitHub/Credentials.d.ts.map +1 -1
- package/lib/GitHub/Credentials.js +6 -10
- package/lib/GitHub/Credentials.js.map +1 -1
- 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 +3 -4
- package/lib/GitHub/Providers.d.ts.map +1 -1
- package/lib/GitHub/Providers.js +24 -5
- 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/AuthProvider.d.ts +7 -20
- package/lib/Hetzner/AuthProvider.d.ts.map +1 -1
- package/lib/Hetzner/AuthProvider.js +42 -130
- package/lib/Hetzner/AuthProvider.js.map +1 -1
- package/lib/Hetzner/Catalog.d.ts +5 -5
- package/lib/Hetzner/Catalog.d.ts.map +1 -1
- package/lib/Hetzner/Credentials.d.ts +1 -3
- package/lib/Hetzner/Credentials.d.ts.map +1 -1
- package/lib/Hetzner/Credentials.js +4 -9
- package/lib/Hetzner/Credentials.js.map +1 -1
- package/lib/Hetzner/PlacementGroup.d.ts +1 -1
- package/lib/Hetzner/PlacementGroup.d.ts.map +1 -1
- package/lib/Hetzner/Providers.d.ts +1 -1
- package/lib/Hetzner/Providers.d.ts.map +1 -1
- package/lib/Hetzner/Providers.js +2 -2
- package/lib/Hetzner/Providers.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 +2 -2
- 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/Interaction.d.ts +186 -0
- package/lib/Interaction.d.ts.map +1 -0
- package/lib/Interaction.js +149 -0
- package/lib/Interaction.js.map +1 -0
- package/lib/Kubernetes/ClusterAdapter.d.ts +4 -5
- package/lib/Kubernetes/ClusterAdapter.d.ts.map +1 -1
- package/lib/Kubernetes/ClusterAdapter.js.map +1 -1
- package/lib/Kubernetes/Deployment.d.ts +7 -21
- package/lib/Kubernetes/Deployment.d.ts.map +1 -1
- package/lib/Kubernetes/Deployment.js +7 -21
- package/lib/Kubernetes/Deployment.js.map +1 -1
- package/lib/Kubernetes/Job.d.ts +7 -21
- package/lib/Kubernetes/Job.d.ts.map +1 -1
- package/lib/Kubernetes/Job.js +7 -21
- package/lib/Kubernetes/Job.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/DevLog.d.ts +32 -0
- package/lib/Local/DevLog.d.ts.map +1 -0
- package/lib/Local/DevLog.js +114 -0
- package/lib/Local/DevLog.js.map +1 -0
- package/lib/Local/LocalProvider.d.ts +4 -3
- package/lib/Local/LocalProvider.d.ts.map +1 -1
- package/lib/Local/LocalProvider.js +5 -4
- 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 +40 -21
- package/lib/Local/RpcServer.js.map +1 -1
- package/lib/Local/RpcServerEnvironment.d.ts +2 -2
- package/lib/Local/RpcServerEnvironment.d.ts.map +1 -1
- package/lib/Local/RpcServerEnvironment.js +4 -3
- package/lib/Local/RpcServerEnvironment.js.map +1 -1
- package/lib/Local/RpcSpawner.d.ts +14 -5
- package/lib/Local/RpcSpawner.d.ts.map +1 -1
- package/lib/Local/RpcSpawner.js +105 -38
- package/lib/Local/RpcSpawner.js.map +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/Neon/AuthProvider.d.ts +4 -13
- package/lib/Neon/AuthProvider.d.ts.map +1 -1
- package/lib/Neon/AuthProvider.js +24 -107
- package/lib/Neon/AuthProvider.js.map +1 -1
- package/lib/Neon/Credentials.d.ts +1 -3
- package/lib/Neon/Credentials.d.ts.map +1 -1
- package/lib/Neon/Credentials.js +4 -9
- package/lib/Neon/Credentials.js.map +1 -1
- package/lib/Neon/Providers.d.ts +1 -1
- package/lib/Neon/Providers.d.ts.map +1 -1
- package/lib/Neon/Providers.js +2 -2
- package/lib/Neon/Providers.js.map +1 -1
- package/lib/Nuke.d.ts +89 -0
- package/lib/Nuke.d.ts.map +1 -0
- package/lib/Nuke.js +267 -0
- package/lib/Nuke.js.map +1 -0
- package/lib/Output.js +1 -1
- package/lib/Phase.js +2 -2
- package/lib/Plan.d.ts +27 -5
- package/lib/Plan.d.ts.map +1 -1
- package/lib/Plan.js +174 -25
- package/lib/Plan.js.map +1 -1
- package/lib/Planetscale/AuthProvider.d.ts +25 -37
- package/lib/Planetscale/AuthProvider.d.ts.map +1 -1
- package/lib/Planetscale/AuthProvider.js +267 -150
- package/lib/Planetscale/AuthProvider.js.map +1 -1
- package/lib/Planetscale/Credentials.d.ts +2 -3
- package/lib/Planetscale/Credentials.d.ts.map +1 -1
- package/lib/Planetscale/Credentials.js +17 -14
- package/lib/Planetscale/Credentials.js.map +1 -1
- package/lib/Planetscale/OAuthClient.d.ts +8 -52
- package/lib/Planetscale/OAuthClient.d.ts.map +1 -1
- package/lib/Planetscale/OAuthClient.js +18 -240
- package/lib/Planetscale/OAuthClient.js.map +1 -1
- package/lib/Planetscale/Providers.d.ts +1 -1
- package/lib/Planetscale/Providers.d.ts.map +1 -1
- package/lib/Planetscale/Providers.js +2 -2
- package/lib/Planetscale/Providers.js.map +1 -1
- package/lib/Planetscale/Util.d.ts +1 -1
- package/lib/Planetscale/Util.d.ts.map +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/AuthProvider.d.ts +7 -15
- package/lib/Prisma/AuthProvider.d.ts.map +1 -1
- package/lib/Prisma/AuthProvider.js +54 -121
- package/lib/Prisma/AuthProvider.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 +89 -31
- package/lib/Prisma/Compute.d.ts.map +1 -1
- package/lib/Prisma/Compute.js +240 -137
- 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.d.ts +1 -2
- package/lib/Prisma/PrismaEnvironment.d.ts.map +1 -1
- package/lib/Prisma/PrismaEnvironment.js +4 -9
- package/lib/Prisma/PrismaEnvironment.js.map +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 +19 -3
- package/lib/Prisma/Providers.d.ts.map +1 -1
- package/lib/Prisma/Providers.js +31 -12
- 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 +16 -4
- package/lib/Provider.d.ts.map +1 -1
- package/lib/Provider.js +21 -18
- 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.d.ts +19 -19
- package/lib/Railway/AuthProvider.d.ts.map +1 -1
- package/lib/Railway/AuthProvider.js +193 -127
- 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 +41 -21
- 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 +26 -22
- package/lib/Railway/CloudAgent.js.map +1 -1
- package/lib/Railway/Credentials.d.ts +2 -5
- package/lib/Railway/Credentials.d.ts.map +1 -1
- package/lib/Railway/Credentials.js +5 -11
- package/lib/Railway/Credentials.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 +60 -34
- 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 +77 -59
- 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 +103 -32
- package/lib/Railway/Group.js.map +1 -1
- package/lib/Railway/LoginSession.d.ts +13 -5
- package/lib/Railway/LoginSession.d.ts.map +1 -1
- package/lib/Railway/LoginSession.js +9 -8
- 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 +118 -104
- 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 +118 -104
- 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 +124 -106
- 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 +27 -20
- 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 +25 -18
- package/lib/Railway/ProjectEnvironment.js.map +1 -1
- package/lib/Railway/Providers.d.ts +1 -1
- package/lib/Railway/Providers.d.ts.map +1 -1
- package/lib/Railway/Providers.js +4 -3
- 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 +57 -46
- package/lib/Railway/Redis.js.map +1 -1
- package/lib/Railway/RedisBinding.js +2 -2
- package/lib/Railway/Sandbox.d.ts +183 -17
- package/lib/Railway/Sandbox.d.ts.map +1 -1
- package/lib/Railway/Sandbox.js +117 -58
- 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 +75 -2
- package/lib/Railway/Service.d.ts.map +1 -1
- package/lib/Railway/Service.js +42 -0
- package/lib/Railway/Service.js.map +1 -1
- package/lib/Railway/ServiceDomain.d.ts +102 -3
- package/lib/Railway/ServiceDomain.d.ts.map +1 -1
- package/lib/Railway/ServiceDomain.js +135 -38
- package/lib/Railway/ServiceDomain.js.map +1 -1
- package/lib/Railway/ServiceProvider.d.ts +2 -10
- package/lib/Railway/ServiceProvider.d.ts.map +1 -1
- package/lib/Railway/ServiceProvider.js +281 -125
- 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 +26 -18
- 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 +84 -57
- 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 +30 -14
- 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 +10 -12
- 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 +71 -39
- 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 +53 -34
- 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/local-context.d.ts +125 -0
- package/lib/Railway/local-context.d.ts.map +1 -0
- package/lib/Railway/local-context.js +254 -0
- package/lib/Railway/local-context.js.map +1 -0
- 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/Report.d.ts +248 -0
- package/lib/Report.d.ts.map +1 -0
- package/lib/Report.js +18 -0
- package/lib/Report.js.map +1 -0
- 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 +7 -6
- package/lib/Stack.d.ts.map +1 -1
- package/lib/Stack.js +4 -5
- 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/Export.d.ts +6 -4
- package/lib/State/Export.d.ts.map +1 -1
- package/lib/State/Export.js +13 -18
- package/lib/State/Export.js.map +1 -1
- package/lib/State/HttpStateApi.d.ts +8 -8
- package/lib/State/HttpStateStore.d.ts +6 -11
- package/lib/State/HttpStateStore.d.ts.map +1 -1
- package/lib/State/HttpStateStore.js +25 -35
- package/lib/State/HttpStateStore.js.map +1 -1
- package/lib/State/LocalState.d.ts.map +1 -1
- package/lib/State/LocalState.js +6 -13
- package/lib/State/LocalState.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/State/Tree.d.ts +62 -0
- package/lib/State/Tree.d.ts.map +1 -0
- package/lib/State/Tree.js +166 -0
- package/lib/State/Tree.js.map +1 -0
- package/lib/State/index.d.ts +1 -0
- package/lib/State/index.d.ts.map +1 -1
- package/lib/State/index.js +1 -0
- package/lib/State/index.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/Layer.d.ts +6 -0
- package/lib/Telemetry/Layer.d.ts.map +1 -1
- package/lib/Telemetry/Layer.js +16 -5
- package/lib/Telemetry/Layer.js.map +1 -1
- package/lib/Telemetry.d.ts +7 -61
- package/lib/Telemetry.d.ts.map +1 -1
- package/lib/Telemetry.js +9 -304
- 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 +23 -4
- package/lib/Test/Core.d.ts.map +1 -1
- package/lib/Test/Core.js +24 -10
- 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/UserFacingError.d.ts +26 -0
- package/lib/UserFacingError.d.ts.map +1 -0
- package/lib/UserFacingError.js +25 -0
- package/lib/UserFacingError.js.map +1 -0
- package/lib/Util/AtomicFile.d.ts +19 -0
- package/lib/Util/AtomicFile.d.ts.map +1 -0
- package/lib/Util/AtomicFile.js +22 -0
- package/lib/Util/AtomicFile.js.map +1 -0
- package/lib/Util/ConsoleSink.d.ts +4 -0
- package/lib/Util/ConsoleSink.d.ts.map +1 -0
- package/lib/Util/ConsoleSink.js +24 -0
- package/lib/Util/ConsoleSink.js.map +1 -0
- package/lib/Util/LineBuffer.d.ts +9 -0
- package/lib/Util/LineBuffer.d.ts.map +1 -0
- package/lib/Util/LineBuffer.js +23 -0
- package/lib/Util/LineBuffer.js.map +1 -0
- package/lib/Util/Memoize.d.ts +20 -0
- package/lib/Util/Memoize.d.ts.map +1 -0
- package/lib/Util/Memoize.js +38 -0
- package/lib/Util/Memoize.js.map +1 -0
- package/lib/Util/Node.d.ts +29 -5
- package/lib/Util/Node.d.ts.map +1 -1
- package/lib/Util/Node.js +37 -10
- package/lib/Util/Node.js.map +1 -1
- package/lib/Util/PlatformServices.d.ts +6 -2
- package/lib/Util/PlatformServices.d.ts.map +1 -1
- package/lib/Util/PlatformServices.js +6 -2
- package/lib/Util/PlatformServices.js.map +1 -1
- package/lib/Util/ResourceOutput.d.ts +30 -0
- package/lib/Util/ResourceOutput.d.ts.map +1 -0
- package/lib/Util/ResourceOutput.js +60 -0
- package/lib/Util/ResourceOutput.js.map +1 -0
- package/lib/Util/Terminal.d.ts +23 -0
- package/lib/Util/Terminal.d.ts.map +1 -0
- package/lib/Util/Terminal.js +56 -0
- package/lib/Util/Terminal.js.map +1 -0
- package/lib/Util/Theme.d.ts +123 -0
- package/lib/Util/Theme.d.ts.map +1 -0
- package/lib/Util/Theme.js +133 -0
- package/lib/Util/Theme.js.map +1 -0
- package/lib/Util/gitignore-rules-to-globs.d.ts +3 -3
- package/lib/Util/gitignore-rules-to-globs.js +3 -3
- package/lib/Util/interactive.d.ts +17 -12
- package/lib/Util/interactive.d.ts.map +1 -1
- package/lib/Util/interactive.js +81 -13
- package/lib/Util/interactive.js.map +1 -1
- package/lib/Util/proxy-chain.js +17 -0
- package/lib/Util/proxy-chain.js.map +1 -1
- package/lib/Util/scc.d.ts +11 -3
- package/lib/Util/scc.d.ts.map +1 -1
- package/lib/Util/scc.js +35 -22
- package/lib/Util/scc.js.map +1 -1
- package/lib/Util/tarGzip.d.ts +3 -1
- package/lib/Util/tarGzip.d.ts.map +1 -1
- package/lib/Util/tarGzip.js +15 -5
- package/lib/Util/tarGzip.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 +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/package.json +94 -60
- package/src/AWS/AGENTS.md +1 -1
- package/src/AWS/AMP/Scraper.ts +1 -1
- package/src/AWS/AppRunner/Service.ts +11 -27
- package/src/AWS/Assets.ts +2 -2
- package/src/AWS/AuthProvider.ts +748 -429
- package/src/AWS/Batch/JobDefinition.ts +11 -27
- 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 +24 -29
- package/src/AWS/EC2/InternetGateway.ts +1 -1
- package/src/AWS/EC2/NatGateway.ts +1 -1
- package/src/AWS/EC2/NetworkInterface.ts +1 -1
- package/src/AWS/EC2/NetworkInterfaceAttachment.ts +1 -1
- package/src/AWS/EC2/RouteTable.ts +1 -1
- package/src/AWS/EC2/RouteTableAssociation.ts +1 -1
- package/src/AWS/EC2/SecurityGroup.ts +376 -79
- package/src/AWS/EC2/SecurityGroupRule.ts +147 -23
- package/src/AWS/EC2/Snapshot.ts +1 -1
- package/src/AWS/EC2/Subnet.ts +1 -1
- package/src/AWS/EC2/Volume.ts +1 -1
- package/src/AWS/EC2/VolumeAttachment.ts +1 -1
- package/src/AWS/EC2/Vpc.ts +1 -1
- package/src/AWS/EC2/VpcEndpoint.ts +1 -1
- package/src/AWS/EC2/hosted.ts +5 -6
- package/src/AWS/ECR/Image.ts +29 -7
- package/src/AWS/ECR/ImageSource.ts +4 -5
- package/src/AWS/ECS/FlociServiceProvider.ts +2 -2
- package/src/AWS/ECS/FlociTaskProvider.ts +2 -2
- package/src/AWS/ECS/Service.ts +13 -28
- package/src/AWS/ECS/Task.ts +7 -21
- package/src/AWS/EKS/KubernetesAdapter.ts +4 -4
- package/src/AWS/ElastiCache/CacheCluster.ts +323 -0
- package/src/AWS/ElastiCache/ConnectCacheCluster.ts +58 -0
- package/src/AWS/ElastiCache/ConnectCacheClusterHttp.ts +77 -0
- package/src/AWS/ElastiCache/ConnectReplicationGroup.ts +62 -0
- package/src/AWS/ElastiCache/ConnectReplicationGroupHttp.ts +110 -0
- package/src/AWS/ElastiCache/ReplicationGroup.ts +594 -0
- package/src/AWS/ElastiCache/SubnetGroup.ts +208 -0
- package/src/AWS/ElastiCache/index.ts +7 -0
- package/src/AWS/ElastiCache/internal.ts +36 -0
- package/src/AWS/Environment.ts +21 -54
- package/src/AWS/IAM/actions.generated.ts +1 -1
- package/src/AWS/IdentityCenter/AccountAssignment.ts +7 -0
- 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 +62 -44
- package/src/AWS/Lambda/MicrovmBinding.ts +15 -276
- package/src/AWS/Lambda/MicrovmBundle.ts +1 -16
- package/src/AWS/Lambda/MicrovmImage.ts +12 -28
- package/src/AWS/Lambda/MicrovmProvider.ts +1 -1
- package/src/AWS/Lambda/MicrovmRuntimeContext.ts +1 -1
- package/src/AWS/Lambda/NetworkConnector.ts +1 -1
- package/src/AWS/Local/DevWatchProvider.ts +18 -8
- package/src/AWS/Local/Local.ts +11 -10
- package/src/AWS/Logs/LogGroup.ts +8 -2
- package/src/AWS/Organizations/Account.ts +18 -10
- package/src/AWS/Organizations/DelegatedAdministrator.ts +7 -7
- package/src/AWS/Organizations/Organization.ts +3 -5
- package/src/AWS/Organizations/common.ts +21 -1
- package/src/AWS/Providers.ts +12 -0
- 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 +221 -83
- 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/Errors.ts +36 -0
- package/src/Alchemist/Progress.ts +175 -0
- package/src/Alchemist/Runtime.ts +40 -0
- package/src/Alchemist/Session.ts +452 -0
- package/src/Alchemist/index.ts +24 -0
- package/src/Alchemist/routes/aws.ts +88 -0
- package/src/Alchemist/routes/cloudflare.ts +188 -0
- package/src/Alchemist/routes/cloudflareToken.ts +215 -0
- package/src/Alchemist/routes/drift.ts +94 -0
- package/src/Alchemist/routes/logs.ts +185 -0
- package/src/Alchemist/routes/nuke.ts +146 -0
- package/src/Alchemist/routes/profile.ts +427 -0
- package/src/Alchemist/routes/provider.ts +107 -0
- package/src/Alchemist/routes/stack.ts +137 -0
- package/src/Alchemist/routes/state.ts +90 -0
- package/src/Apply.ts +312 -173
- package/src/Auth/AuthProvider.ts +416 -158
- package/src/Auth/BrowserOAuth.ts +68 -0
- package/src/Auth/Credentials.ts +155 -46
- package/src/Auth/CredentialsCache.ts +57 -0
- package/src/Auth/Demand.ts +209 -84
- package/src/Auth/Env.ts +40 -16
- package/src/Auth/Inspect.ts +129 -0
- package/src/Auth/Lock.ts +48 -30
- package/src/Auth/OAuthFlow.ts +551 -0
- package/src/Auth/Paths.ts +30 -0
- package/src/Auth/Profile.ts +768 -164
- package/src/Auth/Resolve.ts +136 -0
- package/src/Auth/StoredAuthProvider.ts +291 -0
- package/src/Auth/index.ts +1 -0
- package/src/Axiom/AuthProvider.ts +112 -314
- package/src/Axiom/Credentials.ts +5 -13
- package/src/Axiom/Providers.ts +3 -3
- package/src/Bundle/Bundle.ts +3 -5
- package/src/Cli/CliKit/CliKit.ts +183 -0
- package/src/Cli/CliKit/index.ts +50 -0
- package/src/Cli/CliKit/interaction.ts +19 -0
- package/src/Cli/CliKit/layer.ts +50 -0
- package/src/Cli/DevOptions.ts +19 -0
- package/src/Cli/Format.ts +31 -0
- package/src/Cli/GlobalLog.ts +147 -0
- package/src/Cli/LoggingCli.ts +312 -108
- package/src/Cli/ModeTag.ts +1 -1
- package/src/Cli/NamespaceTree.ts +94 -21
- package/src/Cli/PlainCliFormatter.ts +75 -0
- package/src/Cli/PropertyDiff.ts +229 -0
- package/src/Cli/checkVersion.ts +19 -6
- package/src/Cli/commands/aws.ts +68 -101
- package/src/Cli/commands/cloudflare.ts +204 -444
- package/src/Cli/commands/compat.ts +25 -0
- package/src/Cli/commands/confirm.ts +46 -0
- package/src/Cli/commands/deploy.ts +226 -213
- package/src/Cli/commands/dev.ts +75 -34
- package/src/Cli/commands/drift.ts +107 -0
- package/src/Cli/commands/errors.ts +162 -0
- package/src/Cli/commands/flags.ts +203 -0
- package/src/Cli/commands/instrument.ts +27 -0
- package/src/Cli/commands/logs.ts +127 -145
- package/src/Cli/commands/nuke.ts +146 -819
- package/src/Cli/commands/profile/commands.ts +482 -0
- package/src/Cli/commands/profile/flows.ts +218 -0
- package/src/Cli/commands/profile/hub.ts +191 -0
- package/src/Cli/commands/profile/index.ts +1 -0
- package/src/Cli/commands/provider.ts +63 -0
- package/src/Cli/commands/render.ts +121 -0
- package/src/Cli/commands/state.ts +250 -387
- package/src/Cli/components/types.ts +141 -0
- package/src/Cli/components/ui/Data.tsx +44 -0
- package/src/Cli/components/ui/Environment.tsx +87 -0
- package/src/Cli/components/ui/Feedback.tsx +269 -0
- package/src/Cli/components/ui/Interactive.tsx +1061 -0
- package/src/Cli/components/ui/Layout.tsx +252 -0
- package/src/Cli/components/ui/Live.tsx +131 -0
- package/src/Cli/components/ui/ProgressBar.tsx +57 -0
- package/src/Cli/components/ui/Transcript.tsx +42 -0
- package/src/Cli/components/ui/Typography.tsx +83 -0
- package/src/Cli/components/ui/index.ts +68 -0
- package/src/Cli/components/view/ApprovePlan.tsx +102 -0
- package/src/Cli/components/view/Help.tsx +381 -0
- package/src/Cli/components/view/Logo.tsx +169 -0
- package/src/Cli/components/view/Nuke.tsx +258 -0
- package/src/Cli/components/view/PlanDecision.tsx +81 -0
- package/src/Cli/components/view/PlanRow.tsx +39 -0
- package/src/Cli/components/view/PlanTree.ts +354 -0
- package/src/Cli/components/view/PlanView.tsx +826 -0
- package/src/Cli/components/view/Profile.tsx +446 -0
- package/src/Cli/components/view/ProfileDashboard.tsx +930 -0
- package/src/Cli/components/view/Prompts.tsx +794 -0
- package/src/Cli/components/view/Runtime.tsx +976 -0
- package/src/Cli/components/view/SigilCli.tsx +186 -0
- package/src/Cli/components/view/StackOutputs.tsx +38 -0
- package/src/Cli/components/view/StateExplorer.tsx +1179 -0
- package/src/Cli/components/view/statusStyle.ts +97 -0
- package/src/Cli/components/view/usePlanPresentation.ts +82 -0
- package/src/Cli/components/view/usePlanViewport.ts +172 -0
- package/src/Cli/exec.ts +281 -32
- package/src/Cli/main.ts +188 -42
- package/src/Cli/selectCli.ts +30 -15
- 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/ApiToken/UserApiToken.ts +1 -1
- package/src/Cloudflare/Auth/AuthConfig.ts +117 -0
- package/src/Cloudflare/Auth/AuthProvider.ts +712 -608
- package/src/Cloudflare/Auth/OAuthClient.ts +40 -366
- package/src/Cloudflare/Auth/OAuthScopes.ts +921 -0
- package/src/Cloudflare/Auth/TokenPolicy.ts +79 -0
- package/src/Cloudflare/Bridge.ts +9 -0
- package/src/Cloudflare/CloudflareEnvironment.ts +11 -25
- package/src/Cloudflare/CloudflareEnvironmentService.ts +10 -0
- package/src/Cloudflare/Containers/Container.ts +12 -24
- package/src/Cloudflare/Containers/ContainerApplication.ts +22 -30
- 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/Credentials.ts +18 -72
- package/src/Cloudflare/D1/Database.ts +3 -3
- package/src/Cloudflare/EdgeSession.ts +2 -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 +73 -59
- 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/Pages/Project.ts +1 -1
- package/src/Cloudflare/Pipelines/LegacyPipeline.ts +2 -2
- package/src/Cloudflare/Pipelines/Sink.ts +3 -3
- package/src/Cloudflare/Providers.ts +13 -51
- 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/Api.ts +2 -2
- package/src/Cloudflare/StateStore/CredentialsFile.ts +11 -6
- package/src/Cloudflare/StateStore/State.ts +262 -210
- package/src/Cloudflare/Vectorize/SearchIndexHttpClient.ts +2 -2
- package/src/Cloudflare/Website/Nextjs.ts +4 -15
- 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/Website/Vocs.ts +3 -7
- package/src/Cloudflare/Workers/Assets.ts +106 -38
- package/src/Cloudflare/Workers/BrowserHttpClient.ts +10 -3
- package/src/Cloudflare/Workers/CloudflareTracer.ts +113 -0
- package/src/Cloudflare/Workers/Compatibility.ts +37 -7
- package/src/Cloudflare/Workers/DurableObject.ts +90 -12
- package/src/Cloudflare/Workers/DurableObjectBridge.ts +9 -1
- package/src/Cloudflare/Workers/DurableObjectState.ts +46 -9
- package/src/Cloudflare/Workers/DurableObjectStorage.ts +46 -35
- package/src/Cloudflare/Workers/HttpServer.ts +2 -1
- package/src/Cloudflare/Workers/InferEnv.ts +2 -2
- package/src/Cloudflare/Workers/LocalWorkerProvider.ts +204 -79
- package/src/Cloudflare/Workers/Rpc.ts +17 -2
- package/src/Cloudflare/Workers/RpcAsync.ts +1 -1
- package/src/Cloudflare/Workers/RpcWorker.ts +44 -18
- package/src/Cloudflare/Workers/Source.ts +9 -1
- package/src/Cloudflare/Workers/Sources/Prebuilt.ts +3 -2
- package/src/Cloudflare/Workers/Sources/Python.ts +21 -14
- package/src/Cloudflare/Workers/Sources/Rolldown.ts +35 -19
- package/src/Cloudflare/Workers/Sources/Vite.ts +42 -34
- package/src/Cloudflare/Workers/Sources/WorkerModulePlugin.ts +75 -0
- package/src/Cloudflare/Workers/Telemetry.ts +170 -0
- package/src/Cloudflare/Workers/ViteBuildChildRunner.ts +6 -1
- package/src/Cloudflare/Workers/ViteChild.shared.ts +2 -0
- package/src/Cloudflare/Workers/ViteChild.ts +23 -22
- package/src/Cloudflare/Workers/ViteChildRunner.ts +2 -1
- package/src/Cloudflare/Workers/Worker.ts +277 -268
- package/src/Cloudflare/Workers/WorkerAsyncBindings.ts +29 -0
- 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/WorkerLoader.ts +40 -8
- package/src/Cloudflare/Workers/WorkerProvider.ts +641 -59
- package/src/Cloudflare/Workers/WorkerRuntime.ts +195 -0
- package/src/Cloudflare/Workers/WorkerRuntimeContext.ts +10 -6
- package/src/Cloudflare/Workers/cloudflare_workers.ts +5 -1
- package/src/Cloudflare/Workers/index.ts +1 -0
- package/src/Cloudflare/Workers/worker-module.d.ts +9 -0
- package/src/Cloudflare/Workflows/Workflow.ts +105 -43
- package/src/Cloudflare/Workflows/WorkflowBridge.ts +14 -10
- package/src/Cloudflare/Workflows/WorkflowRuntime.ts +56 -0
- package/src/Cloudflare/index.ts +3 -1
- package/src/Command/Command.ts +11 -3
- package/src/Command/Dev.ts +35 -9
- package/src/Command/Local.ts +8 -2
- package/src/Command/Memo.ts +6 -7
- package/src/Docker/BuildHash.ts +75 -8
- package/src/Docker/Container.ts +1 -1
- package/src/Docker/Docker.ts +226 -81
- 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/Service.ts +7 -21
- package/src/Docker/ServiceImage.ts +4 -5
- package/src/Docker/index.ts +5 -0
- package/src/{Sync.ts → Drift.ts} +161 -59
- package/src/Drizzle/Postgres.ts +3 -1
- package/src/Drizzle/Schema.ts +5 -7
- package/src/Fly/AuthProvider.ts +44 -232
- package/src/Fly/BucketBinding.ts +6 -6
- package/src/Fly/CheckpointHttp.ts +5 -2
- package/src/Fly/Credentials.ts +29 -16
- package/src/Fly/DecryptHttp.ts +5 -2
- package/src/Fly/EncryptHttp.ts +5 -2
- package/src/Fly/ExecHttp.ts +5 -2
- package/src/Fly/GetSecretHttp.ts +6 -3
- package/src/Fly/ListSecretsHttp.ts +5 -2
- package/src/Fly/Machine.ts +67 -20
- package/src/Fly/Providers.ts +2 -2
- 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 +47 -23
- package/src/Fly/SignHttp.ts +5 -2
- package/src/Fly/Sprite.ts +2 -2
- package/src/Fly/VerifyHttp.ts +5 -2
- package/src/Fly/Website/AssetDeployment.ts +12 -9
- package/src/Fly/WriteSecretHttp.ts +5 -2
- package/src/Fly/replicas.ts +94 -10
- 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/AuthProvider.ts +225 -143
- package/src/GitHub/BranchProtection.ts +651 -0
- package/src/GitHub/Collaborator.ts +239 -0
- package/src/GitHub/Credentials.ts +6 -13
- 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 +37 -5
- 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/AuthProvider.ts +50 -238
- package/src/Hetzner/Credentials.ts +4 -12
- package/src/Hetzner/Providers.ts +2 -2
- 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/Interaction.ts +354 -0
- package/src/Kubernetes/ClusterAdapter.ts +4 -5
- package/src/Kubernetes/Deployment.ts +7 -21
- package/src/Kubernetes/Job.ts +7 -21
- 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/DevLog.ts +135 -0
- package/src/Local/LocalProvider.ts +7 -6
- 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 +101 -53
- package/src/Local/RpcServerEnvironment.ts +4 -3
- package/src/Local/RpcSpawner.ts +161 -78
- package/src/Local/Sidecar.ts +32 -0
- package/src/Neon/AuthProvider.ts +31 -203
- package/src/Neon/Credentials.ts +4 -12
- package/src/Neon/Providers.ts +2 -2
- package/src/Nuke.ts +467 -0
- package/src/Output.ts +1 -1
- package/src/Phase.ts +3 -3
- package/src/Plan.ts +931 -712
- package/src/Planetscale/AuthProvider.ts +397 -324
- package/src/Planetscale/Credentials.ts +21 -19
- package/src/Planetscale/OAuthClient.ts +34 -328
- package/src/Planetscale/Providers.ts +2 -2
- package/src/Planetscale/Util.ts +1 -1
- package/src/Prisma/App.ts +126 -80
- package/src/Prisma/AuthProvider.ts +62 -240
- 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 +362 -200
- 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 +8 -16
- package/src/Prisma/PrismaLogs.ts +38 -16
- package/src/Prisma/Project.ts +163 -129
- package/src/Prisma/Providers.ts +44 -9
- package/src/Prisma/SourceRepository.ts +223 -87
- package/src/Provider.ts +31 -28
- package/src/Railway/AuditLog.ts +41 -17
- package/src/Railway/AuthProvider.ts +292 -236
- package/src/Railway/Bucket.ts +96 -65
- package/src/Railway/BucketBinding.ts +7 -7
- package/src/Railway/Catalog.ts +8 -1
- package/src/Railway/CloudAgent.ts +73 -56
- package/src/Railway/Credentials.ts +5 -14
- package/src/Railway/CustomDomain.ts +112 -67
- package/src/Railway/Environment.ts +18 -7
- package/src/Railway/Function.ts +169 -136
- package/src/Railway/GraphQL.ts +215 -0
- package/src/Railway/Group.ts +172 -72
- package/src/Railway/LoginSession.ts +12 -17
- package/src/Railway/Mongo.ts +236 -194
- package/src/Railway/MountVolume.ts +5 -4
- package/src/Railway/MySQL.ts +236 -194
- package/src/Railway/Postgres.ts +243 -197
- package/src/Railway/PrivateNetwork.ts +444 -310
- package/src/Railway/Project.ts +86 -64
- package/src/Railway/ProjectEnvironment.ts +87 -58
- package/src/Railway/Providers.ts +8 -4
- package/src/Railway/Redis.ts +118 -93
- package/src/Railway/RedisBinding.ts +2 -2
- package/src/Railway/Sandbox.ts +282 -133
- package/src/Railway/SandboxCheckpoint.ts +290 -0
- package/src/Railway/Service.ts +76 -2
- package/src/Railway/ServiceDomain.ts +279 -63
- package/src/Railway/ServiceProvider.ts +500 -238
- package/src/Railway/TcpProxy.ts +50 -37
- package/src/Railway/Template.ts +190 -136
- package/src/Railway/Usage.ts +93 -47
- package/src/Railway/Variable.ts +35 -35
- package/src/Railway/Volume.ts +150 -90
- package/src/Railway/VolumeBackup.ts +144 -101
- 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/local-context.ts +333 -0
- package/src/Railway/transient.ts +26 -52
- package/src/Report.ts +365 -0
- 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 +14 -9
- package/src/StackContext.ts +6 -0
- package/src/State/Export.ts +28 -47
- package/src/State/HttpStateStore.ts +31 -37
- package/src/State/LocalState.ts +6 -16
- package/src/State/PostgresState.ts +6 -5
- package/src/State/State.ts +5 -0
- package/src/State/Tree.ts +277 -0
- package/src/State/index.ts +1 -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/Layer.ts +16 -5
- package/src/Telemetry.ts +21 -440
- 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 +42 -13
- package/src/Test/Vitest.ts +2 -0
- package/src/Test/index.ts +6 -1
- package/src/UserFacingError.ts +35 -0
- package/src/Util/AtomicFile.ts +36 -0
- package/src/Util/ConsoleSink.ts +23 -0
- package/src/Util/LineBuffer.ts +20 -0
- package/src/Util/Memoize.ts +48 -0
- package/src/Util/Node.ts +44 -14
- package/src/Util/PlatformServices.ts +11 -1
- package/src/Util/ResourceOutput.ts +77 -0
- package/src/Util/Terminal.ts +81 -0
- package/src/Util/Theme.ts +150 -0
- package/src/Util/gitignore-rules-to-globs.ts +3 -3
- package/src/Util/interactive.ts +103 -16
- package/src/Util/proxy-chain.ts +19 -0
- package/src/Util/scc.ts +43 -23
- package/src/Util/tarGzip.ts +33 -5
- 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 +3 -2
- 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/Cli/Cli.d.ts +0 -21
- package/lib/Cli/Cli.d.ts.map +0 -1
- package/lib/Cli/Cli.js +0 -5
- package/lib/Cli/Cli.js.map +0 -1
- package/lib/Cli/Event.d.ts +0 -29
- package/lib/Cli/Event.d.ts.map +0 -1
- package/lib/Cli/Event.js +0 -1
- package/lib/Cli/Event.js.map +0 -1
- package/lib/Cli/commands/_shared.d.ts +0 -138
- package/lib/Cli/commands/_shared.d.ts.map +0 -1
- package/lib/Cli/commands/_shared.js +0 -298
- package/lib/Cli/commands/_shared.js.map +0 -1
- package/lib/Cli/commands/login.d.ts +0 -14
- package/lib/Cli/commands/login.d.ts.map +0 -1
- package/lib/Cli/commands/login.js +0 -115
- package/lib/Cli/commands/login.js.map +0 -1
- package/lib/Cli/commands/profile.d.ts +0 -25
- package/lib/Cli/commands/profile.d.ts.map +0 -1
- package/lib/Cli/commands/profile.js +0 -83
- package/lib/Cli/commands/profile.js.map +0 -1
- package/lib/Cli/commands/sync.d.ts +0 -22
- package/lib/Cli/commands/sync.d.ts.map +0 -1
- package/lib/Cli/commands/sync.js +0 -64
- package/lib/Cli/commands/sync.js.map +0 -1
- package/lib/Cli/commands/tail.d.ts +0 -9
- package/lib/Cli/commands/tail.d.ts.map +0 -1
- package/lib/Cli/commands/tail.js +0 -97
- package/lib/Cli/commands/tail.js.map +0 -1
- package/lib/Cli/tui/InkCLI.d.ts +0 -4
- package/lib/Cli/tui/InkCLI.d.ts.map +0 -1
- package/lib/Cli/tui/InkCLI.js +0 -53
- package/lib/Cli/tui/InkCLI.js.map +0 -1
- package/lib/Cli/tui/components/ApprovePlan.d.ts +0 -9
- package/lib/Cli/tui/components/ApprovePlan.d.ts.map +0 -1
- package/lib/Cli/tui/components/ApprovePlan.js +0 -21
- package/lib/Cli/tui/components/ApprovePlan.js.map +0 -1
- package/lib/Cli/tui/components/Nuke.d.ts +0 -36
- package/lib/Cli/tui/components/Nuke.d.ts.map +0 -1
- package/lib/Cli/tui/components/Nuke.js +0 -132
- package/lib/Cli/tui/components/Nuke.js.map +0 -1
- package/lib/Cli/tui/components/Plan.d.ts +0 -8
- package/lib/Cli/tui/components/Plan.d.ts.map +0 -1
- package/lib/Cli/tui/components/Plan.js +0 -87
- package/lib/Cli/tui/components/Plan.js.map +0 -1
- package/lib/Cli/tui/components/PlanProgress.d.ts +0 -55
- package/lib/Cli/tui/components/PlanProgress.d.ts.map +0 -1
- package/lib/Cli/tui/components/PlanProgress.js +0 -292
- package/lib/Cli/tui/components/PlanProgress.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/lib/Sync.d.ts +0 -109
- package/lib/Sync.d.ts.map +0 -1
- package/lib/Sync.js.map +0 -1
- package/lib/Util/Clank.d.ts +0 -45
- package/lib/Util/Clank.d.ts.map +0 -1
- package/lib/Util/Clank.js +0 -79
- package/lib/Util/Clank.js.map +0 -1
- package/src/AWS/Website/ServerLocal.ts +0 -4
- package/src/Cli/Cli.ts +0 -23
- package/src/Cli/Event.ts +0 -51
- package/src/Cli/commands/_shared.ts +0 -498
- package/src/Cli/commands/login.ts +0 -169
- package/src/Cli/commands/profile.ts +0 -132
- package/src/Cli/commands/sync.ts +0 -123
- package/src/Cli/commands/tail.ts +0 -155
- package/src/Cli/tui/InkCLI.tsx +0 -69
- package/src/Cli/tui/components/ApprovePlan.tsx +0 -44
- package/src/Cli/tui/components/Nuke.tsx +0 -273
- package/src/Cli/tui/components/Plan.tsx +0 -211
- package/src/Cli/tui/components/PlanProgress.tsx +0 -455
- package/src/Railway/RetryPolicy.ts +0 -53
- package/src/Util/Clank.ts +0 -103
package/src/Plan.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/** @effect-diagnostics anyUnknownInErrorContext:off */
|
|
2
2
|
/** @effect-diagnostics missingEffectError:off */
|
|
3
|
+
import * as Cause from "effect/Cause";
|
|
3
4
|
import * as Config from "effect/Config";
|
|
4
5
|
import * as Data from "effect/Data";
|
|
5
6
|
import * as Effect from "effect/Effect";
|
|
7
|
+
import * as Exit from "effect/Exit";
|
|
6
8
|
import * as Option from "effect/Option";
|
|
9
|
+
import * as Ref from "effect/Ref";
|
|
10
|
+
import { cachedInScope } from "./Util/Memoize.ts";
|
|
7
11
|
import { asEffect } from ".//Util/types.ts";
|
|
8
12
|
import { isAction, type ActionLike } from "./Action.ts";
|
|
9
13
|
import {
|
|
@@ -13,6 +17,7 @@ import {
|
|
|
13
17
|
Unowned,
|
|
14
18
|
} from "./AdoptPolicy.ts";
|
|
15
19
|
import { AlchemyContext } from "./AlchemyContext.ts";
|
|
20
|
+
import { demandRemoteCredentials } from "./Auth/Demand.ts";
|
|
16
21
|
import {
|
|
17
22
|
Artifacts,
|
|
18
23
|
ArtifactStore,
|
|
@@ -33,7 +38,7 @@ import { parseFqn } from "./FQN.ts";
|
|
|
33
38
|
import { generateInstanceId, InstanceId } from "./InstanceId.ts";
|
|
34
39
|
import * as Output from "./Output.ts";
|
|
35
40
|
import {
|
|
36
|
-
|
|
41
|
+
tryFindProviderRegistrationByType,
|
|
37
42
|
missingProviderError,
|
|
38
43
|
Provider,
|
|
39
44
|
providerForMode,
|
|
@@ -45,6 +50,12 @@ import {
|
|
|
45
50
|
stampedMode,
|
|
46
51
|
type ProviderMode,
|
|
47
52
|
} from "./ProviderMode.ts";
|
|
53
|
+
import {
|
|
54
|
+
Progress,
|
|
55
|
+
type PlannedAction,
|
|
56
|
+
type PlannedBinding,
|
|
57
|
+
type PlannedResource,
|
|
58
|
+
} from "./Report.ts";
|
|
48
59
|
import {
|
|
49
60
|
isResource,
|
|
50
61
|
missingImplementation,
|
|
@@ -71,17 +82,6 @@ import { hashInput } from "./Util/sha256.ts";
|
|
|
71
82
|
|
|
72
83
|
export type PlanError = never;
|
|
73
84
|
|
|
74
|
-
export const isCRUD = (node: any): node is CRUD => {
|
|
75
|
-
return (
|
|
76
|
-
node &&
|
|
77
|
-
typeof node === "object" &&
|
|
78
|
-
(node.action === "create" ||
|
|
79
|
-
node.action === "update" ||
|
|
80
|
-
node.action === "replace" ||
|
|
81
|
-
node.action === "noop")
|
|
82
|
-
);
|
|
83
|
-
};
|
|
84
|
-
|
|
85
85
|
/**
|
|
86
86
|
* A node in the plan that represents a resource CRUD operation.
|
|
87
87
|
*/
|
|
@@ -132,6 +132,12 @@ export interface BaseNode<
|
|
|
132
132
|
export interface ApplyNodeBase<
|
|
133
133
|
R extends ResourceLike<string> = ResourceLike<string>,
|
|
134
134
|
> extends BaseNode<R> {
|
|
135
|
+
/** Cloud attribute drift attached to synthetic drift-repair plans. */
|
|
136
|
+
drift?: {
|
|
137
|
+
readonly expected: unknown;
|
|
138
|
+
readonly actual: unknown;
|
|
139
|
+
readonly missing?: boolean;
|
|
140
|
+
};
|
|
135
141
|
/**
|
|
136
142
|
* Set when this resource's persisted row was found under former FQNs
|
|
137
143
|
* (`renamedFrom(...)`) — the migration source (no row at the current FQN
|
|
@@ -155,7 +161,7 @@ export interface Create<
|
|
|
155
161
|
export interface Update<
|
|
156
162
|
R extends ResourceLike = ResourceLike,
|
|
157
163
|
> extends ApplyNodeBase<R> {
|
|
158
|
-
action: "update";
|
|
164
|
+
action: "update" | "adopted";
|
|
159
165
|
/** True while this is the first reconcile after a cold adoption. */
|
|
160
166
|
adopting?: boolean;
|
|
161
167
|
props: R["Props"];
|
|
@@ -171,7 +177,7 @@ export interface Update<
|
|
|
171
177
|
export interface Delete<
|
|
172
178
|
R extends ResourceLike = ResourceLike,
|
|
173
179
|
> extends BaseNode<R> {
|
|
174
|
-
action: "delete";
|
|
180
|
+
action: "delete" | "orphaned";
|
|
175
181
|
// a resource can be deleted no matter what state it's in
|
|
176
182
|
state: ResourceState;
|
|
177
183
|
}
|
|
@@ -285,6 +291,63 @@ export type Plan<Output = any> = {
|
|
|
285
291
|
destroy?: boolean;
|
|
286
292
|
};
|
|
287
293
|
|
|
294
|
+
const describeBinding = (binding: BindingNode): PlannedBinding => ({
|
|
295
|
+
sid: binding.sid,
|
|
296
|
+
action: binding.action,
|
|
297
|
+
});
|
|
298
|
+
|
|
299
|
+
/** The serializable row view of one resource node (see {@link describePlan}). */
|
|
300
|
+
export const describeResource = (node: CRUD): PlannedResource => ({
|
|
301
|
+
fqn: node.resource.FQN,
|
|
302
|
+
logicalId: node.resource.LogicalId,
|
|
303
|
+
resourceType: node.resource.Type,
|
|
304
|
+
action: node.action,
|
|
305
|
+
bindings: node.bindings.map(describeBinding),
|
|
306
|
+
providerMode: node.mode,
|
|
307
|
+
fromProviderMode:
|
|
308
|
+
node.action === "replace" &&
|
|
309
|
+
node.mode !== undefined &&
|
|
310
|
+
node.state.providerMode !== undefined &&
|
|
311
|
+
node.state.providerMode !== node.mode
|
|
312
|
+
? node.state.providerMode
|
|
313
|
+
: undefined,
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
/** The serializable row view of one stack-action node. */
|
|
317
|
+
export const describeAction = (
|
|
318
|
+
node: ActionApply | ActionDelete,
|
|
319
|
+
): PlannedAction => ({
|
|
320
|
+
fqn: node.def.FQN,
|
|
321
|
+
logicalId: node.def.LogicalId,
|
|
322
|
+
actionType: node.def.Type,
|
|
323
|
+
action: node.action,
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Serializable per-row views of a plan — everything a renderer or remote
|
|
328
|
+
* consumer needs without holding the native plan: resource rows with their
|
|
329
|
+
* bindings and provider modes, orphan deletions, and stack actions.
|
|
330
|
+
*/
|
|
331
|
+
export const describePlan = (
|
|
332
|
+
plan: Plan,
|
|
333
|
+
): {
|
|
334
|
+
readonly resources: ReadonlyArray<PlannedResource>;
|
|
335
|
+
readonly actions: ReadonlyArray<PlannedAction>;
|
|
336
|
+
} => ({
|
|
337
|
+
resources: [
|
|
338
|
+
...Object.values(plan.resources),
|
|
339
|
+
...Object.values(plan.deletions).filter(
|
|
340
|
+
(node): node is Delete => node !== undefined,
|
|
341
|
+
),
|
|
342
|
+
].map(describeResource),
|
|
343
|
+
actions: [
|
|
344
|
+
...Object.values(plan.actions ?? {}),
|
|
345
|
+
...Object.values(plan.actionDeletions ?? {}),
|
|
346
|
+
]
|
|
347
|
+
.filter((node): node is ActionApply | ActionDelete => node !== undefined)
|
|
348
|
+
.map(describeAction),
|
|
349
|
+
});
|
|
350
|
+
|
|
288
351
|
export interface MakePlanOptions {
|
|
289
352
|
force?: boolean;
|
|
290
353
|
}
|
|
@@ -295,6 +358,14 @@ export const make = <A>(
|
|
|
295
358
|
): Effect.Effect<Plan<A>, never, State> =>
|
|
296
359
|
// @ts-expect-error
|
|
297
360
|
Effect.gen(function* () {
|
|
361
|
+
// Per-resource plan progress and phase markers are reported through
|
|
362
|
+
// the ambient Progress reporter as the work happens, so a renderer can show
|
|
363
|
+
// plan computation while it runs. The default reporter is a no-op.
|
|
364
|
+
const reportPlanned = yield* Progress;
|
|
365
|
+
|
|
366
|
+
// Resolving the state service may bootstrap a remote store, and the
|
|
367
|
+
// persisted-row snapshot below reads from it — both are "loading state".
|
|
368
|
+
yield* reportPlanned({ _tag: "plan.phase", phase: "loading-state" });
|
|
298
369
|
const state = yield* yield* State;
|
|
299
370
|
|
|
300
371
|
const resources = Object.values(stack.resources);
|
|
@@ -354,7 +425,14 @@ export const make = <A>(
|
|
|
354
425
|
Type: string;
|
|
355
426
|
Mode?: ProviderMode | undefined;
|
|
356
427
|
}) {
|
|
357
|
-
const base = yield*
|
|
428
|
+
const base = yield* tryFindProviderRegistrationByType(resource.Type).pipe(
|
|
429
|
+
Effect.flatMap(
|
|
430
|
+
Option.match({
|
|
431
|
+
onNone: () => Effect.die(`Provider not found for ${resource.Type}`),
|
|
432
|
+
onSome: Effect.succeed,
|
|
433
|
+
}),
|
|
434
|
+
),
|
|
435
|
+
);
|
|
358
436
|
const mode =
|
|
359
437
|
base.modes !== undefined
|
|
360
438
|
? (resource.Mode ?? runDefaultMode)
|
|
@@ -363,6 +441,20 @@ export const make = <A>(
|
|
|
363
441
|
return { provider, mode };
|
|
364
442
|
});
|
|
365
443
|
|
|
444
|
+
// Credential-free dev: the adoption probe below runs each new row's
|
|
445
|
+
// `read` — for `Alchemy.remote()` rows that is a real cloud call, and
|
|
446
|
+
// it happens before apply's demand gate. Demand those credentials up
|
|
447
|
+
// front so a dev plan with nothing configured fails with the typed
|
|
448
|
+
// CredentialsRequired rather than the first read's raw auth error.
|
|
449
|
+
if (runDefaultMode === "local") {
|
|
450
|
+
const remote: Array<{ Type: string; FQN: string }> = [];
|
|
451
|
+
for (const resource of resources) {
|
|
452
|
+
const { mode } = yield* resolveProviderAndMode(resource);
|
|
453
|
+
if (mode === "live") remote.push(resource);
|
|
454
|
+
}
|
|
455
|
+
if (remote.length > 0) yield* demandRemoteCredentials(remote);
|
|
456
|
+
}
|
|
457
|
+
|
|
366
458
|
/**
|
|
367
459
|
* Has this resource switched provider modes since it was last
|
|
368
460
|
* reconciled? Rows without a persisted mode were written by a
|
|
@@ -401,6 +493,8 @@ export const make = <A>(
|
|
|
401
493
|
resourceFqns.map((fqn, i) => [fqn, oldResources[i]]),
|
|
402
494
|
);
|
|
403
495
|
|
|
496
|
+
yield* reportPlanned({ _tag: "plan.phase", phase: "computing-plan" });
|
|
497
|
+
|
|
404
498
|
// ── FQN renames ──────────────────────────────────────────────────────
|
|
405
499
|
// Map every former FQN claimed via `renamedFrom(...)` to its claimant's
|
|
406
500
|
// current FQN. Two resources claiming the same former FQN is ambiguous
|
|
@@ -456,7 +550,7 @@ export const make = <A>(
|
|
|
456
550
|
|
|
457
551
|
const resolveRenamer = Effect.fn(function* (resource: ResourceLike) {
|
|
458
552
|
const provider = Option.getOrUndefined(
|
|
459
|
-
yield*
|
|
553
|
+
yield* tryFindProviderRegistrationByType(resource.Type),
|
|
460
554
|
);
|
|
461
555
|
const allowedTypes = new Set([
|
|
462
556
|
resource.Type,
|
|
@@ -596,6 +690,10 @@ export const make = <A>(
|
|
|
596
690
|
return { row, renamedFrom: undefined, renameMoved: false };
|
|
597
691
|
});
|
|
598
692
|
|
|
693
|
+
// Shared resolutions run in fibers of the plan's own scope (see
|
|
694
|
+
// `cachedInScope`): a diff that fails or is cancelled must not take the
|
|
695
|
+
// resolution every other diff is waiting on down with it.
|
|
696
|
+
const memoScope = yield* Effect.scope;
|
|
599
697
|
const resolvedResources: Record<string, Effect.Effect<any>> = {};
|
|
600
698
|
|
|
601
699
|
const resolveResource = (
|
|
@@ -610,7 +708,7 @@ export const make = <A>(
|
|
|
610
708
|
}
|
|
611
709
|
// @ts-expect-error
|
|
612
710
|
return yield* (resolvedResources[resourceExpr.src.FQN] ??=
|
|
613
|
-
yield*
|
|
711
|
+
yield* cachedInScope(memoScope)(
|
|
614
712
|
Effect.gen(function* () {
|
|
615
713
|
const resource = resourceExpr.src;
|
|
616
714
|
|
|
@@ -749,7 +847,7 @@ export const make = <A>(
|
|
|
749
847
|
// here so the concrete value flows into diffing/hashing (an opaque
|
|
750
848
|
// Config hashes the same regardless of the underlying value) and so
|
|
751
849
|
// providers receive a resolved value instead of a Config object.
|
|
752
|
-
// `Config.
|
|
850
|
+
// `Config.Redacted` resolves to a `Redacted`, which stays opaque via
|
|
753
851
|
// the branch below.
|
|
754
852
|
return yield* resolveInput(yield* input, ancestors);
|
|
755
853
|
} else if (isResource(input)) {
|
|
@@ -1074,590 +1172,653 @@ export const make = <A>(
|
|
|
1074
1172
|
),
|
|
1075
1173
|
]);
|
|
1076
1174
|
|
|
1077
|
-
const
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1175
|
+
const plannedCount = yield* Ref.make(0);
|
|
1176
|
+
const resourcePlanned = (node: CRUD) =>
|
|
1177
|
+
Ref.updateAndGet(plannedCount, (count) => count + 1).pipe(
|
|
1178
|
+
Effect.flatMap((completed) =>
|
|
1179
|
+
reportPlanned({
|
|
1180
|
+
_tag: "plan.resource.completed",
|
|
1181
|
+
...describeResource(node),
|
|
1182
|
+
completed,
|
|
1183
|
+
total: resources.length,
|
|
1184
|
+
}),
|
|
1185
|
+
),
|
|
1186
|
+
);
|
|
1187
|
+
|
|
1188
|
+
const diffResource = Effect.fn("plan.diff.resource")(function* (
|
|
1189
|
+
resource: ResourceLike,
|
|
1190
|
+
) {
|
|
1191
|
+
const { provider, mode } = yield* resolveProviderAndMode(resource);
|
|
1192
|
+
const id = resource.LogicalId;
|
|
1193
|
+
const fqn = resource.FQN;
|
|
1194
|
+
// Paired with the resource-planned completion below so renderers can
|
|
1195
|
+
// show what is actually in flight (diffs may read the cloud and run
|
|
1196
|
+
// concurrently — completions alone hide the slow tail).
|
|
1197
|
+
yield* reportPlanned({
|
|
1198
|
+
_tag: "plan.resource.started",
|
|
1199
|
+
fqn,
|
|
1200
|
+
logicalId: id,
|
|
1201
|
+
resourceType: resource.Type,
|
|
1202
|
+
total: resources.length,
|
|
1203
|
+
});
|
|
1204
|
+
// Apply-facing props (stored on the plan node): whole-resource
|
|
1205
|
+
// references to updating upstreams stay evaluable `ResourceExpr`s.
|
|
1206
|
+
// Apply runs `Output.evaluate(node.props, outputs)` right before
|
|
1207
|
+
// `reconcile`, so these references resolve to the upstream's
|
|
1208
|
+
// fresh post-reconcile attributes.
|
|
1209
|
+
const applyProps = yield* resolveInput(resource.Props);
|
|
1210
|
+
// Diff-facing view of the same resolution: stable attributes
|
|
1211
|
+
// materialized so their known values flow into `diff` /
|
|
1212
|
+
// `havePropsChanged`.
|
|
1213
|
+
const news = materializeStableRefs(applyProps);
|
|
1214
|
+
const downstream = newDownstreamDependencies[fqn] ?? [];
|
|
1215
|
+
|
|
1216
|
+
// Apply-facing binding rows, mirroring `applyProps`: payloads
|
|
1217
|
+
// whose data embeds a whole-resource reference to an updating
|
|
1218
|
+
// upstream keep it as an evaluable `ResourceExpr`. Apply runs
|
|
1219
|
+
// `Output.evaluate(node.bindings, outputs)` right before
|
|
1220
|
+
// `reconcile`, so the host receives the upstream's fresh
|
|
1221
|
+
// post-reconcile attributes. Collapse duplicates by sid so the
|
|
1222
|
+
// binding set handed to `diff` matches what `reconcile` receives
|
|
1223
|
+
// (see `dedupeBindings`).
|
|
1224
|
+
const applyBindings: ResourceBinding[] = dedupeBindings(
|
|
1225
|
+
yield* resolveInput(stack.bindings[fqn] ?? []),
|
|
1226
|
+
);
|
|
1227
|
+
// Diff-facing view of the same rows: stable attributes
|
|
1228
|
+
// materialized so `diffBindings` / `provider.diff` compare known
|
|
1229
|
+
// values. Terminal commits still persist the payload the provider
|
|
1230
|
+
// actually reconciled with (#874) — Apply commits the evaluated
|
|
1231
|
+
// `bindingOutputs`, not these plan-time shapes.
|
|
1232
|
+
const newBindings: ResourceBinding[] =
|
|
1233
|
+
materializeStableRefs(applyBindings);
|
|
1234
|
+
// The row is looked up at the resource's FQN with a fallback to
|
|
1235
|
+
// its former FQNs (`renamedFrom`); a row found under a former
|
|
1236
|
+
// FQN arrives here already remapped to the new identity, and
|
|
1237
|
+
// `renamedFrom` rides onto the plan node so apply persists the
|
|
1238
|
+
// move. (A Task previously holding this FQN is treated as no
|
|
1239
|
+
// prior state — its row is reaped by `actionDeletions` below.)
|
|
1240
|
+
const {
|
|
1241
|
+
row: persistedRow,
|
|
1242
|
+
renamedFrom,
|
|
1243
|
+
renameMoved,
|
|
1244
|
+
} = yield* getPersistedRow(resource);
|
|
1245
|
+
let oldState: ResourceState | undefined = persistedRow;
|
|
1246
|
+
|
|
1247
|
+
// Engine-level adoption. When there is no prior state, always
|
|
1248
|
+
// consult `provider.read` (if implemented) so the engine — not
|
|
1249
|
+
// each lifecycle method — owns the existence/ownership decision.
|
|
1250
|
+
//
|
|
1251
|
+
// The provider returns one of:
|
|
1252
|
+
// - `undefined` → resource doesn't exist; create it
|
|
1253
|
+
// - plain attrs → exists and is owned by us; silent adopt
|
|
1254
|
+
// - `Unowned(attrs)` → exists but is *not* ours
|
|
1255
|
+
//
|
|
1256
|
+
// Routing:
|
|
1257
|
+
// - owned → adopt the `created` state
|
|
1258
|
+
// from attrs and continue
|
|
1259
|
+
// through the normal diff
|
|
1260
|
+
// path (so subsequent props
|
|
1261
|
+
// drift produces an update).
|
|
1262
|
+
// - unowned + adopt enabled → take over: adopt the
|
|
1263
|
+
// `created` state and let the
|
|
1264
|
+
// next update overwrite tags.
|
|
1265
|
+
// - unowned + adopt disabled → fail with
|
|
1266
|
+
// `OwnedBySomeoneElse`.
|
|
1267
|
+
//
|
|
1268
|
+
// Plan construction is side-effect-free: the adopted `created`
|
|
1269
|
+
// state is only held in-memory here (to drive the diff) and rides
|
|
1270
|
+
// onto the plan node as `node.state`. Persisting it to the state
|
|
1271
|
+
// store happens exclusively during APPLY of that node (the update
|
|
1272
|
+
// lifecycle commits `updating` / `updated` carrying this state).
|
|
1273
|
+
// If planning persisted here, a mere `alchemy plan` / `--dry-run`
|
|
1274
|
+
// would claim ownership of an unowned cloud resource, arming a
|
|
1275
|
+
// later unrelated deploy to orphan-delete it. See
|
|
1276
|
+
// https://github.com/alchemy-run/alchemy/issues/793.
|
|
1277
|
+
//
|
|
1278
|
+
// After a cold-start adoption (engine just discovered an
|
|
1279
|
+
// existing cloud resource via `read`), force the engine's
|
|
1280
|
+
// normal `update` path so the provider can re-sync ownership
|
|
1281
|
+
// tags, configuration, etc. against the desired props.
|
|
1282
|
+
// Adoption carries state with `props: news`, so the default
|
|
1283
|
+
// diff sees no drift and would noop — which would leave any
|
|
1284
|
+
// foreign-owned tags / divergent config in place. Forcing
|
|
1285
|
+
// update keeps the deploy idempotent: if cloud state already
|
|
1286
|
+
// matches news, the provider's update is a no-op write.
|
|
1287
|
+
//
|
|
1288
|
+
// Skip the adoption probe entirely when `news` still contains
|
|
1289
|
+
// unresolved upstream Outputs (e.g. a `streamArn` referencing
|
|
1290
|
+
// a stream being created in the same plan). Calling `read` with
|
|
1291
|
+
// an unresolved value would surface as `ParseError` from the
|
|
1292
|
+
// SDK protocol layer. Resources whose props depend on
|
|
1293
|
+
// not-yet-created upstreams cannot themselves be pre-existing
|
|
1294
|
+
// — there's nothing to adopt.
|
|
1295
|
+
// A resource declared at a former FQN whose row just migrated
|
|
1296
|
+
// away is genuinely NEW by declaration — skip the probe. Its
|
|
1297
|
+
// predecessor's physical resource still carries tags branded
|
|
1298
|
+
// with THIS logical id (the migrated row's reconcile hasn't
|
|
1299
|
+
// re-branded them yet), so a tag-based `read` would find it
|
|
1300
|
+
// and silently adopt the very resource that was renamed away.
|
|
1301
|
+
const reusesMigratedFqn = migratedRowFqns.has(fqn);
|
|
1302
|
+
let forceUpdateAfterAdoption = false;
|
|
1303
|
+
if (
|
|
1304
|
+
oldState === undefined &&
|
|
1305
|
+
provider.read &&
|
|
1306
|
+
isResolved(news) &&
|
|
1307
|
+
!reusesMigratedFqn
|
|
1308
|
+
) {
|
|
1309
|
+
const adoptInstanceId = yield* generateInstanceId();
|
|
1310
|
+
const readResult = yield* provider
|
|
1311
|
+
.read({
|
|
1312
|
+
id,
|
|
1313
|
+
fqn,
|
|
1314
|
+
instanceId: adoptInstanceId,
|
|
1315
|
+
olds: news,
|
|
1316
|
+
output: undefined,
|
|
1317
|
+
})
|
|
1318
|
+
.pipe(providePlanScope(fqn, adoptInstanceId));
|
|
1319
|
+
if (readResult !== undefined) {
|
|
1320
|
+
const isUnowned = Unowned.is(readResult);
|
|
1321
|
+
// A resource-scoped `adopt(...)` (captured on the resource at
|
|
1322
|
+
// registration) overrides the stack/CLI default.
|
|
1323
|
+
const adoptThis = resource.Adopt ?? (yield* shouldAdopt);
|
|
1324
|
+
if (isUnowned && !adoptThis) {
|
|
1325
|
+
return yield* new OwnedBySomeoneElse({
|
|
1326
|
+
message:
|
|
1327
|
+
`Cannot adopt resource '${fqn}' (${resource.Type}): ` +
|
|
1328
|
+
"it exists in the cloud but is not owned by this " +
|
|
1329
|
+
"stack/stage/logical-id. Re-run with `--adopt` (or " +
|
|
1330
|
+
"wrap the effect in `adopt(true)`) to take it over.",
|
|
1331
|
+
resourceType: resource.Type,
|
|
1332
|
+
logicalId: id,
|
|
1333
|
+
});
|
|
1334
|
+
}
|
|
1335
|
+
const adoptedState = {
|
|
1336
|
+
status: "created" as const,
|
|
1337
|
+
fqn,
|
|
1338
|
+
logicalId: id,
|
|
1339
|
+
instanceId: adoptInstanceId,
|
|
1340
|
+
namespace: resource.Namespace,
|
|
1341
|
+
resourceType: resource.Type,
|
|
1342
|
+
props: news,
|
|
1343
|
+
attr: stripUnowned(readResult),
|
|
1344
|
+
providerVersion: provider.version ?? 0,
|
|
1345
|
+
bindings: [],
|
|
1346
|
+
downstream,
|
|
1347
|
+
removalPolicy: resource.RemovalPolicy,
|
|
1348
|
+
providerMode: mode,
|
|
1349
|
+
} satisfies CreatedResourceState;
|
|
1350
|
+
// In-memory only — do NOT persist here. Plan.make runs for
|
|
1351
|
+
// `alchemy plan` / `deploy --dry-run` too, so a `state.set`
|
|
1352
|
+
// would mutate persistent state during a read-only preview.
|
|
1353
|
+
// The adopted state rides onto the plan node via `oldState`
|
|
1354
|
+
// (→ `node.state`) and is persisted at APPLY time by the
|
|
1355
|
+
// update lifecycle's `updating` / `updated` commits. See
|
|
1356
|
+
// https://github.com/alchemy-run/alchemy/issues/793.
|
|
1357
|
+
oldState = adoptedState;
|
|
1358
|
+
forceUpdateAfterAdoption = true;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
// Sid-sorted like `newBindings` (see the resolveResource note).
|
|
1363
|
+
const oldBindings = dedupeBindings(oldState?.bindings ?? []);
|
|
1364
|
+
// Actions come from the materialized comparison (`newBindings`);
|
|
1365
|
+
// the payloads the node carries into Apply come from the
|
|
1366
|
+
// apply-faithful rows, joined by sid — both are views of the same
|
|
1367
|
+
// deduped `stack.bindings[fqn]` rows, so action and payload can
|
|
1368
|
+
// never drift. `delete` rows keep the persisted old data.
|
|
1369
|
+
const applyBindingData = new Map(
|
|
1370
|
+
applyBindings.map((b) => [b.sid, b.data]),
|
|
1371
|
+
);
|
|
1372
|
+
const bindingDiffs = diffBindings(oldBindings, newBindings).map((b) =>
|
|
1373
|
+
b.action === "delete" || !applyBindingData.has(b.sid)
|
|
1374
|
+
? b
|
|
1375
|
+
: { ...b, data: applyBindingData.get(b.sid) },
|
|
1376
|
+
);
|
|
1377
|
+
|
|
1378
|
+
// Local ⇄ live switch: the persisted row was reconciled by a
|
|
1379
|
+
// different provider mode than the one resolved for this run.
|
|
1380
|
+
// The two runtimes host distinct physical instances, so this is
|
|
1381
|
+
// always a replacement — the new instance is created with the
|
|
1382
|
+
// new mode's provider, and Apply deletes the old generation
|
|
1383
|
+
// with the provider of the mode that created it (see
|
|
1384
|
+
// `deleteOldGenerations` / `collectGarbage`).
|
|
1385
|
+
const modeSwitched = hasModeSwitched(mode, oldState);
|
|
1386
|
+
|
|
1387
|
+
const Node = <T extends Apply>(
|
|
1388
|
+
node: Omit<
|
|
1389
|
+
T,
|
|
1390
|
+
"provider" | "resource" | "bindings" | "downstream" | "mode"
|
|
1391
|
+
>,
|
|
1392
|
+
) =>
|
|
1393
|
+
({
|
|
1394
|
+
...node,
|
|
1395
|
+
provider,
|
|
1396
|
+
resource,
|
|
1397
|
+
bindings: bindingDiffs,
|
|
1398
|
+
downstream,
|
|
1399
|
+
mode,
|
|
1400
|
+
renamedFrom,
|
|
1401
|
+
}) as any as T;
|
|
1402
|
+
|
|
1403
|
+
// Plan against the persisted state we have, not the ideal final state we
|
|
1404
|
+
// hoped to reach last time. Recovery is expressed by mapping each
|
|
1405
|
+
// intermediate state back onto a fresh CRUD action.
|
|
1406
|
+
if (oldState === undefined) {
|
|
1407
|
+
return Node<Create>({
|
|
1408
|
+
action: "create",
|
|
1409
|
+
props: applyProps,
|
|
1410
|
+
state: oldState,
|
|
1411
|
+
});
|
|
1412
|
+
} else if (
|
|
1413
|
+
!modeSwitched &&
|
|
1414
|
+
oldState.status === "creating" &&
|
|
1415
|
+
oldState.attr === undefined
|
|
1416
|
+
) {
|
|
1417
|
+
// A create may have succeeded before state persistence failed. If the
|
|
1418
|
+
// provider can recover an attribute snapshot, keep driving the same
|
|
1419
|
+
// create instead of starting over blindly.
|
|
1420
|
+
//
|
|
1421
|
+
// `creating` state persists the RAW plan-time props, which may
|
|
1422
|
+
// still contain unresolved Output expressions (e.g. a name
|
|
1423
|
+
// referencing an upstream created in the same failed deploy).
|
|
1424
|
+
// `read` implementations derive identity from `olds` when
|
|
1425
|
+
// `output` is undefined (as it is here), so handing them
|
|
1426
|
+
// unresolved exprs crashes. Skip the probe — same behavior as
|
|
1427
|
+
// a read that found nothing — and re-drive the create.
|
|
1428
|
+
if (provider.read && isResolved(oldState.props)) {
|
|
1429
|
+
const attr = yield* provider
|
|
1430
|
+
.read({
|
|
1431
|
+
id,
|
|
1432
|
+
fqn,
|
|
1433
|
+
instanceId: oldState.instanceId,
|
|
1434
|
+
olds: oldState.props,
|
|
1435
|
+
output: oldState.attr,
|
|
1436
|
+
})
|
|
1437
|
+
.pipe(
|
|
1438
|
+
providePlanScope(fqn, oldState.instanceId),
|
|
1439
|
+
// `creating` props pass `isResolved` yet can still carry
|
|
1440
|
+
// holes where unresolved Outputs were stripped at commit
|
|
1441
|
+
// time (see stripUnresolved) — e.g. a parent reference
|
|
1442
|
+
// persisted as `{}`. A provider that dereferences one
|
|
1443
|
+
// crashes deep inside its SDK client (a SchemaError
|
|
1444
|
+
// defect), which would brick every subsequent plan on
|
|
1445
|
+
// the stage. Recovery is best-effort: degrade the defect
|
|
1446
|
+
// to "nothing recovered" and re-drive the create (#995).
|
|
1447
|
+
Effect.catchDefect((defect) =>
|
|
1448
|
+
Effect.logWarning(
|
|
1449
|
+
`Recovery read for '${fqn}' crashed; treating the ` +
|
|
1450
|
+
"interrupted create as not recoverable and " +
|
|
1451
|
+
"re-driving it.",
|
|
1452
|
+
defect,
|
|
1453
|
+
).pipe(Effect.as(undefined)),
|
|
1454
|
+
),
|
|
1106
1455
|
);
|
|
1107
|
-
|
|
1108
|
-
//
|
|
1109
|
-
//
|
|
1110
|
-
//
|
|
1111
|
-
//
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
let oldState: ResourceState | undefined = persistedRow;
|
|
1126
|
-
|
|
1127
|
-
// Engine-level adoption. When there is no prior state, always
|
|
1128
|
-
// consult `provider.read` (if implemented) so the engine — not
|
|
1129
|
-
// each lifecycle method — owns the existence/ownership decision.
|
|
1130
|
-
//
|
|
1131
|
-
// The provider returns one of:
|
|
1132
|
-
// - `undefined` → resource doesn't exist; create it
|
|
1133
|
-
// - plain attrs → exists and is owned by us; silent adopt
|
|
1134
|
-
// - `Unowned(attrs)` → exists but is *not* ours
|
|
1135
|
-
//
|
|
1136
|
-
// Routing:
|
|
1137
|
-
// - owned → adopt the `created` state
|
|
1138
|
-
// from attrs and continue
|
|
1139
|
-
// through the normal diff
|
|
1140
|
-
// path (so subsequent props
|
|
1141
|
-
// drift produces an update).
|
|
1142
|
-
// - unowned + adopt enabled → take over: adopt the
|
|
1143
|
-
// `created` state and let the
|
|
1144
|
-
// next update overwrite tags.
|
|
1145
|
-
// - unowned + adopt disabled → fail with
|
|
1146
|
-
// `OwnedBySomeoneElse`.
|
|
1147
|
-
//
|
|
1148
|
-
// Plan construction is side-effect-free: the adopted `created`
|
|
1149
|
-
// state is only held in-memory here (to drive the diff) and rides
|
|
1150
|
-
// onto the plan node as `node.state`. Persisting it to the state
|
|
1151
|
-
// store happens exclusively during APPLY of that node (the update
|
|
1152
|
-
// lifecycle commits `updating` / `updated` carrying this state).
|
|
1153
|
-
// If planning persisted here, a mere `alchemy plan` / `--dry-run`
|
|
1154
|
-
// would claim ownership of an unowned cloud resource, arming a
|
|
1155
|
-
// later unrelated deploy to orphan-delete it. See
|
|
1156
|
-
// https://github.com/alchemy-run/alchemy/issues/793.
|
|
1157
|
-
//
|
|
1158
|
-
// After a cold-start adoption (engine just discovered an
|
|
1159
|
-
// existing cloud resource via `read`), force the engine's
|
|
1160
|
-
// normal `update` path so the provider can re-sync ownership
|
|
1161
|
-
// tags, configuration, etc. against the desired props.
|
|
1162
|
-
// Adoption carries state with `props: news`, so the default
|
|
1163
|
-
// diff sees no drift and would noop — which would leave any
|
|
1164
|
-
// foreign-owned tags / divergent config in place. Forcing
|
|
1165
|
-
// update keeps the deploy idempotent: if cloud state already
|
|
1166
|
-
// matches news, the provider's update is a no-op write.
|
|
1167
|
-
//
|
|
1168
|
-
// Skip the adoption probe entirely when `news` still contains
|
|
1169
|
-
// unresolved upstream Outputs (e.g. a `streamArn` referencing
|
|
1170
|
-
// a stream being created in the same plan). Calling `read` with
|
|
1171
|
-
// an unresolved value would surface as `ParseError` from the
|
|
1172
|
-
// SDK protocol layer. Resources whose props depend on
|
|
1173
|
-
// not-yet-created upstreams cannot themselves be pre-existing
|
|
1174
|
-
// — there's nothing to adopt.
|
|
1175
|
-
// A resource declared at a former FQN whose row just migrated
|
|
1176
|
-
// away is genuinely NEW by declaration — skip the probe. Its
|
|
1177
|
-
// predecessor's physical resource still carries tags branded
|
|
1178
|
-
// with THIS logical id (the migrated row's reconcile hasn't
|
|
1179
|
-
// re-branded them yet), so a tag-based `read` would find it
|
|
1180
|
-
// and silently adopt the very resource that was renamed away.
|
|
1181
|
-
const reusesMigratedFqn = migratedRowFqns.has(fqn);
|
|
1182
|
-
let forceUpdateAfterAdoption = false;
|
|
1183
|
-
if (
|
|
1184
|
-
oldState === undefined &&
|
|
1185
|
-
provider.read &&
|
|
1186
|
-
isResolved(news) &&
|
|
1187
|
-
!reusesMigratedFqn
|
|
1188
|
-
) {
|
|
1189
|
-
const adoptInstanceId = yield* generateInstanceId();
|
|
1190
|
-
const readResult = yield* provider
|
|
1191
|
-
.read({
|
|
1192
|
-
id,
|
|
1193
|
-
fqn,
|
|
1194
|
-
instanceId: adoptInstanceId,
|
|
1195
|
-
olds: news,
|
|
1196
|
-
output: undefined,
|
|
1197
|
-
})
|
|
1198
|
-
.pipe(providePlanScope(fqn, adoptInstanceId));
|
|
1199
|
-
if (readResult !== undefined) {
|
|
1200
|
-
const isUnowned = Unowned.is(readResult);
|
|
1201
|
-
// A resource-scoped `adopt(...)` (captured on the resource at
|
|
1202
|
-
// registration) overrides the stack/CLI default.
|
|
1203
|
-
const adoptThis = resource.Adopt ?? (yield* shouldAdopt);
|
|
1204
|
-
if (isUnowned && !adoptThis) {
|
|
1205
|
-
return yield* new OwnedBySomeoneElse({
|
|
1206
|
-
message:
|
|
1207
|
-
`Cannot adopt resource '${fqn}' (${resource.Type}): ` +
|
|
1208
|
-
"it exists in the cloud but is not owned by this " +
|
|
1209
|
-
"stack/stage/logical-id. Re-run with `--adopt` (or " +
|
|
1210
|
-
"wrap the effect in `adopt(true)`) to take it over.",
|
|
1211
|
-
resourceType: resource.Type,
|
|
1212
|
-
logicalId: id,
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
const adoptedState = {
|
|
1216
|
-
status: "created" as const,
|
|
1217
|
-
fqn,
|
|
1218
|
-
logicalId: id,
|
|
1219
|
-
instanceId: adoptInstanceId,
|
|
1220
|
-
namespace: resource.Namespace,
|
|
1456
|
+
if (attr !== undefined) {
|
|
1457
|
+
// The recovered resource may be foreign: our interrupted
|
|
1458
|
+
// create could have lost a name race, or died before
|
|
1459
|
+
// stamping ownership. Route `Unowned` through the same
|
|
1460
|
+
// adoption table as the cold-start probe above — never
|
|
1461
|
+
// silently take over (and later mutate/delete) a resource
|
|
1462
|
+
// we cannot prove we created.
|
|
1463
|
+
if (Unowned.is(attr)) {
|
|
1464
|
+
const adoptThis = resource.Adopt ?? (yield* shouldAdopt);
|
|
1465
|
+
if (!adoptThis) {
|
|
1466
|
+
return yield* new OwnedBySomeoneElse({
|
|
1467
|
+
message:
|
|
1468
|
+
`Cannot resume creating resource '${fqn}' ` +
|
|
1469
|
+
`(${resource.Type}): a resource with its physical ` +
|
|
1470
|
+
"identity exists in the cloud but is not owned by " +
|
|
1471
|
+
"this stack/stage/logical-id. Re-run with `--adopt` " +
|
|
1472
|
+
"(or wrap the effect in `adopt(true)`) to take it " +
|
|
1473
|
+
"over.",
|
|
1221
1474
|
resourceType: resource.Type,
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
providerVersion: provider.version ?? 0,
|
|
1225
|
-
bindings: [],
|
|
1226
|
-
downstream,
|
|
1227
|
-
removalPolicy: resource.RemovalPolicy,
|
|
1228
|
-
providerMode: mode,
|
|
1229
|
-
} satisfies CreatedResourceState;
|
|
1230
|
-
// In-memory only — do NOT persist here. Plan.make runs for
|
|
1231
|
-
// `alchemy plan` / `deploy --dry-run` too, so a `state.set`
|
|
1232
|
-
// would mutate persistent state during a read-only preview.
|
|
1233
|
-
// The adopted state rides onto the plan node via `oldState`
|
|
1234
|
-
// (→ `node.state`) and is persisted at APPLY time by the
|
|
1235
|
-
// update lifecycle's `updating` / `updated` commits. See
|
|
1236
|
-
// https://github.com/alchemy-run/alchemy/issues/793.
|
|
1237
|
-
oldState = adoptedState;
|
|
1238
|
-
forceUpdateAfterAdoption = true;
|
|
1475
|
+
logicalId: id,
|
|
1476
|
+
});
|
|
1239
1477
|
}
|
|
1240
1478
|
}
|
|
1479
|
+
// Continue through the normal diff below with the recovered
|
|
1480
|
+
// live snapshot. Desired props may have changed while the
|
|
1481
|
+
// previous create was interrupted; bypassing diff here can
|
|
1482
|
+
// drive an immutable change through reconcile and falsely
|
|
1483
|
+
// persist the old physical resource as converged.
|
|
1484
|
+
oldState = { ...oldState, attr: stripUnowned(attr) };
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1241
1488
|
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1489
|
+
// Diff against whatever props represent the best-known current attempt.
|
|
1490
|
+
// For replacement recovery that means the top-level replacement props,
|
|
1491
|
+
// not the older generations stored under `old`.
|
|
1492
|
+
const oldProps = oldState.props;
|
|
1493
|
+
|
|
1494
|
+
// On a mode switch the provider diff is skipped entirely:
|
|
1495
|
+
// comparing props across runtimes is meaningless (and the new
|
|
1496
|
+
// mode's provider has never seen the old mode's state). The
|
|
1497
|
+
// action is a replacement by definition.
|
|
1498
|
+
const diff = modeSwitched
|
|
1499
|
+
? ({
|
|
1500
|
+
action: "replace",
|
|
1501
|
+
deleteFirst: false,
|
|
1502
|
+
} satisfies ReplaceDiff)
|
|
1503
|
+
: yield* asEffect(
|
|
1504
|
+
provider
|
|
1505
|
+
?.diff?.({
|
|
1506
|
+
id,
|
|
1507
|
+
fqn,
|
|
1508
|
+
olds: oldProps,
|
|
1509
|
+
instanceId: oldState.instanceId,
|
|
1510
|
+
output: oldState.attr,
|
|
1511
|
+
news,
|
|
1512
|
+
oldBindings,
|
|
1513
|
+
newBindings,
|
|
1514
|
+
})
|
|
1515
|
+
.pipe(providePlanScope(fqn, oldState.instanceId)),
|
|
1516
|
+
).pipe(
|
|
1517
|
+
Effect.map(
|
|
1518
|
+
(diff) =>
|
|
1519
|
+
diff ??
|
|
1520
|
+
({
|
|
1521
|
+
action:
|
|
1522
|
+
havePropsChanged(oldProps, news) ||
|
|
1523
|
+
bindingDiffs.some((b) => b.action !== "noop")
|
|
1524
|
+
? "update"
|
|
1525
|
+
: "noop",
|
|
1526
|
+
} as UpdateDiff | NoopDiff),
|
|
1527
|
+
),
|
|
1528
|
+
Effect.map((diff) =>
|
|
1529
|
+
options.force && diff.action === "noop"
|
|
1530
|
+
? ({
|
|
1531
|
+
action: "update",
|
|
1532
|
+
} satisfies UpdateDiff)
|
|
1533
|
+
: diff,
|
|
1534
|
+
),
|
|
1535
|
+
// After a cold-start adoption (silent or takeover), force at
|
|
1536
|
+
// least an update so the provider re-syncs ownership tags /
|
|
1537
|
+
// config against the desired props (otherwise the engine
|
|
1538
|
+
// would noop and any drift between the existing cloud
|
|
1539
|
+
// resource and `news` — including foreign-owned tags after a
|
|
1540
|
+
// takeover — would persist).
|
|
1541
|
+
//
|
|
1542
|
+
// A row that just migrated from a former FQN (`renameMoved`)
|
|
1543
|
+
// gets the same treatment: its cloud resource is still
|
|
1544
|
+
// branded with the OLD logical id's tags, and if the old id
|
|
1545
|
+
// is being reused by a new resource, leaving them stale
|
|
1546
|
+
// would let the reuser's future adoption probes match the
|
|
1547
|
+
// wrong physical resource.
|
|
1548
|
+
Effect.map((diff) =>
|
|
1549
|
+
(forceUpdateAfterAdoption || renameMoved) &&
|
|
1550
|
+
diff.action === "noop"
|
|
1551
|
+
? ({ action: "update" } satisfies UpdateDiff)
|
|
1552
|
+
: diff,
|
|
1553
|
+
),
|
|
1554
|
+
);
|
|
1258
1555
|
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1556
|
+
if (oldState.status === "creating") {
|
|
1557
|
+
if (diff.action === "noop") {
|
|
1558
|
+
// we're in the creating state and props are un-changed
|
|
1559
|
+
// let's just continue where we left off
|
|
1560
|
+
return Node<Create>({
|
|
1561
|
+
action: "create",
|
|
1562
|
+
props: applyProps,
|
|
1563
|
+
state: oldState,
|
|
1564
|
+
});
|
|
1565
|
+
} else if (diff.action === "update") {
|
|
1566
|
+
// props have changed in a way that is updatable
|
|
1567
|
+
// again, just continue with the create
|
|
1568
|
+
// TODO(sam): should we maybe try an update instead?
|
|
1569
|
+
return Node<Create>({
|
|
1570
|
+
action: "create",
|
|
1571
|
+
props: applyProps,
|
|
1572
|
+
state: oldState,
|
|
1573
|
+
});
|
|
1574
|
+
} else {
|
|
1575
|
+
// props have changed in an incompatible way
|
|
1576
|
+
// because it's possible that an un-updatable resource has already been created
|
|
1577
|
+
// we must use a replace step to create a new one and delete the potential old one
|
|
1578
|
+
return Node<Replace>({
|
|
1579
|
+
action: "replace",
|
|
1580
|
+
props: applyProps,
|
|
1581
|
+
deleteFirst: diff.deleteFirst ?? false,
|
|
1582
|
+
state: oldState,
|
|
1583
|
+
});
|
|
1584
|
+
}
|
|
1585
|
+
} else if (oldState.status === "updating") {
|
|
1586
|
+
// Updating already targets the live resource, so noop/update both mean
|
|
1587
|
+
// "finish the interrupted update". Only a replace diff escalates it
|
|
1588
|
+
// into a fresh replacement.
|
|
1589
|
+
if (diff.action === "update" || diff.action === "noop") {
|
|
1590
|
+
// we can continue where we left off
|
|
1591
|
+
return Node<Update>({
|
|
1592
|
+
action: "update",
|
|
1593
|
+
props: applyProps,
|
|
1594
|
+
state: oldState,
|
|
1595
|
+
});
|
|
1596
|
+
} else {
|
|
1597
|
+
// we started to update a resource but now believe we should replace it
|
|
1598
|
+
return Node<Replace>({
|
|
1599
|
+
action: "replace",
|
|
1600
|
+
deleteFirst: diff.deleteFirst ?? false,
|
|
1601
|
+
props: applyProps,
|
|
1602
|
+
// TODO(sam): can Apply handle replacements when the oldState is UpdatingResourceState?
|
|
1603
|
+
// -> or should we do a provider.read to try and reconcile back to UpdatedResourceState?
|
|
1604
|
+
state: oldState,
|
|
1605
|
+
});
|
|
1606
|
+
}
|
|
1607
|
+
} else if (oldState.status === "replacing") {
|
|
1608
|
+
// The replacement candidate is still being created. Noop/update keep
|
|
1609
|
+
// driving the same generation; replace means that candidate itself is
|
|
1610
|
+
// now obsolete and must be wrapped in a new outer generation.
|
|
1611
|
+
if (diff.action === "noop") {
|
|
1612
|
+
// this is the stable case - noop means just continue with the replacement
|
|
1613
|
+
return Node<Replace>({
|
|
1614
|
+
action: "replace",
|
|
1615
|
+
deleteFirst: oldState.deleteFirst,
|
|
1616
|
+
props: applyProps,
|
|
1617
|
+
state: oldState,
|
|
1618
|
+
});
|
|
1619
|
+
} else if (diff.action === "update") {
|
|
1620
|
+
// potential problem here - the props have changed since we tried to replace,
|
|
1621
|
+
// but not enough to trigger another replacement. the resource provider should
|
|
1622
|
+
// be designed as idempotent to converge to the right state when creating the new resource
|
|
1623
|
+
// the newly generated instanceId is intended to assist with this
|
|
1624
|
+
return Node<Replace>({
|
|
1625
|
+
action: "replace",
|
|
1626
|
+
deleteFirst: oldState.deleteFirst,
|
|
1627
|
+
props: applyProps,
|
|
1628
|
+
state: oldState,
|
|
1629
|
+
});
|
|
1630
|
+
} else {
|
|
1631
|
+
// The in-flight replacement candidate itself now needs replacement.
|
|
1632
|
+
// Mark this as a restart so Apply creates a fresh generation instead
|
|
1633
|
+
// of resuming the old replacement instance.
|
|
1634
|
+
return Node<Replace>({
|
|
1635
|
+
restart: true,
|
|
1636
|
+
action: "replace",
|
|
1637
|
+
deleteFirst: diff.deleteFirst ?? oldState.deleteFirst,
|
|
1638
|
+
props: applyProps,
|
|
1639
|
+
state: oldState,
|
|
1640
|
+
});
|
|
1641
|
+
}
|
|
1642
|
+
} else if (oldState.status === "replaced") {
|
|
1643
|
+
// The new resource already exists. Noop means "just let GC finish",
|
|
1644
|
+
// update means "mutate the current replacement before GC finishes",
|
|
1645
|
+
// and replace means "the current replacement also became obsolete".
|
|
1646
|
+
if (diff.action === "noop") {
|
|
1647
|
+
// this is the stable case - noop means just continue cleaning up the replacement
|
|
1648
|
+
return Node<Replace>({
|
|
1649
|
+
action: "replace",
|
|
1650
|
+
deleteFirst: oldState.deleteFirst,
|
|
1651
|
+
props: applyProps,
|
|
1652
|
+
state: oldState,
|
|
1653
|
+
});
|
|
1654
|
+
} else if (diff.action === "update") {
|
|
1655
|
+
// the replacement has been created but now also needs to be updated
|
|
1656
|
+
// the resource provider should:
|
|
1657
|
+
// 1. Update the newly created replacement resource
|
|
1658
|
+
// 2. Then proceed as normal to delete the replaced resources (after all downstream references are updated)
|
|
1659
|
+
return Node<Update>({
|
|
1660
|
+
action: "update",
|
|
1661
|
+
props: applyProps,
|
|
1662
|
+
state: oldState,
|
|
1663
|
+
});
|
|
1664
|
+
} else {
|
|
1665
|
+
// Cleanup is still pending, but the current "new" resource has already
|
|
1666
|
+
// become obsolete. Start another replacement generation and preserve
|
|
1667
|
+
// the existing replaced node as part of the recursive old chain.
|
|
1668
|
+
return Node<Replace>({
|
|
1669
|
+
restart: true,
|
|
1670
|
+
action: "replace",
|
|
1671
|
+
deleteFirst: diff.deleteFirst ?? oldState.deleteFirst,
|
|
1672
|
+
props: applyProps,
|
|
1673
|
+
state: oldState,
|
|
1674
|
+
});
|
|
1675
|
+
}
|
|
1676
|
+
} else if (oldState.status === "deleting") {
|
|
1677
|
+
// we're in a partially deleted state, it is unclear whether it was or was not deleted
|
|
1678
|
+
// so continue by re-creating it with the same instanceId and desired props
|
|
1679
|
+
return Node<Create>({
|
|
1680
|
+
action: "create",
|
|
1681
|
+
props: applyProps,
|
|
1682
|
+
state: {
|
|
1683
|
+
...oldState,
|
|
1684
|
+
status: "creating",
|
|
1685
|
+
props: news,
|
|
1686
|
+
},
|
|
1687
|
+
});
|
|
1688
|
+
} else if (diff.action === "update") {
|
|
1689
|
+
// Stable created/updated resources follow the normal CRUD mapping.
|
|
1690
|
+
return Node<Update>({
|
|
1691
|
+
action: forceUpdateAfterAdoption ? "adopted" : "update",
|
|
1692
|
+
adopting: forceUpdateAfterAdoption,
|
|
1693
|
+
props: applyProps,
|
|
1694
|
+
state: oldState,
|
|
1695
|
+
});
|
|
1696
|
+
} else if (diff.action === "replace") {
|
|
1697
|
+
return Node<Replace>({
|
|
1698
|
+
action: "replace",
|
|
1699
|
+
props: applyProps,
|
|
1700
|
+
state: oldState,
|
|
1701
|
+
deleteFirst: diff?.deleteFirst ?? false,
|
|
1702
|
+
});
|
|
1703
|
+
} else {
|
|
1704
|
+
return Node<NoopUpdate>({
|
|
1705
|
+
action: "noop",
|
|
1706
|
+
state: oldState,
|
|
1707
|
+
});
|
|
1708
|
+
}
|
|
1709
|
+
});
|
|
1369
1710
|
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
.pipe(providePlanScope(fqn, oldState.instanceId)),
|
|
1397
|
-
).pipe(
|
|
1398
|
-
Effect.map(
|
|
1399
|
-
(diff) =>
|
|
1400
|
-
diff ??
|
|
1401
|
-
({
|
|
1402
|
-
action:
|
|
1403
|
-
havePropsChanged(oldProps, news) ||
|
|
1404
|
-
bindingDiffs.some((b) => b.action !== "noop")
|
|
1405
|
-
? "update"
|
|
1406
|
-
: "noop",
|
|
1407
|
-
} as UpdateDiff | NoopDiff),
|
|
1408
|
-
),
|
|
1409
|
-
Effect.map((diff) =>
|
|
1410
|
-
options.force && diff.action === "noop"
|
|
1411
|
-
? ({
|
|
1412
|
-
action: "update",
|
|
1413
|
-
} satisfies UpdateDiff)
|
|
1414
|
-
: diff,
|
|
1415
|
-
),
|
|
1416
|
-
// After a cold-start adoption (silent or takeover), force at
|
|
1417
|
-
// least an update so the provider re-syncs ownership tags /
|
|
1418
|
-
// config against the desired props (otherwise the engine
|
|
1419
|
-
// would noop and any drift between the existing cloud
|
|
1420
|
-
// resource and `news` — including foreign-owned tags after a
|
|
1421
|
-
// takeover — would persist).
|
|
1422
|
-
//
|
|
1423
|
-
// A row that just migrated from a former FQN (`renameMoved`)
|
|
1424
|
-
// gets the same treatment: its cloud resource is still
|
|
1425
|
-
// branded with the OLD logical id's tags, and if the old id
|
|
1426
|
-
// is being reused by a new resource, leaving them stale
|
|
1427
|
-
// would let the reuser's future adoption probes match the
|
|
1428
|
-
// wrong physical resource.
|
|
1429
|
-
Effect.map((diff) =>
|
|
1430
|
-
(forceUpdateAfterAdoption || renameMoved) &&
|
|
1431
|
-
diff.action === "noop"
|
|
1432
|
-
? ({ action: "update" } satisfies UpdateDiff)
|
|
1433
|
-
: diff,
|
|
1434
|
-
),
|
|
1435
|
-
);
|
|
1436
|
-
|
|
1437
|
-
if (oldState.status === "creating") {
|
|
1438
|
-
if (diff.action === "noop") {
|
|
1439
|
-
// we're in the creating state and props are un-changed
|
|
1440
|
-
// let's just continue where we left off
|
|
1441
|
-
return Node<Create>({
|
|
1442
|
-
action: "create",
|
|
1443
|
-
props: applyProps,
|
|
1444
|
-
state: oldState,
|
|
1445
|
-
});
|
|
1446
|
-
} else if (diff.action === "update") {
|
|
1447
|
-
// props have changed in a way that is updatable
|
|
1448
|
-
// again, just continue with the create
|
|
1449
|
-
// TODO(sam): should we maybe try an update instead?
|
|
1450
|
-
return Node<Create>({
|
|
1451
|
-
action: "create",
|
|
1452
|
-
props: applyProps,
|
|
1453
|
-
state: oldState,
|
|
1454
|
-
});
|
|
1455
|
-
} else {
|
|
1456
|
-
// props have changed in an incompatible way
|
|
1457
|
-
// because it's possible that an un-updatable resource has already been created
|
|
1458
|
-
// we must use a replace step to create a new one and delete the potential old one
|
|
1459
|
-
return Node<Replace>({
|
|
1460
|
-
action: "replace",
|
|
1461
|
-
props: applyProps,
|
|
1462
|
-
deleteFirst: diff.deleteFirst ?? false,
|
|
1463
|
-
state: oldState,
|
|
1464
|
-
});
|
|
1465
|
-
}
|
|
1466
|
-
} else if (oldState.status === "updating") {
|
|
1467
|
-
// Updating already targets the live resource, so noop/update both mean
|
|
1468
|
-
// "finish the interrupted update". Only a replace diff escalates it
|
|
1469
|
-
// into a fresh replacement.
|
|
1470
|
-
if (diff.action === "update" || diff.action === "noop") {
|
|
1471
|
-
// we can continue where we left off
|
|
1472
|
-
return Node<Update>({
|
|
1473
|
-
action: "update",
|
|
1474
|
-
props: applyProps,
|
|
1475
|
-
state: oldState,
|
|
1476
|
-
});
|
|
1477
|
-
} else {
|
|
1478
|
-
// we started to update a resource but now believe we should replace it
|
|
1479
|
-
return Node<Replace>({
|
|
1480
|
-
action: "replace",
|
|
1481
|
-
deleteFirst: diff.deleteFirst ?? false,
|
|
1482
|
-
props: applyProps,
|
|
1483
|
-
// TODO(sam): can Apply handle replacements when the oldState is UpdatingResourceState?
|
|
1484
|
-
// -> or should we do a provider.read to try and reconcile back to UpdatedResourceState?
|
|
1485
|
-
state: oldState,
|
|
1486
|
-
});
|
|
1487
|
-
}
|
|
1488
|
-
} else if (oldState.status === "replacing") {
|
|
1489
|
-
// The replacement candidate is still being created. Noop/update keep
|
|
1490
|
-
// driving the same generation; replace means that candidate itself is
|
|
1491
|
-
// now obsolete and must be wrapped in a new outer generation.
|
|
1492
|
-
if (diff.action === "noop") {
|
|
1493
|
-
// this is the stable case - noop means just continue with the replacement
|
|
1494
|
-
return Node<Replace>({
|
|
1495
|
-
action: "replace",
|
|
1496
|
-
deleteFirst: oldState.deleteFirst,
|
|
1497
|
-
props: applyProps,
|
|
1498
|
-
state: oldState,
|
|
1499
|
-
});
|
|
1500
|
-
} else if (diff.action === "update") {
|
|
1501
|
-
// potential problem here - the props have changed since we tried to replace,
|
|
1502
|
-
// but not enough to trigger another replacement. the resource provider should
|
|
1503
|
-
// be designed as idempotent to converge to the right state when creating the new resource
|
|
1504
|
-
// the newly generated instanceId is intended to assist with this
|
|
1505
|
-
return Node<Replace>({
|
|
1506
|
-
action: "replace",
|
|
1507
|
-
deleteFirst: oldState.deleteFirst,
|
|
1508
|
-
props: applyProps,
|
|
1509
|
-
state: oldState,
|
|
1510
|
-
});
|
|
1511
|
-
} else {
|
|
1512
|
-
// The in-flight replacement candidate itself now needs replacement.
|
|
1513
|
-
// Mark this as a restart so Apply creates a fresh generation instead
|
|
1514
|
-
// of resuming the old replacement instance.
|
|
1515
|
-
return Node<Replace>({
|
|
1516
|
-
restart: true,
|
|
1517
|
-
action: "replace",
|
|
1518
|
-
deleteFirst: diff.deleteFirst ?? oldState.deleteFirst,
|
|
1519
|
-
props: applyProps,
|
|
1520
|
-
state: oldState,
|
|
1521
|
-
});
|
|
1522
|
-
}
|
|
1523
|
-
} else if (oldState.status === "replaced") {
|
|
1524
|
-
// The new resource already exists. Noop means "just let GC finish",
|
|
1525
|
-
// update means "mutate the current replacement before GC finishes",
|
|
1526
|
-
// and replace means "the current replacement also became obsolete".
|
|
1527
|
-
if (diff.action === "noop") {
|
|
1528
|
-
// this is the stable case - noop means just continue cleaning up the replacement
|
|
1529
|
-
return Node<Replace>({
|
|
1530
|
-
action: "replace",
|
|
1531
|
-
deleteFirst: oldState.deleteFirst,
|
|
1532
|
-
props: applyProps,
|
|
1533
|
-
state: oldState,
|
|
1534
|
-
});
|
|
1535
|
-
} else if (diff.action === "update") {
|
|
1536
|
-
// the replacement has been created but now also needs to be updated
|
|
1537
|
-
// the resource provider should:
|
|
1538
|
-
// 1. Update the newly created replacement resource
|
|
1539
|
-
// 2. Then proceed as normal to delete the replaced resources (after all downstream references are updated)
|
|
1540
|
-
return Node<Update>({
|
|
1541
|
-
action: "update",
|
|
1542
|
-
props: applyProps,
|
|
1543
|
-
state: oldState,
|
|
1544
|
-
});
|
|
1545
|
-
} else {
|
|
1546
|
-
// Cleanup is still pending, but the current "new" resource has already
|
|
1547
|
-
// become obsolete. Start another replacement generation and preserve
|
|
1548
|
-
// the existing replaced node as part of the recursive old chain.
|
|
1549
|
-
return Node<Replace>({
|
|
1550
|
-
restart: true,
|
|
1551
|
-
action: "replace",
|
|
1552
|
-
deleteFirst: diff.deleteFirst ?? oldState.deleteFirst,
|
|
1553
|
-
props: applyProps,
|
|
1554
|
-
state: oldState,
|
|
1555
|
-
});
|
|
1556
|
-
}
|
|
1557
|
-
} else if (oldState.status === "deleting") {
|
|
1558
|
-
// we're in a partially deleted state, it is unclear whether it was or was not deleted
|
|
1559
|
-
// so continue by re-creating it with the same instanceId and desired props
|
|
1560
|
-
return Node<Create>({
|
|
1561
|
-
action: "create",
|
|
1562
|
-
props: applyProps,
|
|
1563
|
-
state: {
|
|
1564
|
-
...oldState,
|
|
1565
|
-
status: "creating",
|
|
1566
|
-
props: news,
|
|
1567
|
-
},
|
|
1568
|
-
});
|
|
1569
|
-
} else if (diff.action === "update") {
|
|
1570
|
-
// Stable created/updated resources follow the normal CRUD mapping.
|
|
1571
|
-
return Node<Update>({
|
|
1572
|
-
action: "update",
|
|
1573
|
-
adopting: forceUpdateAfterAdoption,
|
|
1574
|
-
props: applyProps,
|
|
1575
|
-
state: oldState,
|
|
1576
|
-
});
|
|
1577
|
-
} else if (diff.action === "replace") {
|
|
1578
|
-
return Node<Replace>({
|
|
1579
|
-
action: "replace",
|
|
1580
|
-
props: applyProps,
|
|
1581
|
-
state: oldState,
|
|
1582
|
-
deleteFirst: diff?.deleteFirst ?? false,
|
|
1583
|
-
});
|
|
1584
|
-
} else {
|
|
1585
|
-
return Node<NoopUpdate>({
|
|
1586
|
-
action: "noop",
|
|
1587
|
-
state: oldState,
|
|
1588
|
-
});
|
|
1589
|
-
}
|
|
1590
|
-
}),
|
|
1591
|
-
),
|
|
1592
|
-
{ concurrency: "unbounded" },
|
|
1593
|
-
)).map((update) => [update.resource.FQN, update]),
|
|
1711
|
+
// Every diff runs to completion and every failure is reported. With
|
|
1712
|
+
// fail-fast `Effect.all`, the first exit to arrive wins the aggregate
|
|
1713
|
+
// cause — and when a diff is cancelled by a sibling's failure (or ends
|
|
1714
|
+
// interrupt-only for any other reason) that can be a bare interruption,
|
|
1715
|
+
// hiding the InvalidReferenceError or provider error that actually
|
|
1716
|
+
// broke the plan.
|
|
1717
|
+
const diffExits = yield* Effect.all(
|
|
1718
|
+
resources.map((resource) =>
|
|
1719
|
+
Effect.exit(Effect.tap(diffResource(resource), resourcePlanned)),
|
|
1720
|
+
),
|
|
1721
|
+
{ concurrency: "unbounded" },
|
|
1722
|
+
);
|
|
1723
|
+
const diffFailures = diffExits.filter(Exit.isFailure);
|
|
1724
|
+
if (diffFailures.length > 0) {
|
|
1725
|
+
const reasons = diffFailures.flatMap((exit) => exit.cause.reasons);
|
|
1726
|
+
const failures = reasons.filter(
|
|
1727
|
+
(reason) => !Cause.isInterruptReason(reason),
|
|
1728
|
+
);
|
|
1729
|
+
return yield* Effect.failCause(
|
|
1730
|
+
Cause.fromReasons(failures.length > 0 ? failures : reasons),
|
|
1731
|
+
);
|
|
1732
|
+
}
|
|
1733
|
+
const resourceGraph = Object.fromEntries(
|
|
1734
|
+
diffExits
|
|
1735
|
+
.filter(Exit.isSuccess)
|
|
1736
|
+
.map((exit) => [exit.value.resource.FQN, exit.value]),
|
|
1594
1737
|
) as Plan["resources"];
|
|
1595
1738
|
|
|
1596
1739
|
// ── Action plan nodes ────────────────────────────────────────────────
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
const oldState = yield* state.get({
|
|
1611
|
-
stack: stackName,
|
|
1612
|
-
stage,
|
|
1613
|
-
fqn,
|
|
1614
|
-
});
|
|
1740
|
+
// Per-action plan progress, mirroring the resource pass.
|
|
1741
|
+
const actionCount = yield* Ref.make(0);
|
|
1742
|
+
const actionPlanned = (entry: readonly [string, ActionApply]) =>
|
|
1743
|
+
Ref.updateAndGet(actionCount, (count) => count + 1).pipe(
|
|
1744
|
+
Effect.flatMap((completed) =>
|
|
1745
|
+
reportPlanned({
|
|
1746
|
+
_tag: "plan.action.completed",
|
|
1747
|
+
...describeAction(entry[1]),
|
|
1748
|
+
completed,
|
|
1749
|
+
total: actions.length,
|
|
1750
|
+
}),
|
|
1751
|
+
),
|
|
1752
|
+
);
|
|
1615
1753
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1754
|
+
const diffAction = Effect.fn("plan.diff.action")(function* (
|
|
1755
|
+
action: ActionLike,
|
|
1756
|
+
) {
|
|
1757
|
+
const fqn = action.FQN;
|
|
1758
|
+
const downstream = newDownstreamDependencies[fqn] ?? [];
|
|
1759
|
+
// The node carries the RAW input expression (evaluated at apply);
|
|
1760
|
+
// the drift hash uses the diff-facing view so stable upstream
|
|
1761
|
+
// attributes hash as their known values.
|
|
1762
|
+
const resolvedInput = materializeStableRefs(
|
|
1763
|
+
yield* resolveInput(action.Input),
|
|
1764
|
+
);
|
|
1765
|
+
const inputHash = yield* hashInput(resolvedInput);
|
|
1766
|
+
const oldState = yield* state.get({
|
|
1767
|
+
stack: stackName,
|
|
1768
|
+
stage,
|
|
1769
|
+
fqn,
|
|
1770
|
+
});
|
|
1632
1771
|
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1772
|
+
if (oldState && !isActionState(oldState)) {
|
|
1773
|
+
// FQN collision with a resource — surface as a fatal error so
|
|
1774
|
+
// the user resolves it before we touch anything.
|
|
1775
|
+
return [
|
|
1776
|
+
fqn,
|
|
1777
|
+
{
|
|
1778
|
+
kind: "action",
|
|
1779
|
+
action: "run",
|
|
1780
|
+
def: action,
|
|
1781
|
+
input: action.Input,
|
|
1782
|
+
state: undefined,
|
|
1783
|
+
downstream,
|
|
1784
|
+
forced: false,
|
|
1785
|
+
} satisfies ActionRun,
|
|
1786
|
+
] as const;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
const prior = oldState as ActionState | undefined;
|
|
1790
|
+
const sameInput =
|
|
1791
|
+
prior?.status === "ran" && prior.inputHash === inputHash;
|
|
1792
|
+
if (sameInput && !options.force) {
|
|
1793
|
+
return [
|
|
1794
|
+
fqn,
|
|
1795
|
+
{
|
|
1796
|
+
kind: "action",
|
|
1797
|
+
action: "noop",
|
|
1798
|
+
def: action,
|
|
1799
|
+
state: prior as RanActionState,
|
|
1800
|
+
downstream,
|
|
1801
|
+
} satisfies ActionNoop,
|
|
1802
|
+
] as const;
|
|
1803
|
+
}
|
|
1804
|
+
return [
|
|
1805
|
+
fqn,
|
|
1806
|
+
{
|
|
1807
|
+
kind: "action",
|
|
1808
|
+
action: "run",
|
|
1809
|
+
def: action,
|
|
1810
|
+
input: action.Input,
|
|
1811
|
+
state: prior,
|
|
1812
|
+
downstream,
|
|
1813
|
+
forced: !!options.force,
|
|
1814
|
+
} satisfies ActionRun,
|
|
1815
|
+
] as const;
|
|
1816
|
+
});
|
|
1817
|
+
|
|
1818
|
+
const actionGraph = Object.fromEntries(
|
|
1819
|
+
(yield* Effect.all(
|
|
1820
|
+
actions.map((action) =>
|
|
1821
|
+
diffAction(action).pipe(Effect.tap(actionPlanned)),
|
|
1661
1822
|
),
|
|
1662
1823
|
{ concurrency: "unbounded" },
|
|
1663
1824
|
)) as ReadonlyArray<readonly [string, ActionApply]>,
|
|
@@ -1680,8 +1841,7 @@ export const make = <A>(
|
|
|
1680
1841
|
const createReplaceNodes = new Set(
|
|
1681
1842
|
Object.entries(resourceGraph)
|
|
1682
1843
|
.filter(
|
|
1683
|
-
([
|
|
1684
|
-
node.action === "create" || node.action === "replace",
|
|
1844
|
+
([, node]) => node.action === "create" || node.action === "replace",
|
|
1685
1845
|
)
|
|
1686
1846
|
.map(([fqn]) => fqn),
|
|
1687
1847
|
);
|
|
@@ -1730,138 +1890,191 @@ export const make = <A>(
|
|
|
1730
1890
|
}
|
|
1731
1891
|
}
|
|
1732
1892
|
|
|
1893
|
+
// Both orphan passes (task rows below, resource rows further down)
|
|
1894
|
+
// examine every persisted row of this stack instance.
|
|
1895
|
+
const persistedFqns = yield* state.list({ stack: stackName, stage });
|
|
1896
|
+
|
|
1897
|
+
// Orphan progress mirrors the diff passes: every persisted row is
|
|
1898
|
+
// examined, but only rows that actually become deletion nodes are
|
|
1899
|
+
// reported — `completed` tracks examination so progress stays monotonic.
|
|
1900
|
+
const actionExaminedCount = yield* Ref.make(0);
|
|
1901
|
+
const actionDeletionPlanned = (
|
|
1902
|
+
entry: readonly [string, ActionDelete] | undefined,
|
|
1903
|
+
) =>
|
|
1904
|
+
Ref.updateAndGet(actionExaminedCount, (count) => count + 1).pipe(
|
|
1905
|
+
Effect.flatMap((completed) =>
|
|
1906
|
+
entry === undefined
|
|
1907
|
+
? Effect.void
|
|
1908
|
+
: reportPlanned({
|
|
1909
|
+
_tag: "plan.action.completed",
|
|
1910
|
+
...describeAction(entry[1]),
|
|
1911
|
+
completed,
|
|
1912
|
+
total: persistedFqns.length,
|
|
1913
|
+
}),
|
|
1914
|
+
),
|
|
1915
|
+
);
|
|
1916
|
+
|
|
1733
1917
|
// Task deletions: state rows previously written by tasks that no
|
|
1734
1918
|
// longer appear in the stack. The body is NOT invoked — we just drop
|
|
1735
1919
|
// the row.
|
|
1920
|
+
const diffActionDeletion = Effect.fn("plan.diff.actionDeletion")(function* (
|
|
1921
|
+
fqn: string,
|
|
1922
|
+
) {
|
|
1923
|
+
if (newActionFqns.has(fqn) || newResourceFqns.has(fqn)) return;
|
|
1924
|
+
const persisted = yield* state.get({
|
|
1925
|
+
stack: stackName,
|
|
1926
|
+
stage,
|
|
1927
|
+
fqn,
|
|
1928
|
+
});
|
|
1929
|
+
if (!isActionState(persisted)) return;
|
|
1930
|
+
const { logicalId } = parseFqn(fqn);
|
|
1931
|
+
return [
|
|
1932
|
+
fqn,
|
|
1933
|
+
{
|
|
1934
|
+
kind: "action",
|
|
1935
|
+
action: "delete",
|
|
1936
|
+
state: persisted,
|
|
1937
|
+
downstream: persisted.downstream ?? [],
|
|
1938
|
+
def: {
|
|
1939
|
+
Kind: "action",
|
|
1940
|
+
Namespace: persisted.namespace,
|
|
1941
|
+
FQN: fqn,
|
|
1942
|
+
LogicalId: logicalId,
|
|
1943
|
+
Type: persisted.actionType,
|
|
1944
|
+
Input: persisted.input,
|
|
1945
|
+
Captures: {},
|
|
1946
|
+
Run: () => undefined as any,
|
|
1947
|
+
Output: undefined as any,
|
|
1948
|
+
} satisfies ActionLike,
|
|
1949
|
+
} satisfies ActionDelete,
|
|
1950
|
+
] as const;
|
|
1951
|
+
});
|
|
1952
|
+
|
|
1736
1953
|
const actionDeletions: Plan["actionDeletions"] = Object.fromEntries(
|
|
1737
1954
|
(yield* Effect.all(
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
stack: stackName,
|
|
1743
|
-
stage,
|
|
1744
|
-
fqn,
|
|
1745
|
-
});
|
|
1746
|
-
if (!isActionState(persisted)) return;
|
|
1747
|
-
const { logicalId } = parseFqn(fqn);
|
|
1748
|
-
return [
|
|
1749
|
-
fqn,
|
|
1750
|
-
{
|
|
1751
|
-
kind: "action",
|
|
1752
|
-
action: "delete",
|
|
1753
|
-
state: persisted,
|
|
1754
|
-
downstream: persisted.downstream ?? [],
|
|
1755
|
-
def: {
|
|
1756
|
-
Kind: "action",
|
|
1757
|
-
Namespace: persisted.namespace,
|
|
1758
|
-
FQN: fqn,
|
|
1759
|
-
LogicalId: logicalId,
|
|
1760
|
-
Type: persisted.actionType,
|
|
1761
|
-
Input: persisted.input,
|
|
1762
|
-
Captures: {},
|
|
1763
|
-
Run: () => undefined as any,
|
|
1764
|
-
Output: undefined as any,
|
|
1765
|
-
} satisfies ActionLike,
|
|
1766
|
-
} satisfies ActionDelete,
|
|
1767
|
-
] as const;
|
|
1768
|
-
}),
|
|
1955
|
+
persistedFqns.map((fqn) =>
|
|
1956
|
+
diffActionDeletion(fqn).pipe(
|
|
1957
|
+
Effect.tap((entry) => actionDeletionPlanned(entry ?? undefined)),
|
|
1958
|
+
),
|
|
1769
1959
|
),
|
|
1770
1960
|
{ concurrency: "unbounded" },
|
|
1771
1961
|
)).filter((v): v is NonNullable<typeof v> => !!v),
|
|
1772
1962
|
);
|
|
1773
1963
|
|
|
1964
|
+
// Deletion progress mirrors the resource pass: every persisted row is
|
|
1965
|
+
// examined, but only rows that actually become deletion nodes are
|
|
1966
|
+
// reported — `completed` tracks examination so progress stays monotonic.
|
|
1967
|
+
const deletionCandidates = persistedFqns;
|
|
1968
|
+
const examinedCount = yield* Ref.make(0);
|
|
1969
|
+
const deletionPlanned = (entry: readonly [string, Delete] | undefined) =>
|
|
1970
|
+
Ref.updateAndGet(examinedCount, (count) => count + 1).pipe(
|
|
1971
|
+
Effect.flatMap((completed) =>
|
|
1972
|
+
entry === undefined
|
|
1973
|
+
? Effect.void
|
|
1974
|
+
: reportPlanned({
|
|
1975
|
+
_tag: "plan.resource.completed",
|
|
1976
|
+
...describeResource(entry[1]),
|
|
1977
|
+
completed,
|
|
1978
|
+
total: deletionCandidates.length,
|
|
1979
|
+
}),
|
|
1980
|
+
),
|
|
1981
|
+
);
|
|
1982
|
+
|
|
1983
|
+
const diffDeletion = Effect.fn("plan.diff.deletion")(function* (
|
|
1984
|
+
fqn: string,
|
|
1985
|
+
) {
|
|
1986
|
+
if (newResourceFqns.has(fqn) || newActionFqns.has(fqn)) {
|
|
1987
|
+
return;
|
|
1988
|
+
}
|
|
1989
|
+
const persisted = yield* state.get({
|
|
1990
|
+
stack: stackName,
|
|
1991
|
+
stage: stage,
|
|
1992
|
+
fqn,
|
|
1993
|
+
});
|
|
1994
|
+
// Tasks are routed through `actionDeletions` above.
|
|
1995
|
+
if (isActionState(persisted)) return;
|
|
1996
|
+
const oldState = persisted as ResourceState | undefined;
|
|
1997
|
+
if (oldState) {
|
|
1998
|
+
// A row being migrated by a rename (`renameMigrations`) is
|
|
1999
|
+
// moving, not orphaned — apply drops it state-only after
|
|
2000
|
+
// committing the migrated row at its new FQN. Rows at former
|
|
2001
|
+
// FQNs that did NOT migrate (foreign type, different
|
|
2002
|
+
// instanceId, unclaimed) are absent from this set and fall
|
|
2003
|
+
// through to normal orphan deletion.
|
|
2004
|
+
if (migratedRowFqns.has(fqn)) {
|
|
2005
|
+
return;
|
|
2006
|
+
}
|
|
2007
|
+
const { logicalId } = parseFqn(fqn);
|
|
2008
|
+
const resourceType = oldState.resourceType;
|
|
2009
|
+
// A "zombie" row references a type with no registered provider
|
|
2010
|
+
// (removed from the program, or renamed without an alias).
|
|
2011
|
+
// That is fatal: the program and state disagree, and without
|
|
2012
|
+
// the provider the row's physical resource cannot be deleted
|
|
2013
|
+
// anyway. Die at plan time with a typed error naming the row
|
|
2014
|
+
// and the remediation instead of limping into a partial apply.
|
|
2015
|
+
//
|
|
2016
|
+
// Orphan deletes resolve the provider variant for the mode
|
|
2017
|
+
// that created the row (`providerMode`, or the `dev:` marker
|
|
2018
|
+
// inference for legacy unstamped rows), so e.g. a local dev
|
|
2019
|
+
// worker's row is deleted by the local provider even during a
|
|
2020
|
+
// live deploy — and vice versa. Unstamped rows are physically
|
|
2021
|
+
// live unless their attrs carry the marker (see stampedMode),
|
|
2022
|
+
// never the run default.
|
|
2023
|
+
const rowMode = stampedMode(oldState);
|
|
2024
|
+
const providerOption = yield* tryFindProviderByType(
|
|
2025
|
+
resourceType,
|
|
2026
|
+
rowMode,
|
|
2027
|
+
);
|
|
2028
|
+
if (Option.isNone(providerOption)) {
|
|
2029
|
+
return yield* Effect.die(missingProviderError(resourceType, fqn));
|
|
2030
|
+
}
|
|
2031
|
+
const provider = providerOption.value;
|
|
2032
|
+
// NOTE: an attr-less row (interrupted create) is NOT recovered
|
|
2033
|
+
// here. Apply's `deleteResource` performs the authoritative
|
|
2034
|
+
// read-then-delete recovery — it also covers replaced-chain
|
|
2035
|
+
// old generations that never pass through plan, and routes
|
|
2036
|
+
// `Unowned` results away from `provider.delete`.
|
|
2037
|
+
return [
|
|
2038
|
+
fqn,
|
|
2039
|
+
{
|
|
2040
|
+
action: oldState.removalPolicy === "retain" ? "orphaned" : "delete",
|
|
2041
|
+
state: oldState,
|
|
2042
|
+
provider: provider,
|
|
2043
|
+
mode: oldState.providerMode,
|
|
2044
|
+
resource: {
|
|
2045
|
+
Namespace: oldState.namespace,
|
|
2046
|
+
FQN: fqn,
|
|
2047
|
+
LogicalId: logicalId,
|
|
2048
|
+
Type: oldState.resourceType,
|
|
2049
|
+
Attributes: oldState.attr,
|
|
2050
|
+
Props: oldState.props,
|
|
2051
|
+
Binding: undefined!,
|
|
2052
|
+
Provider: Provider(resourceType),
|
|
2053
|
+
RemovalPolicy: oldState.removalPolicy,
|
|
2054
|
+
Adopt: undefined,
|
|
2055
|
+
RequiresImplementation: undefined,
|
|
2056
|
+
Mode: oldState.providerMode,
|
|
2057
|
+
FormerFqns: undefined,
|
|
2058
|
+
RuntimeContext: undefined!,
|
|
2059
|
+
Providers: undefined,
|
|
2060
|
+
} as ResourceLike,
|
|
2061
|
+
downstream: oldDownstreamDependencies[fqn] ?? [],
|
|
2062
|
+
bindings: oldState.bindings.map((binding) => ({
|
|
2063
|
+
sid: binding.sid,
|
|
2064
|
+
action: "delete" as const,
|
|
2065
|
+
data: binding.data,
|
|
2066
|
+
})),
|
|
2067
|
+
} satisfies Delete,
|
|
2068
|
+
] as const;
|
|
2069
|
+
}
|
|
2070
|
+
});
|
|
2071
|
+
|
|
1774
2072
|
const deletions = Object.fromEntries(
|
|
1775
2073
|
(yield* Effect.all(
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
}
|
|
1781
|
-
const persisted = yield* state.get({
|
|
1782
|
-
stack: stackName,
|
|
1783
|
-
stage: stage,
|
|
1784
|
-
fqn,
|
|
1785
|
-
});
|
|
1786
|
-
// Tasks are routed through `actionDeletions` above.
|
|
1787
|
-
if (isActionState(persisted)) return;
|
|
1788
|
-
const oldState = persisted as ResourceState | undefined;
|
|
1789
|
-
if (oldState) {
|
|
1790
|
-
// A row being migrated by a rename (`renameMigrations`) is
|
|
1791
|
-
// moving, not orphaned — apply drops it state-only after
|
|
1792
|
-
// committing the migrated row at its new FQN. Rows at former
|
|
1793
|
-
// FQNs that did NOT migrate (foreign type, different
|
|
1794
|
-
// instanceId, unclaimed) are absent from this set and fall
|
|
1795
|
-
// through to normal orphan deletion.
|
|
1796
|
-
if (migratedRowFqns.has(fqn)) {
|
|
1797
|
-
return;
|
|
1798
|
-
}
|
|
1799
|
-
const { logicalId } = parseFqn(fqn);
|
|
1800
|
-
const resourceType = oldState.resourceType;
|
|
1801
|
-
// A "zombie" row references a type with no registered provider
|
|
1802
|
-
// (removed from the program, or renamed without an alias).
|
|
1803
|
-
// That is fatal: the program and state disagree, and without
|
|
1804
|
-
// the provider the row's physical resource cannot be deleted
|
|
1805
|
-
// anyway. Die at plan time with a typed error naming the row
|
|
1806
|
-
// and the remediation instead of limping into a partial apply.
|
|
1807
|
-
//
|
|
1808
|
-
// Orphan deletes resolve the provider variant for the mode
|
|
1809
|
-
// that created the row (`providerMode`, or the `dev:` marker
|
|
1810
|
-
// inference for legacy unstamped rows), so e.g. a local dev
|
|
1811
|
-
// worker's row is deleted by the local provider even during a
|
|
1812
|
-
// live deploy — and vice versa. Unstamped rows are physically
|
|
1813
|
-
// live unless their attrs carry the marker (see stampedMode),
|
|
1814
|
-
// never the run default.
|
|
1815
|
-
const rowMode = stampedMode(oldState);
|
|
1816
|
-
const providerOption = yield* tryFindProviderByType(
|
|
1817
|
-
resourceType,
|
|
1818
|
-
rowMode,
|
|
1819
|
-
);
|
|
1820
|
-
if (Option.isNone(providerOption)) {
|
|
1821
|
-
return yield* Effect.die(
|
|
1822
|
-
missingProviderError(resourceType, fqn),
|
|
1823
|
-
);
|
|
1824
|
-
}
|
|
1825
|
-
const provider = providerOption.value;
|
|
1826
|
-
// NOTE: an attr-less row (interrupted create) is NOT recovered
|
|
1827
|
-
// here. Apply's `deleteResource` performs the authoritative
|
|
1828
|
-
// read-then-delete recovery — it also covers replaced-chain
|
|
1829
|
-
// old generations that never pass through plan, and routes
|
|
1830
|
-
// `Unowned` results away from `provider.delete`.
|
|
1831
|
-
return [
|
|
1832
|
-
fqn,
|
|
1833
|
-
{
|
|
1834
|
-
action: "delete",
|
|
1835
|
-
state: oldState,
|
|
1836
|
-
provider: provider,
|
|
1837
|
-
mode: oldState.providerMode,
|
|
1838
|
-
resource: {
|
|
1839
|
-
Namespace: oldState.namespace,
|
|
1840
|
-
FQN: fqn,
|
|
1841
|
-
LogicalId: logicalId,
|
|
1842
|
-
Type: oldState.resourceType,
|
|
1843
|
-
Attributes: oldState.attr,
|
|
1844
|
-
Props: oldState.props,
|
|
1845
|
-
Binding: undefined!,
|
|
1846
|
-
Provider: Provider(resourceType),
|
|
1847
|
-
RemovalPolicy: oldState.removalPolicy,
|
|
1848
|
-
Adopt: undefined,
|
|
1849
|
-
RequiresImplementation: undefined,
|
|
1850
|
-
Mode: oldState.providerMode,
|
|
1851
|
-
FormerFqns: undefined,
|
|
1852
|
-
RuntimeContext: undefined!,
|
|
1853
|
-
Providers: undefined,
|
|
1854
|
-
} as ResourceLike,
|
|
1855
|
-
downstream: oldDownstreamDependencies[fqn] ?? [],
|
|
1856
|
-
bindings: oldState.bindings.map((binding) => ({
|
|
1857
|
-
sid: binding.sid,
|
|
1858
|
-
action: "delete" as const,
|
|
1859
|
-
data: binding.data,
|
|
1860
|
-
})),
|
|
1861
|
-
} satisfies Delete,
|
|
1862
|
-
] as const;
|
|
1863
|
-
}
|
|
1864
|
-
}),
|
|
2074
|
+
deletionCandidates.map((fqn) =>
|
|
2075
|
+
diffDeletion(fqn).pipe(
|
|
2076
|
+
Effect.tap((entry) => deletionPlanned(entry ?? undefined)),
|
|
2077
|
+
),
|
|
1865
2078
|
),
|
|
1866
2079
|
{ concurrency: "unbounded" },
|
|
1867
2080
|
)).filter((v) => !!v),
|
|
@@ -1893,6 +2106,8 @@ export const make = <A>(
|
|
|
1893
2106
|
defaultMode: runDefaultMode,
|
|
1894
2107
|
} satisfies Plan<A> as Plan<A>;
|
|
1895
2108
|
}).pipe(
|
|
2109
|
+
// Owns the memoized resolutions' fibers for the plan's duration.
|
|
2110
|
+
Effect.scoped,
|
|
1896
2111
|
ensureArtifactStore,
|
|
1897
2112
|
Effect.withSpan("plan.make", {
|
|
1898
2113
|
attributes: {
|
|
@@ -1991,8 +2206,12 @@ export const printPlan = (plan: Plan): string => {
|
|
|
1991
2206
|
return "+";
|
|
1992
2207
|
case "update":
|
|
1993
2208
|
return "~";
|
|
2209
|
+
case "adopted":
|
|
2210
|
+
return "(+)";
|
|
1994
2211
|
case "delete":
|
|
1995
2212
|
return "-";
|
|
2213
|
+
case "orphaned":
|
|
2214
|
+
return "(-)";
|
|
1996
2215
|
case "replace":
|
|
1997
2216
|
return "±";
|
|
1998
2217
|
case "noop":
|