@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 1.2.112-abaf2a77c8
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 +18 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +18 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +18 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +18 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +22 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +20 -1
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +106 -28
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts +11 -11
- package/package.json +1 -1
|
@@ -3912,6 +3912,22 @@ var MigrateV2SiteInputSchema = z21.object({
|
|
|
3912
3912
|
/** Convert again after a manual rollback left the row on a superseded ledger deployment. */
|
|
3913
3913
|
allowRemigration: z21.boolean().default(false)
|
|
3914
3914
|
});
|
|
3915
|
+
var StartStaticBuildInputSchema = z21.object({
|
|
3916
|
+
domain: z21.string().min(1),
|
|
3917
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
3918
|
+
basepath: z21.string().default("")
|
|
3919
|
+
});
|
|
3920
|
+
var StartStaticBuildResponseSchema = z21.object({
|
|
3921
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
3922
|
+
status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
3923
|
+
domain: z21.string(),
|
|
3924
|
+
basepath: z21.string(),
|
|
3925
|
+
/** The deployment being built, absent when the site has never published. */
|
|
3926
|
+
deploymentId: z21.string().optional(),
|
|
3927
|
+
jobName: z21.string().optional(),
|
|
3928
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
3929
|
+
host: z21.string().optional()
|
|
3930
|
+
});
|
|
3915
3931
|
var MigrateV2SiteSkipReasonSchema = z21.enum([
|
|
3916
3932
|
"not-registered",
|
|
3917
3933
|
"preview",
|
|
@@ -4554,7 +4570,8 @@ var docsLedgerContract = {
|
|
|
4554
4570
|
previewRegister: oc11.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
|
|
4555
4571
|
finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
4556
4572
|
archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
4557
|
-
migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
|
|
4573
|
+
migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
4574
|
+
startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
|
|
4558
4575
|
};
|
|
4559
4576
|
var CurrentVersionInputSchema = z21.object({
|
|
4560
4577
|
domain: z21.string(),
|