@fern-api/fdr-sdk 1.2.150-6ecd5b84b9 → 1.2.151-1537a7ea13
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/js/client/FdrClient.js +21 -3
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +21 -3
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +21 -3
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +21 -3
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +21 -3
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +21 -3
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.d.ts +54 -2
- package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.js +21 -3
- package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +54 -2
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3985,19 +3985,37 @@ var MigrateV2SiteInputSchema = z21.object({
|
|
|
3985
3985
|
});
|
|
3986
3986
|
var StartStaticBuildInputSchema = z21.object({
|
|
3987
3987
|
domain: z21.string().min(1),
|
|
3988
|
-
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
3989
|
-
basepath: z21.string().default("")
|
|
3988
|
+
/** "" for a root site, otherwise a leading-slash basepath. Ignored when `path` is given. */
|
|
3989
|
+
basepath: z21.string().default(""),
|
|
3990
|
+
/**
|
|
3991
|
+
* A request path on `domain`: the site to build is the one whose basepath the
|
|
3992
|
+
* path falls under (the longest match; the root site catches the rest). What
|
|
3993
|
+
* the docs-router sends, since it does not know which basepaths a host publishes.
|
|
3994
|
+
*/
|
|
3995
|
+
path: z21.string().optional(),
|
|
3996
|
+
/**
|
|
3997
|
+
* `publish` (the default) waits for the Job and reports how it ended.
|
|
3998
|
+
* `background` returns as soon as the Job exists (`outcome: "queued"`): the
|
|
3999
|
+
* Job promotes itself when it succeeds. What the docs-router asks for when a
|
|
4000
|
+
* visitor reaches a preview that has no static build yet.
|
|
4001
|
+
*/
|
|
4002
|
+
priority: z21.enum(["publish", "background"]).default("publish")
|
|
3990
4003
|
});
|
|
3991
4004
|
var StartStaticBuildResponseSchema = z21.object({
|
|
3992
4005
|
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
3993
4006
|
status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
3994
4007
|
domain: z21.string(),
|
|
4008
|
+
/** The site built: the requested basepath, or the one `path` resolved to. */
|
|
3995
4009
|
basepath: z21.string(),
|
|
4010
|
+
/** Every basepath currently published at `domain` ("" is the root site). */
|
|
4011
|
+
basepaths: z21.array(z21.string()).optional(),
|
|
3996
4012
|
/** The deployment being built, absent when the site has never published. */
|
|
3997
4013
|
deploymentId: z21.string().optional(),
|
|
3998
4014
|
jobName: z21.string().optional(),
|
|
3999
4015
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
4000
|
-
host: z21.string().optional()
|
|
4016
|
+
host: z21.string().optional(),
|
|
4017
|
+
/** How the Job ended, or `queued` for a `background` build nobody waited on. */
|
|
4018
|
+
outcome: z21.enum(["succeeded", "failed", "timed-out", "gone", "unrouted", "queued"]).optional()
|
|
4001
4019
|
});
|
|
4002
4020
|
var RebuildAllStaticBuildsInputSchema = z21.object({
|
|
4003
4021
|
/** Resolve and report the sites without dispatching any build. */
|