@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.
@@ -3993,6 +3993,20 @@ var StartStaticBuildInputSchema = z21.object({
3993
3993
  * the docs-router sends, since it does not know which basepaths a host publishes.
3994
3994
  */
3995
3995
  path: z21.string().optional(),
3996
+ /**
3997
+ * The build the caller is serving for the site (the docs-router's pointer names it by
3998
+ * deployment id). When it is the site's current deployment, made with the current renderer
3999
+ * as far as `servingRenderer` tells, there is nothing to build and the answer is
4000
+ * `up-to-date`; otherwise the site is rebuilt as usual.
4001
+ */
4002
+ servingBuildId: z21.string().optional(),
4003
+ /**
4004
+ * The renderer (build image digest) the served build was made with, `""` when the caller
4005
+ * knows it was made before that was recorded. Omitted when the caller cannot tell (a
4006
+ * basepath build), in which case only the deployment is judged. Any value other than the
4007
+ * digest FDR currently dispatches builds with makes the build stale.
4008
+ */
4009
+ servingRenderer: z21.string().optional(),
3996
4010
  /**
3997
4011
  * `publish` (the default) waits for the Job and reports how it ended.
3998
4012
  * `background` returns as soon as the Job exists (`outcome: "queued"`): the
@@ -4002,8 +4016,22 @@ var StartStaticBuildInputSchema = z21.object({
4002
4016
  priority: z21.enum(["publish", "background"]).default("publish")
4003
4017
  });
4004
4018
  var StartStaticBuildResponseSchema = z21.object({
4005
- /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
4006
- status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
4019
+ /**
4020
+ * Mirrors the dispatcher's own outcomes, plus the sites it can't resolve and
4021
+ * `up-to-date`: `servingBuildId` already is the current deployment (made with the current
4022
+ * renderer, when `servingRenderer` was given), nothing started; `busy`: a `background`
4023
+ * ask FDR did not plan because as many background builds as it allows are already being
4024
+ * created — ask again later.
4025
+ */
4026
+ status: z21.enum([
4027
+ "created",
4028
+ "already-running",
4029
+ "host-not-enabled",
4030
+ "disabled",
4031
+ "not-published",
4032
+ "up-to-date",
4033
+ "busy"
4034
+ ]),
4007
4035
  domain: z21.string(),
4008
4036
  /** The site built: the requested basepath, or the one `path` resolved to. */
4009
4037
  basepath: z21.string(),