@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.
@@ -4970,6 +4970,20 @@ var StartStaticBuildInputSchema = z22.object({
4970
4970
  * the docs-router sends, since it does not know which basepaths a host publishes.
4971
4971
  */
4972
4972
  path: z22.string().optional(),
4973
+ /**
4974
+ * The build the caller is serving for the site (the docs-router's pointer names it by
4975
+ * deployment id). When it is the site's current deployment, made with the current renderer
4976
+ * as far as `servingRenderer` tells, there is nothing to build and the answer is
4977
+ * `up-to-date`; otherwise the site is rebuilt as usual.
4978
+ */
4979
+ servingBuildId: z22.string().optional(),
4980
+ /**
4981
+ * The renderer (build image digest) the served build was made with, `""` when the caller
4982
+ * knows it was made before that was recorded. Omitted when the caller cannot tell (a
4983
+ * basepath build), in which case only the deployment is judged. Any value other than the
4984
+ * digest FDR currently dispatches builds with makes the build stale.
4985
+ */
4986
+ servingRenderer: z22.string().optional(),
4973
4987
  /**
4974
4988
  * `publish` (the default) waits for the Job and reports how it ended.
4975
4989
  * `background` returns as soon as the Job exists (`outcome: "queued"`): the
@@ -4979,8 +4993,22 @@ var StartStaticBuildInputSchema = z22.object({
4979
4993
  priority: z22.enum(["publish", "background"]).default("publish")
4980
4994
  });
4981
4995
  var StartStaticBuildResponseSchema = z22.object({
4982
- /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
4983
- status: z22.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
4996
+ /**
4997
+ * Mirrors the dispatcher's own outcomes, plus the sites it can't resolve and
4998
+ * `up-to-date`: `servingBuildId` already is the current deployment (made with the current
4999
+ * renderer, when `servingRenderer` was given), nothing started; `busy`: a `background`
5000
+ * ask FDR did not plan because as many background builds as it allows are already being
5001
+ * created — ask again later.
5002
+ */
5003
+ status: z22.enum([
5004
+ "created",
5005
+ "already-running",
5006
+ "host-not-enabled",
5007
+ "disabled",
5008
+ "not-published",
5009
+ "up-to-date",
5010
+ "busy"
5011
+ ]),
4984
5012
  domain: z22.string(),
4985
5013
  /** The site built: the requested basepath, or the one `path` resolved to. */
4986
5014
  basepath: z22.string(),