@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 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 +40 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +40 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +40 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +40 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +48 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +44 -1
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/types/orpc-client/docs-ledger/contract.d.ts +190 -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
|
@@ -527,6 +527,8 @@ __export(orpc_client_exports, {
|
|
|
527
527
|
ReleaseTypeSchema: () => ReleaseTypeSchema,
|
|
528
528
|
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
529
529
|
RepositoryIdSchema: () => RepositoryIdSchema,
|
|
530
|
+
ResolveStaticServingHostInputSchema: () => ResolveStaticServingHostInputSchema,
|
|
531
|
+
ResolveStaticServingHostResponseSchema: () => ResolveStaticServingHostResponseSchema,
|
|
530
532
|
ResolvedDateRangeSchema: () => ResolvedDateRangeSchema,
|
|
531
533
|
RestProtocolSchema: () => RestProtocolSchema,
|
|
532
534
|
RevokeTokenInputSchema: () => RevokeTokenInputSchema,
|
|
@@ -571,6 +573,8 @@ __export(orpc_client_exports, {
|
|
|
571
573
|
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
572
574
|
StartLibraryDocsGenerationInputSchema: () => StartLibraryDocsGenerationInputSchema,
|
|
573
575
|
StartLibraryDocsGenerationResponseSchema: () => StartLibraryDocsGenerationResponseSchema,
|
|
576
|
+
StartStaticBuildInputSchema: () => StartStaticBuildInputSchema,
|
|
577
|
+
StartStaticBuildResponseSchema: () => StartStaticBuildResponseSchema,
|
|
574
578
|
StaticContentGroupBySchema: () => StaticContentGroupBySchema,
|
|
575
579
|
StaticContentTrafficInputSchema: () => StaticContentTrafficInputSchema,
|
|
576
580
|
StaticContentTrafficResponseSchema: () => StaticContentTrafficResponseSchema,
|
|
@@ -4838,6 +4842,43 @@ var MigrateV2SiteInputSchema = z22.object({
|
|
|
4838
4842
|
/** Convert again after a manual rollback left the row on a superseded ledger deployment. */
|
|
4839
4843
|
allowRemigration: z22.boolean().default(false)
|
|
4840
4844
|
});
|
|
4845
|
+
var StartStaticBuildInputSchema = z22.object({
|
|
4846
|
+
domain: z22.string().min(1),
|
|
4847
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
4848
|
+
basepath: z22.string().default("")
|
|
4849
|
+
});
|
|
4850
|
+
var StartStaticBuildResponseSchema = z22.object({
|
|
4851
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
4852
|
+
status: z22.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
|
|
4853
|
+
domain: z22.string(),
|
|
4854
|
+
basepath: z22.string(),
|
|
4855
|
+
/** The deployment being built, absent when the site has never published. */
|
|
4856
|
+
deploymentId: z22.string().optional(),
|
|
4857
|
+
jobName: z22.string().optional(),
|
|
4858
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
4859
|
+
host: z22.string().optional()
|
|
4860
|
+
});
|
|
4861
|
+
var ResolveStaticServingHostInputSchema = z22.object({
|
|
4862
|
+
domain: z22.string().min(1),
|
|
4863
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
4864
|
+
basepath: z22.string().default("")
|
|
4865
|
+
});
|
|
4866
|
+
var ResolveStaticServingHostResponseSchema = z22.object({
|
|
4867
|
+
domain: z22.string(),
|
|
4868
|
+
basepath: z22.string(),
|
|
4869
|
+
/**
|
|
4870
|
+
* The hostname the static build is exported to and served from — always a
|
|
4871
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
4872
|
+
*/
|
|
4873
|
+
servingHost: z22.string(),
|
|
4874
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
4875
|
+
routable: z22.boolean(),
|
|
4876
|
+
/**
|
|
4877
|
+
* The deployment the serving host was derived from; absent when the site
|
|
4878
|
+
* has never published, in which case only its own hostname was available.
|
|
4879
|
+
*/
|
|
4880
|
+
deploymentId: z22.string().optional()
|
|
4881
|
+
});
|
|
4841
4882
|
var MigrateV2SiteSkipReasonSchema = z22.enum([
|
|
4842
4883
|
"not-registered",
|
|
4843
4884
|
"preview",
|
|
@@ -5480,7 +5521,9 @@ var docsLedgerContract = {
|
|
|
5480
5521
|
previewRegister: import_contract21.oc.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
|
|
5481
5522
|
finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
|
|
5482
5523
|
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)
|
|
5524
|
+
migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
|
|
5525
|
+
startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
|
|
5526
|
+
resolveStaticServingHost: import_contract21.oc.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
|
|
5484
5527
|
};
|
|
5485
5528
|
var CurrentVersionInputSchema = z22.object({
|
|
5486
5529
|
domain: z22.string(),
|
|
@@ -7799,6 +7842,8 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7799
7842
|
ReleaseTypeSchema,
|
|
7800
7843
|
RemoveCustomDomainAliasInputSchema,
|
|
7801
7844
|
RepositoryIdSchema,
|
|
7845
|
+
ResolveStaticServingHostInputSchema,
|
|
7846
|
+
ResolveStaticServingHostResponseSchema,
|
|
7802
7847
|
ResolvedDateRangeSchema,
|
|
7803
7848
|
RestProtocolSchema,
|
|
7804
7849
|
RevokeTokenInputSchema,
|
|
@@ -7843,6 +7888,8 @@ var UpsertThemeBodySchema = z37.object({
|
|
|
7843
7888
|
StartDocsRegisterV2ResponseSchema,
|
|
7844
7889
|
StartLibraryDocsGenerationInputSchema,
|
|
7845
7890
|
StartLibraryDocsGenerationResponseSchema,
|
|
7891
|
+
StartStaticBuildInputSchema,
|
|
7892
|
+
StartStaticBuildResponseSchema,
|
|
7846
7893
|
StaticContentGroupBySchema,
|
|
7847
7894
|
StaticContentTrafficInputSchema,
|
|
7848
7895
|
StaticContentTrafficResponseSchema,
|