@fern-api/fdr-sdk 1.2.151-5a387e850e → 1.2.151-6ecd5b84b9
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 +3 -21
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +3 -21
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +3 -21
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +3 -21
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +3 -21
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +3 -21
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.d.ts +2 -54
- package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.js +3 -21
- package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +2 -54
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/js/index.js
CHANGED
|
@@ -9826,37 +9826,19 @@ var MigrateV2SiteInputSchema = z21.object({
|
|
|
9826
9826
|
});
|
|
9827
9827
|
var StartStaticBuildInputSchema = z21.object({
|
|
9828
9828
|
domain: z21.string().min(1),
|
|
9829
|
-
/** "" for a root site, otherwise a leading-slash basepath.
|
|
9830
|
-
basepath: z21.string().default("")
|
|
9831
|
-
/**
|
|
9832
|
-
* A request path on `domain`: the site to build is the one whose basepath the
|
|
9833
|
-
* path falls under (the longest match; the root site catches the rest). What
|
|
9834
|
-
* the docs-router sends, since it does not know which basepaths a host publishes.
|
|
9835
|
-
*/
|
|
9836
|
-
path: z21.string().optional(),
|
|
9837
|
-
/**
|
|
9838
|
-
* `publish` (the default) waits for the Job and reports how it ended.
|
|
9839
|
-
* `background` returns as soon as the Job exists (`outcome: "queued"`): the
|
|
9840
|
-
* Job promotes itself when it succeeds. What the docs-router asks for when a
|
|
9841
|
-
* visitor reaches a preview that has no static build yet.
|
|
9842
|
-
*/
|
|
9843
|
-
priority: z21.enum(["publish", "background"]).default("publish")
|
|
9829
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
9830
|
+
basepath: z21.string().default("")
|
|
9844
9831
|
});
|
|
9845
9832
|
var StartStaticBuildResponseSchema = z21.object({
|
|
9846
9833
|
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
9847
9834
|
status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
9848
9835
|
domain: z21.string(),
|
|
9849
|
-
/** The site built: the requested basepath, or the one `path` resolved to. */
|
|
9850
9836
|
basepath: z21.string(),
|
|
9851
|
-
/** Every basepath currently published at `domain` ("" is the root site). */
|
|
9852
|
-
basepaths: z21.array(z21.string()).optional(),
|
|
9853
9837
|
/** The deployment being built, absent when the site has never published. */
|
|
9854
9838
|
deploymentId: z21.string().optional(),
|
|
9855
9839
|
jobName: z21.string().optional(),
|
|
9856
9840
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
9857
|
-
host: z21.string().optional()
|
|
9858
|
-
/** How the Job ended, or `queued` for a `background` build nobody waited on. */
|
|
9859
|
-
outcome: z21.enum(["succeeded", "failed", "timed-out", "gone", "unrouted", "queued"]).optional()
|
|
9841
|
+
host: z21.string().optional()
|
|
9860
9842
|
});
|
|
9861
9843
|
var RebuildAllStaticBuildsInputSchema = z21.object({
|
|
9862
9844
|
/** Resolve and report the sites without dispatching any build. */
|