@distilled.cloud/expo-eas 1.0.0-rc.14 → 1.0.0-rc.16
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/lib/credentials.d.ts +3 -3
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +30 -26
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +74 -74
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +89 -87
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +12 -12
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +70 -67
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +26 -25
- package/lib/retry.js.map +1 -1
- package/lib/services/eas.d.ts +0 -12523
- package/lib/services/eas.d.ts.map +1 -1
- package/lib/services/eas.js +922 -64967
- package/lib/traits.d.ts +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +27 -27
- package/lib/traits.js.map +1 -1
- package/package.json +13 -9
- package/src/credentials.ts +14 -15
- package/src/errors.ts +84 -91
- package/src/index.ts +1 -1
- package/src/protocol.ts +33 -32
- package/src/retry.ts +6 -4
- package/src/services/eas.ts +21403 -100906
- package/src/traits.ts +7 -5
- package/lib/protocol.test.d.ts +0 -2
- package/lib/protocol.test.d.ts.map +0 -1
- package/lib/protocol.test.js +0 -267
- package/lib/protocol.test.js.map +0 -1
- package/lib/services/eas.js.map +0 -1
- package/src/protocol.test.ts +0 -362
package/lib/credentials.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ export interface Config {
|
|
|
9
9
|
readonly apiBaseUrl: string;
|
|
10
10
|
}
|
|
11
11
|
declare const Credentials_base: Context.ServiceClass<Credentials, "EasCredentials", Effect.Effect<Config, never, never>>;
|
|
12
|
-
export declare class Credentials extends Credentials_base {
|
|
12
|
+
export declare class Credentials extends /*@__PURE__*/ Credentials_base {
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Build credentials from environment variables.
|
|
16
16
|
*
|
|
17
|
-
* - `EXPO_TOKEN`
|
|
17
|
+
* - `EXPO_TOKEN` -- Personal/Organization access token from
|
|
18
18
|
* https://expo.dev/settings/access-tokens (required)
|
|
19
|
-
* - `EXPO_API_URL`
|
|
19
|
+
* - `EXPO_API_URL` -- override the API host (optional, defaults to
|
|
20
20
|
* https://api.expo.dev). Set to `https://staging-api.expo.dev` to target
|
|
21
21
|
* staging, mirroring eas-cli's `EXPO_STAGING=1` flag.
|
|
22
22
|
*/
|
package/lib/credentials.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAE3D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAE3D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,WAAW,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WACX,SAAQ,aAAa,CAAC,gBAAuE;CAAG;AASlG;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,wCAe9B,CAAC"}
|
package/lib/credentials.js
CHANGED
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import * as EffectConfig from "@distilled.cloud/core/config";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
10
11
|
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
11
|
-
import * as EffectConfig from "effect/Config";
|
|
12
12
|
import * as Context from "effect/Context";
|
|
13
13
|
import * as Effect from "effect/Effect";
|
|
14
14
|
import * as Layer from "effect/Layer";
|
|
15
15
|
import * as Redacted from "effect/Redacted";
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
export const DEFAULT_API_BASE_URL = "https://api.expo.dev";
|
|
18
|
-
export class Credentials extends Context.Service()("EasCredentials") {
|
|
18
|
+
export class Credentials extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("EasCredentials") {
|
|
19
19
|
}
|
|
20
|
-
const envConfig = EffectConfig.all({
|
|
21
|
-
accessToken: EffectConfig.String("EXPO_TOKEN"),
|
|
22
|
-
apiBaseUrl: EffectConfig.String("EXPO_API_URL").pipe(
|
|
20
|
+
const envConfig = /*@__PURE__*/ EffectConfig.all({
|
|
21
|
+
accessToken: /*@__PURE__*/ EffectConfig.String("EXPO_TOKEN"),
|
|
22
|
+
apiBaseUrl: /*@__PURE__*/ EffectConfig.String("EXPO_API_URL").pipe(
|
|
23
|
+
/*@__PURE__*/ EffectConfig.withDefault(DEFAULT_API_BASE_URL)),
|
|
23
24
|
});
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export const CredentialsFromEnv = Layer.succeed(Credentials,
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
export const CredentialsFromEnv = /*@__PURE__*/ Layer.succeed(Credentials,
|
|
35
|
+
/*@__PURE__*/ envConfig.pipe(
|
|
36
|
+
/*@__PURE__*/ Effect.mapError(() => new ConfigError({
|
|
34
37
|
message: "EXPO_TOKEN environment variable is required",
|
|
35
|
-
})),
|
|
38
|
+
})),
|
|
39
|
+
/*@__PURE__*/ Effect.map(({ accessToken, apiBaseUrl }) => ({
|
|
36
40
|
accessToken: Redacted.make(accessToken),
|
|
37
41
|
apiBaseUrl,
|
|
38
42
|
})), Effect.orDie));
|
package/lib/credentials.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,8BAA8B,CAAC;AAC7D;;;;;;;;GAQG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,qFAAqF;AACrF,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAO3D,MAAM,OAAO,WACX,SAAQ,aAAa,CAAb,aAAa,CAAC,OAAO,CAAC,OAAO,EAAsC,CAAC,gBAAgB,CAAC;CAAG;AAElG,MAAM,SAAS,GAAG,aAAa,CAAC,YAAY,CAAC,GAAG,CAAC;IAC/C,WAAW,EAAE,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC;IAC5D,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,IAAI;IAChE,aAAa,CAAC,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAC7D;CACF,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,KAAK,CAAC,OAAO,CAC3D,WAAW;AACX,aAAa,CAAC,SAAS,CAAC,IAAI;AAC1B,aAAa,CAAC,MAAM,CAAC,QAAQ,CAC3B,GAAG,EAAE,CACH,IAAI,WAAW,CAAC;IACd,OAAO,EAAE,6CAA6C;CACvD,CAAC,CACL;AACD,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACzD,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC;IACvC,UAAU;CACX,CAAC,CAAC,EACH,MAAM,CAAC,KAAK,CACb,CACF,CAAC"}
|
package/lib/errors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* EAS-specific error types
|
|
2
|
+
* EAS-specific error types -- hand-written.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports common HTTP errors from core and adds typed wrappers for the
|
|
5
5
|
* GraphQL error envelope returned by api.expo.dev. EAS GraphQL errors carry a
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
|
|
12
12
|
import type { BadRequest, Conflict, DefaultErrors as CoreDefaultErrors, Forbidden, Locked, NotFound, UnprocessableEntity } from "@distilled.cloud/core/errors";
|
|
13
|
-
import * as Schema from "
|
|
14
|
-
declare const UnknownEasError_base: Schema.
|
|
15
|
-
readonly code: Schema.optional<Schema.String>;
|
|
16
|
-
readonly message: Schema.optional<Schema.String>;
|
|
17
|
-
readonly body: Schema.Unknown;
|
|
18
|
-
}
|
|
13
|
+
import * as Schema from "@distilled.cloud/core/schema-lite-typed";
|
|
14
|
+
declare const UnknownEasError_base: Schema.TaggedErrorClass<"UnknownEasError", {
|
|
15
|
+
readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
16
|
+
readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17
|
+
readonly body: import("effect/Schema").Unknown;
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
19
|
"@distilled.cloud/error/categories": {
|
|
20
20
|
ServerError: true;
|
|
21
21
|
};
|
|
@@ -24,22 +24,22 @@ declare const UnknownEasError_base: Schema.Class<UnknownEasError, Schema.TaggedS
|
|
|
24
24
|
* Catch-all for EAS GraphQL errors that don't match any other tagged class.
|
|
25
25
|
* Carries the raw `errors[]` envelope and a best-effort `code` / `message`.
|
|
26
26
|
*/
|
|
27
|
-
export declare class UnknownEasError extends UnknownEasError_base {
|
|
27
|
+
export declare class UnknownEasError extends /*@__PURE__*/ UnknownEasError_base {
|
|
28
28
|
}
|
|
29
|
-
declare const EasParseError_base: Schema.
|
|
30
|
-
readonly body: Schema.Unknown;
|
|
31
|
-
readonly cause: Schema.Unknown;
|
|
32
|
-
}
|
|
29
|
+
declare const EasParseError_base: Schema.TaggedErrorClass<"EasParseError", {
|
|
30
|
+
readonly body: import("effect/Schema").Unknown;
|
|
31
|
+
readonly cause: import("effect/Schema").Unknown;
|
|
32
|
+
}> & (new (...args: any[]) => {
|
|
33
33
|
"@distilled.cloud/error/categories": {
|
|
34
34
|
ParseError: true;
|
|
35
35
|
};
|
|
36
36
|
});
|
|
37
37
|
/** Schema parse error wrapper (response body did not match the operation schema). */
|
|
38
|
-
export declare class EasParseError extends EasParseError_base {
|
|
38
|
+
export declare class EasParseError extends /*@__PURE__*/ EasParseError_base {
|
|
39
39
|
}
|
|
40
|
-
declare const EasUpgradeRequired_base: Schema.
|
|
41
|
-
readonly message: Schema.String;
|
|
42
|
-
}
|
|
40
|
+
declare const EasUpgradeRequired_base: Schema.TaggedErrorClass<"EasUpgradeRequired", {
|
|
41
|
+
readonly message: import("effect/Schema").String;
|
|
42
|
+
}> & (new (...args: any[]) => {
|
|
43
43
|
"@distilled.cloud/error/categories": {
|
|
44
44
|
ServerError: true;
|
|
45
45
|
};
|
|
@@ -48,21 +48,21 @@ declare const EasUpgradeRequired_base: Schema.Class<EasUpgradeRequired, Schema.T
|
|
|
48
48
|
* The installed eas-cli / API client is too old. Returned with errorCode
|
|
49
49
|
* `EAS_CLI_UPGRADE_REQUIRED_ERROR` after a backward-incompatible schema change.
|
|
50
50
|
*/
|
|
51
|
-
export declare class EasUpgradeRequired extends EasUpgradeRequired_base {
|
|
51
|
+
export declare class EasUpgradeRequired extends /*@__PURE__*/ EasUpgradeRequired_base {
|
|
52
52
|
}
|
|
53
|
-
declare const EasValidationError_base: Schema.
|
|
54
|
-
readonly message: Schema.String;
|
|
55
|
-
}
|
|
53
|
+
declare const EasValidationError_base: Schema.TaggedErrorClass<"EasValidationError", {
|
|
54
|
+
readonly message: import("effect/Schema").String;
|
|
55
|
+
}> & (new (...args: any[]) => {
|
|
56
56
|
"@distilled.cloud/error/categories": {
|
|
57
57
|
ServerError: true;
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
/** Generic input validation failure (errorCode `VALIDATION_ERROR`). */
|
|
61
|
-
export declare class EasValidationError extends EasValidationError_base {
|
|
61
|
+
export declare class EasValidationError extends /*@__PURE__*/ EasValidationError_base {
|
|
62
62
|
}
|
|
63
|
-
declare const EasDeprecatedJobFormat_base: Schema.
|
|
64
|
-
readonly message: Schema.String;
|
|
65
|
-
}
|
|
63
|
+
declare const EasDeprecatedJobFormat_base: Schema.TaggedErrorClass<"EasDeprecatedJobFormat", {
|
|
64
|
+
readonly message: import("effect/Schema").String;
|
|
65
|
+
}> & (new (...args: any[]) => {
|
|
66
66
|
"@distilled.cloud/error/categories": {
|
|
67
67
|
ServerError: true;
|
|
68
68
|
};
|
|
@@ -71,53 +71,53 @@ declare const EasDeprecatedJobFormat_base: Schema.Class<EasDeprecatedJobFormat,
|
|
|
71
71
|
* Build was submitted using a deprecated job format
|
|
72
72
|
* (errorCode `TURTLE_DEPRECATED_JOB_FORMAT`).
|
|
73
73
|
*/
|
|
74
|
-
export declare class EasDeprecatedJobFormat extends EasDeprecatedJobFormat_base {
|
|
74
|
+
export declare class EasDeprecatedJobFormat extends /*@__PURE__*/ EasDeprecatedJobFormat_base {
|
|
75
75
|
}
|
|
76
|
-
declare const EasBuildDownForMaintenance_base: Schema.
|
|
77
|
-
readonly message: Schema.String;
|
|
78
|
-
}
|
|
76
|
+
declare const EasBuildDownForMaintenance_base: Schema.TaggedErrorClass<"EasBuildDownForMaintenance", {
|
|
77
|
+
readonly message: import("effect/Schema").String;
|
|
78
|
+
}> & (new (...args: any[]) => {
|
|
79
79
|
"@distilled.cloud/error/categories": {
|
|
80
80
|
ServerError: true;
|
|
81
81
|
};
|
|
82
82
|
});
|
|
83
83
|
/** EAS Build is temporarily down for maintenance. */
|
|
84
|
-
export declare class EasBuildDownForMaintenance extends EasBuildDownForMaintenance_base {
|
|
84
|
+
export declare class EasBuildDownForMaintenance extends /*@__PURE__*/ EasBuildDownForMaintenance_base {
|
|
85
85
|
}
|
|
86
|
-
declare const EasBuildFreeTierDisabled_base: Schema.
|
|
87
|
-
readonly message: Schema.String;
|
|
88
|
-
readonly platform: Schema.optional<Schema.Literals<readonly ["ios", "android"]>>;
|
|
89
|
-
}
|
|
86
|
+
declare const EasBuildFreeTierDisabled_base: Schema.TaggedErrorClass<"EasBuildFreeTierDisabled", {
|
|
87
|
+
readonly message: import("effect/Schema").String;
|
|
88
|
+
readonly platform: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["ios", "android"]>>;
|
|
89
|
+
}> & (new (...args: any[]) => {
|
|
90
90
|
"@distilled.cloud/error/categories": {
|
|
91
91
|
ServerError: true;
|
|
92
92
|
};
|
|
93
93
|
});
|
|
94
94
|
/** Account is on the free tier and EAS Build has been disabled for it. */
|
|
95
|
-
export declare class EasBuildFreeTierDisabled extends EasBuildFreeTierDisabled_base {
|
|
95
|
+
export declare class EasBuildFreeTierDisabled extends /*@__PURE__*/ EasBuildFreeTierDisabled_base {
|
|
96
96
|
}
|
|
97
|
-
declare const EasBuildFreeTierLimitExceeded_base: Schema.
|
|
98
|
-
readonly message: Schema.String;
|
|
99
|
-
readonly platform: Schema.optional<Schema.Literals<readonly ["ios", "android"]>>;
|
|
100
|
-
}
|
|
97
|
+
declare const EasBuildFreeTierLimitExceeded_base: Schema.TaggedErrorClass<"EasBuildFreeTierLimitExceeded", {
|
|
98
|
+
readonly message: import("effect/Schema").String;
|
|
99
|
+
readonly platform: import("effect/Schema").optional<import("effect/Schema").Literals<readonly ["ios", "android"]>>;
|
|
100
|
+
}> & (new (...args: any[]) => {
|
|
101
101
|
"@distilled.cloud/error/categories": {
|
|
102
102
|
ServerError: true;
|
|
103
103
|
};
|
|
104
104
|
});
|
|
105
105
|
/** Free-tier monthly build quota has been exhausted. */
|
|
106
|
-
export declare class EasBuildFreeTierLimitExceeded extends EasBuildFreeTierLimitExceeded_base {
|
|
106
|
+
export declare class EasBuildFreeTierLimitExceeded extends /*@__PURE__*/ EasBuildFreeTierLimitExceeded_base {
|
|
107
107
|
}
|
|
108
|
-
declare const EasBuildTooManyPendingBuilds_base: Schema.
|
|
109
|
-
readonly message: Schema.String;
|
|
110
|
-
}
|
|
108
|
+
declare const EasBuildTooManyPendingBuilds_base: Schema.TaggedErrorClass<"EasBuildTooManyPendingBuilds", {
|
|
109
|
+
readonly message: import("effect/Schema").String;
|
|
110
|
+
}> & (new (...args: any[]) => {
|
|
111
111
|
"@distilled.cloud/error/categories": {
|
|
112
112
|
ServerError: true;
|
|
113
113
|
};
|
|
114
114
|
});
|
|
115
115
|
/** Account already has too many pending builds queued (back-pressure). */
|
|
116
|
-
export declare class EasBuildTooManyPendingBuilds extends EasBuildTooManyPendingBuilds_base {
|
|
116
|
+
export declare class EasBuildTooManyPendingBuilds extends /*@__PURE__*/ EasBuildTooManyPendingBuilds_base {
|
|
117
117
|
}
|
|
118
|
-
declare const EasBuildResourceClassNotAvailableInFreeTier_base: Schema.
|
|
119
|
-
readonly message: Schema.String;
|
|
120
|
-
}
|
|
118
|
+
declare const EasBuildResourceClassNotAvailableInFreeTier_base: Schema.TaggedErrorClass<"EasBuildResourceClassNotAvailableInFreeTier", {
|
|
119
|
+
readonly message: import("effect/Schema").String;
|
|
120
|
+
}> & (new (...args: any[]) => {
|
|
121
121
|
"@distilled.cloud/error/categories": {
|
|
122
122
|
ServerError: true;
|
|
123
123
|
};
|
|
@@ -127,11 +127,11 @@ declare const EasBuildResourceClassNotAvailableInFreeTier_base: Schema.Class<Eas
|
|
|
127
127
|
* (errorCode `EAS_BUILD_RESOURCE_CLASS_NOT_AVAILABLE_IN_FREE_TIER`).
|
|
128
128
|
* Upgrade the account or pick a free-tier-eligible resource class.
|
|
129
129
|
*/
|
|
130
|
-
export declare class EasBuildResourceClassNotAvailableInFreeTier extends EasBuildResourceClassNotAvailableInFreeTier_base {
|
|
130
|
+
export declare class EasBuildResourceClassNotAvailableInFreeTier extends /*@__PURE__*/ EasBuildResourceClassNotAvailableInFreeTier_base {
|
|
131
131
|
}
|
|
132
|
-
declare const EasBuildLegacyResourceClassNotAvailable_base: Schema.
|
|
133
|
-
readonly message: Schema.String;
|
|
134
|
-
}
|
|
132
|
+
declare const EasBuildLegacyResourceClassNotAvailable_base: Schema.TaggedErrorClass<"EasBuildLegacyResourceClassNotAvailable", {
|
|
133
|
+
readonly message: import("effect/Schema").String;
|
|
134
|
+
}> & (new (...args: any[]) => {
|
|
135
135
|
"@distilled.cloud/error/categories": {
|
|
136
136
|
ServerError: true;
|
|
137
137
|
};
|
|
@@ -140,11 +140,11 @@ declare const EasBuildLegacyResourceClassNotAvailable_base: Schema.Class<EasBuil
|
|
|
140
140
|
* The requested legacy build resource class has been retired
|
|
141
141
|
* (errorCode `EAS_BUILD_LEGACY_RESOURCE_CLASS_NOT_AVAILABLE`).
|
|
142
142
|
*/
|
|
143
|
-
export declare class EasBuildLegacyResourceClassNotAvailable extends EasBuildLegacyResourceClassNotAvailable_base {
|
|
143
|
+
export declare class EasBuildLegacyResourceClassNotAvailable extends /*@__PURE__*/ EasBuildLegacyResourceClassNotAvailable_base {
|
|
144
144
|
}
|
|
145
|
-
declare const EasChannelAlreadyExists_base: Schema.
|
|
146
|
-
readonly message: Schema.String;
|
|
147
|
-
}
|
|
145
|
+
declare const EasChannelAlreadyExists_base: Schema.TaggedErrorClass<"EasChannelAlreadyExists", {
|
|
146
|
+
readonly message: import("effect/Schema").String;
|
|
147
|
+
}> & (new (...args: any[]) => {
|
|
148
148
|
"@distilled.cloud/error/categories": {
|
|
149
149
|
AlreadyExistsError: true;
|
|
150
150
|
ConflictError: true;
|
|
@@ -154,25 +154,25 @@ declare const EasChannelAlreadyExists_base: Schema.Class<EasChannelAlreadyExists
|
|
|
154
154
|
* Update channel with the same name already exists for the app
|
|
155
155
|
* (errorCode `CHANNEL_ALREADY_EXISTS`).
|
|
156
156
|
*/
|
|
157
|
-
export declare class EasChannelAlreadyExists extends EasChannelAlreadyExists_base {
|
|
157
|
+
export declare class EasChannelAlreadyExists extends /*@__PURE__*/ EasChannelAlreadyExists_base {
|
|
158
158
|
}
|
|
159
|
-
declare const EasUnauthorizedOperation_base: Schema.
|
|
160
|
-
readonly message: Schema.String;
|
|
161
|
-
}
|
|
159
|
+
declare const EasUnauthorizedOperation_base: Schema.TaggedErrorClass<"EasUnauthorizedOperation", {
|
|
160
|
+
readonly message: import("effect/Schema").String;
|
|
161
|
+
}> & (new (...args: any[]) => {
|
|
162
162
|
"@distilled.cloud/error/categories": {
|
|
163
163
|
AuthError: true;
|
|
164
164
|
};
|
|
165
165
|
});
|
|
166
166
|
/**
|
|
167
167
|
* The authenticated actor does not have permission to perform this operation
|
|
168
|
-
* (errorCode `UNAUTHORIZED_ERROR`). Distinct from a missing/invalid token
|
|
168
|
+
* (errorCode `UNAUTHORIZED_ERROR`). Distinct from a missing/invalid token --
|
|
169
169
|
* the token is valid but lacks the privacy/role grant required for the request.
|
|
170
170
|
*/
|
|
171
|
-
export declare class EasUnauthorizedOperation extends EasUnauthorizedOperation_base {
|
|
171
|
+
export declare class EasUnauthorizedOperation extends /*@__PURE__*/ EasUnauthorizedOperation_base {
|
|
172
172
|
}
|
|
173
|
-
declare const EasExperienceNotFound_base: Schema.
|
|
174
|
-
readonly message: Schema.String;
|
|
175
|
-
}
|
|
173
|
+
declare const EasExperienceNotFound_base: Schema.TaggedErrorClass<"EasExperienceNotFound", {
|
|
174
|
+
readonly message: import("effect/Schema").String;
|
|
175
|
+
}> & (new (...args: any[]) => {
|
|
176
176
|
"@distilled.cloud/error/categories": {
|
|
177
177
|
NotFoundError: true;
|
|
178
178
|
};
|
|
@@ -181,11 +181,11 @@ declare const EasExperienceNotFound_base: Schema.Class<EasExperienceNotFound, Sc
|
|
|
181
181
|
* The Expo experience (project) referenced by slug/account does not exist
|
|
182
182
|
* (errorCode `EXPERIENCE_NOT_FOUND`).
|
|
183
183
|
*/
|
|
184
|
-
export declare class EasExperienceNotFound extends EasExperienceNotFound_base {
|
|
184
|
+
export declare class EasExperienceNotFound extends /*@__PURE__*/ EasExperienceNotFound_base {
|
|
185
185
|
}
|
|
186
|
-
declare const EasAppNoDevDomainName_base: Schema.
|
|
187
|
-
readonly message: Schema.String;
|
|
188
|
-
}
|
|
186
|
+
declare const EasAppNoDevDomainName_base: Schema.TaggedErrorClass<"EasAppNoDevDomainName", {
|
|
187
|
+
readonly message: import("effect/Schema").String;
|
|
188
|
+
}> & (new (...args: any[]) => {
|
|
189
189
|
"@distilled.cloud/error/categories": {
|
|
190
190
|
BadRequestError: true;
|
|
191
191
|
};
|
|
@@ -193,13 +193,13 @@ declare const EasAppNoDevDomainName_base: Schema.Class<EasAppNoDevDomainName, Sc
|
|
|
193
193
|
/**
|
|
194
194
|
* The app does not yet have a `*.expo.app` dev domain name assigned
|
|
195
195
|
* (errorCode `APP_NO_DEV_DOMAIN_NAME`). Required before creating
|
|
196
|
-
* a hosting deployment URL
|
|
196
|
+
* a hosting deployment URL -- call `assignDevDomainName` first.
|
|
197
197
|
*/
|
|
198
|
-
export declare class EasAppNoDevDomainName extends EasAppNoDevDomainName_base {
|
|
198
|
+
export declare class EasAppNoDevDomainName extends /*@__PURE__*/ EasAppNoDevDomainName_base {
|
|
199
199
|
}
|
|
200
|
-
declare const EasDevDomainNameTaken_base: Schema.
|
|
201
|
-
readonly message: Schema.String;
|
|
202
|
-
}
|
|
200
|
+
declare const EasDevDomainNameTaken_base: Schema.TaggedErrorClass<"EasDevDomainNameTaken", {
|
|
201
|
+
readonly message: import("effect/Schema").String;
|
|
202
|
+
}> & (new (...args: any[]) => {
|
|
203
203
|
"@distilled.cloud/error/categories": {
|
|
204
204
|
AlreadyExistsError: true;
|
|
205
205
|
ConflictError: true;
|
|
@@ -209,10 +209,10 @@ declare const EasDevDomainNameTaken_base: Schema.Class<EasDevDomainNameTaken, Sc
|
|
|
209
209
|
* The requested dev domain name is already taken by another app
|
|
210
210
|
* (errorCode `DEV_DOMAIN_NAME_TAKEN`).
|
|
211
211
|
*/
|
|
212
|
-
export declare class EasDevDomainNameTaken extends EasDevDomainNameTaken_base {
|
|
212
|
+
export declare class EasDevDomainNameTaken extends /*@__PURE__*/ EasDevDomainNameTaken_base {
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* Map from EAS GraphQL `extensions.errorCode`
|
|
215
|
+
* Map from EAS GraphQL `extensions.errorCode` -> typed error class.
|
|
216
216
|
* Used by the protocol to surface known errors with a dedicated tag.
|
|
217
217
|
*/
|
|
218
218
|
export declare const EAS_ERROR_CODE_MAP: Record<string, any>;
|
package/lib/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,aAAa,IAAI,iBAAiB,EAClC,SAAS,EACT,MAAM,EACN,QAAQ,EACR,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,aAAa,IAAI,iBAAiB,EAClC,SAAS,EACT,MAAM,EACN,QAAQ,EACR,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,yCAAyC,CAAC;;;;;;;;;;AAElE;;;GAGG;AACH,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAIW;CAAG;;;;;;;;;AAEtC,qFAAqF;AACrF,qBAAa,aACX,SAAQ,aAAa,CAAC,kBAGU;CAAG;;;;;;;;AAErC;;;GAGG;AACH,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAEW;CAAG;;;;;;;;AAEtC,uEAAuE;AACvE,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAEW;CAAG;;;;;;;;AAEtC;;;GAGG;AACH,qBAAa,sBACX,SAAQ,aAAa,CAAC,2BAEW;CAAG;;;;;;;;AAEtC,qDAAqD;AACrD,qBAAa,0BACX,SAAQ,aAAa,CAAC,+BAKU;CAAG;;;;;;;;;AAErC,0EAA0E;AAC1E,qBAAa,wBACX,SAAQ,aAAa,CAAC,6BAGW;CAAG;;;;;;;;;AAEtC,wDAAwD;AACxD,qBAAa,6BACX,SAAQ,aAAa,CAAC,kCAMU;CAAG;;;;;;;;AAErC,0EAA0E;AAC1E,qBAAa,4BACX,SAAQ,aAAa,CAAC,iCAKU;CAAG;;;;;;;;AAErC;;;;GAIG;AACH,qBAAa,2CACX,SAAQ,aAAa,CAAC,gDAKU;CAAG;;;;;;;;AAErC;;;GAGG;AACH,qBAAa,uCACX,SAAQ,aAAa,CAAC,4CAKU;CAAG;;;;;;;;;AAErC;;;GAGG;AACH,qBAAa,uBACX,SAAQ,aAAa,CAAC,4BAIrB;CAAG;;;;;;;;AAEN;;;;GAIG;AACH,qBAAa,wBACX,SAAQ,aAAa,CAAC,6BAES;CAAG;;;;;;;;AAEpC;;;GAGG;AACH,qBAAa,qBACX,SAAQ,aAAa,CAAC,0BAEa;CAAG;;;;;;;;AAExC;;;;GAIG;AACH,qBAAa,qBACX,SAAQ,aAAa,CAAC,0BAEe;CAAG;;;;;;;;;AAE1C;;;GAGG;AACH,qBAAa,qBACX,SAAQ,aAAa,CAAC,0BAIrB;CAAG;AAEN;;;GAGG;AAEH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAuBlD,CAAC;AAEF,4DAA4D;AAC5D,MAAM,MAAM,cAAc,GACtB,kBAAkB,GAClB,kBAAkB,GAClB,sBAAsB,GACtB,0BAA0B,GAC1B,wBAAwB,GACxB,6BAA6B,GAC7B,4BAA4B,GAC5B,2CAA2C,GAC3C,uCAAuC,GACvC,uBAAuB,GACvB,wBAAwB,GACxB,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,cAAc,GAAG,eAAe,GAAG,aAAa,CAAC;AAE5E;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACrB,iBAAiB,GACjB,UAAU,GACV,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,MAAM,GACN,YAAY,CAAC"}
|
package/lib/errors.js
CHANGED
|
@@ -1,138 +1,140 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
11
|
export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
|
|
12
12
|
import * as Category from "@distilled.cloud/core/category";
|
|
13
|
-
import * as Schema from "
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export class UnknownEasError extends Schema.TaggedError()("UnknownEasError", {
|
|
19
|
-
code: Schema.optional(Schema.String),
|
|
20
|
-
message: Schema.optional(Schema.String),
|
|
13
|
+
import * as Schema from "@distilled.cloud/core/schema-lite-typed";
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
export class UnknownEasError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("UnknownEasError", {
|
|
19
|
+
code: /*@__PURE__*/ Schema.optional(Schema.String),
|
|
20
|
+
message: /*@__PURE__*/ Schema.optional(Schema.String),
|
|
21
21
|
body: Schema.Unknown,
|
|
22
22
|
}).pipe(Category.withServerError) {
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
export class EasParseError extends Schema.TaggedError()("EasParseError", {
|
|
24
|
+
|
|
25
|
+
export class EasParseError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasParseError", {
|
|
26
26
|
body: Schema.Unknown,
|
|
27
27
|
cause: Schema.Unknown,
|
|
28
28
|
}).pipe(Category.withParseError) {
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export class EasUpgradeRequired extends Schema.TaggedError()("EasUpgradeRequired", {
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
export class EasUpgradeRequired extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasUpgradeRequired", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
}).pipe(Category.withServerError) {
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
export class EasValidationError extends Schema.TaggedError()("EasValidationError", {
|
|
38
|
+
|
|
39
|
+
export class EasValidationError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasValidationError", {
|
|
40
40
|
message: Schema.String,
|
|
41
41
|
}).pipe(Category.withServerError) {
|
|
42
42
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export class EasDeprecatedJobFormat extends Schema.TaggedError()("EasDeprecatedJobFormat", {
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
export class EasDeprecatedJobFormat extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasDeprecatedJobFormat", {
|
|
48
48
|
message: Schema.String,
|
|
49
49
|
}).pipe(Category.withServerError) {
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
export class EasBuildDownForMaintenance extends Schema.TaggedError()("EasBuildDownForMaintenance", {
|
|
51
|
+
|
|
52
|
+
export class EasBuildDownForMaintenance extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasBuildDownForMaintenance", {
|
|
53
53
|
message: Schema.String,
|
|
54
54
|
}).pipe(Category.withServerError) {
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
export class EasBuildFreeTierDisabled extends Schema.TaggedError()("EasBuildFreeTierDisabled", {
|
|
56
|
+
|
|
57
|
+
export class EasBuildFreeTierDisabled extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasBuildFreeTierDisabled", {
|
|
58
58
|
message: Schema.String,
|
|
59
|
-
platform: Schema.optional(Schema.Literals(["ios", "android"])),
|
|
59
|
+
platform: /*@__PURE__*/ Schema.optional(/*@__PURE__*/ Schema.Literals(["ios", "android"])),
|
|
60
60
|
}).pipe(Category.withServerError) {
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
export class EasBuildFreeTierLimitExceeded extends Schema.TaggedError()("EasBuildFreeTierLimitExceeded", {
|
|
62
|
+
|
|
63
|
+
export class EasBuildFreeTierLimitExceeded extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasBuildFreeTierLimitExceeded", {
|
|
64
64
|
message: Schema.String,
|
|
65
|
-
platform: Schema.optional(Schema.Literals(["ios", "android"])),
|
|
65
|
+
platform: /*@__PURE__*/ Schema.optional(/*@__PURE__*/ Schema.Literals(["ios", "android"])),
|
|
66
66
|
}).pipe(Category.withServerError) {
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
export class EasBuildTooManyPendingBuilds extends Schema.TaggedError()("EasBuildTooManyPendingBuilds", {
|
|
68
|
+
|
|
69
|
+
export class EasBuildTooManyPendingBuilds extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasBuildTooManyPendingBuilds", {
|
|
70
70
|
message: Schema.String,
|
|
71
71
|
}).pipe(Category.withServerError) {
|
|
72
72
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
export class EasBuildResourceClassNotAvailableInFreeTier extends Schema.TaggedError()("EasBuildResourceClassNotAvailableInFreeTier", {
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
export class EasBuildResourceClassNotAvailableInFreeTier extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasBuildResourceClassNotAvailableInFreeTier", {
|
|
79
79
|
message: Schema.String,
|
|
80
80
|
}).pipe(Category.withServerError) {
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export class EasBuildLegacyResourceClassNotAvailable extends Schema.TaggedError()("EasBuildLegacyResourceClassNotAvailable", {
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
export class EasBuildLegacyResourceClassNotAvailable extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasBuildLegacyResourceClassNotAvailable", {
|
|
87
87
|
message: Schema.String,
|
|
88
88
|
}).pipe(Category.withServerError) {
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
export class EasChannelAlreadyExists extends Schema.TaggedError()("EasChannelAlreadyExists", {
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
export class EasChannelAlreadyExists extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasChannelAlreadyExists", {
|
|
95
95
|
message: Schema.String,
|
|
96
|
-
}).pipe(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
96
|
+
}).pipe(
|
|
97
|
+
/*@__PURE__*/ Category.withCategory(Category.ConflictError, Category.AlreadyExistsError)) {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
export class EasUnauthorizedOperation extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasUnauthorizedOperation", {
|
|
104
105
|
message: Schema.String,
|
|
105
106
|
}).pipe(Category.withAuthError) {
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
export class EasExperienceNotFound extends Schema.TaggedError()("EasExperienceNotFound", {
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
export class EasExperienceNotFound extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasExperienceNotFound", {
|
|
112
113
|
message: Schema.String,
|
|
113
114
|
}).pipe(Category.withNotFoundError) {
|
|
114
115
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
export class EasAppNoDevDomainName extends Schema.TaggedError()("EasAppNoDevDomainName", {
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
export class EasAppNoDevDomainName extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasAppNoDevDomainName", {
|
|
121
122
|
message: Schema.String,
|
|
122
123
|
}).pipe(Category.withBadRequestError) {
|
|
123
124
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
export class EasDevDomainNameTaken extends Schema.TaggedError()("EasDevDomainNameTaken", {
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
export class EasDevDomainNameTaken extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("EasDevDomainNameTaken", {
|
|
129
130
|
message: Schema.String,
|
|
130
|
-
}).pipe(
|
|
131
|
+
}).pipe(
|
|
132
|
+
/*@__PURE__*/ Category.withCategory(Category.ConflictError, Category.AlreadyExistsError)) {
|
|
131
133
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
136
138
|
// oxlint-disable-next-line no-explicit-any -- heterogeneous error class map
|
|
137
139
|
export const EAS_ERROR_CODE_MAP = {
|
|
138
140
|
// The EAS backend emits the bare code `EAS_CLI_UPGRADE_REQUIRED`
|