@fern-api/fdr-sdk 1.2.112-abaf2a77c8 → 1.2.113-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 +23 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +23 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +23 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +23 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +27 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +25 -1
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +84 -0
- package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3928,6 +3928,27 @@ var StartStaticBuildResponseSchema = z21.object({
|
|
|
3928
3928
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
3929
3929
|
host: z21.string().optional()
|
|
3930
3930
|
});
|
|
3931
|
+
var ResolveStaticServingHostInputSchema = z21.object({
|
|
3932
|
+
domain: z21.string().min(1),
|
|
3933
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
3934
|
+
basepath: z21.string().default("")
|
|
3935
|
+
});
|
|
3936
|
+
var ResolveStaticServingHostResponseSchema = z21.object({
|
|
3937
|
+
domain: z21.string(),
|
|
3938
|
+
basepath: z21.string(),
|
|
3939
|
+
/**
|
|
3940
|
+
* The hostname the static build is exported to and served from — always a
|
|
3941
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
3942
|
+
*/
|
|
3943
|
+
servingHost: z21.string(),
|
|
3944
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
3945
|
+
routable: z21.boolean(),
|
|
3946
|
+
/**
|
|
3947
|
+
* The deployment the serving host was derived from; absent when the site
|
|
3948
|
+
* has never published, in which case only its own hostname was available.
|
|
3949
|
+
*/
|
|
3950
|
+
deploymentId: z21.string().optional()
|
|
3951
|
+
});
|
|
3931
3952
|
var MigrateV2SiteSkipReasonSchema = z21.enum([
|
|
3932
3953
|
"not-registered",
|
|
3933
3954
|
"preview",
|
|
@@ -4571,7 +4592,8 @@ var docsLedgerContract = {
|
|
|
4571
4592
|
finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
4572
4593
|
archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
4573
4594
|
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)
|
|
4595
|
+
startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
|
|
4596
|
+
resolveStaticServingHost: oc11.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
|
|
4575
4597
|
};
|
|
4576
4598
|
var CurrentVersionInputSchema = z21.object({
|
|
4577
4599
|
domain: z21.string(),
|