@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 1.2.112-abaf2a77c8
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 +18 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +18 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +18 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +18 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +22 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +20 -1
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +106 -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
package/dist/js/orpc-client.js
CHANGED
|
@@ -571,6 +571,8 @@ __export(orpc_client_exports, {
|
|
|
571
571
|
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
572
572
|
StartLibraryDocsGenerationInputSchema: () => StartLibraryDocsGenerationInputSchema,
|
|
573
573
|
StartLibraryDocsGenerationResponseSchema: () => StartLibraryDocsGenerationResponseSchema,
|
|
574
|
+
StartStaticBuildInputSchema: () => StartStaticBuildInputSchema,
|
|
575
|
+
StartStaticBuildResponseSchema: () => StartStaticBuildResponseSchema,
|
|
574
576
|
StaticContentGroupBySchema: () => StaticContentGroupBySchema,
|
|
575
577
|
StaticContentTrafficInputSchema: () => StaticContentTrafficInputSchema,
|
|
576
578
|
StaticContentTrafficResponseSchema: () => StaticContentTrafficResponseSchema,
|
|
@@ -4838,6 +4840,22 @@ var MigrateV2SiteInputSchema = z22.object({
|
|
|
4838
4840
|
/** Convert again after a manual rollback left the row on a superseded ledger deployment. */
|
|
4839
4841
|
allowRemigration: z22.boolean().default(false)
|
|
4840
4842
|
});
|
|
4843
|
+
var StartStaticBuildInputSchema = z22.object({
|
|
4844
|
+
domain: z22.string().min(1),
|
|
4845
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
4846
|
+
basepath: z22.string().default("")
|
|
4847
|
+
});
|
|
4848
|
+
var StartStaticBuildResponseSchema = z22.object({
|
|
4849
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
4850
|
+
status: z22.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
4851
|
+
domain: z22.string(),
|
|
4852
|
+
basepath: z22.string(),
|
|
4853
|
+
/** The deployment being built, absent when the site has never published. */
|
|
4854
|
+
deploymentId: z22.string().optional(),
|
|
4855
|
+
jobName: z22.string().optional(),
|
|
4856
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
4857
|
+
host: z22.string().optional()
|
|
4858
|
+
});
|
|
4841
4859
|
var MigrateV2SiteSkipReasonSchema = z22.enum([
|
|
4842
4860
|
"not-registered",
|
|
4843
4861
|
"preview",
|
|
@@ -5480,7 +5498,8 @@ var docsLedgerContract = {
|
|
|
5480
5498
|
previewRegister: import_contract21.oc.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
|
|
5481
5499
|
finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
5482
5500
|
archiveSite: import_contract21.oc.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
5483
|
-
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
|
|
5501
|
+
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
5502
|
+
startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
|
|
5484
5503
|
};
|
|
5485
5504
|
var CurrentVersionInputSchema = z22.object({
|
|
5486
5505
|
domain: z22.string(),
|
|
@@ -7843,6 +7862,8 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7843
7862
|
StartDocsRegisterV2ResponseSchema,
|
|
7844
7863
|
StartLibraryDocsGenerationInputSchema,
|
|
7845
7864
|
StartLibraryDocsGenerationResponseSchema,
|
|
7865
|
+
StartStaticBuildInputSchema,
|
|
7866
|
+
StartStaticBuildResponseSchema,
|
|
7846
7867
|
StaticContentGroupBySchema,
|
|
7847
7868
|
StaticContentTrafficInputSchema,
|
|
7848
7869
|
StaticContentTrafficResponseSchema,
|