@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 1.2.112-47e5377045
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 +40 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +40 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +40 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +40 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +48 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +44 -1
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +190 -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
|
@@ -3949,6 +3949,43 @@ var MigrateV2SiteInputSchema = z21.object({
|
|
|
3949
3949
|
/** Convert again after a manual rollback left the row on a superseded ledger deployment. */
|
|
3950
3950
|
allowRemigration: z21.boolean().default(false)
|
|
3951
3951
|
});
|
|
3952
|
+
var StartStaticBuildInputSchema = z21.object({
|
|
3953
|
+
domain: z21.string().min(1),
|
|
3954
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
3955
|
+
basepath: z21.string().default("")
|
|
3956
|
+
});
|
|
3957
|
+
var StartStaticBuildResponseSchema = z21.object({
|
|
3958
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
3959
|
+
status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
3960
|
+
domain: z21.string(),
|
|
3961
|
+
basepath: z21.string(),
|
|
3962
|
+
/** The deployment being built, absent when the site has never published. */
|
|
3963
|
+
deploymentId: z21.string().optional(),
|
|
3964
|
+
jobName: z21.string().optional(),
|
|
3965
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
3966
|
+
host: z21.string().optional()
|
|
3967
|
+
});
|
|
3968
|
+
var ResolveStaticServingHostInputSchema = z21.object({
|
|
3969
|
+
domain: z21.string().min(1),
|
|
3970
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
3971
|
+
basepath: z21.string().default("")
|
|
3972
|
+
});
|
|
3973
|
+
var ResolveStaticServingHostResponseSchema = z21.object({
|
|
3974
|
+
domain: z21.string(),
|
|
3975
|
+
basepath: z21.string(),
|
|
3976
|
+
/**
|
|
3977
|
+
* The hostname the static build is exported to and served from — always a
|
|
3978
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
3979
|
+
*/
|
|
3980
|
+
servingHost: z21.string(),
|
|
3981
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
3982
|
+
routable: z21.boolean(),
|
|
3983
|
+
/**
|
|
3984
|
+
* The deployment the serving host was derived from; absent when the site
|
|
3985
|
+
* has never published, in which case only its own hostname was available.
|
|
3986
|
+
*/
|
|
3987
|
+
deploymentId: z21.string().optional()
|
|
3988
|
+
});
|
|
3952
3989
|
var MigrateV2SiteSkipReasonSchema = z21.enum([
|
|
3953
3990
|
"not-registered",
|
|
3954
3991
|
"preview",
|
|
@@ -4591,7 +4628,9 @@ var docsLedgerContract = {
|
|
|
4591
4628
|
previewRegister: import_contract21.oc.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
|
|
4592
4629
|
finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
4593
4630
|
archiveSite: import_contract21.oc.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
4594
|
-
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
|
|
4631
|
+
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
4632
|
+
startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
|
|
4633
|
+
resolveStaticServingHost: import_contract21.oc.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
|
|
4595
4634
|
};
|
|
4596
4635
|
var CurrentVersionInputSchema = z21.object({
|
|
4597
4636
|
domain: z21.string(),
|