@fern-api/fdr-sdk 1.2.150-6ecd5b84b9 → 1.2.151-1537a7ea13
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 +21 -3
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +21 -3
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +21 -3
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +21 -3
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +21 -3
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +21 -3
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.d.ts +54 -2
- package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/orpc-client/docs-ledger/contract.js +21 -3
- package/dist/orpc-client/docs-ledger/contract.js.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +54 -2
- 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
|
@@ -4179,19 +4179,37 @@ var MigrateV2SiteInputSchema = z22.object({
|
|
|
4179
4179
|
});
|
|
4180
4180
|
var StartStaticBuildInputSchema = z22.object({
|
|
4181
4181
|
domain: z22.string().min(1),
|
|
4182
|
-
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
4183
|
-
basepath: z22.string().default("")
|
|
4182
|
+
/** "" for a root site, otherwise a leading-slash basepath. Ignored when `path` is given. */
|
|
4183
|
+
basepath: z22.string().default(""),
|
|
4184
|
+
/**
|
|
4185
|
+
* A request path on `domain`: the site to build is the one whose basepath the
|
|
4186
|
+
* path falls under (the longest match; the root site catches the rest). What
|
|
4187
|
+
* the docs-router sends, since it does not know which basepaths a host publishes.
|
|
4188
|
+
*/
|
|
4189
|
+
path: z22.string().optional(),
|
|
4190
|
+
/**
|
|
4191
|
+
* `publish` (the default) waits for the Job and reports how it ended.
|
|
4192
|
+
* `background` returns as soon as the Job exists (`outcome: "queued"`): the
|
|
4193
|
+
* Job promotes itself when it succeeds. What the docs-router asks for when a
|
|
4194
|
+
* visitor reaches a preview that has no static build yet.
|
|
4195
|
+
*/
|
|
4196
|
+
priority: z22.enum(["publish", "background"]).default("publish")
|
|
4184
4197
|
});
|
|
4185
4198
|
var StartStaticBuildResponseSchema = z22.object({
|
|
4186
4199
|
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
4187
4200
|
status: z22.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
4188
4201
|
domain: z22.string(),
|
|
4202
|
+
/** The site built: the requested basepath, or the one `path` resolved to. */
|
|
4189
4203
|
basepath: z22.string(),
|
|
4204
|
+
/** Every basepath currently published at `domain` ("" is the root site). */
|
|
4205
|
+
basepaths: z22.array(z22.string()).optional(),
|
|
4190
4206
|
/** The deployment being built, absent when the site has never published. */
|
|
4191
4207
|
deploymentId: z22.string().optional(),
|
|
4192
4208
|
jobName: z22.string().optional(),
|
|
4193
4209
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
4194
|
-
host: z22.string().optional()
|
|
4210
|
+
host: z22.string().optional(),
|
|
4211
|
+
/** How the Job ended, or `queued` for a `background` build nobody waited on. */
|
|
4212
|
+
outcome: z22.enum(["succeeded", "failed", "timed-out", "gone", "unrouted", "queued"]).optional()
|
|
4195
4213
|
});
|
|
4196
4214
|
var RebuildAllStaticBuildsInputSchema = z22.object({
|
|
4197
4215
|
/** Resolve and report the sites without dispatching any build. */
|