@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/orpc-client.mjs
CHANGED
|
@@ -4187,6 +4187,20 @@ var StartStaticBuildInputSchema = z22.object({
|
|
|
4187
4187
|
* the docs-router sends, since it does not know which basepaths a host publishes.
|
|
4188
4188
|
*/
|
|
4189
4189
|
path: z22.string().optional(),
|
|
4190
|
+
/**
|
|
4191
|
+
* The build the caller is serving for the site (the docs-router's pointer names it by
|
|
4192
|
+
* deployment id). When it is the site's current deployment, made with the current renderer
|
|
4193
|
+
* as far as `servingRenderer` tells, there is nothing to build and the answer is
|
|
4194
|
+
* `up-to-date`; otherwise the site is rebuilt as usual.
|
|
4195
|
+
*/
|
|
4196
|
+
servingBuildId: z22.string().optional(),
|
|
4197
|
+
/**
|
|
4198
|
+
* The renderer (build image digest) the served build was made with, `""` when the caller
|
|
4199
|
+
* knows it was made before that was recorded. Omitted when the caller cannot tell (a
|
|
4200
|
+
* basepath build), in which case only the deployment is judged. Any value other than the
|
|
4201
|
+
* digest FDR currently dispatches builds with makes the build stale.
|
|
4202
|
+
*/
|
|
4203
|
+
servingRenderer: z22.string().optional(),
|
|
4190
4204
|
/**
|
|
4191
4205
|
* `publish` (the default) waits for the Job and reports how it ended.
|
|
4192
4206
|
* `background` returns as soon as the Job exists (`outcome: "queued"`): the
|
|
@@ -4196,8 +4210,22 @@ var StartStaticBuildInputSchema = z22.object({
|
|
|
4196
4210
|
priority: z22.enum(["publish", "background"]).default("publish")
|
|
4197
4211
|
});
|
|
4198
4212
|
var StartStaticBuildResponseSchema = z22.object({
|
|
4199
|
-
/**
|
|
4200
|
-
|
|
4213
|
+
/**
|
|
4214
|
+
* Mirrors the dispatcher's own outcomes, plus the sites it can't resolve and
|
|
4215
|
+
* `up-to-date`: `servingBuildId` already is the current deployment (made with the current
|
|
4216
|
+
* renderer, when `servingRenderer` was given), nothing started; `busy`: a `background`
|
|
4217
|
+
* ask FDR did not plan because as many background builds as it allows are already being
|
|
4218
|
+
* created — ask again later.
|
|
4219
|
+
*/
|
|
4220
|
+
status: z22.enum([
|
|
4221
|
+
"created",
|
|
4222
|
+
"already-running",
|
|
4223
|
+
"host-not-enabled",
|
|
4224
|
+
"disabled",
|
|
4225
|
+
"not-published",
|
|
4226
|
+
"up-to-date",
|
|
4227
|
+
"busy"
|
|
4228
|
+
]),
|
|
4201
4229
|
domain: z22.string(),
|
|
4202
4230
|
/** The site built: the requested basepath, or the one `path` resolved to. */
|
|
4203
4231
|
basepath: z22.string(),
|