@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
package/dist/js/index.mjs
CHANGED
|
@@ -9679,6 +9679,27 @@ var StartStaticBuildResponseSchema = z21.object({
|
|
|
9679
9679
|
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
9680
9680
|
host: z21.string().optional()
|
|
9681
9681
|
});
|
|
9682
|
+
var ResolveStaticServingHostInputSchema = z21.object({
|
|
9683
|
+
domain: z21.string().min(1),
|
|
9684
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
9685
|
+
basepath: z21.string().default("")
|
|
9686
|
+
});
|
|
9687
|
+
var ResolveStaticServingHostResponseSchema = z21.object({
|
|
9688
|
+
domain: z21.string(),
|
|
9689
|
+
basepath: z21.string(),
|
|
9690
|
+
/**
|
|
9691
|
+
* The hostname the static build is exported to and served from — always a
|
|
9692
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
9693
|
+
*/
|
|
9694
|
+
servingHost: z21.string(),
|
|
9695
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
9696
|
+
routable: z21.boolean(),
|
|
9697
|
+
/**
|
|
9698
|
+
* The deployment the serving host was derived from; absent when the site
|
|
9699
|
+
* has never published, in which case only its own hostname was available.
|
|
9700
|
+
*/
|
|
9701
|
+
deploymentId: z21.string().optional()
|
|
9702
|
+
});
|
|
9682
9703
|
var MigrateV2SiteSkipReasonSchema = z21.enum([
|
|
9683
9704
|
"not-registered",
|
|
9684
9705
|
"preview",
|
|
@@ -10322,7 +10343,8 @@ var docsLedgerContract = {
|
|
|
10322
10343
|
finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
10323
10344
|
archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
10324
10345
|
migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
10325
|
-
startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
|
|
10346
|
+
startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
|
|
10347
|
+
resolveStaticServingHost: oc11.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
|
|
10326
10348
|
};
|
|
10327
10349
|
var CurrentVersionInputSchema = z21.object({
|
|
10328
10350
|
domain: z21.string(),
|