@fern-api/fdr-sdk 1.2.151-c3ff0e9296 → 1.2.152-45fab339da
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 +30 -2
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +30 -2
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +30 -2
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +30 -2
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +30 -2
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +30 -2
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.d.ts +56 -8
- package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.js +30 -2
- package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +56 -8
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/js/index.mjs
CHANGED
|
@@ -9770,6 +9770,20 @@ var StartStaticBuildInputSchema = z21.object({
|
|
|
9770
9770
|
* the docs-router sends, since it does not know which basepaths a host publishes.
|
|
9771
9771
|
*/
|
|
9772
9772
|
path: z21.string().optional(),
|
|
9773
|
+
/**
|
|
9774
|
+
* The build the caller is serving for the site (the docs-router's pointer names it by
|
|
9775
|
+
* deployment id). When it is the site's current deployment, made with the current renderer
|
|
9776
|
+
* as far as `servingRenderer` tells, there is nothing to build and the answer is
|
|
9777
|
+
* `up-to-date`; otherwise the site is rebuilt as usual.
|
|
9778
|
+
*/
|
|
9779
|
+
servingBuildId: z21.string().optional(),
|
|
9780
|
+
/**
|
|
9781
|
+
* The renderer (build image digest) the served build was made with, `""` when the caller
|
|
9782
|
+
* knows it was made before that was recorded. Omitted when the caller cannot tell (a
|
|
9783
|
+
* basepath build), in which case only the deployment is judged. Any value other than the
|
|
9784
|
+
* digest FDR currently dispatches builds with makes the build stale.
|
|
9785
|
+
*/
|
|
9786
|
+
servingRenderer: z21.string().optional(),
|
|
9773
9787
|
/**
|
|
9774
9788
|
* `publish` (the default) waits for the Job and reports how it ended.
|
|
9775
9789
|
* `background` returns as soon as the Job exists (`outcome: "queued"`): the
|
|
@@ -9779,8 +9793,22 @@ var StartStaticBuildInputSchema = z21.object({
|
|
|
9779
9793
|
priority: z21.enum(["publish", "background"]).default("publish")
|
|
9780
9794
|
});
|
|
9781
9795
|
var StartStaticBuildResponseSchema = z21.object({
|
|
9782
|
-
/**
|
|
9783
|
-
|
|
9796
|
+
/**
|
|
9797
|
+
* Mirrors the dispatcher's own outcomes, plus the sites it can't resolve and
|
|
9798
|
+
* `up-to-date`: `servingBuildId` already is the current deployment (made with the current
|
|
9799
|
+
* renderer, when `servingRenderer` was given), nothing started; `busy`: a `background`
|
|
9800
|
+
* ask FDR did not plan because as many background builds as it allows are already being
|
|
9801
|
+
* created — ask again later.
|
|
9802
|
+
*/
|
|
9803
|
+
status: z21.enum([
|
|
9804
|
+
"created",
|
|
9805
|
+
"already-running",
|
|
9806
|
+
"host-not-enabled",
|
|
9807
|
+
"disabled",
|
|
9808
|
+
"not-published",
|
|
9809
|
+
"up-to-date",
|
|
9810
|
+
"busy"
|
|
9811
|
+
]),
|
|
9784
9812
|
domain: z21.string(),
|
|
9785
9813
|
/** The site built: the requested basepath, or the one `path` resolved to. */
|
|
9786
9814
|
basepath: z21.string(),
|