@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
package/dist/js/index.js
CHANGED
|
@@ -9742,6 +9742,27 @@ var StartStaticBuildResponseSchema = z21.object({
|
|
|
9742
9742
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
9743
9743
|
host: z21.string().optional()
|
|
9744
9744
|
});
|
|
9745
|
+
var ResolveStaticServingHostInputSchema = z21.object({
|
|
9746
|
+
domain: z21.string().min(1),
|
|
9747
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
9748
|
+
basepath: z21.string().default("")
|
|
9749
|
+
});
|
|
9750
|
+
var ResolveStaticServingHostResponseSchema = z21.object({
|
|
9751
|
+
domain: z21.string(),
|
|
9752
|
+
basepath: z21.string(),
|
|
9753
|
+
/**
|
|
9754
|
+
* The hostname the static build is exported to and served from — always a
|
|
9755
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
9756
|
+
*/
|
|
9757
|
+
servingHost: z21.string(),
|
|
9758
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
9759
|
+
routable: z21.boolean(),
|
|
9760
|
+
/**
|
|
9761
|
+
* The deployment the serving host was derived from; absent when the site
|
|
9762
|
+
* has never published, in which case only its own hostname was available.
|
|
9763
|
+
*/
|
|
9764
|
+
deploymentId: z21.string().optional()
|
|
9765
|
+
});
|
|
9745
9766
|
var MigrateV2SiteSkipReasonSchema = z21.enum([
|
|
9746
9767
|
"not-registered",
|
|
9747
9768
|
"preview",
|
|
@@ -10385,7 +10406,8 @@ var docsLedgerContract = {
|
|
|
10385
10406
|
finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
10386
10407
|
archiveSite: import_contract21.oc.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
10387
10408
|
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
10388
|
-
startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
|
|
10409
|
+
startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
|
|
10410
|
+
resolveStaticServingHost: import_contract21.oc.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
|
|
10389
10411
|
};
|
|
10390
10412
|
var CurrentVersionInputSchema = z21.object({
|
|
10391
10413
|
domain: z21.string(),
|