@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.
@@ -3956,6 +3956,20 @@ var StartStaticBuildInputSchema = z21.object({
3956
3956
  * the docs-router sends, since it does not know which basepaths a host publishes.
3957
3957
  */
3958
3958
  path: z21.string().optional(),
3959
+ /**
3960
+ * The build the caller is serving for the site (the docs-router's pointer names it by
3961
+ * deployment id). When it is the site's current deployment, made with the current renderer
3962
+ * as far as `servingRenderer` tells, there is nothing to build and the answer is
3963
+ * `up-to-date`; otherwise the site is rebuilt as usual.
3964
+ */
3965
+ servingBuildId: z21.string().optional(),
3966
+ /**
3967
+ * The renderer (build image digest) the served build was made with, `""` when the caller
3968
+ * knows it was made before that was recorded. Omitted when the caller cannot tell (a
3969
+ * basepath build), in which case only the deployment is judged. Any value other than the
3970
+ * digest FDR currently dispatches builds with makes the build stale.
3971
+ */
3972
+ servingRenderer: z21.string().optional(),
3959
3973
  /**
3960
3974
  * `publish` (the default) waits for the Job and reports how it ended.
3961
3975
  * `background` returns as soon as the Job exists (`outcome: "queued"`): the
@@ -3965,8 +3979,22 @@ var StartStaticBuildInputSchema = z21.object({
3965
3979
  priority: z21.enum(["publish", "background"]).default("publish")
3966
3980
  });
3967
3981
  var StartStaticBuildResponseSchema = z21.object({
3968
- /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
3969
- status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
3982
+ /**
3983
+ * Mirrors the dispatcher's own outcomes, plus the sites it can't resolve and
3984
+ * `up-to-date`: `servingBuildId` already is the current deployment (made with the current
3985
+ * renderer, when `servingRenderer` was given), nothing started; `busy`: a `background`
3986
+ * ask FDR did not plan because as many background builds as it allows are already being
3987
+ * created — ask again later.
3988
+ */
3989
+ status: z21.enum([
3990
+ "created",
3991
+ "already-running",
3992
+ "host-not-enabled",
3993
+ "disabled",
3994
+ "not-published",
3995
+ "up-to-date",
3996
+ "busy"
3997
+ ]),
3970
3998
  domain: z21.string(),
3971
3999
  /** The site built: the requested basepath, or the one `path` resolved to. */
3972
4000
  basepath: z21.string(),