alchemy 2.0.0-beta.77 → 2.0.0-beta.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/alchemy.js +1 -1
- package/bin/alchemy.js.map +1 -1
- package/bin/alchemy.ts +1 -1
- package/bin/cli.js +120 -66
- package/bin/exec.js +6723 -6276
- package/bin/exec.js.map +1 -1
- package/bin/exec.ts +1 -1
- package/bin/register-oxc.js +15 -4
- package/lib/AWS/ApiGateway/common.d.ts +1 -1
- package/lib/AWS/ApiGateway/common.d.ts.map +1 -1
- package/lib/AWS/ApiGatewayV2/common.d.ts +1 -1
- package/lib/AWS/ApiGatewayV2/common.d.ts.map +1 -1
- package/lib/AWS/AppSync/common.d.ts +1 -1
- package/lib/AWS/AppSync/common.d.ts.map +1 -1
- package/lib/AWS/Assets.d.ts +1 -1
- package/lib/AWS/Assets.d.ts.map +1 -1
- package/lib/AWS/Bedrock/LanguageModel.d.ts +2 -2
- package/lib/AWS/Bedrock/LanguageModel.d.ts.map +1 -1
- package/lib/AWS/Bedrock/LanguageModel.js +1 -1
- package/lib/AWS/Bedrock/LanguageModel.js.map +1 -1
- package/lib/AWS/Bootstrap.d.ts +2 -2
- package/lib/AWS/Bootstrap.d.ts.map +1 -1
- package/lib/AWS/Budgets/BindingHttp.d.ts +1 -8
- package/lib/AWS/Budgets/BindingHttp.d.ts.map +1 -1
- package/lib/AWS/Budgets/BindingHttp.js +2 -7
- package/lib/AWS/Budgets/BindingHttp.js.map +1 -1
- package/lib/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.d.ts.map +1 -1
- package/lib/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.js +0 -3
- package/lib/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.js.map +1 -1
- package/lib/AWS/CloudFront/KvRoutesUpdate.d.ts.map +1 -1
- package/lib/AWS/CloudFront/KvRoutesUpdate.js +9 -1
- package/lib/AWS/CloudFront/KvRoutesUpdate.js.map +1 -1
- package/lib/AWS/CloudMap/internal.d.ts +2 -2
- package/lib/AWS/CloudMap/internal.d.ts.map +1 -1
- package/lib/AWS/Connection/DbAuthToken.d.ts +2 -1
- package/lib/AWS/Connection/DbAuthToken.d.ts.map +1 -1
- package/lib/AWS/Credentials.d.ts +2 -2
- package/lib/AWS/Credentials.d.ts.map +1 -1
- package/lib/AWS/Credentials.js +1 -1
- package/lib/AWS/Credentials.js.map +1 -1
- package/lib/AWS/DSQL/Connect.d.ts +2 -2
- package/lib/AWS/DSQL/Connect.d.ts.map +1 -1
- package/lib/AWS/DynamoDB/Table.d.ts.map +1 -1
- package/lib/AWS/DynamoDB/Table.js +22 -11
- package/lib/AWS/DynamoDB/Table.js.map +1 -1
- package/lib/AWS/EC2/Instance.d.ts.map +1 -1
- package/lib/AWS/EC2/Instance.js +10 -1
- package/lib/AWS/EC2/Instance.js.map +1 -1
- package/lib/AWS/EC2/SecurityGroup.d.ts +70 -2
- package/lib/AWS/EC2/SecurityGroup.d.ts.map +1 -1
- package/lib/AWS/EC2/SecurityGroup.js +256 -66
- package/lib/AWS/EC2/SecurityGroup.js.map +1 -1
- package/lib/AWS/EC2/SecurityGroupRule.d.ts +43 -9
- package/lib/AWS/EC2/SecurityGroupRule.d.ts.map +1 -1
- package/lib/AWS/EC2/SecurityGroupRule.js +102 -22
- package/lib/AWS/EC2/SecurityGroupRule.js.map +1 -1
- package/lib/AWS/EC2/hosted.d.ts +1 -1
- package/lib/AWS/ECR/Image.d.ts +23 -12
- package/lib/AWS/ECR/Image.d.ts.map +1 -1
- package/lib/AWS/ECR/Image.js +26 -5
- package/lib/AWS/ECR/Image.js.map +1 -1
- package/lib/AWS/ECR/ImageSource.d.ts +1 -1
- package/lib/AWS/ECS/EcsDevWatch.d.ts +1 -1
- package/lib/AWS/ECS/EcsDevWatch.d.ts.map +1 -1
- package/lib/AWS/ECS/FlociServiceProvider.js +2 -2
- package/lib/AWS/ECS/FlociTaskProvider.js +2 -2
- package/lib/AWS/ECS/Service.d.ts.map +1 -1
- package/lib/AWS/ECS/Service.js +7 -7
- package/lib/AWS/ECS/Service.js.map +1 -1
- package/lib/AWS/ECS/Task.d.ts +5 -5
- package/lib/AWS/ECS/Task.d.ts.map +1 -1
- package/lib/AWS/EKS/KubernetesAdapter.js +4 -4
- package/lib/AWS/EKS/internal/podIdentity.d.ts +4 -4
- package/lib/AWS/EKS/internal/podIdentity.d.ts.map +1 -1
- package/lib/AWS/Environment.js +6 -6
- package/lib/AWS/IdentityCenter/common.d.ts +2 -2
- package/lib/AWS/IdentityCenter/common.d.ts.map +1 -1
- package/lib/AWS/Lambda/BindingHttp.d.ts +62 -10
- package/lib/AWS/Lambda/BindingHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/BindingHttp.js +161 -22
- package/lib/AWS/Lambda/BindingHttp.js.map +1 -1
- package/lib/AWS/Lambda/EventInvokeConfig.d.ts +1 -1
- package/lib/AWS/Lambda/EventInvokeConfig.d.ts.map +1 -1
- package/lib/AWS/Lambda/FlociFunctionProvider.js +2 -2
- package/lib/AWS/Lambda/FlociMicrovmImageProvider.js +2 -2
- package/lib/AWS/Lambda/Function.d.ts.map +1 -1
- package/lib/AWS/Lambda/Function.js +23 -15
- package/lib/AWS/Lambda/Function.js.map +1 -1
- package/lib/AWS/Lambda/FunctionImage.d.ts +1 -1
- package/lib/AWS/Lambda/GetFunctionHttp.d.ts +1 -1
- package/lib/AWS/Lambda/GetFunctionHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/InvokeFunctionHttp.d.ts +1 -1
- package/lib/AWS/Lambda/InvokeFunctionHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/InvokeWithResponseStreamHttp.d.ts +1 -1
- package/lib/AWS/Lambda/InvokeWithResponseStreamHttp.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmBinding.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmBinding.js +11 -214
- package/lib/AWS/Lambda/MicrovmBinding.js.map +1 -1
- package/lib/AWS/Lambda/MicrovmBundle.d.ts +1 -1
- package/lib/AWS/Lambda/MicrovmBundle.d.ts.map +1 -1
- package/lib/AWS/Lambda/MicrovmBundle.js +1 -12
- package/lib/AWS/Lambda/MicrovmBundle.js.map +1 -1
- package/lib/AWS/Lambda/MicrovmRuntimeContext.js +1 -1
- package/lib/AWS/Local/DevWatchProvider.d.ts +4 -4
- package/lib/AWS/Local/DevWatchProvider.d.ts.map +1 -1
- package/lib/AWS/Local/DevWatchProvider.js +6 -5
- package/lib/AWS/Local/DevWatchProvider.js.map +1 -1
- package/lib/AWS/Local/Local.d.ts +13 -1
- package/lib/AWS/Local/Local.d.ts.map +1 -1
- package/lib/AWS/Local/Local.js +10 -9
- package/lib/AWS/Local/Local.js.map +1 -1
- package/lib/AWS/Logs/LogGroup.d.ts.map +1 -1
- package/lib/AWS/Logs/LogGroup.js +6 -2
- package/lib/AWS/Logs/LogGroup.js.map +1 -1
- package/lib/AWS/MediaPackageV2/internal.d.ts +1 -1
- package/lib/AWS/MediaPackageV2/internal.d.ts.map +1 -1
- package/lib/AWS/Notifications/internal.d.ts +1 -1
- package/lib/AWS/Notifications/internal.d.ts.map +1 -1
- package/lib/AWS/OAM/internal.d.ts +1 -1
- package/lib/AWS/OAM/internal.d.ts.map +1 -1
- package/lib/AWS/Organizations/common.d.ts.map +1 -1
- package/lib/AWS/Organizations/common.js +4 -1
- package/lib/AWS/Organizations/common.js.map +1 -1
- package/lib/AWS/Personalize/internal.d.ts +1 -1
- package/lib/AWS/Personalize/internal.d.ts.map +1 -1
- package/lib/AWS/RDS/Connect.d.ts +3 -3
- package/lib/AWS/RDS/Connect.d.ts.map +1 -1
- package/lib/AWS/RDS/DBInstance.d.ts +226 -11
- package/lib/AWS/RDS/DBInstance.d.ts.map +1 -1
- package/lib/AWS/RDS/DBInstance.js +692 -36
- package/lib/AWS/RDS/DBInstance.js.map +1 -1
- package/lib/AWS/RDS/DBParameterGroup.d.ts +8 -9
- package/lib/AWS/RDS/DBParameterGroup.d.ts.map +1 -1
- package/lib/AWS/RDS/DBParameterGroup.js +53 -27
- package/lib/AWS/RDS/DBParameterGroup.js.map +1 -1
- package/lib/AWS/Route53/HostedZoneLookup.d.ts +1 -1
- package/lib/AWS/Route53/HostedZoneLookup.d.ts.map +1 -1
- package/lib/AWS/S3/AbortMultipartUploadHttp.d.ts +1 -1
- package/lib/AWS/S3/AbortMultipartUploadHttp.d.ts.map +1 -1
- package/lib/AWS/S3/BindingHttp.d.ts +13 -5
- package/lib/AWS/S3/BindingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/BindingHttp.js +28 -30
- package/lib/AWS/S3/BindingHttp.js.map +1 -1
- package/lib/AWS/S3/Bucket.d.ts +95 -5
- package/lib/AWS/S3/Bucket.d.ts.map +1 -1
- package/lib/AWS/S3/Bucket.js +165 -47
- package/lib/AWS/S3/Bucket.js.map +1 -1
- package/lib/AWS/S3/CompleteMultipartUploadHttp.d.ts +1 -1
- package/lib/AWS/S3/CompleteMultipartUploadHttp.d.ts.map +1 -1
- package/lib/AWS/S3/CopyObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/CopyObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/CreateMultipartUploadHttp.d.ts +1 -1
- package/lib/AWS/S3/CreateMultipartUploadHttp.d.ts.map +1 -1
- package/lib/AWS/S3/DeleteObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/DeleteObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/DeleteObjectTaggingHttp.d.ts +1 -1
- package/lib/AWS/S3/DeleteObjectTaggingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/DeleteObjectsHttp.d.ts +1 -1
- package/lib/AWS/S3/DeleteObjectsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectAttributesHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectAttributesHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectLegalHoldHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectLegalHoldHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectRetentionHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectRetentionHttp.d.ts.map +1 -1
- package/lib/AWS/S3/GetObjectTaggingHttp.d.ts +1 -1
- package/lib/AWS/S3/GetObjectTaggingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/HeadObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/HeadObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/ListMultipartUploadsHttp.d.ts +1 -1
- package/lib/AWS/S3/ListMultipartUploadsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/ListObjectVersionsHttp.d.ts +1 -1
- package/lib/AWS/S3/ListObjectVersionsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/ListObjectsV2Http.d.ts +1 -1
- package/lib/AWS/S3/ListObjectsV2Http.d.ts.map +1 -1
- package/lib/AWS/S3/ListPartsHttp.d.ts +1 -1
- package/lib/AWS/S3/ListPartsHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PresignGetObject.d.ts +2 -2
- package/lib/AWS/S3/PresignGetObject.d.ts.map +1 -1
- package/lib/AWS/S3/PresignGetObject.js.map +1 -1
- package/lib/AWS/S3/PresignPutObject.d.ts +2 -2
- package/lib/AWS/S3/PresignPutObject.d.ts.map +1 -1
- package/lib/AWS/S3/PresignPutObject.js.map +1 -1
- package/lib/AWS/S3/PutObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PutObjectLegalHoldHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectLegalHoldHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PutObjectRetentionHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectRetentionHttp.d.ts.map +1 -1
- package/lib/AWS/S3/PutObjectTaggingHttp.d.ts +1 -1
- package/lib/AWS/S3/PutObjectTaggingHttp.d.ts.map +1 -1
- package/lib/AWS/S3/RestoreObjectHttp.d.ts +1 -1
- package/lib/AWS/S3/RestoreObjectHttp.d.ts.map +1 -1
- package/lib/AWS/S3/UploadPartCopyHttp.d.ts +1 -1
- package/lib/AWS/S3/UploadPartCopyHttp.d.ts.map +1 -1
- package/lib/AWS/S3/UploadPartHttp.d.ts +1 -1
- package/lib/AWS/S3/UploadPartHttp.d.ts.map +1 -1
- package/lib/AWS/SNS/Subscription.d.ts.map +1 -1
- package/lib/AWS/SNS/Subscription.js +21 -5
- package/lib/AWS/SNS/Subscription.js.map +1 -1
- package/lib/AWS/StateStore/State.d.ts +23 -3
- package/lib/AWS/StateStore/State.d.ts.map +1 -1
- package/lib/AWS/StateStore/State.js +19 -27
- package/lib/AWS/StateStore/State.js.map +1 -1
- package/lib/AWS/Synthetics/Canary.d.ts.map +1 -1
- package/lib/AWS/Synthetics/Canary.js +4 -9
- package/lib/AWS/Synthetics/Canary.js.map +1 -1
- package/lib/Alchemist/Entrypoint.d.ts +22 -0
- package/lib/Alchemist/Entrypoint.d.ts.map +1 -0
- package/lib/Alchemist/Entrypoint.js +27 -0
- package/lib/Alchemist/Entrypoint.js.map +1 -0
- package/lib/Alchemist/Session.d.ts +2 -12
- package/lib/Alchemist/Session.d.ts.map +1 -1
- package/lib/Alchemist/Session.js +5 -14
- package/lib/Alchemist/Session.js.map +1 -1
- package/lib/Alchemist/routes/aws.d.ts +2 -2
- package/lib/Alchemist/routes/aws.d.ts.map +1 -1
- package/lib/Alchemist/routes/cloudflare.d.ts +2 -2
- package/lib/Alchemist/routes/cloudflare.d.ts.map +1 -1
- package/lib/Alchemist/routes/nuke.d.ts +1 -1
- package/lib/Alchemist/routes/nuke.d.ts.map +1 -1
- package/lib/Alchemist/routes/nuke.js +1 -1
- package/lib/Alchemist/routes/state.d.ts.map +1 -1
- package/lib/Alchemist/routes/state.js +6 -2
- package/lib/Alchemist/routes/state.js.map +1 -1
- package/lib/Auth/AuthProvider.js +1 -1
- package/lib/Auth/Demand.js +1 -1
- package/lib/Auth/Env.js +4 -4
- package/lib/Auth/Lock.d.ts.map +1 -1
- package/lib/Auth/Lock.js +4 -3
- package/lib/Auth/Lock.js.map +1 -1
- package/lib/Auth/Profile.js +1 -1
- package/lib/Auth/Resolve.js +1 -1
- package/lib/Cli/LoggingCli.js +1 -1
- package/lib/Cli/commands/aws.d.ts +1 -1
- package/lib/Cli/commands/aws.d.ts.map +1 -1
- package/lib/Cli/commands/aws.js +2 -2
- package/lib/Cli/commands/cloudflare.d.ts +2 -2
- package/lib/Cli/commands/cloudflare.d.ts.map +1 -1
- package/lib/Cli/commands/cloudflare.js +10 -10
- package/lib/Cli/commands/cloudflare.js.map +1 -1
- package/lib/Cli/commands/deploy.js +3 -3
- package/lib/Cli/commands/dev.d.ts +1 -1
- package/lib/Cli/commands/dev.d.ts.map +1 -1
- package/lib/Cli/commands/dev.js +6 -3
- package/lib/Cli/commands/dev.js.map +1 -1
- package/lib/Cli/commands/drift.js +1 -1
- package/lib/Cli/commands/flags.d.ts +2 -0
- package/lib/Cli/commands/flags.d.ts.map +1 -1
- package/lib/Cli/commands/flags.js +14 -12
- package/lib/Cli/commands/flags.js.map +1 -1
- package/lib/Cli/commands/instrument.d.ts +7 -0
- package/lib/Cli/commands/instrument.d.ts.map +1 -1
- package/lib/Cli/commands/instrument.js +9 -1
- package/lib/Cli/commands/instrument.js.map +1 -1
- package/lib/Cli/commands/logs.js +4 -4
- package/lib/Cli/commands/logs.js.map +1 -1
- package/lib/Cli/commands/nuke.d.ts +1 -1
- package/lib/Cli/commands/nuke.d.ts.map +1 -1
- package/lib/Cli/commands/nuke.js +9 -9
- package/lib/Cli/commands/nuke.js.map +1 -1
- package/lib/Cli/commands/profile/commands.js +8 -8
- package/lib/Cli/commands/provider.d.ts +2 -2
- package/lib/Cli/commands/provider.d.ts.map +1 -1
- package/lib/Cli/commands/provider.js +1 -1
- package/lib/Cli/commands/state.js +5 -5
- package/lib/Cli/commands/state.js.map +1 -1
- package/lib/Cli/components/ui/Data.d.ts +1 -1
- package/lib/Cli/components/ui/Data.d.ts.map +1 -1
- package/lib/Cli/components/ui/Data.js +1 -1
- package/lib/Cli/components/ui/Environment.d.ts +1 -1
- package/lib/Cli/components/ui/Environment.d.ts.map +1 -1
- package/lib/Cli/components/ui/Environment.js +3 -3
- package/lib/Cli/components/ui/Environment.js.map +1 -1
- package/lib/Cli/components/ui/Feedback.js +3 -3
- package/lib/Cli/components/ui/Feedback.js.map +1 -1
- package/lib/Cli/components/ui/Interactive.d.ts +1 -1
- package/lib/Cli/components/ui/Interactive.d.ts.map +1 -1
- package/lib/Cli/components/ui/Interactive.js +4 -4
- package/lib/Cli/components/ui/Interactive.js.map +1 -1
- package/lib/Cli/components/ui/Layout.d.ts +2 -2
- package/lib/Cli/components/ui/Layout.d.ts.map +1 -1
- package/lib/Cli/components/ui/Layout.js +3 -3
- package/lib/Cli/components/ui/Layout.js.map +1 -1
- package/lib/Cli/components/ui/Live.d.ts +1 -1
- package/lib/Cli/components/ui/Live.d.ts.map +1 -1
- package/lib/Cli/components/ui/Live.js +2 -2
- package/lib/Cli/components/ui/Live.js.map +1 -1
- package/lib/Cli/components/ui/ProgressBar.d.ts +1 -1
- package/lib/Cli/components/ui/ProgressBar.d.ts.map +1 -1
- package/lib/Cli/components/ui/ProgressBar.js +1 -1
- package/lib/Cli/components/ui/Transcript.js +2 -2
- package/lib/Cli/components/ui/Transcript.js.map +1 -1
- package/lib/Cli/components/ui/Typography.d.ts +1 -1
- package/lib/Cli/components/ui/Typography.d.ts.map +1 -1
- package/lib/Cli/components/ui/Typography.js +2 -2
- package/lib/Cli/components/ui/Typography.js.map +1 -1
- package/lib/Cli/components/view/ApprovePlan.d.ts +1 -2
- package/lib/Cli/components/view/ApprovePlan.d.ts.map +1 -1
- package/lib/Cli/components/view/ApprovePlan.js +3 -3
- package/lib/Cli/components/view/ApprovePlan.js.map +1 -1
- package/lib/Cli/components/view/Help.js +2 -2
- package/lib/Cli/components/view/Help.js.map +1 -1
- package/lib/Cli/components/view/Logo.d.ts +1 -1
- package/lib/Cli/components/view/Logo.d.ts.map +1 -1
- package/lib/Cli/components/view/Logo.js +3 -3
- package/lib/Cli/components/view/Logo.js.map +1 -1
- package/lib/Cli/components/view/Nuke.d.ts +1 -1
- package/lib/Cli/components/view/Nuke.d.ts.map +1 -1
- package/lib/Cli/components/view/Nuke.js +2 -2
- package/lib/Cli/components/view/Nuke.js.map +1 -1
- package/lib/Cli/components/view/PlanDecision.d.ts.map +1 -1
- package/lib/Cli/components/view/PlanDecision.js +3 -3
- package/lib/Cli/components/view/PlanDecision.js.map +1 -1
- package/lib/Cli/components/view/PlanRow.d.ts +1 -1
- package/lib/Cli/components/view/PlanRow.d.ts.map +1 -1
- package/lib/Cli/components/view/PlanRow.js +1 -1
- package/lib/Cli/components/view/PlanView.d.ts +1 -20
- package/lib/Cli/components/view/PlanView.d.ts.map +1 -1
- package/lib/Cli/components/view/PlanView.js +3 -3
- package/lib/Cli/components/view/PlanView.js.map +1 -1
- package/lib/Cli/components/view/Profile.js +2 -2
- package/lib/Cli/components/view/Profile.js.map +1 -1
- package/lib/Cli/components/view/ProfileDashboard.d.ts +2 -2
- package/lib/Cli/components/view/ProfileDashboard.d.ts.map +1 -1
- package/lib/Cli/components/view/ProfileDashboard.js +3 -3
- package/lib/Cli/components/view/ProfileDashboard.js.map +1 -1
- package/lib/Cli/components/view/Prompts.d.ts.map +1 -1
- package/lib/Cli/components/view/Prompts.js +3 -3
- package/lib/Cli/components/view/Prompts.js.map +1 -1
- package/lib/Cli/components/view/Runtime.d.ts.map +1 -1
- package/lib/Cli/components/view/Runtime.js +4 -4
- package/lib/Cli/components/view/Runtime.js.map +1 -1
- package/lib/Cli/components/view/SigilCli.js +2 -2
- package/lib/Cli/components/view/SigilCli.js.map +1 -1
- package/lib/Cli/components/view/StackOutputs.js +2 -2
- package/lib/Cli/components/view/StackOutputs.js.map +1 -1
- package/lib/Cli/components/view/StateExplorer.js +3 -3
- package/lib/Cli/components/view/StateExplorer.js.map +1 -1
- package/lib/Cli/components/view/usePlanPresentation.js +1 -1
- package/lib/Cli/components/view/usePlanPresentation.js.map +1 -1
- package/lib/Cli/components/view/usePlanViewport.js +1 -1
- package/lib/Cli/components/view/usePlanViewport.js.map +1 -1
- package/lib/Cli/exec.d.ts.map +1 -1
- package/lib/Cli/exec.js +3 -2
- package/lib/Cli/exec.js.map +1 -1
- package/lib/Cli/main.d.ts.map +1 -1
- package/lib/Cli/main.js +5 -5
- package/lib/Cli/main.js.map +1 -1
- package/lib/Cloudflare/AI/GatewayProvider.d.ts +1 -1
- package/lib/Cloudflare/AI/GatewayProvider.js +1 -1
- package/lib/Cloudflare/AI/LanguageModel.d.ts +2 -2
- package/lib/Cloudflare/AI/LanguageModel.d.ts.map +1 -1
- package/lib/Cloudflare/AI/LanguageModel.js +1 -1
- package/lib/Cloudflare/AI/ProviderKey.d.ts +3 -3
- package/lib/Cloudflare/AI/ProviderKey.js +3 -3
- package/lib/Cloudflare/AI/SearchToken.d.ts.map +1 -1
- package/lib/Cloudflare/AI/SearchToken.js +3 -6
- package/lib/Cloudflare/AI/SearchToken.js.map +1 -1
- package/lib/Cloudflare/Access.js +1 -1
- package/lib/Cloudflare/Alerting/Webhook.d.ts +1 -1
- package/lib/Cloudflare/Alerting/Webhook.js +1 -1
- package/lib/Cloudflare/Bridge.d.ts +7 -0
- package/lib/Cloudflare/Bridge.d.ts.map +1 -1
- package/lib/Cloudflare/Bridge.js +8 -0
- package/lib/Cloudflare/Bridge.js.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.d.ts +2 -8
- package/lib/Cloudflare/CloudflareEnvironment.d.ts.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironment.js +3 -5
- package/lib/Cloudflare/CloudflareEnvironment.js.map +1 -1
- package/lib/Cloudflare/CloudflareEnvironmentService.d.ts +9 -0
- package/lib/Cloudflare/CloudflareEnvironmentService.d.ts.map +1 -0
- package/lib/Cloudflare/CloudflareEnvironmentService.js +5 -0
- package/lib/Cloudflare/CloudflareEnvironmentService.js.map +1 -0
- package/lib/Cloudflare/Containers/ContainerApplication.d.ts +11 -4
- package/lib/Cloudflare/Containers/ContainerApplication.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/ContainerApplication.js +0 -1
- package/lib/Cloudflare/Containers/ContainerApplication.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerPlatform.d.ts +2 -2
- package/lib/Cloudflare/Containers/ContainerPlatform.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/ContainerPlatform.js +1 -2
- package/lib/Cloudflare/Containers/ContainerPlatform.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/ContainerProvider.js +122 -65
- package/lib/Cloudflare/Containers/ContainerProvider.js.map +1 -1
- package/lib/Cloudflare/Containers/ContainerPublication.d.ts +4 -0
- package/lib/Cloudflare/Containers/ContainerPublication.d.ts.map +1 -0
- package/lib/Cloudflare/Containers/ContainerPublication.js +8 -0
- package/lib/Cloudflare/Containers/ContainerPublication.js.map +1 -0
- package/lib/Cloudflare/Containers/LocalContainerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Containers/LocalContainerProvider.js +3 -2
- package/lib/Cloudflare/Containers/LocalContainerProvider.js.map +1 -1
- package/lib/Cloudflare/D1/CloneDatabase.d.ts +1 -1
- package/lib/Cloudflare/D1/CloneDatabase.d.ts.map +1 -1
- package/lib/Cloudflare/D1/Database.js +3 -3
- package/lib/Cloudflare/D1/Database.js.map +1 -1
- package/lib/Cloudflare/D1/ImportDatabase.d.ts +1 -1
- package/lib/Cloudflare/D1/ImportDatabase.d.ts.map +1 -1
- package/lib/Cloudflare/DNS/ReadDnsLocal.d.ts +1 -1
- package/lib/Cloudflare/DNS/ReadDnsLocal.d.ts.map +1 -1
- package/lib/Cloudflare/DNS/ReadWriteDnsLocal.d.ts +1 -1
- package/lib/Cloudflare/DNS/ReadWriteDnsLocal.d.ts.map +1 -1
- package/lib/Cloudflare/DNS/WriteDnsLocal.d.ts +1 -1
- package/lib/Cloudflare/DNS/WriteDnsLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Fetcher.d.ts.map +1 -1
- package/lib/Cloudflare/Fetcher.js +58 -116
- package/lib/Cloudflare/Fetcher.js.map +1 -1
- package/lib/Cloudflare/Flagship/Flag.d.ts +8 -1
- package/lib/Cloudflare/Flagship/Flag.d.ts.map +1 -1
- package/lib/Cloudflare/Flagship/Flag.js.map +1 -1
- package/lib/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.d.ts.map +1 -1
- package/lib/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.js +10 -24
- package/lib/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.js.map +1 -1
- package/lib/Cloudflare/Hyperdrive/Connection.d.ts +1 -1
- package/lib/Cloudflare/Hyperdrive/Connection.d.ts.map +1 -1
- package/lib/Cloudflare/Hyperdrive/Connection.js +10 -7
- package/lib/Cloudflare/Hyperdrive/Connection.js.map +1 -1
- package/lib/Cloudflare/KV/ReadNamespaceHttp.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadNamespaceLocal.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadNamespaceLocal.d.ts.map +1 -1
- package/lib/Cloudflare/KV/ReadWriteNamespaceHttp.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadWriteNamespaceLocal.d.ts +1 -1
- package/lib/Cloudflare/KV/ReadWriteNamespaceLocal.d.ts.map +1 -1
- package/lib/Cloudflare/KV/WriteNamespaceHttp.d.ts +1 -1
- package/lib/Cloudflare/KV/WriteNamespaceLocal.d.ts +1 -1
- package/lib/Cloudflare/KV/WriteNamespaceLocal.d.ts.map +1 -1
- package/lib/Cloudflare/LoadBalancer/LoadBalancer.js +1 -1
- package/lib/Cloudflare/LoadBalancer/LoadBalancer.js.map +1 -1
- package/lib/Cloudflare/LoadBalancer/Monitor.js.map +1 -1
- package/lib/Cloudflare/Local.d.ts +8 -1
- package/lib/Cloudflare/Local.d.ts.map +1 -1
- package/lib/Cloudflare/Local.js +6 -2
- package/lib/Cloudflare/Local.js.map +1 -1
- package/lib/Cloudflare/LocalGateway.d.ts +1 -1
- package/lib/Cloudflare/LocalGateway.d.ts.map +1 -1
- package/lib/Cloudflare/LocalRuntime.d.ts +7 -2
- package/lib/Cloudflare/LocalRuntime.d.ts.map +1 -1
- package/lib/Cloudflare/LocalRuntime.js +8 -2
- package/lib/Cloudflare/LocalRuntime.js.map +1 -1
- package/lib/Cloudflare/Logs.d.ts.map +1 -1
- package/lib/Cloudflare/Logs.js +8 -7
- package/lib/Cloudflare/Logs.js.map +1 -1
- package/lib/Cloudflare/MagicTransit/IpsecTunnel.d.ts +1 -1
- package/lib/Cloudflare/MagicTransit/IpsecTunnel.js +1 -1
- package/lib/Cloudflare/MtlsCertificate/MtlsCertificate.d.ts +1 -1
- package/lib/Cloudflare/MtlsCertificate/MtlsCertificate.js +1 -1
- package/lib/Cloudflare/Organization/Organization.js +1 -1
- package/lib/Cloudflare/Organization/Organization.js.map +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/Certificate.d.ts +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/Certificate.js +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameAssociation.d.ts +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameAssociation.js +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameCertificate.d.ts +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/HostnameCertificate.js +2 -2
- package/lib/Cloudflare/OriginTlsClientAuth/Setting.d.ts +1 -1
- package/lib/Cloudflare/OriginTlsClientAuth/Setting.js +1 -1
- package/lib/Cloudflare/Pipelines/LegacyPipeline.d.ts +2 -2
- package/lib/Cloudflare/Pipelines/LegacyPipeline.js +2 -2
- package/lib/Cloudflare/Pipelines/Sink.d.ts +3 -3
- package/lib/Cloudflare/Pipelines/Sink.js +3 -3
- package/lib/Cloudflare/Providers.d.ts +12 -18
- package/lib/Cloudflare/Providers.d.ts.map +1 -1
- package/lib/Cloudflare/Providers.js +14 -20
- package/lib/Cloudflare/Providers.js.map +1 -1
- package/lib/Cloudflare/Queues/Consumer.js +2 -2
- package/lib/Cloudflare/Queues/Consumer.js.map +1 -1
- package/lib/Cloudflare/Queues/Queue.js +2 -2
- package/lib/Cloudflare/Queues/Queue.js.map +1 -1
- package/lib/Cloudflare/Queues/WriteQueueHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/Bucket.d.ts.map +1 -1
- package/lib/Cloudflare/R2/Bucket.js +15 -2
- package/lib/Cloudflare/R2/Bucket.js.map +1 -1
- package/lib/Cloudflare/R2/BucketBinding.d.ts.map +1 -1
- package/lib/Cloudflare/R2/BucketBinding.js +1 -0
- package/lib/Cloudflare/R2/BucketBinding.js.map +1 -1
- package/lib/Cloudflare/R2/BucketSippy.d.ts +7 -7
- package/lib/Cloudflare/R2/BucketSippy.js +7 -7
- package/lib/Cloudflare/R2/BucketTypes.d.ts +8 -0
- package/lib/Cloudflare/R2/BucketTypes.d.ts.map +1 -1
- package/lib/Cloudflare/R2/BucketTypes.js.map +1 -1
- package/lib/Cloudflare/R2/ReadBucketHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadBucketLocal.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadBucketLocal.d.ts.map +1 -1
- package/lib/Cloudflare/R2/ReadWriteBucketHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadWriteBucketLocal.d.ts +1 -1
- package/lib/Cloudflare/R2/ReadWriteBucketLocal.d.ts.map +1 -1
- package/lib/Cloudflare/R2/WriteBucketBinding.d.ts.map +1 -1
- package/lib/Cloudflare/R2/WriteBucketBinding.js +9 -6
- package/lib/Cloudflare/R2/WriteBucketBinding.js.map +1 -1
- package/lib/Cloudflare/R2/WriteBucketHttp.d.ts +1 -1
- package/lib/Cloudflare/R2/WriteBucketLocal.d.ts +1 -1
- package/lib/Cloudflare/R2/WriteBucketLocal.d.ts.map +1 -1
- package/lib/Cloudflare/R2/index.d.ts +1 -0
- package/lib/Cloudflare/R2/index.d.ts.map +1 -1
- package/lib/Cloudflare/R2/index.js +1 -0
- package/lib/Cloudflare/R2/index.js.map +1 -1
- package/lib/Cloudflare/SecretsStore/Secret.js +3 -3
- package/lib/Cloudflare/SecretsStore/Secret.js.map +1 -1
- package/lib/Cloudflare/Snippets/SnippetRules.d.ts.map +1 -1
- package/lib/Cloudflare/Snippets/SnippetRules.js +5 -3
- package/lib/Cloudflare/Snippets/SnippetRules.js.map +1 -1
- package/lib/Cloudflare/StateStore/Api.d.ts +15 -0
- package/lib/Cloudflare/StateStore/State.d.ts +4 -6
- package/lib/Cloudflare/StateStore/State.d.ts.map +1 -1
- package/lib/Cloudflare/StateStore/State.js +6 -14
- package/lib/Cloudflare/StateStore/State.js.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelBinding.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelLocal.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadTunnelLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelBinding.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelLocal.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/ReadWriteTunnelLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelBinding.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelLocal.d.ts +1 -1
- package/lib/Cloudflare/Tunnel/WriteTunnelLocal.d.ts.map +1 -1
- package/lib/Cloudflare/Website/Nuxt.d.ts +1 -1
- package/lib/Cloudflare/Website/Nuxt.js +1 -1
- package/lib/Cloudflare/Website/Octane.d.ts +1 -1
- package/lib/Cloudflare/Website/Octane.js +1 -1
- package/lib/Cloudflare/Website/SvelteKit.d.ts +1 -1
- package/lib/Cloudflare/Website/SvelteKit.js +1 -1
- package/lib/Cloudflare/Workers/AIBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/AIBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Assets.d.ts +1 -1
- package/lib/Cloudflare/Workers/Assets.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Assets.js +1 -1
- package/lib/Cloudflare/Workers/Assets.js.map +1 -1
- package/lib/Cloudflare/Workers/BrowserBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/BrowserBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/CloudflareTracer.js +1 -1
- package/lib/Cloudflare/Workers/CloudflareTracer.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObject.d.ts +22 -3
- package/lib/Cloudflare/Workers/DurableObject.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObject.js +4 -4
- package/lib/Cloudflare/Workers/DurableObject.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.js +1 -1
- package/lib/Cloudflare/Workers/DurableObjectBridge.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectState.js +1 -1
- package/lib/Cloudflare/Workers/DurableObjectState.js.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/DurableObjectStorage.js +22 -22
- package/lib/Cloudflare/Workers/DurableObjectStorage.js.map +1 -1
- package/lib/Cloudflare/Workers/HttpServer.d.ts +1 -1
- package/lib/Cloudflare/Workers/HttpServer.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/HttpServer.js +1 -1
- package/lib/Cloudflare/Workers/HttpServer.js.map +1 -1
- package/lib/Cloudflare/Workers/InferEnv.d.ts +1 -1
- package/lib/Cloudflare/Workers/InferEnv.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/LocalWorkerProvider.js +33 -13
- package/lib/Cloudflare/Workers/LocalWorkerProvider.js.map +1 -1
- package/lib/Cloudflare/Workers/RateLimitBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/RateLimitBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Rpc.d.ts +9 -1
- package/lib/Cloudflare/Workers/Rpc.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Rpc.js +4 -3
- package/lib/Cloudflare/Workers/Rpc.js.map +1 -1
- package/lib/Cloudflare/Workers/RpcAsync.js +1 -1
- package/lib/Cloudflare/Workers/RpcAsync.js.map +1 -1
- package/lib/Cloudflare/Workers/SecretKeyBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/SecretKeyBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Prebuilt.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Prebuilt.js +3 -2
- package/lib/Cloudflare/Workers/Sources/Prebuilt.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Python.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Python.js +3 -2
- package/lib/Cloudflare/Workers/Sources/Python.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Rolldown.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Sources/Rolldown.js +24 -9
- package/lib/Cloudflare/Workers/Sources/Rolldown.js.map +1 -1
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.d.ts +23 -0
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.js +52 -0
- package/lib/Cloudflare/Workers/Sources/WorkerModulePlugin.js.map +1 -0
- package/lib/Cloudflare/Workers/VersionMetadataBinding.d.ts +1 -1
- package/lib/Cloudflare/Workers/VersionMetadataBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.js +2 -1
- package/lib/Cloudflare/Workers/ViteChild.js.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.shared.d.ts +1 -0
- package/lib/Cloudflare/Workers/ViteChild.shared.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/ViteChild.shared.js.map +1 -1
- package/lib/Cloudflare/Workers/Worker.d.ts +168 -98
- package/lib/Cloudflare/Workers/Worker.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/Worker.js +46 -97
- package/lib/Cloudflare/Workers/Worker.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerBinding.d.ts +31 -1
- package/lib/Cloudflare/Workers/WorkerBinding.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerBridge.js +5 -5
- package/lib/Cloudflare/Workers/WorkerBridge.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerEntrypoint.d.ts +42 -13
- package/lib/Cloudflare/Workers/WorkerEntrypoint.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerEntrypoint.js +36 -10
- package/lib/Cloudflare/Workers/WorkerEntrypoint.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerProvider.d.ts +20 -0
- package/lib/Cloudflare/Workers/WorkerProvider.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerProvider.js +434 -27
- package/lib/Cloudflare/Workers/WorkerProvider.js.map +1 -1
- package/lib/Cloudflare/Workers/WorkerRuntime.d.ts +82 -0
- package/lib/Cloudflare/Workers/WorkerRuntime.d.ts.map +1 -0
- package/lib/Cloudflare/Workers/WorkerRuntime.js +77 -0
- package/lib/Cloudflare/Workers/WorkerRuntime.js.map +1 -0
- package/lib/Cloudflare/Workers/WorkerRuntimeContext.d.ts.map +1 -1
- package/lib/Cloudflare/Workers/WorkerRuntimeContext.js +9 -6
- package/lib/Cloudflare/Workers/WorkerRuntimeContext.js.map +1 -1
- package/lib/Cloudflare/Workflows/Workflow.d.ts +2 -38
- package/lib/Cloudflare/Workflows/Workflow.d.ts.map +1 -1
- package/lib/Cloudflare/Workflows/Workflow.js +2 -21
- package/lib/Cloudflare/Workflows/Workflow.js.map +1 -1
- package/lib/Cloudflare/Workflows/WorkflowBridge.d.ts +2 -1
- package/lib/Cloudflare/Workflows/WorkflowBridge.d.ts.map +1 -1
- package/lib/Cloudflare/Workflows/WorkflowBridge.js +2 -2
- package/lib/Cloudflare/Workflows/WorkflowBridge.js.map +1 -1
- package/lib/Cloudflare/Workflows/WorkflowRuntime.d.ts +42 -0
- package/lib/Cloudflare/Workflows/WorkflowRuntime.d.ts.map +1 -0
- package/lib/Cloudflare/Workflows/WorkflowRuntime.js +20 -0
- package/lib/Cloudflare/Workflows/WorkflowRuntime.js.map +1 -0
- package/lib/Cloudflare/index.d.ts.map +1 -1
- package/lib/Cloudflare/index.js +3 -1
- package/lib/Cloudflare/index.js.map +1 -1
- package/lib/Command/Dev.d.ts.map +1 -1
- package/lib/Command/Dev.js +2 -1
- package/lib/Command/Dev.js.map +1 -1
- package/lib/Command/Local.d.ts +7 -1
- package/lib/Command/Local.d.ts.map +1 -1
- package/lib/Command/Local.js +5 -2
- package/lib/Command/Local.js.map +1 -1
- package/lib/Command/Memo.d.ts.map +1 -1
- package/lib/Command/Memo.js +6 -7
- package/lib/Command/Memo.js.map +1 -1
- package/lib/Docker/Container.d.ts +1 -1
- package/lib/Docker/Container.js +1 -1
- package/lib/Docker/Docker.d.ts +19 -7
- package/lib/Docker/Docker.d.ts.map +1 -1
- package/lib/Docker/Docker.js +132 -54
- package/lib/Docker/Docker.js.map +1 -1
- package/lib/Docker/Image.d.ts +1 -1
- package/lib/Docker/Image.js +1 -1
- package/lib/Docker/Registry.d.ts +1 -1
- package/lib/Docker/RegistryError.d.ts +21 -0
- package/lib/Docker/RegistryError.d.ts.map +1 -0
- package/lib/Docker/RegistryError.js +28 -0
- package/lib/Docker/RegistryError.js.map +1 -0
- package/lib/Docker/RemoteImage.d.ts +1 -1
- package/lib/Docker/RemoteImage.js +1 -1
- package/lib/Docker/ServiceImage.d.ts +1 -1
- package/lib/Docker/index.d.ts +1 -0
- package/lib/Docker/index.d.ts.map +1 -1
- package/lib/Docker/index.js +1 -0
- package/lib/Docker/index.js.map +1 -1
- package/lib/Drizzle/Postgres.d.ts.map +1 -1
- package/lib/Drizzle/Postgres.js +3 -1
- package/lib/Drizzle/Postgres.js.map +1 -1
- package/lib/Fly/BucketBinding.js +5 -5
- package/lib/Fly/GetSecretHttp.js +1 -1
- package/lib/Fly/RedisBinding.js +2 -2
- package/lib/Fly/Secret.d.ts +4 -4
- package/lib/Fly/Secret.js +4 -4
- package/lib/Fly/SecretHttp.js +1 -1
- package/lib/Fly/Service.d.ts +3 -3
- package/lib/Fly/Service.js +3 -3
- package/lib/Fly/Sprite.d.ts +2 -2
- package/lib/Fly/Sprite.js +2 -2
- package/lib/Fly/Website/AssetDeployment.d.ts.map +1 -1
- package/lib/Fly/Website/AssetDeployment.js +1 -1
- package/lib/Fly/Website/AssetDeployment.js.map +1 -1
- package/lib/Fly/replicas.d.ts +5 -5
- package/lib/Fly/replicas.d.ts.map +1 -1
- package/lib/Fly/replicas.js +39 -9
- package/lib/Fly/replicas.js.map +1 -1
- package/lib/Git/Api/GitHub.d.ts +38 -0
- package/lib/Git/Api/GitHub.d.ts.map +1 -0
- package/lib/Git/Api/GitHub.js +38 -0
- package/lib/Git/Api/GitHub.js.map +1 -0
- package/lib/Git/Api/Internal.d.ts +27 -0
- package/lib/Git/Api/Internal.d.ts.map +1 -0
- package/lib/Git/Api/Internal.js +27 -0
- package/lib/Git/Api/Internal.js.map +1 -0
- package/lib/Git/Api/Objects.d.ts +140 -0
- package/lib/Git/Api/Objects.d.ts.map +1 -0
- package/lib/Git/Api/Objects.js +100 -0
- package/lib/Git/Api/Objects.js.map +1 -0
- package/lib/Git/Api/Protocol.d.ts +41 -0
- package/lib/Git/Api/Protocol.d.ts.map +1 -0
- package/lib/Git/Api/Protocol.js +23 -0
- package/lib/Git/Api/Protocol.js.map +1 -0
- package/lib/Git/Api/Pulls.d.ts +157 -0
- package/lib/Git/Api/Pulls.d.ts.map +1 -0
- package/lib/Git/Api/Pulls.js +109 -0
- package/lib/Git/Api/Pulls.js.map +1 -0
- package/lib/Git/Api/Refs.d.ts +95 -0
- package/lib/Git/Api/Refs.d.ts.map +1 -0
- package/lib/Git/Api/Refs.js +70 -0
- package/lib/Git/Api/Refs.js.map +1 -0
- package/lib/Git/Api/Repos.d.ts +168 -0
- package/lib/Git/Api/Repos.d.ts.map +1 -0
- package/lib/Git/Api/Repos.js +123 -0
- package/lib/Git/Api/Repos.js.map +1 -0
- package/lib/Git/Api/Schema.d.ts +511 -0
- package/lib/Git/Api/Schema.d.ts.map +1 -0
- package/lib/Git/Api/Schema.js +443 -0
- package/lib/Git/Api/Schema.js.map +1 -0
- package/lib/Git/Api.d.ts +65 -0
- package/lib/Git/Api.d.ts.map +1 -0
- package/lib/Git/Api.js +54 -0
- package/lib/Git/Api.js.map +1 -0
- package/lib/Git/BlobStore.d.ts +129 -0
- package/lib/Git/BlobStore.d.ts.map +1 -0
- package/lib/Git/BlobStore.js +118 -0
- package/lib/Git/BlobStore.js.map +1 -0
- package/lib/Git/BlobStoreS3.d.ts +13 -0
- package/lib/Git/BlobStoreS3.d.ts.map +1 -0
- package/lib/Git/BlobStoreS3.js +184 -0
- package/lib/Git/BlobStoreS3.js.map +1 -0
- package/lib/Git/Engine.d.ts +127 -0
- package/lib/Git/Engine.d.ts.map +1 -0
- package/lib/Git/Engine.js +290 -0
- package/lib/Git/Engine.js.map +1 -0
- package/lib/Git/GitHubCompat.d.ts +155 -0
- package/lib/Git/GitHubCompat.d.ts.map +1 -0
- package/lib/Git/GitHubCompat.js +444 -0
- package/lib/Git/GitHubCompat.js.map +1 -0
- package/lib/Git/Hasher/Hasher.d.ts +129 -0
- package/lib/Git/Hasher/Hasher.d.ts.map +1 -0
- package/lib/Git/Hasher/Hasher.js +170 -0
- package/lib/Git/Hasher/Hasher.js.map +1 -0
- package/lib/Git/Hasher/Lambda.d.ts +18 -0
- package/lib/Git/Hasher/Lambda.d.ts.map +1 -0
- package/lib/Git/Hasher/Lambda.js +81 -0
- package/lib/Git/Hasher/Lambda.js.map +1 -0
- package/lib/Git/Hasher/LambdaEvent.d.ts +45 -0
- package/lib/Git/Hasher/LambdaEvent.d.ts.map +1 -0
- package/lib/Git/Hasher/LambdaEvent.js +99 -0
- package/lib/Git/Hasher/LambdaEvent.js.map +1 -0
- package/lib/Git/Hasher/LambdaFunction.d.ts +7 -0
- package/lib/Git/Hasher/LambdaFunction.d.ts.map +1 -0
- package/lib/Git/Hasher/LambdaFunction.js +41 -0
- package/lib/Git/Hasher/LambdaFunction.js.map +1 -0
- package/lib/Git/Hasher/Protocol.d.ts +46 -0
- package/lib/Git/Hasher/Protocol.d.ts.map +1 -0
- package/lib/Git/Hasher/Protocol.js +235 -0
- package/lib/Git/Hasher/Protocol.js.map +1 -0
- package/lib/Git/Hasher/WorkerLoader.d.ts +17 -0
- package/lib/Git/Hasher/WorkerLoader.d.ts.map +1 -0
- package/lib/Git/Hasher/WorkerLoader.js +90 -0
- package/lib/Git/Hasher/WorkerLoader.js.map +1 -0
- package/lib/Git/Hasher/WorkerLoaderModule.d.ts +5 -0
- package/lib/Git/Hasher/WorkerLoaderModule.d.ts.map +1 -0
- package/lib/Git/Hasher/WorkerLoaderModule.js +47 -0
- package/lib/Git/Hasher/WorkerLoaderModule.js.map +1 -0
- package/lib/Git/Hasher/index.d.ts +16 -0
- package/lib/Git/Hasher/index.d.ts.map +1 -0
- package/lib/Git/Hasher/index.js +16 -0
- package/lib/Git/Hasher/index.js.map +1 -0
- package/lib/Git/Http/ReceivePack.d.ts +38 -0
- package/lib/Git/Http/ReceivePack.d.ts.map +1 -0
- package/lib/Git/Http/ReceivePack.js +94 -0
- package/lib/Git/Http/ReceivePack.js.map +1 -0
- package/lib/Git/Http.d.ts +5 -0
- package/lib/Git/Http.d.ts.map +1 -0
- package/lib/Git/Http.js +5 -0
- package/lib/Git/Http.js.map +1 -0
- package/lib/Git/Jobs/Bundle.d.ts +139 -0
- package/lib/Git/Jobs/Bundle.d.ts.map +1 -0
- package/lib/Git/Jobs/Bundle.js +160 -0
- package/lib/Git/Jobs/Bundle.js.map +1 -0
- package/lib/Git/Jobs/Compact.d.ts +145 -0
- package/lib/Git/Jobs/Compact.d.ts.map +1 -0
- package/lib/Git/Jobs/Compact.js +331 -0
- package/lib/Git/Jobs/Compact.js.map +1 -0
- package/lib/Git/Jobs/Fork.d.ts +116 -0
- package/lib/Git/Jobs/Fork.d.ts.map +1 -0
- package/lib/Git/Jobs/Fork.js +173 -0
- package/lib/Git/Jobs/Fork.js.map +1 -0
- package/lib/Git/Jobs/Import.d.ts +144 -0
- package/lib/Git/Jobs/Import.d.ts.map +1 -0
- package/lib/Git/Jobs/Import.js +291 -0
- package/lib/Git/Jobs/Import.js.map +1 -0
- package/lib/Git/Jobs/Purge.d.ts +62 -0
- package/lib/Git/Jobs/Purge.d.ts.map +1 -0
- package/lib/Git/Jobs/Purge.js +55 -0
- package/lib/Git/Jobs/Purge.js.map +1 -0
- package/lib/Git/Operations.d.ts +136 -0
- package/lib/Git/Operations.d.ts.map +1 -0
- package/lib/Git/Operations.js +684 -0
- package/lib/Git/Operations.js.map +1 -0
- package/lib/Git/Protocol/Advertise.d.ts +50 -0
- package/lib/Git/Protocol/Advertise.d.ts.map +1 -0
- package/lib/Git/Protocol/Advertise.js +116 -0
- package/lib/Git/Protocol/Advertise.js.map +1 -0
- package/lib/Git/Protocol/Delta.d.ts +60 -0
- package/lib/Git/Protocol/Delta.d.ts.map +1 -0
- package/lib/Git/Protocol/Delta.js +147 -0
- package/lib/Git/Protocol/Delta.js.map +1 -0
- package/lib/Git/Protocol/GzipBody.d.ts +65 -0
- package/lib/Git/Protocol/GzipBody.d.ts.map +1 -0
- package/lib/Git/Protocol/GzipBody.js +108 -0
- package/lib/Git/Protocol/GzipBody.js.map +1 -0
- package/lib/Git/Protocol/ObjectCodec.d.ts +346 -0
- package/lib/Git/Protocol/ObjectCodec.d.ts.map +1 -0
- package/lib/Git/Protocol/ObjectCodec.js +685 -0
- package/lib/Git/Protocol/ObjectCodec.js.map +1 -0
- package/lib/Git/Protocol/PackParser.d.ts +231 -0
- package/lib/Git/Protocol/PackParser.d.ts.map +1 -0
- package/lib/Git/Protocol/PackParser.js +636 -0
- package/lib/Git/Protocol/PackParser.js.map +1 -0
- package/lib/Git/Protocol/PackWriter.d.ts +50 -0
- package/lib/Git/Protocol/PackWriter.d.ts.map +1 -0
- package/lib/Git/Protocol/PackWriter.js +82 -0
- package/lib/Git/Protocol/PackWriter.js.map +1 -0
- package/lib/Git/Protocol/PartialScan.d.ts +183 -0
- package/lib/Git/Protocol/PartialScan.d.ts.map +1 -0
- package/lib/Git/Protocol/PartialScan.js +513 -0
- package/lib/Git/Protocol/PartialScan.js.map +1 -0
- package/lib/Git/Protocol/Pkt.d.ts +107 -0
- package/lib/Git/Protocol/Pkt.d.ts.map +1 -0
- package/lib/Git/Protocol/Pkt.js +227 -0
- package/lib/Git/Protocol/Pkt.js.map +1 -0
- package/lib/Git/Protocol/ReceivePack.d.ts +190 -0
- package/lib/Git/Protocol/ReceivePack.d.ts.map +1 -0
- package/lib/Git/Protocol/ReceivePack.js +250 -0
- package/lib/Git/Protocol/ReceivePack.js.map +1 -0
- package/lib/Git/Protocol/Sideband.d.ts +97 -0
- package/lib/Git/Protocol/Sideband.d.ts.map +1 -0
- package/lib/Git/Protocol/Sideband.js +214 -0
- package/lib/Git/Protocol/Sideband.js.map +1 -0
- package/lib/Git/Protocol/Store.d.ts +160 -0
- package/lib/Git/Protocol/Store.d.ts.map +1 -0
- package/lib/Git/Protocol/Store.js +11 -0
- package/lib/Git/Protocol/Store.js.map +1 -0
- package/lib/Git/Protocol/TreeDiff.d.ts +114 -0
- package/lib/Git/Protocol/TreeDiff.d.ts.map +1 -0
- package/lib/Git/Protocol/TreeDiff.js +347 -0
- package/lib/Git/Protocol/TreeDiff.js.map +1 -0
- package/lib/Git/Protocol/UploadPack.d.ts +103 -0
- package/lib/Git/Protocol/UploadPack.d.ts.map +1 -0
- package/lib/Git/Protocol/UploadPack.js +269 -0
- package/lib/Git/Protocol/UploadPack.js.map +1 -0
- package/lib/Git/Protocol/Zlib.d.ts +75 -0
- package/lib/Git/Protocol/Zlib.d.ts.map +1 -0
- package/lib/Git/Protocol/Zlib.js +256 -0
- package/lib/Git/Protocol/Zlib.js.map +1 -0
- package/lib/Git/Push.d.ts +47 -0
- package/lib/Git/Push.d.ts.map +1 -0
- package/lib/Git/Push.js +12 -0
- package/lib/Git/Push.js.map +1 -0
- package/lib/Git/PushInput.d.ts +14 -0
- package/lib/Git/PushInput.d.ts.map +1 -0
- package/lib/Git/PushInput.js +45 -0
- package/lib/Git/PushInput.js.map +1 -0
- package/lib/Git/PushWire.d.ts +17 -0
- package/lib/Git/PushWire.d.ts.map +1 -0
- package/lib/Git/PushWire.js +49 -0
- package/lib/Git/PushWire.js.map +1 -0
- package/lib/Git/RegistryD1.d.ts +10 -0
- package/lib/Git/RegistryD1.d.ts.map +1 -0
- package/lib/Git/RegistryD1.js +188 -0
- package/lib/Git/RegistryD1.js.map +1 -0
- package/lib/Git/RegistryObject.d.ts +210 -0
- package/lib/Git/RegistryObject.d.ts.map +1 -0
- package/lib/Git/RegistryObject.js +287 -0
- package/lib/Git/RegistryObject.js.map +1 -0
- package/lib/Git/RepoObject.d.ts +804 -0
- package/lib/Git/RepoObject.d.ts.map +1 -0
- package/lib/Git/RepoObject.js +3839 -0
- package/lib/Git/RepoObject.js.map +1 -0
- package/lib/Git/Server.d.ts +215 -0
- package/lib/Git/Server.d.ts.map +1 -0
- package/lib/Git/Server.js +620 -0
- package/lib/Git/Server.js.map +1 -0
- package/lib/Git/Store/Closure.d.ts +85 -0
- package/lib/Git/Store/Closure.d.ts.map +1 -0
- package/lib/Git/Store/Closure.js +374 -0
- package/lib/Git/Store/Closure.js.map +1 -0
- package/lib/Git/Store/HeadSnapshot.d.ts +38 -0
- package/lib/Git/Store/HeadSnapshot.d.ts.map +1 -0
- package/lib/Git/Store/HeadSnapshot.js +12 -0
- package/lib/Git/Store/HeadSnapshot.js.map +1 -0
- package/lib/Git/Store/IncomingBody.d.ts +37 -0
- package/lib/Git/Store/IncomingBody.d.ts.map +1 -0
- package/lib/Git/Store/IncomingBody.js +61 -0
- package/lib/Git/Store/IncomingBody.js.map +1 -0
- package/lib/Git/Store/Keys.d.ts +105 -0
- package/lib/Git/Store/Keys.d.ts.map +1 -0
- package/lib/Git/Store/Keys.js +107 -0
- package/lib/Git/Store/Keys.js.map +1 -0
- package/lib/Git/Store/ObjectStore.d.ts +210 -0
- package/lib/Git/Store/ObjectStore.d.ts.map +1 -0
- package/lib/Git/Store/ObjectStore.js +598 -0
- package/lib/Git/Store/ObjectStore.js.map +1 -0
- package/lib/Git/Store/PackSource.d.ts +23 -0
- package/lib/Git/Store/PackSource.d.ts.map +1 -0
- package/lib/Git/Store/PackSource.js +129 -0
- package/lib/Git/Store/PackSource.js.map +1 -0
- package/lib/Git/Store/Sql.d.ts +213 -0
- package/lib/Git/Store/Sql.d.ts.map +1 -0
- package/lib/Git/Store/Sql.js +244 -0
- package/lib/Git/Store/Sql.js.map +1 -0
- package/lib/Git/Store/StreamingSource.d.ts +66 -0
- package/lib/Git/Store/StreamingSource.d.ts.map +1 -0
- package/lib/Git/Store/StreamingSource.js +274 -0
- package/lib/Git/Store/StreamingSource.js.map +1 -0
- package/lib/Git/index.d.ts +39 -0
- package/lib/Git/index.d.ts.map +1 -0
- package/lib/Git/index.js +38 -0
- package/lib/Git/index.js.map +1 -0
- package/lib/GitHub/BranchProtection.d.ts +309 -0
- package/lib/GitHub/BranchProtection.d.ts.map +1 -0
- package/lib/GitHub/BranchProtection.js +334 -0
- package/lib/GitHub/BranchProtection.js.map +1 -0
- package/lib/GitHub/Collaborator.d.ts +112 -0
- package/lib/GitHub/Collaborator.d.ts.map +1 -0
- package/lib/GitHub/Collaborator.js +164 -0
- package/lib/GitHub/Collaborator.js.map +1 -0
- package/lib/GitHub/Env.js +7 -7
- package/lib/GitHub/Issue.d.ts +168 -0
- package/lib/GitHub/Issue.d.ts.map +1 -0
- package/lib/GitHub/Issue.js +229 -0
- package/lib/GitHub/Issue.js.map +1 -0
- package/lib/GitHub/Label.d.ts +194 -0
- package/lib/GitHub/Label.d.ts.map +1 -0
- package/lib/GitHub/Label.js +260 -0
- package/lib/GitHub/Label.js.map +1 -0
- package/lib/GitHub/Milestone.d.ts +203 -0
- package/lib/GitHub/Milestone.d.ts.map +1 -0
- package/lib/GitHub/Milestone.js +261 -0
- package/lib/GitHub/Milestone.js.map +1 -0
- package/lib/GitHub/Providers.d.ts +1 -2
- package/lib/GitHub/Providers.d.ts.map +1 -1
- package/lib/GitHub/Providers.js +22 -3
- package/lib/GitHub/Providers.js.map +1 -1
- package/lib/GitHub/PullRequest.d.ts +220 -0
- package/lib/GitHub/PullRequest.d.ts.map +1 -0
- package/lib/GitHub/PullRequest.js +323 -0
- package/lib/GitHub/PullRequest.js.map +1 -0
- package/lib/GitHub/Release.d.ts +256 -0
- package/lib/GitHub/Release.d.ts.map +1 -0
- package/lib/GitHub/Release.js +315 -0
- package/lib/GitHub/Release.js.map +1 -0
- package/lib/GitHub/Ruleset.d.ts +277 -0
- package/lib/GitHub/Ruleset.d.ts.map +1 -0
- package/lib/GitHub/Ruleset.js +284 -0
- package/lib/GitHub/Ruleset.js.map +1 -0
- package/lib/GitHub/TeamAccess.d.ts +130 -0
- package/lib/GitHub/TeamAccess.d.ts.map +1 -0
- package/lib/GitHub/TeamAccess.js +176 -0
- package/lib/GitHub/TeamAccess.js.map +1 -0
- package/lib/GitHub/WikiPage.d.ts +252 -0
- package/lib/GitHub/WikiPage.d.ts.map +1 -0
- package/lib/GitHub/WikiPage.js +360 -0
- package/lib/GitHub/WikiPage.js.map +1 -0
- package/lib/GitHub/index.d.ts +10 -0
- package/lib/GitHub/index.d.ts.map +1 -1
- package/lib/GitHub/index.js +10 -0
- package/lib/GitHub/index.js.map +1 -1
- package/lib/Hetzner/Server.d.ts.map +1 -1
- package/lib/Hetzner/Server.js +29 -6
- package/lib/Hetzner/Server.js.map +1 -1
- package/lib/Hetzner/hosted.d.ts +1 -1
- package/lib/Http/Platform.d.ts +18 -0
- package/lib/Http/Platform.d.ts.map +1 -0
- package/lib/Http/Platform.js +35 -0
- package/lib/Http/Platform.js.map +1 -0
- package/lib/Http/index.d.ts +6 -0
- package/lib/Http/index.d.ts.map +1 -0
- package/lib/Http/index.js +6 -0
- package/lib/Http/index.js.map +1 -0
- package/lib/Http.d.ts +7 -1
- package/lib/Http.d.ts.map +1 -1
- package/lib/Http.js +2 -4
- package/lib/Http.js.map +1 -1
- package/lib/Kubernetes/internal/helm.js +1 -1
- package/lib/Kubernetes/internal/kubeconfig.js +1 -1
- package/lib/Kubernetes/internal/workload.js +4 -4
- package/lib/Local/LocalProvider.d.ts +3 -2
- package/lib/Local/LocalProvider.d.ts.map +1 -1
- package/lib/Local/LocalProvider.js +3 -2
- package/lib/Local/LocalProvider.js.map +1 -1
- package/lib/Local/ProviderLayer.d.ts +12 -9
- package/lib/Local/ProviderLayer.d.ts.map +1 -1
- package/lib/Local/ProviderLayer.js +25 -15
- package/lib/Local/ProviderLayer.js.map +1 -1
- package/lib/Local/RpcProvider.d.ts +2 -2
- package/lib/Local/RpcProvider.d.ts.map +1 -1
- package/lib/Local/RpcProvider.js +2 -2
- package/lib/Local/RpcProvider.js.map +1 -1
- package/lib/Local/RpcProviderProxy.d.ts +13 -1
- package/lib/Local/RpcProviderProxy.d.ts.map +1 -1
- package/lib/Local/RpcProviderProxy.js +16 -17
- package/lib/Local/RpcProviderProxy.js.map +1 -1
- package/lib/Local/RpcServer.d.ts +31 -10
- package/lib/Local/RpcServer.d.ts.map +1 -1
- package/lib/Local/RpcServer.js +31 -21
- package/lib/Local/RpcServer.js.map +1 -1
- package/lib/Local/RpcServerEnvironment.js +1 -1
- package/lib/Local/RpcSpawner.js +1 -1
- package/lib/Local/Sidecar.d.ts +2 -0
- package/lib/Local/Sidecar.d.ts.map +1 -0
- package/lib/Local/Sidecar.js +30 -0
- package/lib/Local/Sidecar.js.map +1 -0
- package/lib/Nuke.d.ts.map +1 -1
- package/lib/Nuke.js +25 -23
- package/lib/Nuke.js.map +1 -1
- package/lib/Output.js +1 -1
- package/lib/Phase.js +2 -2
- package/lib/Plan.d.ts.map +1 -1
- package/lib/Plan.js +7 -4
- package/lib/Plan.js.map +1 -1
- package/lib/Planetscale/Credentials.js +1 -1
- package/lib/Prisma/App.d.ts.map +1 -1
- package/lib/Prisma/App.js +81 -43
- package/lib/Prisma/App.js.map +1 -1
- package/lib/Prisma/Branch.d.ts.map +1 -1
- package/lib/Prisma/Branch.js +81 -36
- package/lib/Prisma/Branch.js.map +1 -1
- package/lib/Prisma/Bucket.d.ts.map +1 -1
- package/lib/Prisma/Bucket.js +41 -21
- package/lib/Prisma/Bucket.js.map +1 -1
- package/lib/Prisma/BucketAccessKey.d.ts.map +1 -1
- package/lib/Prisma/BucketAccessKey.js +46 -19
- package/lib/Prisma/BucketAccessKey.js.map +1 -1
- package/lib/Prisma/Client.d.ts +2 -1
- package/lib/Prisma/Client.d.ts.map +1 -1
- package/lib/Prisma/Client.js +5 -5
- package/lib/Prisma/Client.js.map +1 -1
- package/lib/Prisma/Compute.d.ts +82 -10
- package/lib/Prisma/Compute.d.ts.map +1 -1
- package/lib/Prisma/Compute.js +233 -116
- package/lib/Prisma/Compute.js.map +1 -1
- package/lib/Prisma/ComputeArchive.d.ts +9 -0
- package/lib/Prisma/ComputeArchive.d.ts.map +1 -1
- package/lib/Prisma/ComputeArchive.js +14 -4
- package/lib/Prisma/ComputeArchive.js.map +1 -1
- package/lib/Prisma/ComputeBuild.d.ts +67 -2
- package/lib/Prisma/ComputeBuild.d.ts.map +1 -1
- package/lib/Prisma/ComputeBuild.js +147 -1
- package/lib/Prisma/ComputeBuild.js.map +1 -1
- package/lib/Prisma/ComputeLifecycle.d.ts +51 -8
- package/lib/Prisma/ComputeLifecycle.d.ts.map +1 -1
- package/lib/Prisma/ComputeLifecycle.js +82 -40
- package/lib/Prisma/ComputeLifecycle.js.map +1 -1
- package/lib/Prisma/Connection.d.ts.map +1 -1
- package/lib/Prisma/Connection.js +72 -30
- package/lib/Prisma/Connection.js.map +1 -1
- package/lib/Prisma/Credentials.d.ts +22 -0
- package/lib/Prisma/Credentials.d.ts.map +1 -0
- package/lib/Prisma/Credentials.js +43 -0
- package/lib/Prisma/Credentials.js.map +1 -0
- package/lib/Prisma/Database.d.ts +9 -4
- package/lib/Prisma/Database.d.ts.map +1 -1
- package/lib/Prisma/Database.js +102 -66
- package/lib/Prisma/Database.js.map +1 -1
- package/lib/Prisma/Deployment.d.ts.map +1 -1
- package/lib/Prisma/Deployment.js +55 -26
- package/lib/Prisma/Deployment.js.map +1 -1
- package/lib/Prisma/EnvironmentVariable.d.ts.map +1 -1
- package/lib/Prisma/EnvironmentVariable.js +50 -26
- package/lib/Prisma/EnvironmentVariable.js.map +1 -1
- package/lib/Prisma/Internal/AppPromotion.d.ts +5 -4
- package/lib/Prisma/Internal/AppPromotion.d.ts.map +1 -1
- package/lib/Prisma/Internal/AppPromotion.js +16 -15
- package/lib/Prisma/Internal/AppPromotion.js.map +1 -1
- package/lib/Prisma/Internal/DatabaseSecrets.d.ts +5 -5
- package/lib/Prisma/Internal/DatabaseSecrets.d.ts.map +1 -1
- package/lib/Prisma/Internal/DatabaseSecrets.js +10 -5
- package/lib/Prisma/Internal/DatabaseSecrets.js.map +1 -1
- package/lib/Prisma/Internal/DeploymentActions.d.ts +3 -3
- package/lib/Prisma/Internal/DeploymentActions.d.ts.map +1 -1
- package/lib/Prisma/Internal/DeploymentActions.js +7 -11
- package/lib/Prisma/Internal/DeploymentActions.js.map +1 -1
- package/lib/Prisma/Internal/DeploymentIdentity.d.ts +2 -3
- package/lib/Prisma/Internal/DeploymentIdentity.d.ts.map +1 -1
- package/lib/Prisma/Internal/DeploymentIdentity.js +23 -2
- package/lib/Prisma/Internal/DeploymentIdentity.js.map +1 -1
- package/lib/Prisma/Internal/DeploymentObserve.d.ts +2 -2
- package/lib/Prisma/Internal/DeploymentObserve.d.ts.map +1 -1
- package/lib/Prisma/Internal/DeploymentObserve.js +3 -1
- package/lib/Prisma/Internal/DeploymentObserve.js.map +1 -1
- package/lib/Prisma/Internal/LogsClient.d.ts +8 -0
- package/lib/Prisma/Internal/LogsClient.d.ts.map +1 -0
- package/lib/Prisma/Internal/LogsClient.js +120 -0
- package/lib/Prisma/Internal/LogsClient.js.map +1 -0
- package/lib/Prisma/Internal/Observed.d.ts +164 -0
- package/lib/Prisma/Internal/Observed.d.ts.map +1 -0
- package/lib/Prisma/Internal/Observed.js +36 -0
- package/lib/Prisma/Internal/Observed.js.map +1 -0
- package/lib/Prisma/Internal/Pagination.d.ts +18 -0
- package/lib/Prisma/Internal/Pagination.d.ts.map +1 -0
- package/lib/Prisma/Internal/Pagination.js +13 -0
- package/lib/Prisma/Internal/Pagination.js.map +1 -0
- package/lib/Prisma/Operations.d.ts +2 -2
- package/lib/Prisma/Operations.d.ts.map +1 -1
- package/lib/Prisma/Operations.js +3 -2
- package/lib/Prisma/Operations.js.map +1 -1
- package/lib/Prisma/PrismaEnvironment.js +1 -1
- package/lib/Prisma/PrismaLogs.d.ts +2 -2
- package/lib/Prisma/PrismaLogs.d.ts.map +1 -1
- package/lib/Prisma/PrismaLogs.js +13 -4
- package/lib/Prisma/PrismaLogs.js.map +1 -1
- package/lib/Prisma/Project.d.ts +1 -2
- package/lib/Prisma/Project.d.ts.map +1 -1
- package/lib/Prisma/Project.js +84 -52
- package/lib/Prisma/Project.js.map +1 -1
- package/lib/Prisma/Providers.d.ts +18 -2
- package/lib/Prisma/Providers.d.ts.map +1 -1
- package/lib/Prisma/Providers.js +24 -5
- package/lib/Prisma/Providers.js.map +1 -1
- package/lib/Prisma/SourceRepository.d.ts.map +1 -1
- package/lib/Prisma/SourceRepository.js +137 -45
- package/lib/Prisma/SourceRepository.js.map +1 -1
- package/lib/Provider.d.ts +6 -2
- package/lib/Provider.d.ts.map +1 -1
- package/lib/Provider.js +12 -8
- package/lib/Provider.js.map +1 -1
- package/lib/Railway/AuditLog.d.ts +46 -5
- package/lib/Railway/AuditLog.d.ts.map +1 -1
- package/lib/Railway/AuditLog.js +14 -4
- package/lib/Railway/AuditLog.js.map +1 -1
- package/lib/Railway/AuthProvider.js.map +1 -1
- package/lib/Railway/Bucket.d.ts +1 -1
- package/lib/Railway/Bucket.d.ts.map +1 -1
- package/lib/Railway/Bucket.js +39 -19
- package/lib/Railway/Bucket.js.map +1 -1
- package/lib/Railway/BucketBinding.js +5 -5
- package/lib/Railway/Catalog.d.ts +42 -4
- package/lib/Railway/Catalog.d.ts.map +1 -1
- package/lib/Railway/Catalog.js +6 -1
- package/lib/Railway/Catalog.js.map +1 -1
- package/lib/Railway/CloudAgent.d.ts +68 -4
- package/lib/Railway/CloudAgent.d.ts.map +1 -1
- package/lib/Railway/CloudAgent.js +24 -20
- package/lib/Railway/CloudAgent.js.map +1 -1
- package/lib/Railway/CustomDomain.d.ts +1 -1
- package/lib/Railway/CustomDomain.d.ts.map +1 -1
- package/lib/Railway/CustomDomain.js +58 -32
- package/lib/Railway/CustomDomain.js.map +1 -1
- package/lib/Railway/Environment.d.ts +20 -2
- package/lib/Railway/Environment.d.ts.map +1 -1
- package/lib/Railway/Environment.js +7 -2
- package/lib/Railway/Environment.js.map +1 -1
- package/lib/Railway/Function.d.ts +1 -1
- package/lib/Railway/Function.d.ts.map +1 -1
- package/lib/Railway/Function.js +73 -55
- package/lib/Railway/Function.js.map +1 -1
- package/lib/Railway/GraphQL.d.ts +1230 -0
- package/lib/Railway/GraphQL.d.ts.map +1 -0
- package/lib/Railway/GraphQL.js +132 -0
- package/lib/Railway/GraphQL.js.map +1 -0
- package/lib/Railway/Group.d.ts +1 -1
- package/lib/Railway/Group.d.ts.map +1 -1
- package/lib/Railway/Group.js +101 -30
- package/lib/Railway/Group.js.map +1 -1
- package/lib/Railway/LoginSession.d.ts +10 -2
- package/lib/Railway/LoginSession.d.ts.map +1 -1
- package/lib/Railway/LoginSession.js +5 -4
- package/lib/Railway/LoginSession.js.map +1 -1
- package/lib/Railway/Mongo.d.ts +1 -1
- package/lib/Railway/Mongo.d.ts.map +1 -1
- package/lib/Railway/Mongo.js +107 -93
- package/lib/Railway/Mongo.js.map +1 -1
- package/lib/Railway/MountVolume.d.ts.map +1 -1
- package/lib/Railway/MountVolume.js +5 -4
- package/lib/Railway/MountVolume.js.map +1 -1
- package/lib/Railway/MySQL.d.ts +1 -1
- package/lib/Railway/MySQL.d.ts.map +1 -1
- package/lib/Railway/MySQL.js +107 -93
- package/lib/Railway/MySQL.js.map +1 -1
- package/lib/Railway/Postgres.d.ts +1 -1
- package/lib/Railway/Postgres.d.ts.map +1 -1
- package/lib/Railway/Postgres.js +113 -95
- package/lib/Railway/Postgres.js.map +1 -1
- package/lib/Railway/PrivateNetwork.d.ts +87 -61
- package/lib/Railway/PrivateNetwork.d.ts.map +1 -1
- package/lib/Railway/PrivateNetwork.js +298 -196
- package/lib/Railway/PrivateNetwork.js.map +1 -1
- package/lib/Railway/Project.d.ts +80 -6
- package/lib/Railway/Project.d.ts.map +1 -1
- package/lib/Railway/Project.js +24 -17
- package/lib/Railway/Project.js.map +1 -1
- package/lib/Railway/ProjectEnvironment.d.ts +1 -1
- package/lib/Railway/ProjectEnvironment.d.ts.map +1 -1
- package/lib/Railway/ProjectEnvironment.js +22 -15
- package/lib/Railway/ProjectEnvironment.js.map +1 -1
- package/lib/Railway/Providers.d.ts.map +1 -1
- package/lib/Railway/Providers.js +3 -2
- package/lib/Railway/Providers.js.map +1 -1
- package/lib/Railway/Redis.d.ts +1 -1
- package/lib/Railway/Redis.d.ts.map +1 -1
- package/lib/Railway/Redis.js +53 -42
- package/lib/Railway/Redis.js.map +1 -1
- package/lib/Railway/RedisBinding.js +2 -2
- package/lib/Railway/Sandbox.d.ts +182 -16
- package/lib/Railway/Sandbox.d.ts.map +1 -1
- package/lib/Railway/Sandbox.js +112 -53
- package/lib/Railway/Sandbox.js.map +1 -1
- package/lib/Railway/SandboxCheckpoint.d.ts +84 -0
- package/lib/Railway/SandboxCheckpoint.d.ts.map +1 -0
- package/lib/Railway/SandboxCheckpoint.js +189 -0
- package/lib/Railway/SandboxCheckpoint.js.map +1 -0
- package/lib/Railway/Service.d.ts +3 -1
- package/lib/Railway/Service.d.ts.map +1 -1
- package/lib/Railway/Service.js.map +1 -1
- package/lib/Railway/ServiceDomain.d.ts +79 -6
- package/lib/Railway/ServiceDomain.d.ts.map +1 -1
- package/lib/Railway/ServiceDomain.js +29 -49
- package/lib/Railway/ServiceDomain.js.map +1 -1
- package/lib/Railway/ServiceProvider.d.ts +1 -1
- package/lib/Railway/ServiceProvider.d.ts.map +1 -1
- package/lib/Railway/ServiceProvider.js +115 -65
- package/lib/Railway/ServiceProvider.js.map +1 -1
- package/lib/Railway/TcpProxy.d.ts +1 -1
- package/lib/Railway/TcpProxy.d.ts.map +1 -1
- package/lib/Railway/TcpProxy.js +24 -16
- package/lib/Railway/TcpProxy.js.map +1 -1
- package/lib/Railway/Template.d.ts +5 -5
- package/lib/Railway/Template.d.ts.map +1 -1
- package/lib/Railway/Template.js +83 -56
- package/lib/Railway/Template.js.map +1 -1
- package/lib/Railway/Usage.d.ts +82 -5
- package/lib/Railway/Usage.d.ts.map +1 -1
- package/lib/Railway/Usage.js +28 -12
- package/lib/Railway/Usage.js.map +1 -1
- package/lib/Railway/Variable.d.ts +1 -1
- package/lib/Railway/Variable.d.ts.map +1 -1
- package/lib/Railway/Variable.js +8 -10
- package/lib/Railway/Variable.js.map +1 -1
- package/lib/Railway/Volume.d.ts +77 -3
- package/lib/Railway/Volume.d.ts.map +1 -1
- package/lib/Railway/Volume.js +67 -35
- package/lib/Railway/Volume.js.map +1 -1
- package/lib/Railway/VolumeBackup.d.ts +20 -4
- package/lib/Railway/VolumeBackup.d.ts.map +1 -1
- package/lib/Railway/VolumeBackup.js +47 -28
- package/lib/Railway/VolumeBackup.js.map +1 -1
- package/lib/Railway/Website/Cdn.d.ts +18 -2
- package/lib/Railway/Website/Cdn.d.ts.map +1 -1
- package/lib/Railway/Website/Cdn.js +82 -35
- package/lib/Railway/Website/Cdn.js.map +1 -1
- package/lib/Railway/hosted.d.ts.map +1 -1
- package/lib/Railway/hosted.js +10 -3
- package/lib/Railway/hosted.js.map +1 -1
- package/lib/Railway/index.d.ts +1 -0
- package/lib/Railway/index.d.ts.map +1 -1
- package/lib/Railway/index.js +1 -0
- package/lib/Railway/index.js.map +1 -1
- package/lib/Railway/transient.d.ts +6 -16
- package/lib/Railway/transient.d.ts.map +1 -1
- package/lib/Railway/transient.js +20 -32
- package/lib/Railway/transient.js.map +1 -1
- package/lib/Rpc.d.ts +22 -1
- package/lib/Rpc.d.ts.map +1 -1
- package/lib/Rpc.js +37 -2
- package/lib/Rpc.js.map +1 -1
- package/lib/Runtime/Bootstrap/Process.js +2 -2
- package/lib/Runtime.d.ts +1 -1
- package/lib/Runtime.js +1 -1
- package/lib/RuntimeContext.d.ts +1 -1
- package/lib/RuntimeContext.js +1 -1
- package/lib/SQL/Postgres.d.ts.map +1 -1
- package/lib/SQL/Postgres.js +5 -1
- package/lib/SQL/Postgres.js.map +1 -1
- package/lib/SQL/PostgresTls.d.ts +29 -0
- package/lib/SQL/PostgresTls.d.ts.map +1 -0
- package/lib/SQL/PostgresTls.js +63 -0
- package/lib/SQL/PostgresTls.js.map +1 -0
- package/lib/Server/Process.js +1 -1
- package/lib/Server/index.d.ts +0 -2
- package/lib/Server/index.d.ts.map +1 -1
- package/lib/Server/index.js +0 -2
- package/lib/Server/index.js.map +1 -1
- package/lib/Stack.d.ts.map +1 -1
- package/lib/Stack.js +2 -1
- package/lib/Stack.js.map +1 -1
- package/lib/StackContext.d.ts +4 -0
- package/lib/StackContext.d.ts.map +1 -0
- package/lib/StackContext.js +3 -0
- package/lib/StackContext.js.map +1 -0
- package/lib/State/HttpStateApi.d.ts +8 -8
- package/lib/State/HttpStateStore.d.ts +5 -10
- package/lib/State/HttpStateStore.d.ts.map +1 -1
- package/lib/State/HttpStateStore.js +18 -32
- package/lib/State/HttpStateStore.js.map +1 -1
- package/lib/State/PostgresState.d.ts +4 -4
- package/lib/State/PostgresState.d.ts.map +1 -1
- package/lib/State/PostgresState.js +5 -4
- package/lib/State/PostgresState.js.map +1 -1
- package/lib/State/State.d.ts +5 -0
- package/lib/State/State.d.ts.map +1 -1
- package/lib/State/State.js.map +1 -1
- package/lib/Stripe/Account.d.ts +308 -0
- package/lib/Stripe/Account.d.ts.map +1 -0
- package/lib/Stripe/Account.js +436 -0
- package/lib/Stripe/Account.js.map +1 -0
- package/lib/Stripe/AccountExternalAccount.d.ts +139 -0
- package/lib/Stripe/AccountExternalAccount.d.ts.map +1 -0
- package/lib/Stripe/AccountExternalAccount.js +354 -0
- package/lib/Stripe/AccountExternalAccount.js.map +1 -0
- package/lib/Stripe/AccountPerson.d.ts +142 -0
- package/lib/Stripe/AccountPerson.d.ts.map +1 -0
- package/lib/Stripe/AccountPerson.js +354 -0
- package/lib/Stripe/AccountPerson.js.map +1 -0
- package/lib/Stripe/Alert.d.ts +168 -0
- package/lib/Stripe/Alert.d.ts.map +1 -0
- package/lib/Stripe/Alert.js +285 -0
- package/lib/Stripe/Alert.js.map +1 -0
- package/lib/Stripe/ApplePayDomain.d.ts +75 -0
- package/lib/Stripe/ApplePayDomain.d.ts.map +1 -0
- package/lib/Stripe/ApplePayDomain.js +178 -0
- package/lib/Stripe/ApplePayDomain.js.map +1 -0
- package/lib/Stripe/AppsSecret.d.ts +120 -0
- package/lib/Stripe/AppsSecret.d.ts.map +1 -0
- package/lib/Stripe/AppsSecret.js +232 -0
- package/lib/Stripe/AppsSecret.js.map +1 -0
- package/lib/Stripe/AuthProvider.d.ts +27 -0
- package/lib/Stripe/AuthProvider.d.ts.map +1 -0
- package/lib/Stripe/AuthProvider.js +56 -0
- package/lib/Stripe/AuthProvider.js.map +1 -0
- package/lib/Stripe/BillingMeter.d.ts +168 -0
- package/lib/Stripe/BillingMeter.d.ts.map +1 -0
- package/lib/Stripe/BillingMeter.js +270 -0
- package/lib/Stripe/BillingMeter.js.map +1 -0
- package/lib/Stripe/BillingPortalConfiguration.d.ts +358 -0
- package/lib/Stripe/BillingPortalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/BillingPortalConfiguration.js +480 -0
- package/lib/Stripe/BillingPortalConfiguration.js.map +1 -0
- package/lib/Stripe/ConsumeEvents.d.ts +80 -0
- package/lib/Stripe/ConsumeEvents.d.ts.map +1 -0
- package/lib/Stripe/ConsumeEvents.js +139 -0
- package/lib/Stripe/ConsumeEvents.js.map +1 -0
- package/lib/Stripe/Coupon.d.ts +179 -0
- package/lib/Stripe/Coupon.d.ts.map +1 -0
- package/lib/Stripe/Coupon.js +323 -0
- package/lib/Stripe/Coupon.js.map +1 -0
- package/lib/Stripe/CreateAccount.d.ts +25 -0
- package/lib/Stripe/CreateAccount.d.ts.map +1 -0
- package/lib/Stripe/CreateAccount.js +3 -0
- package/lib/Stripe/CreateAccount.js.map +1 -0
- package/lib/Stripe/CreateAccountHttp.d.ts +11 -0
- package/lib/Stripe/CreateAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateAccountHttp.js +17 -0
- package/lib/Stripe/CreateAccountHttp.js.map +1 -0
- package/lib/Stripe/CreateAccountLink.d.ts +29 -0
- package/lib/Stripe/CreateAccountLink.d.ts.map +1 -0
- package/lib/Stripe/CreateAccountLink.js +3 -0
- package/lib/Stripe/CreateAccountLink.js.map +1 -0
- package/lib/Stripe/CreateAccountLinkHttp.d.ts +11 -0
- package/lib/Stripe/CreateAccountLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateAccountLinkHttp.js +17 -0
- package/lib/Stripe/CreateAccountLinkHttp.js.map +1 -0
- package/lib/Stripe/CreateAppsSecret.d.ts +25 -0
- package/lib/Stripe/CreateAppsSecret.d.ts.map +1 -0
- package/lib/Stripe/CreateAppsSecret.js +3 -0
- package/lib/Stripe/CreateAppsSecret.js.map +1 -0
- package/lib/Stripe/CreateAppsSecretHttp.d.ts +11 -0
- package/lib/Stripe/CreateAppsSecretHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateAppsSecretHttp.js +17 -0
- package/lib/Stripe/CreateAppsSecretHttp.js.map +1 -0
- package/lib/Stripe/CreateBillingPortalSession.d.ts +33 -0
- package/lib/Stripe/CreateBillingPortalSession.d.ts.map +1 -0
- package/lib/Stripe/CreateBillingPortalSession.js +3 -0
- package/lib/Stripe/CreateBillingPortalSession.js.map +1 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.d.ts +11 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.js +17 -0
- package/lib/Stripe/CreateBillingPortalSessionHttp.js.map +1 -0
- package/lib/Stripe/CreateCheckoutSession.d.ts +35 -0
- package/lib/Stripe/CreateCheckoutSession.d.ts.map +1 -0
- package/lib/Stripe/CreateCheckoutSession.js +3 -0
- package/lib/Stripe/CreateCheckoutSession.js.map +1 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.d.ts +11 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.js +17 -0
- package/lib/Stripe/CreateCheckoutSessionHttp.js.map +1 -0
- package/lib/Stripe/CreateCreditGrant.d.ts +27 -0
- package/lib/Stripe/CreateCreditGrant.d.ts.map +1 -0
- package/lib/Stripe/CreateCreditGrant.js +3 -0
- package/lib/Stripe/CreateCreditGrant.js.map +1 -0
- package/lib/Stripe/CreateCreditGrantHttp.d.ts +11 -0
- package/lib/Stripe/CreateCreditGrantHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateCreditGrantHttp.js +17 -0
- package/lib/Stripe/CreateCreditGrantHttp.js.map +1 -0
- package/lib/Stripe/CreateCustomer.d.ts +24 -0
- package/lib/Stripe/CreateCustomer.d.ts.map +1 -0
- package/lib/Stripe/CreateCustomer.js +3 -0
- package/lib/Stripe/CreateCustomer.js.map +1 -0
- package/lib/Stripe/CreateCustomerHttp.d.ts +11 -0
- package/lib/Stripe/CreateCustomerHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateCustomerHttp.js +17 -0
- package/lib/Stripe/CreateCustomerHttp.js.map +1 -0
- package/lib/Stripe/CreateFileLink.d.ts +23 -0
- package/lib/Stripe/CreateFileLink.d.ts.map +1 -0
- package/lib/Stripe/CreateFileLink.js +3 -0
- package/lib/Stripe/CreateFileLink.js.map +1 -0
- package/lib/Stripe/CreateFileLinkHttp.d.ts +11 -0
- package/lib/Stripe/CreateFileLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateFileLinkHttp.js +17 -0
- package/lib/Stripe/CreateFileLinkHttp.js.map +1 -0
- package/lib/Stripe/CreateIssuingCard.d.ts +25 -0
- package/lib/Stripe/CreateIssuingCard.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCard.js +3 -0
- package/lib/Stripe/CreateIssuingCard.js.map +1 -0
- package/lib/Stripe/CreateIssuingCardHttp.d.ts +11 -0
- package/lib/Stripe/CreateIssuingCardHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCardHttp.js +17 -0
- package/lib/Stripe/CreateIssuingCardHttp.js.map +1 -0
- package/lib/Stripe/CreateIssuingCardholder.d.ts +32 -0
- package/lib/Stripe/CreateIssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCardholder.js +3 -0
- package/lib/Stripe/CreateIssuingCardholder.js.map +1 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.d.ts +11 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.js +17 -0
- package/lib/Stripe/CreateIssuingCardholderHttp.js.map +1 -0
- package/lib/Stripe/CreateTerminalReader.d.ts +25 -0
- package/lib/Stripe/CreateTerminalReader.d.ts.map +1 -0
- package/lib/Stripe/CreateTerminalReader.js +3 -0
- package/lib/Stripe/CreateTerminalReader.js.map +1 -0
- package/lib/Stripe/CreateTerminalReaderHttp.d.ts +11 -0
- package/lib/Stripe/CreateTerminalReaderHttp.d.ts.map +1 -0
- package/lib/Stripe/CreateTerminalReaderHttp.js +17 -0
- package/lib/Stripe/CreateTerminalReaderHttp.js.map +1 -0
- package/lib/Stripe/Credentials.d.ts +15 -0
- package/lib/Stripe/Credentials.d.ts.map +1 -0
- package/lib/Stripe/Credentials.js +27 -0
- package/lib/Stripe/Credentials.js.map +1 -0
- package/lib/Stripe/CreditGrant.d.ts +219 -0
- package/lib/Stripe/CreditGrant.d.ts.map +1 -0
- package/lib/Stripe/CreditGrant.js +364 -0
- package/lib/Stripe/CreditGrant.js.map +1 -0
- package/lib/Stripe/Customer.d.ts +90 -0
- package/lib/Stripe/Customer.d.ts.map +1 -0
- package/lib/Stripe/Customer.js +203 -0
- package/lib/Stripe/Customer.js.map +1 -0
- package/lib/Stripe/CustomerTaxId.d.ts +81 -0
- package/lib/Stripe/CustomerTaxId.d.ts.map +1 -0
- package/lib/Stripe/CustomerTaxId.js +228 -0
- package/lib/Stripe/CustomerTaxId.js.map +1 -0
- package/lib/Stripe/EntitlementsFeature.d.ts +96 -0
- package/lib/Stripe/EntitlementsFeature.d.ts.map +1 -0
- package/lib/Stripe/EntitlementsFeature.js +261 -0
- package/lib/Stripe/EntitlementsFeature.js.map +1 -0
- package/lib/Stripe/Events.d.ts +91 -0
- package/lib/Stripe/Events.d.ts.map +1 -0
- package/lib/Stripe/Events.js +102 -0
- package/lib/Stripe/Events.js.map +1 -0
- package/lib/Stripe/FileLink.d.ts +92 -0
- package/lib/Stripe/FileLink.d.ts.map +1 -0
- package/lib/Stripe/FileLink.js +229 -0
- package/lib/Stripe/FileLink.js.map +1 -0
- package/lib/Stripe/IssuingCard.d.ts +249 -0
- package/lib/Stripe/IssuingCard.d.ts.map +1 -0
- package/lib/Stripe/IssuingCard.js +423 -0
- package/lib/Stripe/IssuingCard.js.map +1 -0
- package/lib/Stripe/IssuingCardholder.d.ts +366 -0
- package/lib/Stripe/IssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/IssuingCardholder.js +520 -0
- package/lib/Stripe/IssuingCardholder.js.map +1 -0
- package/lib/Stripe/IssuingPersonalizationDesign.d.ts +185 -0
- package/lib/Stripe/IssuingPersonalizationDesign.d.ts.map +1 -0
- package/lib/Stripe/IssuingPersonalizationDesign.js +340 -0
- package/lib/Stripe/IssuingPersonalizationDesign.js.map +1 -0
- package/lib/Stripe/Metadata.d.ts +39 -0
- package/lib/Stripe/Metadata.d.ts.map +1 -0
- package/lib/Stripe/Metadata.js +58 -0
- package/lib/Stripe/Metadata.js.map +1 -0
- package/lib/Stripe/PaymentLink.d.ts +219 -0
- package/lib/Stripe/PaymentLink.d.ts.map +1 -0
- package/lib/Stripe/PaymentLink.js +491 -0
- package/lib/Stripe/PaymentLink.js.map +1 -0
- package/lib/Stripe/PaymentMethodConfiguration.d.ts +269 -0
- package/lib/Stripe/PaymentMethodConfiguration.d.ts.map +1 -0
- package/lib/Stripe/PaymentMethodConfiguration.js +330 -0
- package/lib/Stripe/PaymentMethodConfiguration.js.map +1 -0
- package/lib/Stripe/PaymentMethodDomain.d.ts +118 -0
- package/lib/Stripe/PaymentMethodDomain.d.ts.map +1 -0
- package/lib/Stripe/PaymentMethodDomain.js +209 -0
- package/lib/Stripe/PaymentMethodDomain.js.map +1 -0
- package/lib/Stripe/Plan.d.ts +175 -0
- package/lib/Stripe/Plan.d.ts.map +1 -0
- package/lib/Stripe/Plan.js +305 -0
- package/lib/Stripe/Plan.js.map +1 -0
- package/lib/Stripe/Price.d.ts +176 -0
- package/lib/Stripe/Price.d.ts.map +1 -0
- package/lib/Stripe/Price.js +344 -0
- package/lib/Stripe/Price.js.map +1 -0
- package/lib/Stripe/Product.d.ts +92 -0
- package/lib/Stripe/Product.d.ts.map +1 -0
- package/lib/Stripe/Product.js +222 -0
- package/lib/Stripe/Product.js.map +1 -0
- package/lib/Stripe/ProductFeature.d.ts +70 -0
- package/lib/Stripe/ProductFeature.d.ts.map +1 -0
- package/lib/Stripe/ProductFeature.js +206 -0
- package/lib/Stripe/ProductFeature.js.map +1 -0
- package/lib/Stripe/PromotionCode.d.ts +168 -0
- package/lib/Stripe/PromotionCode.d.ts.map +1 -0
- package/lib/Stripe/PromotionCode.js +396 -0
- package/lib/Stripe/PromotionCode.js.map +1 -0
- package/lib/Stripe/Providers.d.ts +36 -0
- package/lib/Stripe/Providers.d.ts.map +1 -0
- package/lib/Stripe/Providers.js +162 -0
- package/lib/Stripe/Providers.js.map +1 -0
- package/lib/Stripe/RadarValueList.d.ts +112 -0
- package/lib/Stripe/RadarValueList.d.ts.map +1 -0
- package/lib/Stripe/RadarValueList.js +259 -0
- package/lib/Stripe/RadarValueList.js.map +1 -0
- package/lib/Stripe/RadarValueListItem.d.ts +69 -0
- package/lib/Stripe/RadarValueListItem.d.ts.map +1 -0
- package/lib/Stripe/RadarValueListItem.js +213 -0
- package/lib/Stripe/RadarValueListItem.js.map +1 -0
- package/lib/Stripe/RestrictedApiKey.d.ts +85 -0
- package/lib/Stripe/RestrictedApiKey.d.ts.map +1 -0
- package/lib/Stripe/RestrictedApiKey.js +91 -0
- package/lib/Stripe/RestrictedApiKey.js.map +1 -0
- package/lib/Stripe/RetrieveAccount.d.ts +23 -0
- package/lib/Stripe/RetrieveAccount.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccount.js +3 -0
- package/lib/Stripe/RetrieveAccount.js.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.d.ts +23 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.js +3 -0
- package/lib/Stripe/RetrieveAccountExternalAccount.js.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.js +31 -0
- package/lib/Stripe/RetrieveAccountExternalAccountHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAccountHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountHttp.js +18 -0
- package/lib/Stripe/RetrieveAccountHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAccountPerson.d.ts +23 -0
- package/lib/Stripe/RetrieveAccountPerson.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountPerson.js +3 -0
- package/lib/Stripe/RetrieveAccountPerson.js.map +1 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.js +31 -0
- package/lib/Stripe/RetrieveAccountPersonHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAlert.d.ts +23 -0
- package/lib/Stripe/RetrieveAlert.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAlert.js +3 -0
- package/lib/Stripe/RetrieveAlert.js.map +1 -0
- package/lib/Stripe/RetrieveAlertHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveAlertHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAlertHttp.js +17 -0
- package/lib/Stripe/RetrieveAlertHttp.js.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomain.d.ts +23 -0
- package/lib/Stripe/RetrieveApplePayDomain.d.ts.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomain.js +3 -0
- package/lib/Stripe/RetrieveApplePayDomain.js.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.js +18 -0
- package/lib/Stripe/RetrieveApplePayDomainHttp.js.map +1 -0
- package/lib/Stripe/RetrieveAppsSecret.d.ts +24 -0
- package/lib/Stripe/RetrieveAppsSecret.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAppsSecret.js +3 -0
- package/lib/Stripe/RetrieveAppsSecret.js.map +1 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.js +36 -0
- package/lib/Stripe/RetrieveAppsSecretHttp.js.map +1 -0
- package/lib/Stripe/RetrieveBillingMeter.d.ts +23 -0
- package/lib/Stripe/RetrieveBillingMeter.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingMeter.js +3 -0
- package/lib/Stripe/RetrieveBillingMeter.js.map +1 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.js +17 -0
- package/lib/Stripe/RetrieveBillingMeterHttp.js.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.d.ts +23 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.js +3 -0
- package/lib/Stripe/RetrieveBillingPortalConfiguration.js.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.js +17 -0
- package/lib/Stripe/RetrieveBillingPortalConfigurationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCoupon.d.ts +23 -0
- package/lib/Stripe/RetrieveCoupon.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCoupon.js +3 -0
- package/lib/Stripe/RetrieveCoupon.js.map +1 -0
- package/lib/Stripe/RetrieveCouponHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCouponHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCouponHttp.js +18 -0
- package/lib/Stripe/RetrieveCouponHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCreditGrant.d.ts +23 -0
- package/lib/Stripe/RetrieveCreditGrant.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCreditGrant.js +3 -0
- package/lib/Stripe/RetrieveCreditGrant.js.map +1 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.js +18 -0
- package/lib/Stripe/RetrieveCreditGrantHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCustomer.d.ts +23 -0
- package/lib/Stripe/RetrieveCustomer.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomer.js +3 -0
- package/lib/Stripe/RetrieveCustomer.js.map +1 -0
- package/lib/Stripe/RetrieveCustomerHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCustomerHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomerHttp.js +18 -0
- package/lib/Stripe/RetrieveCustomerHttp.js.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxId.d.ts +23 -0
- package/lib/Stripe/RetrieveCustomerTaxId.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxId.js +3 -0
- package/lib/Stripe/RetrieveCustomerTaxId.js.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.js +31 -0
- package/lib/Stripe/RetrieveCustomerTaxIdHttp.js.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.d.ts +23 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.d.ts.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.js +3 -0
- package/lib/Stripe/RetrieveEntitlementsFeature.js.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.js +17 -0
- package/lib/Stripe/RetrieveEntitlementsFeatureHttp.js.map +1 -0
- package/lib/Stripe/RetrieveFileLink.d.ts +23 -0
- package/lib/Stripe/RetrieveFileLink.d.ts.map +1 -0
- package/lib/Stripe/RetrieveFileLink.js +3 -0
- package/lib/Stripe/RetrieveFileLink.js.map +1 -0
- package/lib/Stripe/RetrieveFileLinkHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveFileLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveFileLinkHttp.js +18 -0
- package/lib/Stripe/RetrieveFileLinkHttp.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCard.d.ts +23 -0
- package/lib/Stripe/RetrieveIssuingCard.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCard.js +3 -0
- package/lib/Stripe/RetrieveIssuingCard.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.js +18 -0
- package/lib/Stripe/RetrieveIssuingCardHttp.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholder.d.ts +23 -0
- package/lib/Stripe/RetrieveIssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholder.js +3 -0
- package/lib/Stripe/RetrieveIssuingCardholder.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.js +18 -0
- package/lib/Stripe/RetrieveIssuingCardholderHttp.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.d.ts +23 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.js +3 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesign.js.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.js +18 -0
- package/lib/Stripe/RetrieveIssuingPersonalizationDesignHttp.js.map +1 -0
- package/lib/Stripe/RetrievePaymentLink.d.ts +23 -0
- package/lib/Stripe/RetrievePaymentLink.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentLink.js +3 -0
- package/lib/Stripe/RetrievePaymentLink.js.map +1 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.js +18 -0
- package/lib/Stripe/RetrievePaymentLinkHttp.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.d.ts +23 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.js +3 -0
- package/lib/Stripe/RetrievePaymentMethodConfiguration.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.d.ts +10 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.js +17 -0
- package/lib/Stripe/RetrievePaymentMethodConfigurationHttp.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.d.ts +23 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.js +3 -0
- package/lib/Stripe/RetrievePaymentMethodDomain.js.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.d.ts +10 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.js +17 -0
- package/lib/Stripe/RetrievePaymentMethodDomainHttp.js.map +1 -0
- package/lib/Stripe/RetrievePlan.d.ts +23 -0
- package/lib/Stripe/RetrievePlan.d.ts.map +1 -0
- package/lib/Stripe/RetrievePlan.js +3 -0
- package/lib/Stripe/RetrievePlan.js.map +1 -0
- package/lib/Stripe/RetrievePlanHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePlanHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePlanHttp.js +18 -0
- package/lib/Stripe/RetrievePlanHttp.js.map +1 -0
- package/lib/Stripe/RetrievePrice.d.ts +23 -0
- package/lib/Stripe/RetrievePrice.d.ts.map +1 -0
- package/lib/Stripe/RetrievePrice.js +3 -0
- package/lib/Stripe/RetrievePrice.js.map +1 -0
- package/lib/Stripe/RetrievePriceHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePriceHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePriceHttp.js +18 -0
- package/lib/Stripe/RetrievePriceHttp.js.map +1 -0
- package/lib/Stripe/RetrieveProduct.d.ts +30 -0
- package/lib/Stripe/RetrieveProduct.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProduct.js +3 -0
- package/lib/Stripe/RetrieveProduct.js.map +1 -0
- package/lib/Stripe/RetrieveProductFeature.d.ts +23 -0
- package/lib/Stripe/RetrieveProductFeature.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProductFeature.js +3 -0
- package/lib/Stripe/RetrieveProductFeature.js.map +1 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.js +31 -0
- package/lib/Stripe/RetrieveProductFeatureHttp.js.map +1 -0
- package/lib/Stripe/RetrieveProductHttp.d.ts +12 -0
- package/lib/Stripe/RetrieveProductHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveProductHttp.js +33 -0
- package/lib/Stripe/RetrieveProductHttp.js.map +1 -0
- package/lib/Stripe/RetrievePromotionCode.d.ts +23 -0
- package/lib/Stripe/RetrievePromotionCode.d.ts.map +1 -0
- package/lib/Stripe/RetrievePromotionCode.js +3 -0
- package/lib/Stripe/RetrievePromotionCode.js.map +1 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.d.ts +11 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.js +18 -0
- package/lib/Stripe/RetrievePromotionCodeHttp.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueList.d.ts +23 -0
- package/lib/Stripe/RetrieveRadarValueList.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueList.js +3 -0
- package/lib/Stripe/RetrieveRadarValueList.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.js +17 -0
- package/lib/Stripe/RetrieveRadarValueListHttp.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItem.d.ts +23 -0
- package/lib/Stripe/RetrieveRadarValueListItem.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItem.js +3 -0
- package/lib/Stripe/RetrieveRadarValueListItem.js.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.d.ts +10 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.js +17 -0
- package/lib/Stripe/RetrieveRadarValueListItemHttp.js.map +1 -0
- package/lib/Stripe/RetrieveShippingRate.d.ts +23 -0
- package/lib/Stripe/RetrieveShippingRate.d.ts.map +1 -0
- package/lib/Stripe/RetrieveShippingRate.js +3 -0
- package/lib/Stripe/RetrieveShippingRate.js.map +1 -0
- package/lib/Stripe/RetrieveShippingRateHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveShippingRateHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveShippingRateHttp.js +18 -0
- package/lib/Stripe/RetrieveShippingRateHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRate.d.ts +23 -0
- package/lib/Stripe/RetrieveTaxRate.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRate.js +3 -0
- package/lib/Stripe/RetrieveTaxRate.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRateHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTaxRateHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRateHttp.js +18 -0
- package/lib/Stripe/RetrieveTaxRateHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistration.d.ts +23 -0
- package/lib/Stripe/RetrieveTaxRegistration.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistration.js +3 -0
- package/lib/Stripe/RetrieveTaxRegistration.js.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.js +18 -0
- package/lib/Stripe/RetrieveTaxRegistrationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTaxSettings.d.ts +25 -0
- package/lib/Stripe/RetrieveTaxSettings.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxSettings.js +3 -0
- package/lib/Stripe/RetrieveTaxSettings.js.map +1 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.d.ts +12 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.js +26 -0
- package/lib/Stripe/RetrieveTaxSettingsHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.d.ts +23 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.js +3 -0
- package/lib/Stripe/RetrieveTerminalConfiguration.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.js +18 -0
- package/lib/Stripe/RetrieveTerminalConfigurationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocation.d.ts +23 -0
- package/lib/Stripe/RetrieveTerminalLocation.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocation.js +3 -0
- package/lib/Stripe/RetrieveTerminalLocation.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.js +18 -0
- package/lib/Stripe/RetrieveTerminalLocationHttp.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalReader.d.ts +23 -0
- package/lib/Stripe/RetrieveTerminalReader.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalReader.js +3 -0
- package/lib/Stripe/RetrieveTerminalReader.js.map +1 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.js +18 -0
- package/lib/Stripe/RetrieveTerminalReaderHttp.js.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.d.ts +23 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.d.ts.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.js +3 -0
- package/lib/Stripe/RetrieveWebhookEndpoint.js.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.d.ts +11 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.d.ts.map +1 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.js +18 -0
- package/lib/Stripe/RetrieveWebhookEndpointHttp.js.map +1 -0
- package/lib/Stripe/ShippingRate.d.ts +192 -0
- package/lib/Stripe/ShippingRate.d.ts.map +1 -0
- package/lib/Stripe/ShippingRate.js +375 -0
- package/lib/Stripe/ShippingRate.js.map +1 -0
- package/lib/Stripe/StripeHttp.d.ts +58 -0
- package/lib/Stripe/StripeHttp.d.ts.map +1 -0
- package/lib/Stripe/StripeHttp.js +110 -0
- package/lib/Stripe/StripeHttp.js.map +1 -0
- package/lib/Stripe/TaxRate.d.ts +153 -0
- package/lib/Stripe/TaxRate.d.ts.map +1 -0
- package/lib/Stripe/TaxRate.js +287 -0
- package/lib/Stripe/TaxRate.js.map +1 -0
- package/lib/Stripe/TaxRegistration.d.ts +275 -0
- package/lib/Stripe/TaxRegistration.d.ts.map +1 -0
- package/lib/Stripe/TaxRegistration.js +300 -0
- package/lib/Stripe/TaxRegistration.js.map +1 -0
- package/lib/Stripe/TaxSettings.d.ts +165 -0
- package/lib/Stripe/TaxSettings.d.ts.map +1 -0
- package/lib/Stripe/TaxSettings.js +207 -0
- package/lib/Stripe/TaxSettings.js.map +1 -0
- package/lib/Stripe/TerminalConfiguration.d.ts +368 -0
- package/lib/Stripe/TerminalConfiguration.d.ts.map +1 -0
- package/lib/Stripe/TerminalConfiguration.js +537 -0
- package/lib/Stripe/TerminalConfiguration.js.map +1 -0
- package/lib/Stripe/TerminalLocation.d.ts +215 -0
- package/lib/Stripe/TerminalLocation.d.ts.map +1 -0
- package/lib/Stripe/TerminalLocation.js +371 -0
- package/lib/Stripe/TerminalLocation.js.map +1 -0
- package/lib/Stripe/TerminalReader.d.ts +124 -0
- package/lib/Stripe/TerminalReader.d.ts.map +1 -0
- package/lib/Stripe/TerminalReader.js +239 -0
- package/lib/Stripe/TerminalReader.js.map +1 -0
- package/lib/Stripe/UpdateAccount.d.ts +23 -0
- package/lib/Stripe/UpdateAccount.d.ts.map +1 -0
- package/lib/Stripe/UpdateAccount.js +3 -0
- package/lib/Stripe/UpdateAccount.js.map +1 -0
- package/lib/Stripe/UpdateAccountHttp.d.ts +11 -0
- package/lib/Stripe/UpdateAccountHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateAccountHttp.js +18 -0
- package/lib/Stripe/UpdateAccountHttp.js.map +1 -0
- package/lib/Stripe/UpdateCreditGrant.d.ts +24 -0
- package/lib/Stripe/UpdateCreditGrant.d.ts.map +1 -0
- package/lib/Stripe/UpdateCreditGrant.js +3 -0
- package/lib/Stripe/UpdateCreditGrant.js.map +1 -0
- package/lib/Stripe/UpdateCreditGrantHttp.d.ts +11 -0
- package/lib/Stripe/UpdateCreditGrantHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateCreditGrantHttp.js +18 -0
- package/lib/Stripe/UpdateCreditGrantHttp.js.map +1 -0
- package/lib/Stripe/UpdateCustomer.d.ts +23 -0
- package/lib/Stripe/UpdateCustomer.d.ts.map +1 -0
- package/lib/Stripe/UpdateCustomer.js +3 -0
- package/lib/Stripe/UpdateCustomer.js.map +1 -0
- package/lib/Stripe/UpdateCustomerHttp.d.ts +11 -0
- package/lib/Stripe/UpdateCustomerHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateCustomerHttp.js +18 -0
- package/lib/Stripe/UpdateCustomerHttp.js.map +1 -0
- package/lib/Stripe/UpdateFileLink.d.ts +24 -0
- package/lib/Stripe/UpdateFileLink.d.ts.map +1 -0
- package/lib/Stripe/UpdateFileLink.js +3 -0
- package/lib/Stripe/UpdateFileLink.js.map +1 -0
- package/lib/Stripe/UpdateFileLinkHttp.d.ts +11 -0
- package/lib/Stripe/UpdateFileLinkHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateFileLinkHttp.js +18 -0
- package/lib/Stripe/UpdateFileLinkHttp.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCard.d.ts +23 -0
- package/lib/Stripe/UpdateIssuingCard.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCard.js +3 -0
- package/lib/Stripe/UpdateIssuingCard.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCardHttp.d.ts +11 -0
- package/lib/Stripe/UpdateIssuingCardHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCardHttp.js +18 -0
- package/lib/Stripe/UpdateIssuingCardHttp.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholder.d.ts +23 -0
- package/lib/Stripe/UpdateIssuingCardholder.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholder.js +3 -0
- package/lib/Stripe/UpdateIssuingCardholder.js.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.d.ts +11 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.js +18 -0
- package/lib/Stripe/UpdateIssuingCardholderHttp.js.map +1 -0
- package/lib/Stripe/UpdateTaxSettings.d.ts +28 -0
- package/lib/Stripe/UpdateTaxSettings.d.ts.map +1 -0
- package/lib/Stripe/UpdateTaxSettings.js +3 -0
- package/lib/Stripe/UpdateTaxSettings.js.map +1 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.d.ts +12 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.js +26 -0
- package/lib/Stripe/UpdateTaxSettingsHttp.js.map +1 -0
- package/lib/Stripe/UpdateTerminalReader.d.ts +23 -0
- package/lib/Stripe/UpdateTerminalReader.d.ts.map +1 -0
- package/lib/Stripe/UpdateTerminalReader.js +3 -0
- package/lib/Stripe/UpdateTerminalReader.js.map +1 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.d.ts +11 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.d.ts.map +1 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.js +18 -0
- package/lib/Stripe/UpdateTerminalReaderHttp.js.map +1 -0
- package/lib/Stripe/WebhookEndpoint.d.ts +135 -0
- package/lib/Stripe/WebhookEndpoint.d.ts.map +1 -0
- package/lib/Stripe/WebhookEndpoint.js +266 -0
- package/lib/Stripe/WebhookEndpoint.js.map +1 -0
- package/lib/Stripe/index.d.ts +151 -0
- package/lib/Stripe/index.d.ts.map +1 -0
- package/lib/Stripe/index.js +151 -0
- package/lib/Stripe/index.js.map +1 -0
- package/lib/Stripe/missing.d.ts +9 -0
- package/lib/Stripe/missing.d.ts.map +1 -0
- package/lib/Stripe/missing.js +13 -0
- package/lib/Stripe/missing.js.map +1 -0
- package/lib/Telemetry.d.ts +2 -61
- package/lib/Telemetry.d.ts.map +1 -1
- package/lib/Telemetry.js +3 -303
- package/lib/Telemetry.js.map +1 -1
- package/lib/TelemetryRuntime.d.ts +105 -0
- package/lib/TelemetryRuntime.d.ts.map +1 -0
- package/lib/TelemetryRuntime.js +308 -0
- package/lib/TelemetryRuntime.js.map +1 -0
- package/lib/Test/Alchemy.d.ts +2 -0
- package/lib/Test/Alchemy.d.ts.map +1 -1
- package/lib/Test/Alchemy.js +2 -0
- package/lib/Test/Alchemy.js.map +1 -1
- package/lib/Test/Bun.d.ts +2 -0
- package/lib/Test/Bun.d.ts.map +1 -1
- package/lib/Test/Bun.js +2 -0
- package/lib/Test/Bun.js.map +1 -1
- package/lib/Test/Core.d.ts +19 -1
- package/lib/Test/Core.d.ts.map +1 -1
- package/lib/Test/Core.js +19 -7
- package/lib/Test/Core.js.map +1 -1
- package/lib/Test/Vitest.d.ts +2 -0
- package/lib/Test/Vitest.d.ts.map +1 -1
- package/lib/Test/Vitest.js +2 -0
- package/lib/Test/Vitest.js.map +1 -1
- package/lib/Test/index.d.ts +1 -1
- package/lib/Test/index.d.ts.map +1 -1
- package/lib/Test/index.js +1 -1
- package/lib/Test/index.js.map +1 -1
- package/lib/Util/Node.d.ts +7 -0
- package/lib/Util/Node.d.ts.map +1 -1
- package/lib/Util/Node.js +7 -0
- package/lib/Util/Node.js.map +1 -1
- package/lib/Util/Terminal.d.ts.map +1 -1
- package/lib/Util/Terminal.js +1 -2
- package/lib/Util/Terminal.js.map +1 -1
- package/lib/Util/gitignore-rules-to-globs.d.ts +3 -3
- package/lib/Util/gitignore-rules-to-globs.js +3 -3
- package/lib/Util/proxy-chain.js +17 -0
- package/lib/Util/proxy-chain.js.map +1 -1
- package/lib/Util/zip.d.ts +2 -2
- package/lib/Util/zip.d.ts.map +1 -1
- package/lib/Util/zip.js +13 -38
- package/lib/Util/zip.js.map +1 -1
- package/lib/Utils/ip-address.d.ts +6 -0
- package/lib/Utils/ip-address.d.ts.map +1 -0
- package/lib/Utils/ip-address.js +83 -0
- package/lib/Utils/ip-address.js.map +1 -0
- package/lib/Website/Server.d.ts.map +1 -1
- package/lib/Website/Server.js +14 -4
- package/lib/Website/Server.js.map +1 -1
- package/lib/Website/ServerLocal.d.ts +2 -1
- package/lib/Website/ServerLocal.js +1 -2
- package/lib/Website/ServerLocal.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/package.json +76 -44
- package/src/AWS/Bedrock/LanguageModel.ts +2 -2
- package/src/AWS/Budgets/BindingHttp.ts +2 -13
- package/src/AWS/Budgets/DescribeBudgetActionsForBudgetHttp.ts +0 -3
- package/src/AWS/CloudFront/KvRoutesUpdate.ts +20 -1
- package/src/AWS/Connection/DbAuthToken.ts +1 -1
- package/src/AWS/Credentials.ts +3 -3
- package/src/AWS/DSQL/Connect.ts +2 -2
- package/src/AWS/DynamoDB/Table.ts +33 -17
- package/src/AWS/EC2/Instance.ts +12 -1
- package/src/AWS/EC2/SecurityGroup.ts +376 -79
- package/src/AWS/EC2/SecurityGroupRule.ts +147 -23
- package/src/AWS/ECR/Image.ts +29 -7
- package/src/AWS/ECS/FlociServiceProvider.ts +2 -2
- package/src/AWS/ECS/FlociTaskProvider.ts +2 -2
- package/src/AWS/ECS/Service.ts +6 -7
- package/src/AWS/EKS/KubernetesAdapter.ts +4 -4
- package/src/AWS/Environment.ts +6 -6
- package/src/AWS/Lambda/BindingHttp.ts +237 -25
- package/src/AWS/Lambda/FlociFunctionProvider.ts +2 -2
- package/src/AWS/Lambda/FlociMicrovmImageProvider.ts +2 -2
- package/src/AWS/Lambda/Function.ts +36 -16
- package/src/AWS/Lambda/MicrovmBinding.ts +15 -276
- package/src/AWS/Lambda/MicrovmBundle.ts +1 -16
- package/src/AWS/Lambda/MicrovmRuntimeContext.ts +1 -1
- package/src/AWS/Local/DevWatchProvider.ts +8 -7
- package/src/AWS/Local/Local.ts +11 -10
- package/src/AWS/Logs/LogGroup.ts +8 -2
- package/src/AWS/Organizations/common.ts +4 -1
- package/src/AWS/RDS/Connect.ts +3 -3
- package/src/AWS/RDS/DBInstance.ts +979 -53
- package/src/AWS/RDS/DBParameterGroup.ts +89 -40
- package/src/AWS/S3/BindingHttp.ts +46 -37
- package/src/AWS/S3/Bucket.ts +220 -82
- package/src/AWS/S3/PresignGetObject.ts +2 -4
- package/src/AWS/S3/PresignPutObject.ts +2 -4
- package/src/AWS/SNS/Subscription.ts +29 -9
- package/src/AWS/StateStore/State.ts +24 -36
- package/src/AWS/Synthetics/Canary.ts +4 -11
- package/src/Alchemist/Entrypoint.ts +33 -0
- package/src/Alchemist/Session.ts +9 -17
- package/src/Alchemist/routes/nuke.ts +1 -1
- package/src/Alchemist/routes/state.ts +15 -2
- package/src/Auth/AuthProvider.ts +1 -1
- package/src/Auth/Demand.ts +1 -1
- package/src/Auth/Env.ts +4 -4
- package/src/Auth/Lock.ts +22 -19
- package/src/Auth/Profile.ts +1 -1
- package/src/Auth/Resolve.ts +1 -1
- package/src/Cli/LoggingCli.ts +1 -1
- package/src/Cli/commands/aws.ts +2 -2
- package/src/Cli/commands/cloudflare.ts +10 -10
- package/src/Cli/commands/deploy.ts +3 -3
- package/src/Cli/commands/dev.ts +6 -3
- package/src/Cli/commands/drift.ts +1 -1
- package/src/Cli/commands/flags.ts +20 -16
- package/src/Cli/commands/instrument.ts +9 -0
- package/src/Cli/commands/logs.ts +4 -4
- package/src/Cli/commands/nuke.ts +9 -9
- package/src/Cli/commands/profile/commands.ts +8 -8
- package/src/Cli/commands/provider.ts +1 -1
- package/src/Cli/commands/state.ts +5 -5
- package/src/Cli/components/ui/Data.tsx +1 -1
- package/src/Cli/components/ui/Environment.tsx +3 -2
- package/src/Cli/components/ui/Feedback.tsx +2 -2
- package/src/Cli/components/ui/Interactive.tsx +4 -5
- package/src/Cli/components/ui/Layout.tsx +8 -8
- package/src/Cli/components/ui/Live.tsx +2 -2
- package/src/Cli/components/ui/ProgressBar.tsx +1 -1
- package/src/Cli/components/ui/Transcript.tsx +1 -1
- package/src/Cli/components/ui/Typography.tsx +1 -1
- package/src/Cli/components/view/ApprovePlan.tsx +3 -2
- package/src/Cli/components/view/Help.tsx +1 -1
- package/src/Cli/components/view/Logo.tsx +3 -2
- package/src/Cli/components/view/Nuke.tsx +1 -1
- package/src/Cli/components/view/PlanDecision.tsx +3 -2
- package/src/Cli/components/view/PlanRow.tsx +1 -1
- package/src/Cli/components/view/PlanView.tsx +3 -2
- package/src/Cli/components/view/Profile.tsx +1 -1
- package/src/Cli/components/view/ProfileDashboard.tsx +3 -2
- package/src/Cli/components/view/Prompts.tsx +3 -2
- package/src/Cli/components/view/Runtime.tsx +4 -3
- package/src/Cli/components/view/SigilCli.tsx +1 -1
- package/src/Cli/components/view/StackOutputs.tsx +1 -1
- package/src/Cli/components/view/StateExplorer.tsx +3 -3
- package/src/Cli/components/view/usePlanPresentation.ts +1 -1
- package/src/Cli/components/view/usePlanViewport.ts +1 -1
- package/src/Cli/exec.ts +5 -2
- package/src/Cli/main.ts +6 -7
- package/src/Cloudflare/AI/GatewayProvider.ts +1 -1
- package/src/Cloudflare/AI/LanguageModel.ts +2 -2
- package/src/Cloudflare/AI/ProviderKey.ts +3 -3
- package/src/Cloudflare/AI/SearchToken.ts +3 -6
- package/src/Cloudflare/Access.ts +1 -1
- package/src/Cloudflare/Alerting/Webhook.ts +1 -1
- package/src/Cloudflare/Bridge.ts +9 -0
- package/src/Cloudflare/CloudflareEnvironment.ts +4 -8
- package/src/Cloudflare/CloudflareEnvironmentService.ts +10 -0
- package/src/Cloudflare/Containers/ContainerApplication.ts +10 -3
- package/src/Cloudflare/Containers/ContainerPlatform.ts +6 -6
- package/src/Cloudflare/Containers/ContainerProvider.ts +183 -86
- package/src/Cloudflare/Containers/ContainerPublication.ts +13 -0
- package/src/Cloudflare/Containers/LocalContainerProvider.ts +3 -2
- package/src/Cloudflare/D1/Database.ts +3 -3
- package/src/Cloudflare/Fetcher.ts +65 -174
- package/src/Cloudflare/Flagship/Flag.ts +13 -2
- package/src/Cloudflare/HostnameTlsSetting/HostnameTlsSetting.ts +21 -41
- package/src/Cloudflare/Hyperdrive/Connection.ts +19 -12
- package/src/Cloudflare/Iam/ResourceGroup.ts +1 -1
- package/src/Cloudflare/LoadBalancer/LoadBalancer.ts +2 -2
- package/src/Cloudflare/LoadBalancer/Monitor.ts +1 -1
- package/src/Cloudflare/Local.ts +8 -4
- package/src/Cloudflare/LocalRuntime.ts +8 -2
- package/src/Cloudflare/Logs.ts +57 -49
- package/src/Cloudflare/MagicTransit/IpsecTunnel.ts +1 -1
- package/src/Cloudflare/MtlsCertificate/MtlsCertificate.ts +1 -1
- package/src/Cloudflare/Organization/Organization.ts +1 -1
- package/src/Cloudflare/OriginTlsClientAuth/Certificate.ts +2 -2
- package/src/Cloudflare/OriginTlsClientAuth/HostnameAssociation.ts +1 -1
- package/src/Cloudflare/OriginTlsClientAuth/HostnameCertificate.ts +2 -2
- package/src/Cloudflare/OriginTlsClientAuth/Setting.ts +1 -1
- package/src/Cloudflare/Pipelines/LegacyPipeline.ts +2 -2
- package/src/Cloudflare/Pipelines/Sink.ts +3 -3
- package/src/Cloudflare/Providers.ts +11 -49
- package/src/Cloudflare/Queues/Consumer.ts +2 -2
- package/src/Cloudflare/Queues/Queue.ts +2 -2
- package/src/Cloudflare/R2/Bucket.ts +25 -2
- package/src/Cloudflare/R2/BucketBinding.ts +1 -0
- package/src/Cloudflare/R2/BucketSippy.ts +7 -7
- package/src/Cloudflare/R2/BucketTypes.ts +8 -0
- package/src/Cloudflare/R2/WriteBucketBinding.ts +9 -6
- package/src/Cloudflare/R2/index.ts +1 -0
- package/src/Cloudflare/SecretsStore/Secret.ts +3 -3
- package/src/Cloudflare/Snippets/SnippetRules.ts +9 -3
- package/src/Cloudflare/StateStore/State.ts +15 -16
- package/src/Cloudflare/Website/Nuxt.ts +1 -1
- package/src/Cloudflare/Website/Octane.ts +1 -1
- package/src/Cloudflare/Website/SvelteKit.ts +1 -1
- package/src/Cloudflare/Workers/Assets.ts +1 -1
- package/src/Cloudflare/Workers/CloudflareTracer.ts +1 -1
- package/src/Cloudflare/Workers/DurableObject.ts +40 -8
- package/src/Cloudflare/Workers/DurableObjectBridge.ts +1 -1
- package/src/Cloudflare/Workers/DurableObjectState.ts +1 -1
- package/src/Cloudflare/Workers/DurableObjectStorage.ts +22 -24
- package/src/Cloudflare/Workers/HttpServer.ts +2 -1
- package/src/Cloudflare/Workers/InferEnv.ts +2 -2
- package/src/Cloudflare/Workers/LocalWorkerProvider.ts +35 -24
- package/src/Cloudflare/Workers/Rpc.ts +17 -2
- package/src/Cloudflare/Workers/RpcAsync.ts +1 -1
- package/src/Cloudflare/Workers/Sources/Prebuilt.ts +3 -2
- package/src/Cloudflare/Workers/Sources/Python.ts +3 -2
- package/src/Cloudflare/Workers/Sources/Rolldown.ts +34 -18
- package/src/Cloudflare/Workers/Sources/WorkerModulePlugin.ts +75 -0
- package/src/Cloudflare/Workers/ViteChild.shared.ts +1 -0
- package/src/Cloudflare/Workers/ViteChild.ts +2 -3
- package/src/Cloudflare/Workers/Worker.ts +176 -218
- package/src/Cloudflare/Workers/WorkerBinding.ts +1 -1
- package/src/Cloudflare/Workers/WorkerBridge.ts +6 -6
- package/src/Cloudflare/Workers/WorkerEntrypoint.ts +47 -14
- package/src/Cloudflare/Workers/WorkerProvider.ts +577 -30
- package/src/Cloudflare/Workers/WorkerRuntime.ts +195 -0
- package/src/Cloudflare/Workers/WorkerRuntimeContext.ts +10 -6
- package/src/Cloudflare/Workers/worker-module.d.ts +9 -0
- package/src/Cloudflare/Workflows/Workflow.ts +7 -50
- package/src/Cloudflare/Workflows/WorkflowBridge.ts +9 -7
- package/src/Cloudflare/Workflows/WorkflowRuntime.ts +56 -0
- package/src/Cloudflare/index.ts +3 -1
- package/src/Command/Dev.ts +2 -1
- package/src/Command/Local.ts +8 -2
- package/src/Command/Memo.ts +6 -7
- package/src/Docker/Container.ts +1 -1
- package/src/Docker/Docker.ts +225 -85
- package/src/Docker/Image.ts +1 -1
- package/src/Docker/Registry.ts +1 -1
- package/src/Docker/RegistryError.ts +52 -0
- package/src/Docker/RemoteImage.ts +1 -1
- package/src/Docker/index.ts +5 -0
- package/src/Drizzle/Postgres.ts +3 -1
- package/src/Fly/BucketBinding.ts +6 -6
- package/src/Fly/GetSecretHttp.ts +1 -1
- package/src/Fly/RedisBinding.ts +2 -2
- package/src/Fly/Secret.ts +4 -4
- package/src/Fly/SecretHttp.ts +1 -1
- package/src/Fly/Service.ts +3 -3
- package/src/Fly/Sprite.ts +2 -2
- package/src/Fly/Website/AssetDeployment.ts +12 -9
- package/src/Fly/replicas.ts +47 -9
- package/src/Git/Api/GitHub.ts +106 -0
- package/src/Git/Api/Internal.ts +27 -0
- package/src/Git/Api/Objects.ts +161 -0
- package/src/Git/Api/Protocol.ts +37 -0
- package/src/Git/Api/Pulls.ts +158 -0
- package/src/Git/Api/Refs.ts +96 -0
- package/src/Git/Api/Repos.ts +170 -0
- package/src/Git/Api/Schema.ts +552 -0
- package/src/Git/Api.ts +82 -0
- package/src/Git/BlobStore.ts +265 -0
- package/src/Git/BlobStoreS3.ts +265 -0
- package/src/Git/DESIGN.md +2098 -0
- package/src/Git/Engine.ts +461 -0
- package/src/Git/GitHubCompat.ts +713 -0
- package/src/Git/Hasher/Hasher.ts +360 -0
- package/src/Git/Hasher/Lambda.ts +126 -0
- package/src/Git/Hasher/LambdaEvent.ts +149 -0
- package/src/Git/Hasher/LambdaFunction.ts +46 -0
- package/src/Git/Hasher/Protocol.ts +309 -0
- package/src/Git/Hasher/WorkerLoader.ts +179 -0
- package/src/Git/Hasher/WorkerLoaderModule.ts +72 -0
- package/src/Git/Hasher/index.ts +39 -0
- package/src/Git/Http/ReceivePack.ts +133 -0
- package/src/Git/Http.ts +4 -0
- package/src/Git/Jobs/Bundle.ts +264 -0
- package/src/Git/Jobs/Compact.ts +517 -0
- package/src/Git/Jobs/Fork.ts +376 -0
- package/src/Git/Jobs/Import.ts +435 -0
- package/src/Git/Jobs/Purge.ts +136 -0
- package/src/Git/Operations.ts +1087 -0
- package/src/Git/Protocol/Advertise.ts +159 -0
- package/src/Git/Protocol/Delta.ts +182 -0
- package/src/Git/Protocol/GzipBody.ts +153 -0
- package/src/Git/Protocol/ObjectCodec.ts +941 -0
- package/src/Git/Protocol/PackParser.ts +907 -0
- package/src/Git/Protocol/PackWriter.ts +141 -0
- package/src/Git/Protocol/PartialScan.ts +705 -0
- package/src/Git/Protocol/Pkt.ts +289 -0
- package/src/Git/Protocol/ReceivePack.ts +446 -0
- package/src/Git/Protocol/Sideband.ts +289 -0
- package/src/Git/Protocol/Store.ts +176 -0
- package/src/Git/Protocol/TreeDiff.ts +464 -0
- package/src/Git/Protocol/UploadPack.ts +366 -0
- package/src/Git/Protocol/Zlib.ts +350 -0
- package/src/Git/Push.ts +71 -0
- package/src/Git/PushInput.ts +73 -0
- package/src/Git/PushWire.ts +90 -0
- package/src/Git/RFC-building-blocks.md +548 -0
- package/src/Git/RegistryD1.ts +338 -0
- package/src/Git/RegistryObject.ts +522 -0
- package/src/Git/RepoObject.ts +5876 -0
- package/src/Git/Server.ts +827 -0
- package/src/Git/Store/Closure.ts +539 -0
- package/src/Git/Store/HeadSnapshot.ts +49 -0
- package/src/Git/Store/IncomingBody.ts +67 -0
- package/src/Git/Store/Keys.ts +129 -0
- package/src/Git/Store/ObjectStore.ts +1086 -0
- package/src/Git/Store/PackSource.ts +160 -0
- package/src/Git/Store/Sql.ts +492 -0
- package/src/Git/Store/StreamingSource.ts +335 -0
- package/src/Git/index.ts +75 -0
- package/src/GitHub/BranchProtection.ts +651 -0
- package/src/GitHub/Collaborator.ts +239 -0
- package/src/GitHub/Env.ts +8 -8
- package/src/GitHub/Issue.ts +379 -0
- package/src/GitHub/Label.ts +373 -0
- package/src/GitHub/Milestone.ts +424 -0
- package/src/GitHub/Providers.ts +34 -2
- package/src/GitHub/PullRequest.ts +570 -0
- package/src/GitHub/Release.ts +520 -0
- package/src/GitHub/Ruleset.ts +568 -0
- package/src/GitHub/TeamAccess.ts +251 -0
- package/src/GitHub/WikiPage.ts +581 -0
- package/src/GitHub/index.ts +10 -0
- package/src/Hetzner/Server.ts +34 -6
- package/src/Http/Platform.ts +47 -0
- package/src/Http/index.ts +5 -0
- package/src/Http.ts +9 -5
- package/src/Kubernetes/internal/helm.ts +1 -1
- package/src/Kubernetes/internal/kubeconfig.ts +1 -1
- package/src/Kubernetes/internal/workload.ts +4 -4
- package/src/Local/LocalProvider.ts +4 -3
- package/src/Local/ProviderLayer.ts +31 -15
- package/src/Local/RpcProvider.ts +3 -3
- package/src/Local/RpcProviderProxy.ts +28 -21
- package/src/Local/RpcServer.ts +90 -53
- package/src/Local/RpcServerEnvironment.ts +1 -1
- package/src/Local/RpcSpawner.ts +1 -1
- package/src/Local/Sidecar.ts +32 -0
- package/src/Nuke.ts +27 -23
- package/src/Output.ts +1 -1
- package/src/Phase.ts +3 -3
- package/src/Plan.ts +11 -4
- package/src/Planetscale/Credentials.ts +1 -1
- package/src/Prisma/App.ts +126 -80
- package/src/Prisma/Branch.ts +133 -66
- package/src/Prisma/Bucket.ts +64 -25
- package/src/Prisma/BucketAccessKey.ts +68 -32
- package/src/Prisma/Client.ts +8 -11
- package/src/Prisma/Compute.ts +355 -179
- package/src/Prisma/ComputeArchive.ts +29 -3
- package/src/Prisma/ComputeBuild.ts +256 -3
- package/src/Prisma/ComputeLifecycle.ts +179 -160
- package/src/Prisma/Connection.ts +112 -55
- package/src/Prisma/Credentials.ts +73 -0
- package/src/Prisma/Database.ts +191 -155
- package/src/Prisma/Deployment.ts +70 -50
- package/src/Prisma/EnvironmentVariable.ts +112 -69
- package/src/Prisma/Internal/AppPromotion.ts +39 -27
- package/src/Prisma/Internal/DatabaseSecrets.ts +23 -19
- package/src/Prisma/Internal/DeploymentActions.ts +24 -40
- package/src/Prisma/Internal/DeploymentIdentity.ts +29 -3
- package/src/Prisma/Internal/DeploymentObserve.ts +4 -5
- package/src/Prisma/Internal/LogsClient.ts +165 -0
- package/src/Prisma/Internal/Observed.ts +192 -0
- package/src/Prisma/Internal/Pagination.ts +16 -0
- package/src/Prisma/Operations.ts +3 -2
- package/src/Prisma/PrismaEnvironment.ts +2 -2
- package/src/Prisma/PrismaLogs.ts +38 -16
- package/src/Prisma/Project.ts +163 -129
- package/src/Prisma/Providers.ts +37 -2
- package/src/Prisma/SourceRepository.ts +223 -87
- package/src/Provider.ts +19 -15
- package/src/Railway/AuditLog.ts +41 -17
- package/src/Railway/AuthProvider.ts +1 -1
- package/src/Railway/Bucket.ts +94 -63
- package/src/Railway/BucketBinding.ts +7 -7
- package/src/Railway/Catalog.ts +8 -1
- package/src/Railway/CloudAgent.ts +71 -54
- package/src/Railway/CustomDomain.ts +109 -64
- package/src/Railway/Environment.ts +18 -7
- package/src/Railway/Function.ts +165 -132
- package/src/Railway/GraphQL.ts +215 -0
- package/src/Railway/Group.ts +171 -71
- package/src/Railway/LoginSession.ts +7 -12
- package/src/Railway/Mongo.ts +227 -185
- package/src/Railway/MountVolume.ts +5 -4
- package/src/Railway/MySQL.ts +227 -185
- package/src/Railway/Postgres.ts +234 -188
- package/src/Railway/PrivateNetwork.ts +444 -310
- package/src/Railway/Project.ts +83 -61
- package/src/Railway/ProjectEnvironment.ts +84 -55
- package/src/Railway/Providers.ts +6 -2
- package/src/Railway/Redis.ts +114 -89
- package/src/Railway/RedisBinding.ts +2 -2
- package/src/Railway/Sandbox.ts +279 -130
- package/src/Railway/SandboxCheckpoint.ts +290 -0
- package/src/Railway/Service.ts +4 -1
- package/src/Railway/ServiceDomain.ts +77 -87
- package/src/Railway/ServiceProvider.ts +274 -159
- package/src/Railway/TcpProxy.ts +48 -35
- package/src/Railway/Template.ts +184 -130
- package/src/Railway/Usage.ts +91 -45
- package/src/Railway/Variable.ts +33 -33
- package/src/Railway/Volume.ts +148 -88
- package/src/Railway/VolumeBackup.ts +140 -97
- package/src/Railway/Website/Cdn.ts +136 -55
- package/src/Railway/hosted.ts +10 -3
- package/src/Railway/index.ts +1 -0
- package/src/Railway/transient.ts +26 -52
- package/src/Rpc.ts +53 -1
- package/src/Runtime/Bootstrap/Process.ts +2 -2
- package/src/Runtime.ts +1 -1
- package/src/RuntimeContext.ts +1 -1
- package/src/SQL/Postgres.ts +5 -1
- package/src/SQL/PostgresTls.ts +70 -0
- package/src/Server/Process.ts +1 -1
- package/src/Server/index.ts +0 -2
- package/src/Stack.ts +3 -2
- package/src/StackContext.ts +6 -0
- package/src/State/HttpStateStore.ts +18 -31
- package/src/State/PostgresState.ts +6 -5
- package/src/State/State.ts +5 -0
- package/src/Stripe/Account.ts +795 -0
- package/src/Stripe/AccountExternalAccount.ts +568 -0
- package/src/Stripe/AccountPerson.ts +562 -0
- package/src/Stripe/Alert.ts +437 -0
- package/src/Stripe/ApplePayDomain.ts +254 -0
- package/src/Stripe/AppsSecret.ts +385 -0
- package/src/Stripe/AuthProvider.ts +74 -0
- package/src/Stripe/BillingMeter.ts +449 -0
- package/src/Stripe/BillingPortalConfiguration.ts +920 -0
- package/src/Stripe/ConsumeEvents.ts +278 -0
- package/src/Stripe/Coupon.ts +535 -0
- package/src/Stripe/CreateAccount.ts +39 -0
- package/src/Stripe/CreateAccountHttp.ts +20 -0
- package/src/Stripe/CreateAccountLink.ts +43 -0
- package/src/Stripe/CreateAccountLinkHttp.ts +20 -0
- package/src/Stripe/CreateAppsSecret.ts +39 -0
- package/src/Stripe/CreateAppsSecretHttp.ts +20 -0
- package/src/Stripe/CreateBillingPortalSession.ts +52 -0
- package/src/Stripe/CreateBillingPortalSessionHttp.ts +20 -0
- package/src/Stripe/CreateCheckoutSession.ts +53 -0
- package/src/Stripe/CreateCheckoutSessionHttp.ts +20 -0
- package/src/Stripe/CreateCreditGrant.ts +45 -0
- package/src/Stripe/CreateCreditGrantHttp.ts +20 -0
- package/src/Stripe/CreateCustomer.ts +38 -0
- package/src/Stripe/CreateCustomerHttp.ts +20 -0
- package/src/Stripe/CreateFileLink.ts +37 -0
- package/src/Stripe/CreateFileLinkHttp.ts +20 -0
- package/src/Stripe/CreateIssuingCard.ts +43 -0
- package/src/Stripe/CreateIssuingCardHttp.ts +20 -0
- package/src/Stripe/CreateIssuingCardholder.ts +50 -0
- package/src/Stripe/CreateIssuingCardholderHttp.ts +20 -0
- package/src/Stripe/CreateTerminalReader.ts +43 -0
- package/src/Stripe/CreateTerminalReaderHttp.ts +20 -0
- package/src/Stripe/Credentials.ts +54 -0
- package/src/Stripe/CreditGrant.ts +627 -0
- package/src/Stripe/Customer.ts +315 -0
- package/src/Stripe/CustomerTaxId.ts +351 -0
- package/src/Stripe/EntitlementsFeature.ts +384 -0
- package/src/Stripe/Events.ts +94 -0
- package/src/Stripe/FileLink.ts +335 -0
- package/src/Stripe/IssuingCard.ts +712 -0
- package/src/Stripe/IssuingCardholder.ts +907 -0
- package/src/Stripe/IssuingPersonalizationDesign.ts +582 -0
- package/src/Stripe/Metadata.ts +93 -0
- package/src/Stripe/PaymentLink.ts +779 -0
- package/src/Stripe/PaymentMethodConfiguration.ts +619 -0
- package/src/Stripe/PaymentMethodDomain.ts +342 -0
- package/src/Stripe/Plan.ts +482 -0
- package/src/Stripe/Price.ts +523 -0
- package/src/Stripe/Product.ts +339 -0
- package/src/Stripe/ProductFeature.ts +300 -0
- package/src/Stripe/PromotionCode.ts +612 -0
- package/src/Stripe/Providers.ts +306 -0
- package/src/Stripe/RadarValueList.ts +397 -0
- package/src/Stripe/RadarValueListItem.ts +308 -0
- package/src/Stripe/RestrictedApiKey.ts +210 -0
- package/src/Stripe/RetrieveAccount.ts +42 -0
- package/src/Stripe/RetrieveAccountExternalAccount.ts +47 -0
- package/src/Stripe/RetrieveAccountExternalAccountHttp.ts +52 -0
- package/src/Stripe/RetrieveAccountHttp.ts +21 -0
- package/src/Stripe/RetrieveAccountPerson.ts +42 -0
- package/src/Stripe/RetrieveAccountPersonHttp.ts +52 -0
- package/src/Stripe/RetrieveAlert.ts +42 -0
- package/src/Stripe/RetrieveAlertHttp.ts +20 -0
- package/src/Stripe/RetrieveApplePayDomain.ts +46 -0
- package/src/Stripe/RetrieveApplePayDomainHttp.ts +21 -0
- package/src/Stripe/RetrieveAppsSecret.ts +47 -0
- package/src/Stripe/RetrieveAppsSecretHttp.ts +58 -0
- package/src/Stripe/RetrieveBillingMeter.ts +42 -0
- package/src/Stripe/RetrieveBillingMeterHttp.ts +20 -0
- package/src/Stripe/RetrieveBillingPortalConfiguration.ts +47 -0
- package/src/Stripe/RetrieveBillingPortalConfigurationHttp.ts +20 -0
- package/src/Stripe/RetrieveCoupon.ts +42 -0
- package/src/Stripe/RetrieveCouponHttp.ts +21 -0
- package/src/Stripe/RetrieveCreditGrant.ts +46 -0
- package/src/Stripe/RetrieveCreditGrantHttp.ts +21 -0
- package/src/Stripe/RetrieveCustomer.ts +42 -0
- package/src/Stripe/RetrieveCustomerHttp.ts +21 -0
- package/src/Stripe/RetrieveCustomerTaxId.ts +42 -0
- package/src/Stripe/RetrieveCustomerTaxIdHttp.ts +52 -0
- package/src/Stripe/RetrieveEntitlementsFeature.ts +47 -0
- package/src/Stripe/RetrieveEntitlementsFeatureHttp.ts +20 -0
- package/src/Stripe/RetrieveFileLink.ts +42 -0
- package/src/Stripe/RetrieveFileLinkHttp.ts +21 -0
- package/src/Stripe/RetrieveIssuingCard.ts +42 -0
- package/src/Stripe/RetrieveIssuingCardHttp.ts +21 -0
- package/src/Stripe/RetrieveIssuingCardholder.ts +47 -0
- package/src/Stripe/RetrieveIssuingCardholderHttp.ts +21 -0
- package/src/Stripe/RetrieveIssuingPersonalizationDesign.ts +47 -0
- package/src/Stripe/RetrieveIssuingPersonalizationDesignHttp.ts +21 -0
- package/src/Stripe/RetrievePaymentLink.ts +42 -0
- package/src/Stripe/RetrievePaymentLinkHttp.ts +21 -0
- package/src/Stripe/RetrievePaymentMethodConfiguration.ts +47 -0
- package/src/Stripe/RetrievePaymentMethodConfigurationHttp.ts +20 -0
- package/src/Stripe/RetrievePaymentMethodDomain.ts +47 -0
- package/src/Stripe/RetrievePaymentMethodDomainHttp.ts +20 -0
- package/src/Stripe/RetrievePlan.ts +39 -0
- package/src/Stripe/RetrievePlanHttp.ts +21 -0
- package/src/Stripe/RetrievePrice.ts +39 -0
- package/src/Stripe/RetrievePriceHttp.ts +21 -0
- package/src/Stripe/RetrieveProduct.ts +46 -0
- package/src/Stripe/RetrieveProductFeature.ts +46 -0
- package/src/Stripe/RetrieveProductFeatureHttp.ts +52 -0
- package/src/Stripe/RetrieveProductHttp.ts +58 -0
- package/src/Stripe/RetrievePromotionCode.ts +46 -0
- package/src/Stripe/RetrievePromotionCodeHttp.ts +21 -0
- package/src/Stripe/RetrieveRadarValueList.ts +46 -0
- package/src/Stripe/RetrieveRadarValueListHttp.ts +20 -0
- package/src/Stripe/RetrieveRadarValueListItem.ts +47 -0
- package/src/Stripe/RetrieveRadarValueListItemHttp.ts +20 -0
- package/src/Stripe/RetrieveShippingRate.ts +42 -0
- package/src/Stripe/RetrieveShippingRateHttp.ts +21 -0
- package/src/Stripe/RetrieveTaxRate.ts +42 -0
- package/src/Stripe/RetrieveTaxRateHttp.ts +21 -0
- package/src/Stripe/RetrieveTaxRegistration.ts +46 -0
- package/src/Stripe/RetrieveTaxRegistrationHttp.ts +21 -0
- package/src/Stripe/RetrieveTaxSettings.ts +41 -0
- package/src/Stripe/RetrieveTaxSettingsHttp.ts +46 -0
- package/src/Stripe/RetrieveTerminalConfiguration.ts +47 -0
- package/src/Stripe/RetrieveTerminalConfigurationHttp.ts +21 -0
- package/src/Stripe/RetrieveTerminalLocation.ts +45 -0
- package/src/Stripe/RetrieveTerminalLocationHttp.ts +21 -0
- package/src/Stripe/RetrieveTerminalReader.ts +46 -0
- package/src/Stripe/RetrieveTerminalReaderHttp.ts +21 -0
- package/src/Stripe/RetrieveWebhookEndpoint.ts +46 -0
- package/src/Stripe/RetrieveWebhookEndpointHttp.ts +21 -0
- package/src/Stripe/ShippingRate.ts +614 -0
- package/src/Stripe/StripeHttp.ts +241 -0
- package/src/Stripe/TaxRate.ts +468 -0
- package/src/Stripe/TaxRegistration.ts +722 -0
- package/src/Stripe/TaxSettings.ts +395 -0
- package/src/Stripe/TerminalConfiguration.ts +977 -0
- package/src/Stripe/TerminalLocation.ts +627 -0
- package/src/Stripe/TerminalReader.ts +377 -0
- package/src/Stripe/UpdateAccount.ts +42 -0
- package/src/Stripe/UpdateAccountHttp.ts +21 -0
- package/src/Stripe/UpdateCreditGrant.ts +47 -0
- package/src/Stripe/UpdateCreditGrantHttp.ts +21 -0
- package/src/Stripe/UpdateCustomer.ts +42 -0
- package/src/Stripe/UpdateCustomerHttp.ts +21 -0
- package/src/Stripe/UpdateFileLink.ts +43 -0
- package/src/Stripe/UpdateFileLinkHttp.ts +21 -0
- package/src/Stripe/UpdateIssuingCard.ts +46 -0
- package/src/Stripe/UpdateIssuingCardHttp.ts +21 -0
- package/src/Stripe/UpdateIssuingCardholder.ts +46 -0
- package/src/Stripe/UpdateIssuingCardholderHttp.ts +21 -0
- package/src/Stripe/UpdateTaxSettings.ts +48 -0
- package/src/Stripe/UpdateTaxSettingsHttp.ts +46 -0
- package/src/Stripe/UpdateTerminalReader.ts +46 -0
- package/src/Stripe/UpdateTerminalReaderHttp.ts +21 -0
- package/src/Stripe/WebhookEndpoint.ts +411 -0
- package/src/Stripe/index.ts +150 -0
- package/src/Stripe/missing.ts +16 -0
- package/src/Telemetry.ts +15 -439
- package/src/TelemetryRuntime.ts +446 -0
- package/src/Test/Alchemy.ts +2 -0
- package/src/Test/Bun.ts +2 -0
- package/src/Test/Core.ts +32 -9
- package/src/Test/Vitest.ts +2 -0
- package/src/Test/index.ts +6 -1
- package/src/Util/Node.ts +9 -0
- package/src/Util/Terminal.ts +1 -1
- package/src/Util/gitignore-rules-to-globs.ts +3 -3
- package/src/Util/proxy-chain.ts +19 -0
- package/src/Util/zip.ts +16 -45
- package/src/Utils/ip-address.ts +90 -0
- package/src/Website/Server.ts +19 -4
- package/src/Website/ServerLocal.ts +6 -2
- package/src/index.ts +0 -1
- package/lib/AWS/Website/ServerLocal.d.ts +0 -2
- package/lib/AWS/Website/ServerLocal.d.ts.map +0 -1
- package/lib/AWS/Website/ServerLocal.js +0 -4
- package/lib/AWS/Website/ServerLocal.js.map +0 -1
- package/lib/Railway/RetryPolicy.d.ts +0 -22
- package/lib/Railway/RetryPolicy.d.ts.map +0 -1
- package/lib/Railway/RetryPolicy.js +0 -43
- package/lib/Railway/RetryPolicy.js.map +0 -1
- package/src/AWS/Website/ServerLocal.ts +0 -4
- package/src/Railway/RetryPolicy.ts +0 -53
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Abstract storage interfaces the protocol choreography is written against.
|
|
3
|
+
*
|
|
4
|
+
* The concrete implementations live in `src/store/` (DO SQLite + R2); the
|
|
5
|
+
* protocol layer (`UploadPack`, `ReceivePack`, `PackParser`, `PackWriter`,
|
|
6
|
+
* `Advertise`) depends only on these data-shaped contracts, which keeps the
|
|
7
|
+
* entire `src/Git/Protocol/` layer unit-testable in plain bun with in-memory fakes.
|
|
8
|
+
*/
|
|
9
|
+
import type * as Effect from "effect/Effect";
|
|
10
|
+
import * as Schema from "effect/Schema";
|
|
11
|
+
import type * as Stream from "effect/Stream";
|
|
12
|
+
import type { ObjectType, Oid } from "./ObjectCodec.ts";
|
|
13
|
+
declare const StoreError_base: Schema.Class<StoreError, Schema.TaggedStruct<"StoreError", {
|
|
14
|
+
readonly reason: Schema.String;
|
|
15
|
+
}>, import("effect/Cause").YieldableError>;
|
|
16
|
+
/**
|
|
17
|
+
* Error produced by any of the abstract store interfaces. Concrete
|
|
18
|
+
* implementations wrap their own failures (SQL, R2) into this tag so the
|
|
19
|
+
* protocol layer's error unions stay closed.
|
|
20
|
+
*/
|
|
21
|
+
export declare class StoreError extends StoreError_base {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Where an object's compressed bytes live (mirrors the `objects.location`
|
|
25
|
+
* column): `row` = SQLite BLOB, `r2` = oversize loose object in R2,
|
|
26
|
+
* `pack` = v1.1 compacted pack in R2.
|
|
27
|
+
*/
|
|
28
|
+
export type ObjectLocation = "row" | "r2" | "pack";
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for one stored object — also the shape of a pack manifest entry
|
|
31
|
+
* (the fetch closure materializes a list of these, and `PackWriter` streams
|
|
32
|
+
* from it).
|
|
33
|
+
*/
|
|
34
|
+
export interface ObjectMeta {
|
|
35
|
+
readonly oid: Oid;
|
|
36
|
+
readonly type: ObjectType;
|
|
37
|
+
/** Uncompressed size in bytes. */
|
|
38
|
+
readonly size: number;
|
|
39
|
+
/** Stored (zlib-compressed) size in bytes. */
|
|
40
|
+
readonly zsize: number;
|
|
41
|
+
/** Storage tier the zdata lives in. */
|
|
42
|
+
readonly location: ObjectLocation;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* One entry of a fetch-pack manifest. Alias of {@link ObjectMeta} — the
|
|
46
|
+
* closure walk produces exactly the metadata the pack emitter needs.
|
|
47
|
+
*/
|
|
48
|
+
export type ManifestEntry = ObjectMeta;
|
|
49
|
+
/**
|
|
50
|
+
* Read access to the object store, as needed by pack parsing (thin-pack base
|
|
51
|
+
* resolution), pack writing (zdata streaming), negotiation (have existence),
|
|
52
|
+
* and the push connectivity check.
|
|
53
|
+
*
|
|
54
|
+
* All byte payloads are `zlib(content)` **without** the loose header, so pack
|
|
55
|
+
* emission is `varint(type,size) + zdata` verbatim.
|
|
56
|
+
*/
|
|
57
|
+
export interface ObjectSource {
|
|
58
|
+
/** Whether an object exists (live objects only, not staged). */
|
|
59
|
+
readonly has: (oid: Oid) => Effect.Effect<boolean, StoreError>;
|
|
60
|
+
/**
|
|
61
|
+
* Filters the given oids down to the subset that exists in the store.
|
|
62
|
+
* Implementations batch with chunked `IN` lists; order is not guaranteed.
|
|
63
|
+
*/
|
|
64
|
+
readonly filterExisting: (oids: ReadonlyArray<Oid>) => Effect.Effect<ReadonlyArray<Oid>, StoreError>;
|
|
65
|
+
/** Object metadata, or `undefined` when the object does not exist. */
|
|
66
|
+
readonly getMeta: (oid: Oid) => Effect.Effect<ObjectMeta | undefined, StoreError>;
|
|
67
|
+
/**
|
|
68
|
+
* Streams the stored compressed bytes (`zlib(content)`, no loose header)
|
|
69
|
+
* regardless of location (row BLOB, R2 get, v1.1 ranged pack read).
|
|
70
|
+
*/
|
|
71
|
+
readonly readZData: (oid: Oid) => Stream.Stream<Uint8Array, StoreError>;
|
|
72
|
+
/**
|
|
73
|
+
* Reads and inflates the full object content. Used for thin-pack base
|
|
74
|
+
* resolution and tree/commit walks; callers must respect the per-object
|
|
75
|
+
* size cap before requesting.
|
|
76
|
+
*/
|
|
77
|
+
readonly readContent: (oid: Oid) => Effect.Effect<Uint8Array, StoreError>;
|
|
78
|
+
/**
|
|
79
|
+
* Emits `varint(type,size) + zdata` for every entry as a stream of LARGE
|
|
80
|
+
* chunks: objects are read in batches (one statement per ~256) and
|
|
81
|
+
* concatenated, and pack-resident objects are visited in pack order so
|
|
82
|
+
* the window cache is sequential. Optional — sources without batching
|
|
83
|
+
* fall back to one `readZData` per entry (DESIGN §22).
|
|
84
|
+
*/
|
|
85
|
+
readonly packEntries?: ((entries: ReadonlyArray<ManifestEntry>) => Stream.Stream<Uint8Array, StoreError>) | undefined;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* One advertised ref: full name, tip oid, and — for annotated tags — the
|
|
89
|
+
* peeled target commit oid (advertised as a `^{}` line).
|
|
90
|
+
*/
|
|
91
|
+
export interface RefRecord {
|
|
92
|
+
/** Full ref name, e.g. `refs/heads/main`, `refs/tags/v1`. */
|
|
93
|
+
readonly name: string;
|
|
94
|
+
readonly oid: Oid;
|
|
95
|
+
/** Peeled target for annotated tags (`refs/tags/x^{}` advertisement). */
|
|
96
|
+
readonly peeled?: Oid | undefined;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A point-in-time snapshot of the ref namespace used to build the v0
|
|
100
|
+
* advertisement. `HEAD` is virtual: it resolves to
|
|
101
|
+
* `refs/heads/<defaultBranch>` when that ref exists.
|
|
102
|
+
*/
|
|
103
|
+
export interface RefsSnapshot {
|
|
104
|
+
/** The repo's default branch short name, e.g. `main`. */
|
|
105
|
+
readonly defaultBranch: string;
|
|
106
|
+
/** All refs, sorted by name (the advertisement preserves this order). */
|
|
107
|
+
readonly refs: ReadonlyArray<RefRecord>;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Inputs to the fetch closure computation (implemented over the commit graph
|
|
111
|
+
* in `src/Git/Store/Closure.ts`).
|
|
112
|
+
*/
|
|
113
|
+
export interface ClosureRequest {
|
|
114
|
+
/** Requested tips (from `want` lines). */
|
|
115
|
+
readonly wants: ReadonlyArray<Oid>;
|
|
116
|
+
/**
|
|
117
|
+
* Common commits negotiated with the client (the ACKed haves). The walk
|
|
118
|
+
* stops at these boundaries.
|
|
119
|
+
*/
|
|
120
|
+
readonly haves: ReadonlyArray<Oid>;
|
|
121
|
+
/** Depth bound from `deepen <n>`, when the client requested a shallow fetch. */
|
|
122
|
+
readonly depth?: number | undefined;
|
|
123
|
+
/** The client's existing shallow tips (additional walk boundaries). */
|
|
124
|
+
readonly clientShallow: ReadonlyArray<Oid>;
|
|
125
|
+
/**
|
|
126
|
+
* The REPO's own shallow boundary (commits whose parents were never
|
|
127
|
+
* ingested — a depth-limited import). These never expand in any walk and
|
|
128
|
+
* always surface as `shallow <oid>` lines when included in a pack, so
|
|
129
|
+
* clones of a shallow repo are themselves shallow (and fsck-clean).
|
|
130
|
+
*/
|
|
131
|
+
readonly repoShallow?: ReadonlyArray<Oid> | undefined;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* The result of a closure computation: the pack manifest plus the shallow
|
|
135
|
+
* boundary bookkeeping for the response's shallow section.
|
|
136
|
+
*/
|
|
137
|
+
export interface ClosureResult {
|
|
138
|
+
/**
|
|
139
|
+
* Every object to pack (commits + trees + blobs + tags), each exactly once.
|
|
140
|
+
* Materialized before streaming so the pack header count is known upfront.
|
|
141
|
+
*/
|
|
142
|
+
readonly entries: ReadonlyArray<ManifestEntry>;
|
|
143
|
+
/** Commits that became shallow boundaries (`shallow <oid>` lines). */
|
|
144
|
+
readonly shallow: ReadonlyArray<Oid>;
|
|
145
|
+
/**
|
|
146
|
+
* Previously-shallow client tips that are now complete
|
|
147
|
+
* (`unshallow <oid>` lines).
|
|
148
|
+
*/
|
|
149
|
+
readonly unshallow: ReadonlyArray<Oid>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Computes the object closure for a fetch: BFS from wants over the commit
|
|
153
|
+
* graph stopping at haves (generation-bounded), depth-bounded when shallow,
|
|
154
|
+
* plus the full tree/blob closure of the frontier commits.
|
|
155
|
+
*/
|
|
156
|
+
export interface ClosureSource {
|
|
157
|
+
readonly commitClosure: (request: ClosureRequest) => Effect.Effect<ClosureResult, StoreError>;
|
|
158
|
+
}
|
|
159
|
+
export {};
|
|
160
|
+
//# sourceMappingURL=Store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../src/Git/Protocol/Store.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;;;;AAExD;;;;GAIG;AACH,qBAAa,UAAW,SAAQ,eAE9B;CAAG;AAEL;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAEnD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,kCAAkC;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,uCAAuC;IACvC,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC;AAEvC;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,gEAAgE;IAChE,QAAQ,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC/D;;;OAGG;IACH,QAAQ,CAAC,cAAc,EAAE,CACvB,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,KACrB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;IACnD,sEAAsE;IACtE,QAAQ,CAAC,OAAO,EAAE,CAChB,GAAG,EAAE,GAAG,KACL,MAAM,CAAC,MAAM,CAAC,UAAU,GAAG,SAAS,EAAE,UAAU,CAAC,CAAC;IACvD;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IACxE;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAC1E;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EACjB,CAAC,CACC,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,KAClC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC,GAC3C,SAAS,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,6DAA6D;IAC7D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,yEAAyE;IACzE,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,yDAAyD;IACzD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,yEAAyE;IACzE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CACzC;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,0CAA0C;IAC1C,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACnC;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACnC,gFAAgF;IAChF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,uEAAuE;IACvE,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,aAAa,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;CACvD;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC/C,sEAAsE;IACtE,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;IACrC;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,aAAa,EAAE,CACtB,OAAO,EAAE,cAAc,KACpB,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;CAC/C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
/**
|
|
3
|
+
* Error produced by any of the abstract store interfaces. Concrete
|
|
4
|
+
* implementations wrap their own failures (SQL, R2) into this tag so the
|
|
5
|
+
* protocol layer's error unions stay closed.
|
|
6
|
+
*/
|
|
7
|
+
export class StoreError extends Schema.TaggedError()("StoreError", {
|
|
8
|
+
reason: Schema.String,
|
|
9
|
+
}) {
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Store.js","sourceRoot":"","sources":["../../../src/Git/Protocol/Store.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC;;;;GAIG;AACH,MAAM,OAAO,UAAW,SAAQ,MAAM,CAAC,WAAW,EAAc,CAAC,YAAY,EAAE;IAC7E,MAAM,EAAE,MAAM,CAAC,MAAM;CACtB,CAAC;CAAG"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure recursive tree diff (the server-side diff surface, DESIGN.md §5).
|
|
3
|
+
*
|
|
4
|
+
* Compares two trees keyed by entry **name** (NOT a two-pointer merge —
|
|
5
|
+
* git's canonical sort treats directories as `name/`, so a name that is a
|
|
6
|
+
* blob in one tree and a tree in the other would mis-pair). Only descends
|
|
7
|
+
* into subtree pairs whose oids differ; identical oids (with identical
|
|
8
|
+
* modes) are skipped without reading the subtree at all. That pruning is
|
|
9
|
+
* what makes a 12k-file tree cost O(changed) — a commit touching k files
|
|
10
|
+
* opens only the ~k·depth trees on the changed root-to-leaf paths (each a
|
|
11
|
+
* single SQLite row read + inflate of a few KB).
|
|
12
|
+
*
|
|
13
|
+
* Worst case (root commit: everything added) is bounded by the caps:
|
|
14
|
+
* recursion **stops descending** once {@link MAX_DIFF_FILES} entries are
|
|
15
|
+
* emitted (it does not enumerate-then-truncate) and
|
|
16
|
+
* {@link MAX_DIFF_TREE_READS} bounds tree opens defensively.
|
|
17
|
+
*
|
|
18
|
+
* Like the rest of `src/Git/Protocol/`, this module depends only on data-shaped
|
|
19
|
+
* store contracts so it stays unit-testable with in-memory fakes.
|
|
20
|
+
*/
|
|
21
|
+
import * as Effect from "effect/Effect";
|
|
22
|
+
import { type Oid } from "./ObjectCodec.ts";
|
|
23
|
+
import { StoreError } from "./Store.ts";
|
|
24
|
+
/** Max files emitted by a tree diff before `truncated: true`. */
|
|
25
|
+
export declare const MAX_DIFF_FILES = 1000;
|
|
26
|
+
/**
|
|
27
|
+
* Defensive bound on tree objects opened per diff (a 12k-file repo with
|
|
28
|
+
* identical-subtree pruning opens O(changed-paths · depth), typically <50).
|
|
29
|
+
*/
|
|
30
|
+
export declare const MAX_DIFF_TREE_READS = 5000;
|
|
31
|
+
/** One changed file (see the REST `DiffEntry` schema). */
|
|
32
|
+
export interface DiffEntryData {
|
|
33
|
+
readonly path: string;
|
|
34
|
+
readonly status: "added" | "removed" | "modified";
|
|
35
|
+
readonly oldOid?: string | undefined;
|
|
36
|
+
readonly newOid?: string | undefined;
|
|
37
|
+
readonly oldMode?: string | undefined;
|
|
38
|
+
readonly newMode?: string | undefined;
|
|
39
|
+
readonly oldSize?: number | undefined;
|
|
40
|
+
readonly newSize?: number | undefined;
|
|
41
|
+
}
|
|
42
|
+
/** Result of {@link diffTrees}. */
|
|
43
|
+
export interface TreeDiffResult {
|
|
44
|
+
readonly files: Array<DiffEntryData>;
|
|
45
|
+
readonly truncated: boolean;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The read surface {@link diffTrees} needs — a structural subset of
|
|
49
|
+
* `ObjectStore` (`readContent` + `getMetaBatch`).
|
|
50
|
+
*/
|
|
51
|
+
export interface TreeDiffObjects {
|
|
52
|
+
/** Reads and inflates the full object content. */
|
|
53
|
+
readonly readContent: (oid: Oid) => Effect.Effect<Uint8Array, StoreError>;
|
|
54
|
+
/** Batched metadata; missing oids are simply absent from the map. */
|
|
55
|
+
readonly getMetaBatch: (oids: ReadonlyArray<Oid>) => Effect.Effect<ReadonlyMap<Oid, {
|
|
56
|
+
readonly size: number;
|
|
57
|
+
}>, StoreError>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Recursive tree diff. `oldTree`/`newTree` are tree oids; `undefined`
|
|
61
|
+
* means the empty tree on that side (a root commit diffs against
|
|
62
|
+
* `undefined` and every file comes out `added`).
|
|
63
|
+
*
|
|
64
|
+
* Mode-only changes (same blob oid, different mode) still report
|
|
65
|
+
* `modified`. Kind changes (blob↔tree, gitlink↔tree) emit the removal of
|
|
66
|
+
* everything on the old side and the addition of everything on the new
|
|
67
|
+
* side. Gitlink (mode `160000`) entries are leaves whose oids are commit
|
|
68
|
+
* oids — they carry no sizes.
|
|
69
|
+
*/
|
|
70
|
+
export declare const diffTrees: (objects: TreeDiffObjects, oldTree: Oid | undefined, newTree: Oid | undefined) => Effect.Effect<TreeDiffResult, StoreError>;
|
|
71
|
+
/**
|
|
72
|
+
* The paths that make a three-way merge non-trivial: changed on **both**
|
|
73
|
+
* sides relative to the merge base (minus paths where both sides made the
|
|
74
|
+
* identical change — same new oid+mode, or both deleted), plus
|
|
75
|
+
* directory/file collisions where a leaf now occupies `p` on one side
|
|
76
|
+
* while the other side changed something under `p/`. Sorted.
|
|
77
|
+
*/
|
|
78
|
+
export declare const conflictingPaths: (baseChanges: ReadonlyArray<DiffEntryData>, headChanges: ReadonlyArray<DiffEntryData>) => Array<string>;
|
|
79
|
+
/** A tree object created by {@link applyTreeChanges} (bottom-up order). */
|
|
80
|
+
export interface NewTreeObject {
|
|
81
|
+
readonly oid: Oid;
|
|
82
|
+
readonly content: Uint8Array;
|
|
83
|
+
}
|
|
84
|
+
/** Result of {@link applyTreeChanges}. */
|
|
85
|
+
export interface ApplyTreeChangesResult {
|
|
86
|
+
/** Root tree oid after the changes (may equal `baseTree` on a no-op). */
|
|
87
|
+
readonly root: Oid;
|
|
88
|
+
/**
|
|
89
|
+
* Every tree object whose content was (re)built, bottom-up. Some may
|
|
90
|
+
* already exist in the store — staging is idempotent, so callers just
|
|
91
|
+
* stage them all.
|
|
92
|
+
*/
|
|
93
|
+
readonly newTrees: ReadonlyArray<NewTreeObject>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Applies leaf-level changes (a {@link diffTrees} file list, e.g. the
|
|
97
|
+
* mergeBase→head changes of a trivial three-way merge) onto `baseTree`,
|
|
98
|
+
* rebuilding every touched directory bottom-up with the canonical
|
|
99
|
+
* {@link encodeTree}. Directories that become empty are dropped from their
|
|
100
|
+
* parent (git has no empty trees in practice).
|
|
101
|
+
*
|
|
102
|
+
* Kind changes compose from the diff's leaf pairs without special cases:
|
|
103
|
+
* dir→file arrives as deletions under `p/` plus a leaf add at `p` (the
|
|
104
|
+
* emptied subtree is dropped, then the blob wins); file→dir is the mirror
|
|
105
|
+
* (the rebuilt subtree replaces the removed blob).
|
|
106
|
+
*
|
|
107
|
+
* **No blob is ever created** — every blob/gitlink oid referenced by an
|
|
108
|
+
* add/modify must already exist in the store (it came in with the head
|
|
109
|
+
* push). Gitlink oids are commit oids and are exempt from the existence
|
|
110
|
+
* assertion; any missing *blob* fails with {@link StoreError} (connectivity
|
|
111
|
+
* invariant).
|
|
112
|
+
*/
|
|
113
|
+
export declare const applyTreeChanges: (objects: TreeDiffObjects, baseTree: Oid, changes: ReadonlyArray<DiffEntryData>) => Effect.Effect<ApplyTreeChangesResult, StoreError>;
|
|
114
|
+
//# sourceMappingURL=TreeDiff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeDiff.d.ts","sourceRoot":"","sources":["../../../src/Git/Protocol/TreeDiff.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAQL,KAAK,GAAG,EAET,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,iEAAiE;AACjE,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,mBAAmB,OAAO,CAAC;AAExC,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;IAClD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED,mCAAmC;AACnC,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACrC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,kDAAkD;IAClD,QAAQ,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAC1E,qEAAqE;IACrE,QAAQ,CAAC,YAAY,EAAE,CACrB,IAAI,EAAE,aAAa,CAAC,GAAG,CAAC,KACrB,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,UAAU,CAAC,CAAC;CAC7E;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,YACX,eAAe,WACf,GAAG,GAAG,SAAS,WACf,GAAG,GAAG,SAAS,KACvB,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,UAAU,CAoJvC,CAAC;AAUL;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,gBACd,aAAa,CAAC,aAAa,CAAC,eAC5B,aAAa,CAAC,aAAa,CAAC,KACxC,KAAK,CAAC,MAAM,CAiCd,CAAC;AAMF,2EAA2E;AAC3E,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC;CAC9B;AAED,0CAA0C;AAC1C,MAAM,WAAW,sBAAsB;IACrC,yEAAyE;IACzE,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;CACjD;AAUD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,gBAAgB,YAClB,eAAe,YACd,GAAG,WACJ,aAAa,CAAC,aAAa,CAAC,KACpC,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,UAAU,CAuH/C,CAAC"}
|
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure recursive tree diff (the server-side diff surface, DESIGN.md §5).
|
|
3
|
+
*
|
|
4
|
+
* Compares two trees keyed by entry **name** (NOT a two-pointer merge —
|
|
5
|
+
* git's canonical sort treats directories as `name/`, so a name that is a
|
|
6
|
+
* blob in one tree and a tree in the other would mis-pair). Only descends
|
|
7
|
+
* into subtree pairs whose oids differ; identical oids (with identical
|
|
8
|
+
* modes) are skipped without reading the subtree at all. That pruning is
|
|
9
|
+
* what makes a 12k-file tree cost O(changed) — a commit touching k files
|
|
10
|
+
* opens only the ~k·depth trees on the changed root-to-leaf paths (each a
|
|
11
|
+
* single SQLite row read + inflate of a few KB).
|
|
12
|
+
*
|
|
13
|
+
* Worst case (root commit: everything added) is bounded by the caps:
|
|
14
|
+
* recursion **stops descending** once {@link MAX_DIFF_FILES} entries are
|
|
15
|
+
* emitted (it does not enumerate-then-truncate) and
|
|
16
|
+
* {@link MAX_DIFF_TREE_READS} bounds tree opens defensively.
|
|
17
|
+
*
|
|
18
|
+
* Like the rest of `src/Git/Protocol/`, this module depends only on data-shaped
|
|
19
|
+
* store contracts so it stays unit-testable with in-memory fakes.
|
|
20
|
+
*/
|
|
21
|
+
import * as Effect from "effect/Effect";
|
|
22
|
+
import { encodeTree, GITLINK_MODE, hashObject, ObjectType, parseTree, TREE_MODE, treeEntryKind, } from "./ObjectCodec.js";
|
|
23
|
+
import { StoreError } from "./Store.js";
|
|
24
|
+
/** Max files emitted by a tree diff before `truncated: true`. */
|
|
25
|
+
export const MAX_DIFF_FILES = 1000;
|
|
26
|
+
/**
|
|
27
|
+
* Defensive bound on tree objects opened per diff (a 12k-file repo with
|
|
28
|
+
* identical-subtree pruning opens O(changed-paths · depth), typically <50).
|
|
29
|
+
*/
|
|
30
|
+
export const MAX_DIFF_TREE_READS = 5000;
|
|
31
|
+
/**
|
|
32
|
+
* Recursive tree diff. `oldTree`/`newTree` are tree oids; `undefined`
|
|
33
|
+
* means the empty tree on that side (a root commit diffs against
|
|
34
|
+
* `undefined` and every file comes out `added`).
|
|
35
|
+
*
|
|
36
|
+
* Mode-only changes (same blob oid, different mode) still report
|
|
37
|
+
* `modified`. Kind changes (blob↔tree, gitlink↔tree) emit the removal of
|
|
38
|
+
* everything on the old side and the addition of everything on the new
|
|
39
|
+
* side. Gitlink (mode `160000`) entries are leaves whose oids are commit
|
|
40
|
+
* oids — they carry no sizes.
|
|
41
|
+
*/
|
|
42
|
+
export const diffTrees = (objects, oldTree, newTree) => Effect.gen(function* () {
|
|
43
|
+
const files = [];
|
|
44
|
+
let treeReads = 0;
|
|
45
|
+
let truncated = false;
|
|
46
|
+
const readTree = Effect.fn(function* (oid) {
|
|
47
|
+
if (++treeReads > MAX_DIFF_TREE_READS) {
|
|
48
|
+
truncated = true;
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
const content = yield* objects.readContent(oid);
|
|
52
|
+
return yield* parseTree(content).pipe(Effect.mapError((e) => new StoreError({ reason: e.reason })));
|
|
53
|
+
});
|
|
54
|
+
const emit = (entry) => {
|
|
55
|
+
if (files.length >= MAX_DIFF_FILES) {
|
|
56
|
+
truncated = true;
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
files.push(entry);
|
|
60
|
+
return true;
|
|
61
|
+
};
|
|
62
|
+
/** Emit every blob/gitlink under `tree` as added or removed. */
|
|
63
|
+
const emitAll = (tree, prefix, side) => Effect.gen(function* () {
|
|
64
|
+
if (truncated)
|
|
65
|
+
return;
|
|
66
|
+
const entries = yield* readTree(tree);
|
|
67
|
+
for (const e of entries) {
|
|
68
|
+
if (truncated)
|
|
69
|
+
return;
|
|
70
|
+
const path = prefix + e.name;
|
|
71
|
+
const kind = treeEntryKind(e.mode);
|
|
72
|
+
if (kind === "tree") {
|
|
73
|
+
yield* emitAll(e.oid, `${path}/`, side);
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
// blob or gitlink — a leaf either way
|
|
77
|
+
emit(side === "added"
|
|
78
|
+
? { path, status: "added", newOid: e.oid, newMode: e.mode }
|
|
79
|
+
: { path, status: "removed", oldOid: e.oid, oldMode: e.mode });
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
const walk = (oldOid, newOid, prefix) => Effect.gen(function* () {
|
|
83
|
+
if (truncated)
|
|
84
|
+
return;
|
|
85
|
+
if (oldOid === newOid)
|
|
86
|
+
return; // identical-subtree prune (root incl.)
|
|
87
|
+
if (oldOid === undefined) {
|
|
88
|
+
if (newOid !== undefined)
|
|
89
|
+
yield* emitAll(newOid, prefix, "added");
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if (newOid === undefined) {
|
|
93
|
+
yield* emitAll(oldOid, prefix, "removed");
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const oldEntries = yield* readTree(oldOid);
|
|
97
|
+
const newEntries = yield* readTree(newOid);
|
|
98
|
+
const oldByName = new Map(oldEntries.map((e) => [e.name, e]));
|
|
99
|
+
const newByName = new Map(newEntries.map((e) => [e.name, e]));
|
|
100
|
+
const names = Array.from(new Set([...oldByName.keys(), ...newByName.keys()])).sort(); // deterministic output order
|
|
101
|
+
for (const name of names) {
|
|
102
|
+
if (truncated)
|
|
103
|
+
return;
|
|
104
|
+
const o = oldByName.get(name);
|
|
105
|
+
const n = newByName.get(name);
|
|
106
|
+
const path = prefix + name;
|
|
107
|
+
if (o === undefined) {
|
|
108
|
+
// added on the new side
|
|
109
|
+
const kind = treeEntryKind(n.mode);
|
|
110
|
+
if (kind === "tree")
|
|
111
|
+
yield* emitAll(n.oid, `${path}/`, "added");
|
|
112
|
+
else {
|
|
113
|
+
emit({ path, status: "added", newOid: n.oid, newMode: n.mode });
|
|
114
|
+
}
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
if (n === undefined) {
|
|
118
|
+
const kind = treeEntryKind(o.mode);
|
|
119
|
+
if (kind === "tree")
|
|
120
|
+
yield* emitAll(o.oid, `${path}/`, "removed");
|
|
121
|
+
else {
|
|
122
|
+
emit({ path, status: "removed", oldOid: o.oid, oldMode: o.mode });
|
|
123
|
+
}
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
if (o.oid === n.oid && o.mode === n.mode)
|
|
127
|
+
continue; // untouched — prune
|
|
128
|
+
const oKind = treeEntryKind(o.mode);
|
|
129
|
+
const nKind = treeEntryKind(n.mode);
|
|
130
|
+
if (oKind === "tree" && nKind === "tree") {
|
|
131
|
+
yield* walk(o.oid, n.oid, `${path}/`); // descend: oids differ
|
|
132
|
+
}
|
|
133
|
+
else if (oKind === "tree" || nKind === "tree") {
|
|
134
|
+
// kind change (blob↔tree, gitlink↔tree): removed + added
|
|
135
|
+
if (oKind === "tree")
|
|
136
|
+
yield* emitAll(o.oid, `${path}/`, "removed");
|
|
137
|
+
else {
|
|
138
|
+
emit({ path, status: "removed", oldOid: o.oid, oldMode: o.mode });
|
|
139
|
+
}
|
|
140
|
+
if (nKind === "tree")
|
|
141
|
+
yield* emitAll(n.oid, `${path}/`, "added");
|
|
142
|
+
else {
|
|
143
|
+
emit({ path, status: "added", newOid: n.oid, newMode: n.mode });
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
// blob/gitlink on both sides: content and/or mode change.
|
|
148
|
+
// Mode-only change (o.oid === n.oid) still reports `modified`.
|
|
149
|
+
emit({
|
|
150
|
+
path,
|
|
151
|
+
status: "modified",
|
|
152
|
+
oldOid: o.oid,
|
|
153
|
+
newOid: n.oid,
|
|
154
|
+
oldMode: o.mode,
|
|
155
|
+
newMode: n.mode,
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
yield* walk(oldTree, newTree, "");
|
|
161
|
+
// Fill sizes for blob entries in ONE chunked metadata query so clients
|
|
162
|
+
// can gate binary/oversize files without fetching. Gitlink oids won't
|
|
163
|
+
// be in `objects` and simply stay size-less.
|
|
164
|
+
const blobOids = new Set();
|
|
165
|
+
for (const f of files) {
|
|
166
|
+
if (f.oldOid !== undefined && f.oldMode !== GITLINK_MODE) {
|
|
167
|
+
blobOids.add(f.oldOid);
|
|
168
|
+
}
|
|
169
|
+
if (f.newOid !== undefined && f.newMode !== GITLINK_MODE) {
|
|
170
|
+
blobOids.add(f.newOid);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
const metas = yield* objects.getMetaBatch(Array.from(blobOids));
|
|
174
|
+
const sized = files.map((f) => ({
|
|
175
|
+
...f,
|
|
176
|
+
oldSize: f.oldOid !== undefined ? metas.get(f.oldOid)?.size : undefined,
|
|
177
|
+
newSize: f.newOid !== undefined ? metas.get(f.newOid)?.size : undefined,
|
|
178
|
+
}));
|
|
179
|
+
return { files: sized, truncated };
|
|
180
|
+
});
|
|
181
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
182
|
+
// conflictingPaths — the trivial-merge admissibility test
|
|
183
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
184
|
+
/** `true` when both sides made the identical change (same result). */
|
|
185
|
+
const identicalChange = (a, b) => a.status === b.status && a.newOid === b.newOid && a.newMode === b.newMode;
|
|
186
|
+
/**
|
|
187
|
+
* The paths that make a three-way merge non-trivial: changed on **both**
|
|
188
|
+
* sides relative to the merge base (minus paths where both sides made the
|
|
189
|
+
* identical change — same new oid+mode, or both deleted), plus
|
|
190
|
+
* directory/file collisions where a leaf now occupies `p` on one side
|
|
191
|
+
* while the other side changed something under `p/`. Sorted.
|
|
192
|
+
*/
|
|
193
|
+
export const conflictingPaths = (baseChanges, headChanges) => {
|
|
194
|
+
const conflicts = new Set();
|
|
195
|
+
const baseBy = new Map(baseChanges.map((f) => [f.path, f]));
|
|
196
|
+
const headBy = new Map(headChanges.map((f) => [f.path, f]));
|
|
197
|
+
for (const [path, head] of headBy) {
|
|
198
|
+
const base = baseBy.get(path);
|
|
199
|
+
if (base !== undefined && !identicalChange(base, head)) {
|
|
200
|
+
conflicts.add(path);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
// Directory/file collision: one side's add/modify puts a *leaf* at `dir`
|
|
204
|
+
// while the other side changes a path under `dir/` — the leaf and the
|
|
205
|
+
// directory cannot both exist. (A `removed` ancestor never collides: at
|
|
206
|
+
// the merge base a name is either a leaf or a directory, never both.)
|
|
207
|
+
const addAncestorConflicts = (leaves, others) => {
|
|
208
|
+
for (const path of others.keys()) {
|
|
209
|
+
let idx = path.lastIndexOf("/");
|
|
210
|
+
while (idx > 0) {
|
|
211
|
+
const dir = path.slice(0, idx);
|
|
212
|
+
const leaf = leaves.get(dir);
|
|
213
|
+
if (leaf !== undefined && leaf.newOid !== undefined) {
|
|
214
|
+
conflicts.add(path);
|
|
215
|
+
}
|
|
216
|
+
idx = dir.lastIndexOf("/");
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
addAncestorConflicts(baseBy, headBy);
|
|
221
|
+
addAncestorConflicts(headBy, baseBy);
|
|
222
|
+
return Array.from(conflicts).sort();
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Applies leaf-level changes (a {@link diffTrees} file list, e.g. the
|
|
226
|
+
* mergeBase→head changes of a trivial three-way merge) onto `baseTree`,
|
|
227
|
+
* rebuilding every touched directory bottom-up with the canonical
|
|
228
|
+
* {@link encodeTree}. Directories that become empty are dropped from their
|
|
229
|
+
* parent (git has no empty trees in practice).
|
|
230
|
+
*
|
|
231
|
+
* Kind changes compose from the diff's leaf pairs without special cases:
|
|
232
|
+
* dir→file arrives as deletions under `p/` plus a leaf add at `p` (the
|
|
233
|
+
* emptied subtree is dropped, then the blob wins); file→dir is the mirror
|
|
234
|
+
* (the rebuilt subtree replaces the removed blob).
|
|
235
|
+
*
|
|
236
|
+
* **No blob is ever created** — every blob/gitlink oid referenced by an
|
|
237
|
+
* add/modify must already exist in the store (it came in with the head
|
|
238
|
+
* push). Gitlink oids are commit oids and are exempt from the existence
|
|
239
|
+
* assertion; any missing *blob* fails with {@link StoreError} (connectivity
|
|
240
|
+
* invariant).
|
|
241
|
+
*/
|
|
242
|
+
export const applyTreeChanges = (objects, baseTree, changes) => Effect.gen(function* () {
|
|
243
|
+
// Connectivity invariant: referenced blobs must already exist.
|
|
244
|
+
const requiredBlobs = new Set();
|
|
245
|
+
for (const change of changes) {
|
|
246
|
+
if (change.newOid !== undefined &&
|
|
247
|
+
change.newMode !== undefined &&
|
|
248
|
+
treeEntryKind(change.newMode) !== "commit") {
|
|
249
|
+
requiredBlobs.add(change.newOid);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
if (requiredBlobs.size > 0) {
|
|
253
|
+
const metas = yield* objects.getMetaBatch(Array.from(requiredBlobs));
|
|
254
|
+
for (const oid of requiredBlobs) {
|
|
255
|
+
if (!metas.has(oid)) {
|
|
256
|
+
return yield* new StoreError({
|
|
257
|
+
reason: `applyTreeChanges: referenced blob ${oid} is missing from the store`,
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
// Build the nested change tree keyed by path segment.
|
|
263
|
+
const rootNode = { children: new Map() };
|
|
264
|
+
for (const change of changes) {
|
|
265
|
+
const segments = change.path.split("/");
|
|
266
|
+
let node = rootNode;
|
|
267
|
+
for (let i = 0; i < segments.length; i++) {
|
|
268
|
+
node.children ??= new Map();
|
|
269
|
+
const name = segments[i];
|
|
270
|
+
let next = node.children.get(name);
|
|
271
|
+
if (next === undefined) {
|
|
272
|
+
next = {};
|
|
273
|
+
node.children.set(name, next);
|
|
274
|
+
}
|
|
275
|
+
node = next;
|
|
276
|
+
}
|
|
277
|
+
node.leaf = change;
|
|
278
|
+
}
|
|
279
|
+
const newTrees = [];
|
|
280
|
+
const readEntries = Effect.fn(function* (oid) {
|
|
281
|
+
const content = yield* objects.readContent(oid);
|
|
282
|
+
return yield* parseTree(content).pipe(Effect.mapError((e) => new StoreError({ reason: e.reason })));
|
|
283
|
+
});
|
|
284
|
+
/**
|
|
285
|
+
* Rebuilds one directory: `baseOid` is the base-side subtree (absent
|
|
286
|
+
* when the directory is new), `node.children` the changes below it.
|
|
287
|
+
* Returns the resulting tree oid, or `undefined` when it came out
|
|
288
|
+
* empty.
|
|
289
|
+
*/
|
|
290
|
+
const build = (baseOid, children) => Effect.gen(function* () {
|
|
291
|
+
const baseEntries = baseOid === undefined ? [] : yield* readEntries(baseOid);
|
|
292
|
+
const byName = new Map(baseEntries.map((e) => [e.name, e]));
|
|
293
|
+
for (const [name, node] of children) {
|
|
294
|
+
const base = byName.get(name);
|
|
295
|
+
// 1. children first: rebuild the subtree below this name.
|
|
296
|
+
let subtree;
|
|
297
|
+
if (node.children !== undefined) {
|
|
298
|
+
const subtreeBase = base !== undefined && treeEntryKind(base.mode) === "tree"
|
|
299
|
+
? base.oid
|
|
300
|
+
: undefined;
|
|
301
|
+
subtree = yield* build(subtreeBase, node.children);
|
|
302
|
+
}
|
|
303
|
+
// 2. the leaf op at this exact name decides the entry.
|
|
304
|
+
if (node.leaf !== undefined &&
|
|
305
|
+
node.leaf.newOid !== undefined &&
|
|
306
|
+
node.leaf.newMode !== undefined) {
|
|
307
|
+
// added/modified blob or gitlink — the leaf wins.
|
|
308
|
+
byName.set(name, {
|
|
309
|
+
mode: node.leaf.newMode,
|
|
310
|
+
name,
|
|
311
|
+
oid: node.leaf.newOid,
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
else if (node.children !== undefined) {
|
|
315
|
+
// subtree result (also covers file→dir: the removed blob is
|
|
316
|
+
// replaced by the rebuilt subtree, or dropped when empty).
|
|
317
|
+
if (subtree === undefined)
|
|
318
|
+
byName.delete(name);
|
|
319
|
+
else
|
|
320
|
+
byName.set(name, { mode: TREE_MODE, name, oid: subtree });
|
|
321
|
+
}
|
|
322
|
+
else if (node.leaf !== undefined) {
|
|
323
|
+
// removed leaf
|
|
324
|
+
byName.delete(name);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
const entries = Array.from(byName.values());
|
|
328
|
+
if (entries.length === 0)
|
|
329
|
+
return undefined;
|
|
330
|
+
const content = yield* encodeTree(entries).pipe(Effect.mapError((e) => new StoreError({ reason: e.reason })));
|
|
331
|
+
const oid = yield* hashObject(ObjectType.tree, content);
|
|
332
|
+
if (oid !== baseOid) {
|
|
333
|
+
newTrees.push({ oid, content });
|
|
334
|
+
}
|
|
335
|
+
return oid;
|
|
336
|
+
});
|
|
337
|
+
const root = yield* build(baseTree, rootNode.children ?? new Map());
|
|
338
|
+
if (root === undefined) {
|
|
339
|
+
// Everything was deleted: the canonical empty tree.
|
|
340
|
+
const content = new Uint8Array(0);
|
|
341
|
+
const oid = yield* hashObject(ObjectType.tree, content);
|
|
342
|
+
newTrees.push({ oid, content });
|
|
343
|
+
return { root: oid, newTrees };
|
|
344
|
+
}
|
|
345
|
+
return { root, newTrees };
|
|
346
|
+
});
|
|
347
|
+
//# sourceMappingURL=TreeDiff.js.map
|