@fern-api/fdr-sdk 1.2.111-abaf2a77c8 → 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 +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
|
@@ -3965,6 +3965,27 @@ var StartStaticBuildResponseSchema = z21.object({
|
|
|
3965
3965
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
3966
3966
|
host: z21.string().optional()
|
|
3967
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
|
+
});
|
|
3968
3989
|
var MigrateV2SiteSkipReasonSchema = z21.enum([
|
|
3969
3990
|
"not-registered",
|
|
3970
3991
|
"preview",
|
|
@@ -4608,7 +4629,8 @@ var docsLedgerContract = {
|
|
|
4608
4629
|
finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
4609
4630
|
archiveSite: import_contract21.oc.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
4610
4631
|
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
4611
|
-
startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
|
|
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)
|
|
4612
4634
|
};
|
|
4613
4635
|
var CurrentVersionInputSchema = z21.object({
|
|
4614
4636
|
domain: z21.string(),
|