@shipstatic/ship 3.4.0-beta.2 → 3.4.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/SKILL.md +2 -2
- package/THIRD-PARTY-LICENSES.md +1 -1
- package/dist/browser.d.ts +123 -65
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/cli.cjs +68 -68
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +123 -65
- package/dist/index.d.ts +123 -65
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -246,8 +246,9 @@ const ship = new Ship({ token: accessToken });
|
|
|
246
246
|
// Token provider — invoked per request; refresh lives with you
|
|
247
247
|
const ship = new Ship({ token: () => mintToken() });
|
|
248
248
|
|
|
249
|
-
// Cookie session
|
|
249
|
+
// Cookie session: the platform's own apps, where every account request names its account
|
|
250
250
|
const ship = new Ship({ session: true });
|
|
251
|
+
ship.setHeaders({ 'X-Account': account });
|
|
251
252
|
|
|
252
253
|
// Set or rotate the token after construction
|
|
253
254
|
ship.setToken('ship-your-api-key');
|
package/SKILL.md
CHANGED
|
@@ -116,7 +116,7 @@ Visitors get an unlock page until they enter the password. Length: 6–128 chara
|
|
|
116
116
|
|
|
117
117
|
### SPA routing
|
|
118
118
|
|
|
119
|
-
Ship auto-detects single-page apps from `index.html` content and configures client-side routing rewrites — all paths serve `index.html`.
|
|
119
|
+
Ship auto-detects single-page apps from `index.html` content and configures client-side routing rewrites — all paths serve `index.html`. Usually no action needed. If the app's routes return 404 on reload, add `{ "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }] }` as `ship.json` in the deployed folder. Skipped if a `ship.json` config is already included in the deployment. Disable with `--no-spa-detect`.
|
|
120
120
|
|
|
121
121
|
## Authentication
|
|
122
122
|
|
|
@@ -335,7 +335,7 @@ Exit code is non-zero on failure, and with `--json` the error goes to **stderr**
|
|
|
335
335
|
```json
|
|
336
336
|
{
|
|
337
337
|
"error": "validation_failed",
|
|
338
|
-
"message": "File \"
|
|
338
|
+
"message": "File \"setup.exe\" has an extension that is not allowed.",
|
|
339
339
|
"status": 400
|
|
340
340
|
}
|
|
341
341
|
```
|
package/THIRD-PARTY-LICENSES.md
CHANGED
|
@@ -5,7 +5,7 @@ Their copyright notices travel with that copy, and are reproduced here in
|
|
|
5
5
|
full. This file is GENERATED from the build's own metafile — edit the
|
|
6
6
|
bundle, not this list.
|
|
7
7
|
|
|
8
|
-
## @shipstatic/types 3.8.0-beta.
|
|
8
|
+
## @shipstatic/types 3.8.0-beta.15
|
|
9
9
|
|
|
10
10
|
License: MIT
|
|
11
11
|
|
package/dist/browser.d.ts
CHANGED
|
@@ -724,7 +724,7 @@ type AccountPlanType = (typeof AccountPlan)[keyof typeof AccountPlan];
|
|
|
724
724
|
* than the 403 uses.
|
|
725
725
|
*
|
|
726
726
|
* All three are counts plans SELL, and every plan publishes a number for each.
|
|
727
|
-
* A platform
|
|
727
|
+
* A platform domain (`my-app.shipstatic.com`) is among them: the namespace
|
|
728
728
|
* is the platform's, so every plan bounds how many names one account may take
|
|
729
729
|
* from it — which is not the address every deployment gets by construction
|
|
730
730
|
* (`happy-cat-abc1234.shipstatic.com`), one per deployment and bounded by
|
|
@@ -734,8 +734,9 @@ type AccountPlanType = (typeof AccountPlan)[keyof typeof AccountPlan];
|
|
|
734
734
|
* "unlimited" — so no consumer needs an "is it bounded?" branch. A cap of `0`
|
|
735
735
|
* means the plan does not have the feature at all; a cap of `N` bounds
|
|
736
736
|
* creation, and what an account already holds above a cap stays until a plan
|
|
737
|
-
* TRANSITION fits it
|
|
738
|
-
*
|
|
737
|
+
* TRANSITION fits it: excess domains are paused, newest first, and members
|
|
738
|
+
* are paused together while the account holds more than its cap. Deployments
|
|
739
|
+
* never pause; above their cap they only block creation.
|
|
739
740
|
*
|
|
740
741
|
* A count is an aggregate over a collection, so it lives on the summary
|
|
741
742
|
* resource that owns the collection: `GET /account` for one caller, `GET
|
|
@@ -1266,11 +1267,12 @@ interface ErrorResponse {
|
|
|
1266
1267
|
/**
|
|
1267
1268
|
* `details` of an `ErrorType.Build` error: the evidence behind the verdict.
|
|
1268
1269
|
*
|
|
1269
|
-
*
|
|
1270
|
-
*
|
|
1271
|
-
*
|
|
1272
|
-
*
|
|
1273
|
-
* as
|
|
1270
|
+
* Named, like {@link PlanChangeRefusalDetails}, because a surface reads it:
|
|
1271
|
+
* `ErrorResponse.details` stays `unknown`, and a shape a client narrows to is
|
|
1272
|
+
* owned here rather than restated at its read site. The sentence in
|
|
1273
|
+
* `message` says what went wrong; the log is how the person fixing the
|
|
1274
|
+
* project sees where. A surface that builds shows both, the log as a block
|
|
1275
|
+
* rather than as prose.
|
|
1274
1276
|
*/
|
|
1275
1277
|
interface BuildFailureDetails {
|
|
1276
1278
|
/**
|
|
@@ -1476,7 +1478,27 @@ interface PlatformLimits {
|
|
|
1476
1478
|
* retire with it (tracked in root `backlog.md`).
|
|
1477
1479
|
*/
|
|
1478
1480
|
readonly blockedExtensions?: readonly string[];
|
|
1481
|
+
/**
|
|
1482
|
+
* The way forward past each limit, in the API's own words, for the account
|
|
1483
|
+
* that asked: `"Upgrade to Pro for more."` where a sold plan allows more,
|
|
1484
|
+
* `"Please contact support if you need more."` where none does. The API
|
|
1485
|
+
* writes it with the same function its own refusals use, so a client that
|
|
1486
|
+
* refuses a file before uploading it appends this sentence to its refusal
|
|
1487
|
+
* verbatim and says exactly what the server would have said. Which plans
|
|
1488
|
+
* exist, which are sold and what an account's grant raises are the server's
|
|
1489
|
+
* to know; a client never learns a plan name from this field, only a
|
|
1490
|
+
* sentence. An anonymous caller is answered the free plan's sentence, as it
|
|
1491
|
+
* is the free plan's numbers.
|
|
1492
|
+
*
|
|
1493
|
+
* **Optional, and the absence is load-bearing**, as `blockedExtensions`
|
|
1494
|
+
* above: an API deployed before this field existed sends nothing, and a
|
|
1495
|
+
* client then appends nothing. It hardens to required at the entity's next
|
|
1496
|
+
* natural break, with the blocklist.
|
|
1497
|
+
*/
|
|
1498
|
+
readonly suggestions?: Readonly<Record<PlatformLimitKey, string>>;
|
|
1479
1499
|
}
|
|
1500
|
+
/** The three request limits, named as `PlatformLimits` names them. */
|
|
1501
|
+
type PlatformLimitKey = 'maxFileSize' | 'maxFilesCount' | 'maxTotalSize';
|
|
1480
1502
|
/**
|
|
1481
1503
|
* Whether a file is one the platform refuses to host.
|
|
1482
1504
|
*
|
|
@@ -1824,15 +1846,17 @@ declare const SPA_DEFAULT_CONFIG: {
|
|
|
1824
1846
|
* "100KB". `INDEX_FILE` is the selection rule (the file whose content rides
|
|
1825
1847
|
* `SPACheckRequest.index`), restated by every client that builds the request.
|
|
1826
1848
|
*
|
|
1827
|
-
* Neither member is a validation boundary: a client over the cap
|
|
1828
|
-
*
|
|
1829
|
-
*
|
|
1830
|
-
*
|
|
1849
|
+
* Neither member is a validation boundary: a client over the cap skips the
|
|
1850
|
+
* pre-flight and answers "no" itself, which is the answer the server gives an
|
|
1851
|
+
* oversized index. Every client holds the cap, in bytes: the server's own
|
|
1852
|
+
* route refuses a body over the JSON intake cap, so a client that asked about
|
|
1853
|
+
* any index would fail a deploy whose upload succeeds. The n8n node, which
|
|
1854
|
+
* cannot import this, restates the number under its contract fence.
|
|
1831
1855
|
*/
|
|
1832
1856
|
declare const SPA_CHECK_CONSTRAINTS: {
|
|
1833
1857
|
/** The file whose content is the check's subject. */
|
|
1834
1858
|
readonly INDEX_FILE: "index.html";
|
|
1835
|
-
/** Skip the pre-flight above this
|
|
1859
|
+
/** Skip the pre-flight above this many UTF-8 bytes: the server answers no. */
|
|
1836
1860
|
readonly MAX_INDEX_BYTES: number;
|
|
1837
1861
|
};
|
|
1838
1862
|
/**
|
|
@@ -1957,28 +1981,19 @@ interface SPACheckRequest {
|
|
|
1957
1981
|
index: string;
|
|
1958
1982
|
}
|
|
1959
1983
|
/**
|
|
1960
|
-
*
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
*
|
|
1964
|
-
*
|
|
1965
|
-
*
|
|
1966
|
-
|
|
1967
|
-
interface SPACheckDebug {
|
|
1968
|
-
/** Which tier made the detection */
|
|
1969
|
-
tier: 'exclusions' | 'inclusions' | 'scoring' | 'ai' | 'fallback';
|
|
1970
|
-
/** The reason for the detection result */
|
|
1971
|
-
reason: string;
|
|
1972
|
-
}
|
|
1973
|
-
/**
|
|
1974
|
-
* A report: it answers a question and carries only the answer (`CLAUDE.md`,
|
|
1975
|
-
* "A report answers a question").
|
|
1984
|
+
* The `/spa-check` answer: whether the upload is a single-page app, and the
|
|
1985
|
+
* one sentence saying why it was or was not detected.
|
|
1986
|
+
*
|
|
1987
|
+
* `reason` is there so anyone can ask the open route about an upload and
|
|
1988
|
+
* read the answer. It is human-readable text under the message authoring law:
|
|
1989
|
+
* clients branch on `isSPA`, never on the sentence, so its wording is not a
|
|
1990
|
+
* contract.
|
|
1976
1991
|
*/
|
|
1977
1992
|
interface SPACheckResponse {
|
|
1978
|
-
/** Whether the
|
|
1993
|
+
/** Whether the upload is detected as a single-page app */
|
|
1979
1994
|
isSPA: boolean;
|
|
1980
|
-
/**
|
|
1981
|
-
|
|
1995
|
+
/** Why it was or was not detected, for a person to read */
|
|
1996
|
+
reason: string;
|
|
1982
1997
|
}
|
|
1983
1998
|
/**
|
|
1984
1999
|
* Represents a file that has been processed and is ready for deploy.
|
|
@@ -2014,10 +2029,12 @@ interface StaticFile {
|
|
|
2014
2029
|
* console: under `/<account>/` and at the root.
|
|
2015
2030
|
*
|
|
2016
2031
|
* `owner` marks a section that means the person's OWN account: a bare path
|
|
2017
|
-
* into it opens the person's own account rather than the one entered last
|
|
2018
|
-
*
|
|
2019
|
-
*
|
|
2020
|
-
* owner
|
|
2032
|
+
* into it opens the person's own account rather than the one entered last.
|
|
2033
|
+
* A pricing link's `/upgrade/pro` and the published API-key link speak about
|
|
2034
|
+
* the reader's plan and key, and `/success` is where a purchase lands: only
|
|
2035
|
+
* an owner buys, and a person owns exactly one account. Modals inside a
|
|
2036
|
+
* section carry their own owner rule in the console; this flag is the
|
|
2037
|
+
* section's alone.
|
|
2021
2038
|
*/
|
|
2022
2039
|
declare const SECTIONS: {
|
|
2023
2040
|
readonly new: {
|
|
@@ -2036,7 +2053,7 @@ declare const SECTIONS: {
|
|
|
2036
2053
|
readonly owner: true;
|
|
2037
2054
|
};
|
|
2038
2055
|
readonly success: {
|
|
2039
|
-
readonly owner:
|
|
2056
|
+
readonly owner: true;
|
|
2040
2057
|
};
|
|
2041
2058
|
readonly 'api-key': {
|
|
2042
2059
|
readonly owner: true;
|
|
@@ -2484,11 +2501,29 @@ interface PlansResponse {
|
|
|
2484
2501
|
* consent), and a billed account moving down gets a Stripe Subscription
|
|
2485
2502
|
* Schedule that applies the change at period end. The answer says which
|
|
2486
2503
|
* happened ({@link PlanChangeResponse}).
|
|
2504
|
+
*
|
|
2505
|
+
* A move down a tier is booked only by an account that fits it: until it
|
|
2506
|
+
* does, the door refuses (400) with a sentence naming what to remove, and
|
|
2507
|
+
* the same counts as {@link PlanChangeRefusalDetails}.
|
|
2487
2508
|
*/
|
|
2488
2509
|
interface PlanChangeRequest {
|
|
2489
2510
|
readonly plan: AccountPlanType;
|
|
2490
2511
|
readonly interval: BillingInterval;
|
|
2491
2512
|
}
|
|
2513
|
+
/**
|
|
2514
|
+
* `details` of the change door's refusal of a move down a tier the account
|
|
2515
|
+
* does not fit: the account holds more members, custom domains or platform
|
|
2516
|
+
* domains than the destination allows.
|
|
2517
|
+
*
|
|
2518
|
+
* `excess` counts what to REMOVE before asking again, per kind, keyed like
|
|
2519
|
+
* {@link Caps}; only the kinds over the destination's caps appear. The
|
|
2520
|
+
* door's `message` names the same counts in a sentence, and that sentence is
|
|
2521
|
+
* what a surface shows; the counts are for a client that acts on the
|
|
2522
|
+
* refusal.
|
|
2523
|
+
*/
|
|
2524
|
+
interface PlanChangeRefusalDetails {
|
|
2525
|
+
readonly excess: Partial<Caps>;
|
|
2526
|
+
}
|
|
2492
2527
|
/**
|
|
2493
2528
|
* The pending plan change — a Stripe Subscription Schedule, mirrored onto the
|
|
2494
2529
|
* account. `at` is when it applies (the current period's end, Unix seconds).
|
|
@@ -2755,7 +2790,7 @@ interface UploadedFile {
|
|
|
2755
2790
|
*/
|
|
2756
2791
|
declare function isPlatformDomain(domain: string, platformDomain: string): boolean;
|
|
2757
2792
|
/**
|
|
2758
|
-
* Check if a domain is a custom domain (not a platform
|
|
2793
|
+
* Check if a domain is a custom domain (not a platform domain).
|
|
2759
2794
|
* Custom domains are billable and require DNS verification.
|
|
2760
2795
|
*
|
|
2761
2796
|
* @example isCustomDomain("example.com", "shipstatic.com") → true
|
|
@@ -2901,8 +2936,11 @@ declare function validatePassword(value: unknown): string | undefined;
|
|
|
2901
2936
|
interface DeploymentOptions extends DeploymentUploadOptions {
|
|
2902
2937
|
/**
|
|
2903
2938
|
* An AbortSignal to allow cancellation of the deploy operation. The one
|
|
2904
|
-
* cancellation mechanism
|
|
2905
|
-
*
|
|
2939
|
+
* cancellation mechanism: it reaches every request the deploy makes (the
|
|
2940
|
+
* limits it validates against, the SPA question and the upload itself),
|
|
2941
|
+
* and aborting it rejects the deploy with a typed `Cancelled` error
|
|
2942
|
+
* wherever it stands. A deploy the server had already committed stays
|
|
2943
|
+
* committed. Request timeouts are a client concern
|
|
2906
2944
|
* (`ShipClientOptions.timeout`), not a per-deploy one.
|
|
2907
2945
|
*/
|
|
2908
2946
|
signal?: AbortSignal;
|
|
@@ -3391,9 +3429,12 @@ declare abstract class Ship$1 {
|
|
|
3391
3429
|
/**
|
|
3392
3430
|
* Get the platform limits the server states now (max file size, file count,
|
|
3393
3431
|
* total size, and the blocked extensions). Asked every time and never held,
|
|
3394
|
-
* since a plan move or an operator's grant changes them.
|
|
3432
|
+
* since a plan move or an operator's grant changes them. A `signal` aborts
|
|
3433
|
+
* the request, rejecting with the typed `Cancelled` error.
|
|
3395
3434
|
*/
|
|
3396
|
-
getLimits(
|
|
3435
|
+
getLimits(options?: {
|
|
3436
|
+
signal?: AbortSignal;
|
|
3437
|
+
}): Promise<PlatformLimits>;
|
|
3397
3438
|
on<K extends keyof ShipEvents>(event: K, handler: (...args: ShipEvents[K]) => void): void;
|
|
3398
3439
|
off<K extends keyof ShipEvents>(event: K, handler: (...args: ShipEvents[K]) => void): void;
|
|
3399
3440
|
/**
|
|
@@ -3500,6 +3541,9 @@ declare function getENV(): ExecutionEnvironment;
|
|
|
3500
3541
|
* Everything else is allowed — browser percent-encodes, Worker decodes, R2 matches.
|
|
3501
3542
|
*
|
|
3502
3543
|
* Additional checks: path traversal, reserved names, leading/trailing dots or spaces.
|
|
3544
|
+
*
|
|
3545
|
+
* The reason is a complete sentence naming the file, so every surface shows it
|
|
3546
|
+
* as it is (`file-rules.ts` on why).
|
|
3503
3547
|
*/
|
|
3504
3548
|
declare function validateFileName(filename: string): {
|
|
3505
3549
|
valid: boolean;
|
|
@@ -3628,35 +3672,40 @@ declare function calculateMD5(input: Blob | Buffer | string): Promise<MD5Result>
|
|
|
3628
3672
|
* @file One ordered table of deploy-file rules, and the single evaluation two
|
|
3629
3673
|
* renderers share.
|
|
3630
3674
|
*
|
|
3631
|
-
* **The defect this closes:** one rule was rendering as three sentences. A
|
|
3632
|
-
* file over the size cap said `File x is too large. Maximum allowed size is
|
|
3633
|
-
* 20MB.` from the deploy pipelines, `File size (21 MB) exceeds limit of 20 MB`
|
|
3634
|
-
* from `validateFiles`, and `File too large. Maximum 20971520 bytes allowed`
|
|
3635
|
-
* from the API — against the dual-validation doctrine that an error reads the
|
|
3636
|
-
* same wherever it was caught (root `CLAUDE.md`). Both pipelines also restated
|
|
3637
|
-
* the whole ordered check, so node/browser parity was a comment.
|
|
3638
|
-
*
|
|
3639
3675
|
* **A rule states a predicate and a sentence; a renderer chooses only how to
|
|
3640
3676
|
* DELIVER it.** That is the `SHAPES`-table move (`cli/formatters.ts`) applied
|
|
3641
3677
|
* to validation: the throwing renderer raises the first broken rule, the
|
|
3642
3678
|
* collecting renderer records it, and neither authors prose. Adding a rule is
|
|
3643
|
-
* a row, and both surfaces get it in the same position by construction.
|
|
3644
|
-
*
|
|
3645
|
-
*
|
|
3646
|
-
*
|
|
3647
|
-
*
|
|
3648
|
-
*
|
|
3649
|
-
*
|
|
3650
|
-
*
|
|
3651
|
-
*
|
|
3652
|
-
*
|
|
3653
|
-
*
|
|
3654
|
-
*
|
|
3679
|
+
* a row, and both surfaces get it in the same position by construction. One
|
|
3680
|
+
* table is also what keeps a rule from reading three ways: the deploy
|
|
3681
|
+
* pipelines, `validateFiles` and the API once each worded the size cap
|
|
3682
|
+
* differently, against the dual-validation doctrine that an error reads the
|
|
3683
|
+
* same wherever it is caught (root `CLAUDE.md`).
|
|
3684
|
+
*
|
|
3685
|
+
* **Every sentence is complete on its own.** The SDK is where a refusal is
|
|
3686
|
+
* worded; drop, the console, the CLI and the MCPs show the sentence verbatim
|
|
3687
|
+
* and add nothing, so a sentence names its file exactly once and states the
|
|
3688
|
+
* limit, and reads without a prefix. The family is subject first: `File
|
|
3689
|
+
* "<path>" <verdict>. Maximum <limit> allowed.`, and `File name "<path>" …`
|
|
3690
|
+
* where the name is the subject. The two rules about the SET, the count and
|
|
3691
|
+
* the total, name no path. A limit's sentence ends with the suggestion the
|
|
3692
|
+
* API delivered for it (`withSuggestion`), so the whole reads `File "x" is
|
|
3693
|
+
* too large. Maximum 20 MB allowed. Upgrade to Pro for more.`
|
|
3694
|
+
*
|
|
3695
|
+
* **The API words the same rules the same way, in the same order**
|
|
3696
|
+
* (`cloudflare/api/src/lib/validation.ts`), so a refusal reads alike whether
|
|
3697
|
+
* the SDK made it before uploading or the boundary made it after. Sizes are
|
|
3698
|
+
* formatted on both sides, and the path is named on both. That is a
|
|
3699
|
+
* restatement, and it is fenced from the API's side: a test there imports
|
|
3700
|
+
* this package's `validateFiles` and compares every shared rule's sentence to
|
|
3701
|
+
* `validateUpload`'s. The fence dies the day the table is promoted to
|
|
3702
|
+
* `@shipstatic/types` and the API imports it (Phase B, `CLAUDE.md`).
|
|
3655
3703
|
*
|
|
3656
3704
|
* Out of scope, and left where they are: `validateDeployPath` (a rule about
|
|
3657
3705
|
* the deploy PATH rather than the file, and pipelines-only), and
|
|
3658
|
-
* `validateFiles`' UI-tier pre-checks
|
|
3659
|
-
*
|
|
3706
|
+
* `validateFiles`' UI-tier pre-checks (empty, negative, unbuilt marker,
|
|
3707
|
+
* processing error), which have one holder each and no drift, and word their
|
|
3708
|
+
* sentences by the same family.
|
|
3660
3709
|
*/
|
|
3661
3710
|
|
|
3662
3711
|
/** What a rule is asked about: one file, and the deploy so far. */
|
|
@@ -3708,6 +3757,15 @@ declare function validateDeployPath(deployPath: string, sourceIdentifier: string
|
|
|
3708
3757
|
* @throws {ShipError} The first broken rule's sentence
|
|
3709
3758
|
*/
|
|
3710
3759
|
declare function validateDeployFile(input: FileRuleInput, limits: PlatformLimits): void;
|
|
3760
|
+
/**
|
|
3761
|
+
* The throwing renderer of `COUNT_RULE`: the deploy's file count, judged over
|
|
3762
|
+
* the files the pipeline will send.
|
|
3763
|
+
*
|
|
3764
|
+
* @param count - How many files the deploy carries
|
|
3765
|
+
* @param limits - The platform's limits, from `/limits`
|
|
3766
|
+
* @throws {ShipError} The count rule's sentence
|
|
3767
|
+
*/
|
|
3768
|
+
declare function validateDeployCount(count: number, limits: PlatformLimits): void;
|
|
3711
3769
|
|
|
3712
3770
|
/**
|
|
3713
3771
|
* Utility functions for string manipulation.
|
|
@@ -3792,4 +3850,4 @@ declare class Ship extends Ship$1 {
|
|
|
3792
3850
|
protected processInput(input: DeployInput, options: DeploymentOptions, limits: PlatformLimits): Promise<StaticFile[]>;
|
|
3793
3851
|
}
|
|
3794
3852
|
|
|
3795
|
-
export { ACCOUNT_HEADER, API_KEY, API_PATHS, AUTH_BASE_PATH, type Account, type AccountAccess, type AccountDeleteResponse, type AccountKeyResponse, AccountPlan, type AccountPlanType, AccountRefusal, type AccountRefusalType, type AccountResource, type AccountRole, type Activity, type ActivityEvent, type ActivityListResponse, type ActivityMeta, type ApiDeployOptions, ApiHttp, type ApiHttpOptions, AuthMethod, type AuthMethodType, BUILD_SETTINGS, type BillingInterval, type BillingPortalSession, type BillingSyncResponse, type BuildFailureDetails, CALLER, type Caps, type ConsoleErrand, type ConsolePaths, type ConsoleSection, DEFAULT_API, DEPLOYMENT_CONFIG_FILENAME, DEPLOY_FIELDS, DEPLOY_FILE_GRAMMAR, DEPLOY_TOKEN, type DeployBodyContext, type DeployFile, type DeployFileEncoding, type DeployFileSpec, type DeployInput, type DeployTransport, type Deployment, type DeploymentCreateResponse, type DeploymentDeleteResponse, type DeploymentListResponse, type DeploymentOptions, type DeploymentResource, type DeploymentResourceContext, type DeploymentSetOptions, DeploymentStatus, type DeploymentStatusType, type DeploymentUploadOptions, DeploymentVia, type DeploymentViaType, type DnsLookup, type DnsProvider, type DnsRecord, type DnsRecordType, type Domain, type DomainDeleteResponse, type DomainDnsResponse, type DomainListResponse, type DomainRecordsResponse, type DomainResource, type DomainSetOptions, type DomainSetResult, type DomainShareResponse, DomainStatus, type DomainStatusType, type DomainValidateResponse, DomainVerification, type DomainVerificationType, type DomainVerifyResponse, type ErrorResponse, ErrorType, type ExecutionEnvironment, FileValidationStatus as FILE_VALIDATION_STATUS, type Fetch, type FileValidationResult, FileValidationStatus, type FileValidationStatusType, IDEMPOTENCY_KEY_CONSTRAINTS, JUNK_DIRECTORIES, LABEL_CONSTRAINTS, LABEL_PATTERN, type LabelsResponse, type ListOptions, type ListResponse, type MD5Result, MY_API_KEY_URL, OAUTH_TOKEN, OAuthScope, type OAuthScopeType, PASSWORD_CONSTRAINTS, PUBLIC_DEPLOYMENT_TTL_SECONDS, type PingResponse, type Plan, type PlanChangeRequest, type PlanChangeResponse, type PlanDestination, type PlansResponse, type PlatformLimits, type RequestResult, type ResourceContext, SECTIONS, SETUP_TROUBLESHOOTING_ANCHOR, SHIP_ENV, SHIP_VIA_ENV, SIGN_IN_RETURN_PARAM, type
|
|
3853
|
+
export { ACCOUNT_HEADER, API_KEY, API_PATHS, AUTH_BASE_PATH, type Account, type AccountAccess, type AccountDeleteResponse, type AccountKeyResponse, AccountPlan, type AccountPlanType, AccountRefusal, type AccountRefusalType, type AccountResource, type AccountRole, type Activity, type ActivityEvent, type ActivityListResponse, type ActivityMeta, type ApiDeployOptions, ApiHttp, type ApiHttpOptions, AuthMethod, type AuthMethodType, BUILD_SETTINGS, type BillingInterval, type BillingPortalSession, type BillingSyncResponse, type BuildFailureDetails, CALLER, type Caps, type ConsoleErrand, type ConsolePaths, type ConsoleSection, DEFAULT_API, DEPLOYMENT_CONFIG_FILENAME, DEPLOY_FIELDS, DEPLOY_FILE_GRAMMAR, DEPLOY_TOKEN, type DeployBodyContext, type DeployFile, type DeployFileEncoding, type DeployFileSpec, type DeployInput, type DeployTransport, type Deployment, type DeploymentCreateResponse, type DeploymentDeleteResponse, type DeploymentListResponse, type DeploymentOptions, type DeploymentResource, type DeploymentResourceContext, type DeploymentSetOptions, DeploymentStatus, type DeploymentStatusType, type DeploymentUploadOptions, DeploymentVia, type DeploymentViaType, type DnsLookup, type DnsProvider, type DnsRecord, type DnsRecordType, type Domain, type DomainDeleteResponse, type DomainDnsResponse, type DomainListResponse, type DomainRecordsResponse, type DomainResource, type DomainSetOptions, type DomainSetResult, type DomainShareResponse, DomainStatus, type DomainStatusType, type DomainValidateResponse, DomainVerification, type DomainVerificationType, type DomainVerifyResponse, type ErrorResponse, ErrorType, type ExecutionEnvironment, FileValidationStatus as FILE_VALIDATION_STATUS, type Fetch, type FileValidationResult, FileValidationStatus, type FileValidationStatusType, IDEMPOTENCY_KEY_CONSTRAINTS, JUNK_DIRECTORIES, LABEL_CONSTRAINTS, LABEL_PATTERN, type LabelsResponse, type ListOptions, type ListResponse, type MD5Result, MY_API_KEY_URL, OAUTH_TOKEN, OAuthScope, type OAuthScopeType, PASSWORD_CONSTRAINTS, PUBLIC_DEPLOYMENT_TTL_SECONDS, type PingResponse, type Plan, type PlanChangeRefusalDetails, type PlanChangeRequest, type PlanChangeResponse, type PlanDestination, type PlansResponse, type PlatformLimitKey, type PlatformLimits, type RequestResult, type ResourceContext, SECTIONS, SETUP_TROUBLESHOOTING_ANCHOR, SHIP_ENV, SHIP_VIA_ENV, SIGN_IN_RETURN_PARAM, type SPACheckRequest, type SPACheckResponse, SPA_CHECK_CONSTRAINTS, SPA_DEFAULT_CONFIG, type ScheduledChange, type SettingsFragment, type SetupInstructionsResponse, Ship, type ShipClientOptions, ShipError, type ShipEvents, type ShipRequestInit, type StaticFile, TTL_CONSTRAINTS, type Token, type TokenCreateOptions, type TokenCreateResponse, type TokenDeleteResponse, TokenKind, type TokenKindType, type TokenListResponse, type TokenProvider, type TokenResource, type Transport, UNBUILT_PROJECT_MARKERS, UNSAFE_FILENAME_CHARS, USER_VISIBLE_EVENTS, type UploadedFile, type UserVisibleActivityEvent, type ValidatableFile, type ValidationIssue, WEB_FILE_ACCEPT, __setTestEnvironment, accountOfPath, allValidFilesReady, assertShipJsonSyntax, billingReturnOf, calculateMD5, classifyToken, consolePaths, createAccountResource, createDeploymentResource, createDomainResource, createTokenResource, Ship as default, deserializeLabels, doors, errandOf, extractSubdomain, filterJunk, formatDuration, formatFileSize, formatTimeRemaining, generateDeploymentUrl, generateDomainUrl, getENV, getValidFiles, hasUnbuiltMarker, hasUnsafeChars, isBlockedExtension, isClaimPath, isCustomDomain, isDeployment, isInvitationPath, isPlatformDomain, isShipError, isUpgradePath, normalizeVia, optimizeDeployPaths, personName, personShortName, pluralize, processFilesForBrowser, readBearerValue, serializeLabels, validateApiKey, validateApiUrl, validateBuildCommand, validateCaller, validateDeployCount, validateDeployFile, validateDeployPath, validateDeployToken, validateFileName, validateFiles, validateIdempotencyKey, validateOAuthToken, validateOutputDir, validatePassword, validateToken, validateTtl };
|