@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.mjs
CHANGED
|
@@ -4141,6 +4141,22 @@ var MigrateV2SiteInputSchema = z22.object({
|
|
|
4141
4141
|
/** Convert again after a manual rollback left the row on a superseded ledger deployment. */
|
|
4142
4142
|
allowRemigration: z22.boolean().default(false)
|
|
4143
4143
|
});
|
|
4144
|
+
var StartStaticBuildInputSchema = z22.object({
|
|
4145
|
+
domain: z22.string().min(1),
|
|
4146
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
4147
|
+
basepath: z22.string().default("")
|
|
4148
|
+
});
|
|
4149
|
+
var StartStaticBuildResponseSchema = z22.object({
|
|
4150
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
4151
|
+
status: z22.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
4152
|
+
domain: z22.string(),
|
|
4153
|
+
basepath: z22.string(),
|
|
4154
|
+
/** The deployment being built, absent when the site has never published. */
|
|
4155
|
+
deploymentId: z22.string().optional(),
|
|
4156
|
+
jobName: z22.string().optional(),
|
|
4157
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
4158
|
+
host: z22.string().optional()
|
|
4159
|
+
});
|
|
4144
4160
|
var MigrateV2SiteSkipReasonSchema = z22.enum([
|
|
4145
4161
|
"not-registered",
|
|
4146
4162
|
"preview",
|
|
@@ -4783,7 +4799,8 @@ var docsLedgerContract = {
|
|
|
4783
4799
|
previewRegister: oc11.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
|
|
4784
4800
|
finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
4785
4801
|
archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
|
|
4786
|
-
migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
|
|
4802
|
+
migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
4803
|
+
startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
|
|
4787
4804
|
};
|
|
4788
4805
|
var CurrentVersionInputSchema = z22.object({
|
|
4789
4806
|
domain: z22.string(),
|
|
@@ -7145,6 +7162,8 @@ export {
|
|
|
7145
7162
|
StartDocsRegisterV2ResponseSchema,
|
|
7146
7163
|
StartLibraryDocsGenerationInputSchema,
|
|
7147
7164
|
StartLibraryDocsGenerationResponseSchema,
|
|
7165
|
+
StartStaticBuildInputSchema,
|
|
7166
|
+
StartStaticBuildResponseSchema,
|
|
7148
7167
|
StaticContentGroupBySchema,
|
|
7149
7168
|
StaticContentTrafficInputSchema,
|
|
7150
7169
|
StaticContentTrafficResponseSchema,
|