chore(deps): upgrade Effect to rc.112 and Alchemy to beta.76 (#10652)
This commit is contained in:
1 parent
50a76cee7c
commit
bd56e920b7
250 files changed
+2169
-1584
No files matched your search
@@ -29,7 +29,7 @@ const azureDevOpsCommandErrorFields = {
|
||||
cause: Schema.Defect(),
|
||||
};
|
||||
|
||||
export class AzureDevOpsCliUnavailableError extends Schema.TaggedErrorClass<AzureDevOpsCliUnavailableError>()(
|
||||
export class AzureDevOpsCliUnavailableError extends Schema.TaggedError<AzureDevOpsCliUnavailableError>()(
|
||||
"AzureDevOpsCliUnavailableError",
|
||||
azureDevOpsCommandErrorFields,
|
||||
) {
|
||||
@@ -42,7 +42,7 @@ export class AzureDevOpsCliUnavailableError extends Schema.TaggedErrorClass<Azur
|
||||
}
|
||||
}
|
||||
|
||||
export class AzureDevOpsCliAuthenticationError extends Schema.TaggedErrorClass<AzureDevOpsCliAuthenticationError>()(
|
||||
export class AzureDevOpsCliAuthenticationError extends Schema.TaggedError<AzureDevOpsCliAuthenticationError>()(
|
||||
"AzureDevOpsCliAuthenticationError",
|
||||
azureDevOpsCommandErrorFields,
|
||||
) {
|
||||
@@ -55,7 +55,7 @@ export class AzureDevOpsCliAuthenticationError extends Schema.TaggedErrorClass<A
|
||||
}
|
||||
}
|
||||
|
||||
export class AzureDevOpsCliRateLimitError extends Schema.TaggedErrorClass<AzureDevOpsCliRateLimitError>()(
|
||||
export class AzureDevOpsCliRateLimitError extends Schema.TaggedError<AzureDevOpsCliRateLimitError>()(
|
||||
"AzureDevOpsCliRateLimitError",
|
||||
azureDevOpsCommandErrorFields,
|
||||
) {
|
||||
@@ -68,7 +68,7 @@ export class AzureDevOpsCliRateLimitError extends Schema.TaggedErrorClass<AzureD
|
||||
}
|
||||
}
|
||||
|
||||
export class AzureDevOpsPullRequestNotFoundError extends Schema.TaggedErrorClass<AzureDevOpsPullRequestNotFoundError>()(
|
||||
export class AzureDevOpsPullRequestNotFoundError extends Schema.TaggedError<AzureDevOpsPullRequestNotFoundError>()(
|
||||
"AzureDevOpsPullRequestNotFoundError",
|
||||
azureDevOpsCommandErrorFields,
|
||||
) {
|
||||
@@ -81,7 +81,7 @@ export class AzureDevOpsPullRequestNotFoundError extends Schema.TaggedErrorClass
|
||||
}
|
||||
}
|
||||
|
||||
export class AzureDevOpsCommandFailedError extends Schema.TaggedErrorClass<AzureDevOpsCommandFailedError>()(
|
||||
export class AzureDevOpsCommandFailedError extends Schema.TaggedError<AzureDevOpsCommandFailedError>()(
|
||||
"AzureDevOpsCommandFailedError",
|
||||
azureDevOpsCommandErrorFields,
|
||||
) {
|
||||
@@ -137,7 +137,7 @@ const azureDevOpsDecodeErrorFields = {
|
||||
cause: Schema.Defect(),
|
||||
};
|
||||
|
||||
export class AzureDevOpsPullRequestListDecodeError extends Schema.TaggedErrorClass<AzureDevOpsPullRequestListDecodeError>()(
|
||||
export class AzureDevOpsPullRequestListDecodeError extends Schema.TaggedError<AzureDevOpsPullRequestListDecodeError>()(
|
||||
"AzureDevOpsPullRequestListDecodeError",
|
||||
{
|
||||
operation: Schema.Literal("listPullRequests"),
|
||||
@@ -153,7 +153,7 @@ export class AzureDevOpsPullRequestListDecodeError extends Schema.TaggedErrorCla
|
||||
}
|
||||
}
|
||||
|
||||
export class AzureDevOpsPullRequestDecodeError extends Schema.TaggedErrorClass<AzureDevOpsPullRequestDecodeError>()(
|
||||
export class AzureDevOpsPullRequestDecodeError extends Schema.TaggedError<AzureDevOpsPullRequestDecodeError>()(
|
||||
"AzureDevOpsPullRequestDecodeError",
|
||||
{
|
||||
operation: Schema.Literal("getPullRequest"),
|
||||
@@ -175,7 +175,7 @@ const AzureDevOpsRepositoryDecodeOperation = Schema.Literals([
|
||||
"createRepository",
|
||||
]);
|
||||
|
||||
export class AzureDevOpsRepositoryDecodeError extends Schema.TaggedErrorClass<AzureDevOpsRepositoryDecodeError>()(
|
||||
export class AzureDevOpsRepositoryDecodeError extends Schema.TaggedError<AzureDevOpsRepositoryDecodeError>()(
|
||||
"AzureDevOpsRepositoryDecodeError",
|
||||
{
|
||||
operation: AzureDevOpsRepositoryDecodeOperation,
|
||||
|
||||
@@ -63,7 +63,7 @@ const BitbucketApiOperation = Schema.Literals([
|
||||
]);
|
||||
type BitbucketApiOperation = typeof BitbucketApiOperation.Type;
|
||||
|
||||
export class BitbucketRepositoryLocatorError extends Schema.TaggedErrorClass<BitbucketRepositoryLocatorError>()(
|
||||
export class BitbucketRepositoryLocatorError extends Schema.TaggedError<BitbucketRepositoryLocatorError>()(
|
||||
"BitbucketRepositoryLocatorError",
|
||||
{
|
||||
repository: Schema.String,
|
||||
@@ -78,7 +78,7 @@ export class BitbucketRepositoryLocatorError extends Schema.TaggedErrorClass<Bit
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketRequestError extends Schema.TaggedErrorClass<BitbucketRequestError>()(
|
||||
export class BitbucketRequestError extends Schema.TaggedError<BitbucketRequestError>()(
|
||||
"BitbucketRequestError",
|
||||
{
|
||||
operation: BitbucketApiOperation,
|
||||
@@ -94,7 +94,7 @@ export class BitbucketRequestError extends Schema.TaggedErrorClass<BitbucketRequ
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketResponseError extends Schema.TaggedErrorClass<BitbucketResponseError>()(
|
||||
export class BitbucketResponseError extends Schema.TaggedError<BitbucketResponseError>()(
|
||||
"BitbucketResponseError",
|
||||
{
|
||||
operation: BitbucketApiOperation,
|
||||
@@ -112,7 +112,7 @@ export class BitbucketResponseError extends Schema.TaggedErrorClass<BitbucketRes
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketResponseBodyReadError extends Schema.TaggedErrorClass<BitbucketResponseBodyReadError>()(
|
||||
export class BitbucketResponseBodyReadError extends Schema.TaggedError<BitbucketResponseBodyReadError>()(
|
||||
"BitbucketResponseBodyReadError",
|
||||
{
|
||||
operation: BitbucketApiOperation,
|
||||
@@ -129,7 +129,7 @@ export class BitbucketResponseBodyReadError extends Schema.TaggedErrorClass<Bitb
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketResponseDecodeError extends Schema.TaggedErrorClass<BitbucketResponseDecodeError>()(
|
||||
export class BitbucketResponseDecodeError extends Schema.TaggedError<BitbucketResponseDecodeError>()(
|
||||
"BitbucketResponseDecodeError",
|
||||
{
|
||||
operation: BitbucketApiOperation,
|
||||
@@ -146,7 +146,7 @@ export class BitbucketResponseDecodeError extends Schema.TaggedErrorClass<Bitbuc
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketRepositoryVcsResolveError extends Schema.TaggedErrorClass<BitbucketRepositoryVcsResolveError>()(
|
||||
export class BitbucketRepositoryVcsResolveError extends Schema.TaggedError<BitbucketRepositoryVcsResolveError>()(
|
||||
"BitbucketRepositoryVcsResolveError",
|
||||
{
|
||||
cwd: Schema.String,
|
||||
@@ -162,7 +162,7 @@ export class BitbucketRepositoryVcsResolveError extends Schema.TaggedErrorClass<
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketRepositoryRemotesListError extends Schema.TaggedErrorClass<BitbucketRepositoryRemotesListError>()(
|
||||
export class BitbucketRepositoryRemotesListError extends Schema.TaggedError<BitbucketRepositoryRemotesListError>()(
|
||||
"BitbucketRepositoryRemotesListError",
|
||||
{
|
||||
cwd: Schema.String,
|
||||
@@ -178,7 +178,7 @@ export class BitbucketRepositoryRemotesListError extends Schema.TaggedErrorClass
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketRepositoryRemoteNotFoundError extends Schema.TaggedErrorClass<BitbucketRepositoryRemoteNotFoundError>()(
|
||||
export class BitbucketRepositoryRemoteNotFoundError extends Schema.TaggedError<BitbucketRepositoryRemoteNotFoundError>()(
|
||||
"BitbucketRepositoryRemoteNotFoundError",
|
||||
{
|
||||
cwd: Schema.String,
|
||||
@@ -193,7 +193,7 @@ export class BitbucketRepositoryRemoteNotFoundError extends Schema.TaggedErrorCl
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketPullRequestBodyReadError extends Schema.TaggedErrorClass<BitbucketPullRequestBodyReadError>()(
|
||||
export class BitbucketPullRequestBodyReadError extends Schema.TaggedError<BitbucketPullRequestBodyReadError>()(
|
||||
"BitbucketPullRequestBodyReadError",
|
||||
{
|
||||
cwd: Schema.String,
|
||||
@@ -210,7 +210,7 @@ export class BitbucketPullRequestBodyReadError extends Schema.TaggedErrorClass<B
|
||||
}
|
||||
}
|
||||
|
||||
export class BitbucketCheckoutError extends Schema.TaggedErrorClass<BitbucketCheckoutError>()(
|
||||
export class BitbucketCheckoutError extends Schema.TaggedError<BitbucketCheckoutError>()(
|
||||
"BitbucketCheckoutError",
|
||||
{
|
||||
cwd: Schema.String,
|
||||
@@ -232,7 +232,7 @@ export class BitbucketCheckoutError extends Schema.TaggedErrorClass<BitbucketChe
|
||||
* the request carries the account's credentials and a url that came back in a response — a
|
||||
* pagination cursor, or the target of a redirect — is not this server's to trust.
|
||||
*/
|
||||
export class BitbucketUntrustedUrlError extends Schema.TaggedErrorClass<BitbucketUntrustedUrlError>()(
|
||||
export class BitbucketUntrustedUrlError extends Schema.TaggedError<BitbucketUntrustedUrlError>()(
|
||||
"BitbucketUntrustedUrlError",
|
||||
{
|
||||
/** The host only. A rejected hop is often a signed url, whose query carries a credential. */
|
||||
|
||||
@@ -28,7 +28,7 @@ const gitHubCliFailureFields = {
|
||||
cause: Schema.Defect(),
|
||||
} as const;
|
||||
|
||||
export class GitHubCliUnavailableError extends Schema.TaggedErrorClass<GitHubCliUnavailableError>()(
|
||||
export class GitHubCliUnavailableError extends Schema.TaggedError<GitHubCliUnavailableError>()(
|
||||
"GitHubCliUnavailableError",
|
||||
gitHubCliFailureFields,
|
||||
) {
|
||||
@@ -41,7 +41,7 @@ export class GitHubCliUnavailableError extends Schema.TaggedErrorClass<GitHubCli
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubCliAuthenticationError extends Schema.TaggedErrorClass<GitHubCliAuthenticationError>()(
|
||||
export class GitHubCliAuthenticationError extends Schema.TaggedError<GitHubCliAuthenticationError>()(
|
||||
"GitHubCliAuthenticationError",
|
||||
gitHubCliFailureFields,
|
||||
) {
|
||||
@@ -54,7 +54,7 @@ export class GitHubCliAuthenticationError extends Schema.TaggedErrorClass<GitHub
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubCliRateLimitError extends Schema.TaggedErrorClass<GitHubCliRateLimitError>()(
|
||||
export class GitHubCliRateLimitError extends Schema.TaggedError<GitHubCliRateLimitError>()(
|
||||
"GitHubCliRateLimitError",
|
||||
gitHubCliFailureFields,
|
||||
) {
|
||||
@@ -67,7 +67,7 @@ export class GitHubCliRateLimitError extends Schema.TaggedErrorClass<GitHubCliRa
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubPullRequestNotFoundError extends Schema.TaggedErrorClass<GitHubPullRequestNotFoundError>()(
|
||||
export class GitHubPullRequestNotFoundError extends Schema.TaggedError<GitHubPullRequestNotFoundError>()(
|
||||
"GitHubPullRequestNotFoundError",
|
||||
gitHubCliFailureFields,
|
||||
) {
|
||||
@@ -80,7 +80,7 @@ export class GitHubPullRequestNotFoundError extends Schema.TaggedErrorClass<GitH
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubCliCommandError extends Schema.TaggedErrorClass<GitHubCliCommandError>()(
|
||||
export class GitHubCliCommandError extends Schema.TaggedError<GitHubCliCommandError>()(
|
||||
"GitHubCliCommandError",
|
||||
gitHubCliFailureFields,
|
||||
) {
|
||||
@@ -99,7 +99,7 @@ const gitHubCliDecodeFields = {
|
||||
cause: Schema.Defect(),
|
||||
} as const;
|
||||
|
||||
export class GitHubPullRequestListDecodeError extends Schema.TaggedErrorClass<GitHubPullRequestListDecodeError>()(
|
||||
export class GitHubPullRequestListDecodeError extends Schema.TaggedError<GitHubPullRequestListDecodeError>()(
|
||||
"GitHubPullRequestListDecodeError",
|
||||
gitHubCliDecodeFields,
|
||||
) {
|
||||
@@ -112,7 +112,7 @@ export class GitHubPullRequestListDecodeError extends Schema.TaggedErrorClass<Gi
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubChangeRequestListDecodeError extends Schema.TaggedErrorClass<GitHubChangeRequestListDecodeError>()(
|
||||
export class GitHubChangeRequestListDecodeError extends Schema.TaggedError<GitHubChangeRequestListDecodeError>()(
|
||||
"GitHubChangeRequestListDecodeError",
|
||||
gitHubCliDecodeFields,
|
||||
) {
|
||||
@@ -125,7 +125,7 @@ export class GitHubChangeRequestListDecodeError extends Schema.TaggedErrorClass<
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubPullRequestDecodeError extends Schema.TaggedErrorClass<GitHubPullRequestDecodeError>()(
|
||||
export class GitHubPullRequestDecodeError extends Schema.TaggedError<GitHubPullRequestDecodeError>()(
|
||||
"GitHubPullRequestDecodeError",
|
||||
gitHubCliDecodeFields,
|
||||
) {
|
||||
@@ -138,7 +138,7 @@ export class GitHubPullRequestDecodeError extends Schema.TaggedErrorClass<GitHub
|
||||
}
|
||||
}
|
||||
|
||||
export class GitHubRepositoryDecodeError extends Schema.TaggedErrorClass<GitHubRepositoryDecodeError>()(
|
||||
export class GitHubRepositoryDecodeError extends Schema.TaggedError<GitHubRepositoryDecodeError>()(
|
||||
"GitHubRepositoryDecodeError",
|
||||
gitHubCliDecodeFields,
|
||||
) {
|
||||
|
||||
@@ -35,7 +35,7 @@ const gitLabCliDecodeErrorContext = {
|
||||
cause: Schema.Defect(),
|
||||
};
|
||||
|
||||
export class GitLabCliUnavailableError extends Schema.TaggedErrorClass<GitLabCliUnavailableError>()(
|
||||
export class GitLabCliUnavailableError extends Schema.TaggedError<GitLabCliUnavailableError>()(
|
||||
"GitLabCliUnavailableError",
|
||||
gitLabCliExecutionErrorContext,
|
||||
) {
|
||||
@@ -48,7 +48,7 @@ export class GitLabCliUnavailableError extends Schema.TaggedErrorClass<GitLabCli
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabCliAuthenticationError extends Schema.TaggedErrorClass<GitLabCliAuthenticationError>()(
|
||||
export class GitLabCliAuthenticationError extends Schema.TaggedError<GitLabCliAuthenticationError>()(
|
||||
"GitLabCliAuthenticationError",
|
||||
gitLabCliExecutionErrorContext,
|
||||
) {
|
||||
@@ -61,7 +61,7 @@ export class GitLabCliAuthenticationError extends Schema.TaggedErrorClass<GitLab
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabCliRateLimitError extends Schema.TaggedErrorClass<GitLabCliRateLimitError>()(
|
||||
export class GitLabCliRateLimitError extends Schema.TaggedError<GitLabCliRateLimitError>()(
|
||||
"GitLabCliRateLimitError",
|
||||
gitLabCliExecutionErrorContext,
|
||||
) {
|
||||
@@ -74,7 +74,7 @@ export class GitLabCliRateLimitError extends Schema.TaggedErrorClass<GitLabCliRa
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabMergeRequestNotFoundError extends Schema.TaggedErrorClass<GitLabMergeRequestNotFoundError>()(
|
||||
export class GitLabMergeRequestNotFoundError extends Schema.TaggedError<GitLabMergeRequestNotFoundError>()(
|
||||
"GitLabMergeRequestNotFoundError",
|
||||
{
|
||||
...gitLabCliExecutionErrorContext,
|
||||
@@ -113,7 +113,7 @@ export class GitLabMergeRequestNotFoundError extends Schema.TaggedErrorClass<Git
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabCliCommandError extends Schema.TaggedErrorClass<GitLabCliCommandError>()(
|
||||
export class GitLabCliCommandError extends Schema.TaggedError<GitLabCliCommandError>()(
|
||||
"GitLabCliCommandError",
|
||||
gitLabCliExecutionErrorContext,
|
||||
) {
|
||||
@@ -158,7 +158,7 @@ export class GitLabCliCommandError extends Schema.TaggedErrorClass<GitLabCliComm
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabMergeRequestListDecodeError extends Schema.TaggedErrorClass<GitLabMergeRequestListDecodeError>()(
|
||||
export class GitLabMergeRequestListDecodeError extends Schema.TaggedError<GitLabMergeRequestListDecodeError>()(
|
||||
"GitLabMergeRequestListDecodeError",
|
||||
{
|
||||
...gitLabCliDecodeErrorContext,
|
||||
@@ -174,7 +174,7 @@ export class GitLabMergeRequestListDecodeError extends Schema.TaggedErrorClass<G
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabMergeRequestDecodeError extends Schema.TaggedErrorClass<GitLabMergeRequestDecodeError>()(
|
||||
export class GitLabMergeRequestDecodeError extends Schema.TaggedError<GitLabMergeRequestDecodeError>()(
|
||||
"GitLabMergeRequestDecodeError",
|
||||
{
|
||||
...gitLabCliDecodeErrorContext,
|
||||
@@ -191,7 +191,7 @@ export class GitLabMergeRequestDecodeError extends Schema.TaggedErrorClass<GitLa
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabRepositoryDecodeError extends Schema.TaggedErrorClass<GitLabRepositoryDecodeError>()(
|
||||
export class GitLabRepositoryDecodeError extends Schema.TaggedError<GitLabRepositoryDecodeError>()(
|
||||
"GitLabRepositoryDecodeError",
|
||||
{
|
||||
...gitLabCliDecodeErrorContext,
|
||||
@@ -208,7 +208,7 @@ export class GitLabRepositoryDecodeError extends Schema.TaggedErrorClass<GitLabR
|
||||
}
|
||||
}
|
||||
|
||||
export class GitLabNamespaceDecodeError extends Schema.TaggedErrorClass<GitLabNamespaceDecodeError>()(
|
||||
export class GitLabNamespaceDecodeError extends Schema.TaggedError<GitLabNamespaceDecodeError>()(
|
||||
"GitLabNamespaceDecodeError",
|
||||
{
|
||||
...gitLabCliDecodeErrorContext,
|
||||
|
||||
@@ -28,7 +28,7 @@ interface RateLimitEntry {
|
||||
readonly retryAt: number;
|
||||
}
|
||||
|
||||
export class SourceControlRateLimitPausedError extends Schema.TaggedErrorClass<SourceControlRateLimitPausedError>()(
|
||||
export class SourceControlRateLimitPausedError extends Schema.TaggedError<SourceControlRateLimitPausedError>()(
|
||||
"SourceControlRateLimitPausedError",
|
||||
{
|
||||
provider: SourceControlProviderKindSchema,
|
||||
|
||||
Reference in new issue
Block a user