@shipstatic/types 2.5.0-beta.14 → 2.5.0-beta.15
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/dist/index.d.ts +9 -1
- package/dist/index.js +9 -1
- package/package.json +1 -1
- package/src/index.ts +9 -1
package/dist/index.d.ts
CHANGED
|
@@ -552,7 +552,15 @@ export interface AccountOverrides {
|
|
|
552
552
|
* (`DeploymentStatus`, `DomainStatus`, `AccountPlan`, `AuthMethod`) follow.
|
|
553
553
|
*/
|
|
554
554
|
export declare const ErrorType: {
|
|
555
|
-
/**
|
|
555
|
+
/**
|
|
556
|
+
* Validation failed. Input shape is wrong.
|
|
557
|
+
*
|
|
558
|
+
* Carries 400 when an API judged it — including a client-side pre-check of a
|
|
559
|
+
* rule the server enforces too, which keeps the error identical wherever it
|
|
560
|
+
* was caught. **Statusless** when a client rejects something no API judges,
|
|
561
|
+
* such as a CLI's own command grammar: `status` is documented "(API
|
|
562
|
+
* contexts)" on `ErrorResponse`, so there is none to report.
|
|
563
|
+
*/
|
|
556
564
|
readonly Validation: "validation_failed";
|
|
557
565
|
/** Resource not found (404). */
|
|
558
566
|
readonly NotFound: "not_found";
|
package/dist/index.js
CHANGED
|
@@ -147,7 +147,15 @@ export const AccountPlan = {
|
|
|
147
147
|
* (`DeploymentStatus`, `DomainStatus`, `AccountPlan`, `AuthMethod`) follow.
|
|
148
148
|
*/
|
|
149
149
|
export const ErrorType = {
|
|
150
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Validation failed. Input shape is wrong.
|
|
152
|
+
*
|
|
153
|
+
* Carries 400 when an API judged it — including a client-side pre-check of a
|
|
154
|
+
* rule the server enforces too, which keeps the error identical wherever it
|
|
155
|
+
* was caught. **Statusless** when a client rejects something no API judges,
|
|
156
|
+
* such as a CLI's own command grammar: `status` is documented "(API
|
|
157
|
+
* contexts)" on `ErrorResponse`, so there is none to report.
|
|
158
|
+
*/
|
|
151
159
|
Validation: 'validation_failed',
|
|
152
160
|
/** Resource not found (404). */
|
|
153
161
|
NotFound: 'not_found',
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -627,7 +627,15 @@ export interface AccountOverrides {
|
|
|
627
627
|
* (`DeploymentStatus`, `DomainStatus`, `AccountPlan`, `AuthMethod`) follow.
|
|
628
628
|
*/
|
|
629
629
|
export const ErrorType = {
|
|
630
|
-
/**
|
|
630
|
+
/**
|
|
631
|
+
* Validation failed. Input shape is wrong.
|
|
632
|
+
*
|
|
633
|
+
* Carries 400 when an API judged it — including a client-side pre-check of a
|
|
634
|
+
* rule the server enforces too, which keeps the error identical wherever it
|
|
635
|
+
* was caught. **Statusless** when a client rejects something no API judges,
|
|
636
|
+
* such as a CLI's own command grammar: `status` is documented "(API
|
|
637
|
+
* contexts)" on `ErrorResponse`, so there is none to report.
|
|
638
|
+
*/
|
|
631
639
|
Validation: 'validation_failed',
|
|
632
640
|
/** Resource not found (404). */
|
|
633
641
|
NotFound: 'not_found',
|