@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
|
@@ -165,6 +165,50 @@ export declare const StartStaticBuildResponseSchema: z.ZodObject<{
|
|
|
165
165
|
jobName?: string | undefined;
|
|
166
166
|
host?: string | undefined;
|
|
167
167
|
}>;
|
|
168
|
+
/**
|
|
169
|
+
* Input for `POST /static-build/serving-host`: which hostname this
|
|
170
|
+
* environment's docs-router serves a site's static builds from. Also a
|
|
171
|
+
* Fern-operator action — it reads another org's ledger.
|
|
172
|
+
*/
|
|
173
|
+
export declare const ResolveStaticServingHostInputSchema: z.ZodObject<{
|
|
174
|
+
domain: z.ZodString;
|
|
175
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
176
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
domain: string;
|
|
179
|
+
basepath: string;
|
|
180
|
+
}, {
|
|
181
|
+
domain: string;
|
|
182
|
+
basepath?: string | undefined;
|
|
183
|
+
}>;
|
|
184
|
+
export declare const ResolveStaticServingHostResponseSchema: z.ZodObject<{
|
|
185
|
+
domain: z.ZodString;
|
|
186
|
+
basepath: z.ZodString;
|
|
187
|
+
/**
|
|
188
|
+
* The hostname the static build is exported to and served from — always a
|
|
189
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
190
|
+
*/
|
|
191
|
+
servingHost: z.ZodString;
|
|
192
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
193
|
+
routable: z.ZodBoolean;
|
|
194
|
+
/**
|
|
195
|
+
* The deployment the serving host was derived from; absent when the site
|
|
196
|
+
* has never published, in which case only its own hostname was available.
|
|
197
|
+
*/
|
|
198
|
+
deploymentId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
domain: string;
|
|
201
|
+
basepath: string;
|
|
202
|
+
servingHost: string;
|
|
203
|
+
routable: boolean;
|
|
204
|
+
deploymentId?: string | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
domain: string;
|
|
207
|
+
basepath: string;
|
|
208
|
+
servingHost: string;
|
|
209
|
+
routable: boolean;
|
|
210
|
+
deploymentId?: string | undefined;
|
|
211
|
+
}>;
|
|
168
212
|
export declare const MigrateV2SiteSkipReasonSchema: z.ZodEnum<["not-registered", "preview", "already-ledger", "has-translations", "no-navigation"]>;
|
|
169
213
|
export declare const MigrateV2SiteResponseSchema: z.ZodDiscriminatedUnion<"outcome", [z.ZodObject<{
|
|
170
214
|
outcome: z.ZodLiteral<"skipped">;
|
|
@@ -48958,6 +49002,8 @@ export type MigrateV2SiteInput = z.output<typeof MigrateV2SiteInputSchema>;
|
|
|
48958
49002
|
export type MigrateV2SiteResponse = z.infer<typeof MigrateV2SiteResponseSchema>;
|
|
48959
49003
|
export type StartStaticBuildInput = z.output<typeof StartStaticBuildInputSchema>;
|
|
48960
49004
|
export type StartStaticBuildResponse = z.infer<typeof StartStaticBuildResponseSchema>;
|
|
49005
|
+
export type ResolveStaticServingHostInput = z.output<typeof ResolveStaticServingHostInputSchema>;
|
|
49006
|
+
export type ResolveStaticServingHostResponse = z.infer<typeof ResolveStaticServingHostResponseSchema>;
|
|
48961
49007
|
export type LedgerPreviewRegisterResponse = z.infer<typeof LedgerPreviewRegisterResponseSchema>;
|
|
48962
49008
|
export declare const docsLedgerContract: {
|
|
48963
49009
|
register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodType<{
|
|
@@ -56922,6 +56968,44 @@ export declare const docsLedgerContract: {
|
|
|
56922
56968
|
jobName?: string | undefined;
|
|
56923
56969
|
host?: string | undefined;
|
|
56924
56970
|
}>, Record<never, never>, Record<never, never>>;
|
|
56971
|
+
resolveStaticServingHost: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
56972
|
+
domain: z.ZodString;
|
|
56973
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
56974
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
56975
|
+
}, "strip", z.ZodTypeAny, {
|
|
56976
|
+
domain: string;
|
|
56977
|
+
basepath: string;
|
|
56978
|
+
}, {
|
|
56979
|
+
domain: string;
|
|
56980
|
+
basepath?: string | undefined;
|
|
56981
|
+
}>, z.ZodObject<{
|
|
56982
|
+
domain: z.ZodString;
|
|
56983
|
+
basepath: z.ZodString;
|
|
56984
|
+
/**
|
|
56985
|
+
* The hostname the static build is exported to and served from — always a
|
|
56986
|
+
* hostname Fern owns for a published site, even one on a customer's domain.
|
|
56987
|
+
*/
|
|
56988
|
+
servingHost: z.ZodString;
|
|
56989
|
+
/** False when nothing routes to the serving host, so cutting over would serve nothing. */
|
|
56990
|
+
routable: z.ZodBoolean;
|
|
56991
|
+
/**
|
|
56992
|
+
* The deployment the serving host was derived from; absent when the site
|
|
56993
|
+
* has never published, in which case only its own hostname was available.
|
|
56994
|
+
*/
|
|
56995
|
+
deploymentId: z.ZodOptional<z.ZodString>;
|
|
56996
|
+
}, "strip", z.ZodTypeAny, {
|
|
56997
|
+
domain: string;
|
|
56998
|
+
basepath: string;
|
|
56999
|
+
servingHost: string;
|
|
57000
|
+
routable: boolean;
|
|
57001
|
+
deploymentId?: string | undefined;
|
|
57002
|
+
}, {
|
|
57003
|
+
domain: string;
|
|
57004
|
+
basepath: string;
|
|
57005
|
+
servingHost: string;
|
|
57006
|
+
routable: boolean;
|
|
57007
|
+
deploymentId?: string | undefined;
|
|
57008
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
56925
57009
|
};
|
|
56926
57010
|
export declare const CurrentVersionInputSchema: z.ZodObject<{
|
|
56927
57011
|
domain: z.ZodString;
|