@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
|
@@ -124,6 +124,91 @@ export declare const MigrateV2SiteInputSchema: z.ZodObject<{
|
|
|
124
124
|
dryRun?: boolean | undefined;
|
|
125
125
|
allowRemigration?: boolean | undefined;
|
|
126
126
|
}>;
|
|
127
|
+
/**
|
|
128
|
+
* Input for `POST /static-build`: build a site's current deployment again
|
|
129
|
+
* without waiting for it to be republished. A Fern-operator action — the
|
|
130
|
+
* server restricts it to members of the `fern` org.
|
|
131
|
+
*/
|
|
132
|
+
export declare const StartStaticBuildInputSchema: z.ZodObject<{
|
|
133
|
+
domain: z.ZodString;
|
|
134
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
135
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
domain: string;
|
|
138
|
+
basepath: string;
|
|
139
|
+
}, {
|
|
140
|
+
domain: string;
|
|
141
|
+
basepath?: string | undefined;
|
|
142
|
+
}>;
|
|
143
|
+
export declare const StartStaticBuildResponseSchema: z.ZodObject<{
|
|
144
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
145
|
+
status: z.ZodEnum<["created", "already-running", "host-not-enabled", "disabled", "not-published"]>;
|
|
146
|
+
domain: z.ZodString;
|
|
147
|
+
basepath: z.ZodString;
|
|
148
|
+
/** The deployment being built, absent when the site has never published. */
|
|
149
|
+
deploymentId: z.ZodOptional<z.ZodString>;
|
|
150
|
+
jobName: z.ZodOptional<z.ZodString>;
|
|
151
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
152
|
+
host: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
|
|
155
|
+
domain: string;
|
|
156
|
+
basepath: string;
|
|
157
|
+
deploymentId?: string | undefined;
|
|
158
|
+
jobName?: string | undefined;
|
|
159
|
+
host?: string | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
|
|
162
|
+
domain: string;
|
|
163
|
+
basepath: string;
|
|
164
|
+
deploymentId?: string | undefined;
|
|
165
|
+
jobName?: string | undefined;
|
|
166
|
+
host?: string | undefined;
|
|
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
|
+
}>;
|
|
127
212
|
export declare const MigrateV2SiteSkipReasonSchema: z.ZodEnum<["not-registered", "preview", "already-ledger", "has-translations", "no-navigation"]>;
|
|
128
213
|
export declare const MigrateV2SiteResponseSchema: z.ZodDiscriminatedUnion<"outcome", [z.ZodObject<{
|
|
129
214
|
outcome: z.ZodLiteral<"skipped">;
|
|
@@ -4097,9 +4182,9 @@ export declare const LedgerConfigSchema: z.ZodObject<{
|
|
|
4097
4182
|
host: z.ZodDefault<z.ZodString>;
|
|
4098
4183
|
}, "strip", z.ZodTypeAny, {
|
|
4099
4184
|
branch: string;
|
|
4185
|
+
host: string;
|
|
4100
4186
|
owner: string;
|
|
4101
4187
|
repo: string;
|
|
4102
|
-
host: string;
|
|
4103
4188
|
}, {
|
|
4104
4189
|
owner: string;
|
|
4105
4190
|
repo: string;
|
|
@@ -5024,9 +5109,9 @@ export declare const LedgerConfigSchema: z.ZodObject<{
|
|
|
5024
5109
|
rootSlug?: string | undefined;
|
|
5025
5110
|
editThisPageGithub?: {
|
|
5026
5111
|
branch: string;
|
|
5112
|
+
host: string;
|
|
5027
5113
|
owner: string;
|
|
5028
5114
|
repo: string;
|
|
5029
|
-
host: string;
|
|
5030
5115
|
} | undefined;
|
|
5031
5116
|
}, {
|
|
5032
5117
|
js?: {
|
|
@@ -16017,9 +16102,9 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
16017
16102
|
host: z.ZodDefault<z.ZodString>;
|
|
16018
16103
|
}, "strip", z.ZodTypeAny, {
|
|
16019
16104
|
branch: string;
|
|
16105
|
+
host: string;
|
|
16020
16106
|
owner: string;
|
|
16021
16107
|
repo: string;
|
|
16022
|
-
host: string;
|
|
16023
16108
|
}, {
|
|
16024
16109
|
owner: string;
|
|
16025
16110
|
repo: string;
|
|
@@ -16944,9 +17029,9 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
16944
17029
|
rootSlug?: string | undefined;
|
|
16945
17030
|
editThisPageGithub?: {
|
|
16946
17031
|
branch: string;
|
|
17032
|
+
host: string;
|
|
16947
17033
|
owner: string;
|
|
16948
17034
|
repo: string;
|
|
16949
|
-
host: string;
|
|
16950
17035
|
} | undefined;
|
|
16951
17036
|
}, {
|
|
16952
17037
|
js?: {
|
|
@@ -18883,9 +18968,9 @@ export declare const DocsContentFieldsSchema: z.ZodObject<{
|
|
|
18883
18968
|
rootSlug?: string | undefined;
|
|
18884
18969
|
editThisPageGithub?: {
|
|
18885
18970
|
branch: string;
|
|
18971
|
+
host: string;
|
|
18886
18972
|
owner: string;
|
|
18887
18973
|
repo: string;
|
|
18888
|
-
host: string;
|
|
18889
18974
|
} | undefined;
|
|
18890
18975
|
} | undefined;
|
|
18891
18976
|
redirects?: {
|
|
@@ -23728,9 +23813,9 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
23728
23813
|
host: z.ZodDefault<z.ZodString>;
|
|
23729
23814
|
}, "strip", z.ZodTypeAny, {
|
|
23730
23815
|
branch: string;
|
|
23816
|
+
host: string;
|
|
23731
23817
|
owner: string;
|
|
23732
23818
|
repo: string;
|
|
23733
|
-
host: string;
|
|
23734
23819
|
}, {
|
|
23735
23820
|
owner: string;
|
|
23736
23821
|
repo: string;
|
|
@@ -24655,9 +24740,9 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
24655
24740
|
rootSlug?: string | undefined;
|
|
24656
24741
|
editThisPageGithub?: {
|
|
24657
24742
|
branch: string;
|
|
24743
|
+
host: string;
|
|
24658
24744
|
owner: string;
|
|
24659
24745
|
repo: string;
|
|
24660
|
-
host: string;
|
|
24661
24746
|
} | undefined;
|
|
24662
24747
|
}, {
|
|
24663
24748
|
js?: {
|
|
@@ -26585,9 +26670,9 @@ declare const LocaleEntrySchemaInternal: z.ZodObject<{
|
|
|
26585
26670
|
rootSlug?: string | undefined;
|
|
26586
26671
|
editThisPageGithub?: {
|
|
26587
26672
|
branch: string;
|
|
26673
|
+
host: string;
|
|
26588
26674
|
owner: string;
|
|
26589
26675
|
repo: string;
|
|
26590
|
-
host: string;
|
|
26591
26676
|
} | undefined;
|
|
26592
26677
|
} | undefined;
|
|
26593
26678
|
redirects?: {
|
|
@@ -28543,9 +28628,9 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
28543
28628
|
rootSlug?: string | undefined;
|
|
28544
28629
|
editThisPageGithub?: {
|
|
28545
28630
|
branch: string;
|
|
28631
|
+
host: string;
|
|
28546
28632
|
owner: string;
|
|
28547
28633
|
repo: string;
|
|
28548
|
-
host: string;
|
|
28549
28634
|
} | undefined;
|
|
28550
28635
|
} | undefined;
|
|
28551
28636
|
redirects?: {
|
|
@@ -30472,9 +30557,9 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
30472
30557
|
rootSlug?: string | undefined;
|
|
30473
30558
|
editThisPageGithub?: {
|
|
30474
30559
|
branch: string;
|
|
30560
|
+
host: string;
|
|
30475
30561
|
owner: string;
|
|
30476
30562
|
repo: string;
|
|
30477
|
-
host: string;
|
|
30478
30563
|
} | undefined;
|
|
30479
30564
|
} | undefined;
|
|
30480
30565
|
redirects?: {
|
|
@@ -32412,9 +32497,9 @@ declare const DocsPublishInputSchemaInternal: z.ZodEffects<z.ZodObject<{
|
|
|
32412
32497
|
rootSlug?: string | undefined;
|
|
32413
32498
|
editThisPageGithub?: {
|
|
32414
32499
|
branch: string;
|
|
32500
|
+
host: string;
|
|
32415
32501
|
owner: string;
|
|
32416
32502
|
repo: string;
|
|
32417
|
-
host: string;
|
|
32418
32503
|
} | undefined;
|
|
32419
32504
|
} | undefined;
|
|
32420
32505
|
redirects?: {
|
|
@@ -37276,9 +37361,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
37276
37361
|
host: z.ZodDefault<z.ZodString>;
|
|
37277
37362
|
}, "strip", z.ZodTypeAny, {
|
|
37278
37363
|
branch: string;
|
|
37364
|
+
host: string;
|
|
37279
37365
|
owner: string;
|
|
37280
37366
|
repo: string;
|
|
37281
|
-
host: string;
|
|
37282
37367
|
}, {
|
|
37283
37368
|
owner: string;
|
|
37284
37369
|
repo: string;
|
|
@@ -38203,9 +38288,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
38203
38288
|
rootSlug?: string | undefined;
|
|
38204
38289
|
editThisPageGithub?: {
|
|
38205
38290
|
branch: string;
|
|
38291
|
+
host: string;
|
|
38206
38292
|
owner: string;
|
|
38207
38293
|
repo: string;
|
|
38208
|
-
host: string;
|
|
38209
38294
|
} | undefined;
|
|
38210
38295
|
}, {
|
|
38211
38296
|
js?: {
|
|
@@ -40154,9 +40239,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
40154
40239
|
rootSlug?: string | undefined;
|
|
40155
40240
|
editThisPageGithub?: {
|
|
40156
40241
|
branch: string;
|
|
40242
|
+
host: string;
|
|
40157
40243
|
owner: string;
|
|
40158
40244
|
repo: string;
|
|
40159
|
-
host: string;
|
|
40160
40245
|
} | undefined;
|
|
40161
40246
|
} | undefined;
|
|
40162
40247
|
redirects?: {
|
|
@@ -42073,9 +42158,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
42073
42158
|
rootSlug?: string | undefined;
|
|
42074
42159
|
editThisPageGithub?: {
|
|
42075
42160
|
branch: string;
|
|
42161
|
+
host: string;
|
|
42076
42162
|
owner: string;
|
|
42077
42163
|
repo: string;
|
|
42078
|
-
host: string;
|
|
42079
42164
|
} | undefined;
|
|
42080
42165
|
} | undefined;
|
|
42081
42166
|
redirects?: {
|
|
@@ -43042,9 +43127,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
43042
43127
|
rootSlug?: string | undefined;
|
|
43043
43128
|
editThisPageGithub?: {
|
|
43044
43129
|
branch: string;
|
|
43130
|
+
host: string;
|
|
43045
43131
|
owner: string;
|
|
43046
43132
|
repo: string;
|
|
43047
|
-
host: string;
|
|
43048
43133
|
} | undefined;
|
|
43049
43134
|
} | undefined;
|
|
43050
43135
|
redirects?: {
|
|
@@ -45927,9 +46012,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
45927
46012
|
rootSlug?: string | undefined;
|
|
45928
46013
|
editThisPageGithub?: {
|
|
45929
46014
|
branch: string;
|
|
46015
|
+
host: string;
|
|
45930
46016
|
owner: string;
|
|
45931
46017
|
repo: string;
|
|
45932
|
-
host: string;
|
|
45933
46018
|
} | undefined;
|
|
45934
46019
|
} | undefined;
|
|
45935
46020
|
redirects?: {
|
|
@@ -46896,9 +46981,9 @@ declare const LedgerPreviewRegisterInputSchemaInternal: z.ZodEffects<z.ZodObject
|
|
|
46896
46981
|
rootSlug?: string | undefined;
|
|
46897
46982
|
editThisPageGithub?: {
|
|
46898
46983
|
branch: string;
|
|
46984
|
+
host: string;
|
|
46899
46985
|
owner: string;
|
|
46900
46986
|
repo: string;
|
|
46901
|
-
host: string;
|
|
46902
46987
|
} | undefined;
|
|
46903
46988
|
} | undefined;
|
|
46904
46989
|
redirects?: {
|
|
@@ -48915,6 +49000,10 @@ export type ArchiveSiteInput = z.infer<typeof ArchiveSiteInputSchema>;
|
|
|
48915
49000
|
export type ArchiveSiteResponse = z.infer<typeof ArchiveSiteResponseSchema>;
|
|
48916
49001
|
export type MigrateV2SiteInput = z.output<typeof MigrateV2SiteInputSchema>;
|
|
48917
49002
|
export type MigrateV2SiteResponse = z.infer<typeof MigrateV2SiteResponseSchema>;
|
|
49003
|
+
export type StartStaticBuildInput = z.output<typeof StartStaticBuildInputSchema>;
|
|
49004
|
+
export type StartStaticBuildResponse = z.infer<typeof StartStaticBuildResponseSchema>;
|
|
49005
|
+
export type ResolveStaticServingHostInput = z.output<typeof ResolveStaticServingHostInputSchema>;
|
|
49006
|
+
export type ResolveStaticServingHostResponse = z.infer<typeof ResolveStaticServingHostResponseSchema>;
|
|
48918
49007
|
export type LedgerPreviewRegisterResponse = z.infer<typeof LedgerPreviewRegisterResponseSchema>;
|
|
48919
49008
|
export declare const docsLedgerContract: {
|
|
48920
49009
|
register: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodType<{
|
|
@@ -49849,9 +49938,9 @@ export declare const docsLedgerContract: {
|
|
|
49849
49938
|
rootSlug?: string | undefined;
|
|
49850
49939
|
editThisPageGithub?: {
|
|
49851
49940
|
branch: string;
|
|
49941
|
+
host: string;
|
|
49852
49942
|
owner: string;
|
|
49853
49943
|
repo: string;
|
|
49854
|
-
host: string;
|
|
49855
49944
|
} | undefined;
|
|
49856
49945
|
} | undefined;
|
|
49857
49946
|
redirects?: {
|
|
@@ -51804,9 +51893,9 @@ export declare const docsLedgerContract: {
|
|
|
51804
51893
|
rootSlug?: string | undefined;
|
|
51805
51894
|
editThisPageGithub?: {
|
|
51806
51895
|
branch: string;
|
|
51896
|
+
host: string;
|
|
51807
51897
|
owner: string;
|
|
51808
51898
|
repo: string;
|
|
51809
|
-
host: string;
|
|
51810
51899
|
} | undefined;
|
|
51811
51900
|
} | undefined;
|
|
51812
51901
|
redirects?: {
|
|
@@ -52773,9 +52862,9 @@ export declare const docsLedgerContract: {
|
|
|
52773
52862
|
rootSlug?: string | undefined;
|
|
52774
52863
|
editThisPageGithub?: {
|
|
52775
52864
|
branch: string;
|
|
52865
|
+
host: string;
|
|
52776
52866
|
owner: string;
|
|
52777
52867
|
repo: string;
|
|
52778
|
-
host: string;
|
|
52779
52868
|
} | undefined;
|
|
52780
52869
|
} | undefined;
|
|
52781
52870
|
redirects?: {
|
|
@@ -55709,9 +55798,9 @@ export declare const docsLedgerContract: {
|
|
|
55709
55798
|
rootSlug?: string | undefined;
|
|
55710
55799
|
editThisPageGithub?: {
|
|
55711
55800
|
branch: string;
|
|
55801
|
+
host: string;
|
|
55712
55802
|
owner: string;
|
|
55713
55803
|
repo: string;
|
|
55714
|
-
host: string;
|
|
55715
55804
|
} | undefined;
|
|
55716
55805
|
} | undefined;
|
|
55717
55806
|
redirects?: {
|
|
@@ -56844,6 +56933,79 @@ export declare const docsLedgerContract: {
|
|
|
56844
56933
|
deploymentId: string;
|
|
56845
56934
|
outcome: "migrated";
|
|
56846
56935
|
}>]>, Record<never, never>, Record<never, never>>;
|
|
56936
|
+
startStaticBuild: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
56937
|
+
domain: z.ZodString;
|
|
56938
|
+
/** "" for a root site, otherwise a leading-slash basepath. */
|
|
56939
|
+
basepath: z.ZodDefault<z.ZodString>;
|
|
56940
|
+
}, "strip", z.ZodTypeAny, {
|
|
56941
|
+
domain: string;
|
|
56942
|
+
basepath: string;
|
|
56943
|
+
}, {
|
|
56944
|
+
domain: string;
|
|
56945
|
+
basepath?: string | undefined;
|
|
56946
|
+
}>, z.ZodObject<{
|
|
56947
|
+
/** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
|
|
56948
|
+
status: z.ZodEnum<["created", "already-running", "host-not-enabled", "disabled", "not-published"]>;
|
|
56949
|
+
domain: z.ZodString;
|
|
56950
|
+
basepath: z.ZodString;
|
|
56951
|
+
/** The deployment being built, absent when the site has never published. */
|
|
56952
|
+
deploymentId: z.ZodOptional<z.ZodString>;
|
|
56953
|
+
jobName: z.ZodOptional<z.ZodString>;
|
|
56954
|
+
/** The host the build is exported to and served from, which may not be `domain`. */
|
|
56955
|
+
host: z.ZodOptional<z.ZodString>;
|
|
56956
|
+
}, "strip", z.ZodTypeAny, {
|
|
56957
|
+
status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
|
|
56958
|
+
domain: string;
|
|
56959
|
+
basepath: string;
|
|
56960
|
+
deploymentId?: string | undefined;
|
|
56961
|
+
jobName?: string | undefined;
|
|
56962
|
+
host?: string | undefined;
|
|
56963
|
+
}, {
|
|
56964
|
+
status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
|
|
56965
|
+
domain: string;
|
|
56966
|
+
basepath: string;
|
|
56967
|
+
deploymentId?: string | undefined;
|
|
56968
|
+
jobName?: string | undefined;
|
|
56969
|
+
host?: string | undefined;
|
|
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>>;
|
|
56847
57009
|
};
|
|
56848
57010
|
export declare const CurrentVersionInputSchema: z.ZodObject<{
|
|
56849
57011
|
domain: z.ZodString;
|
|
@@ -60815,9 +60977,9 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
60815
60977
|
host: z.ZodDefault<z.ZodString>;
|
|
60816
60978
|
}, "strip", z.ZodTypeAny, {
|
|
60817
60979
|
branch: string;
|
|
60980
|
+
host: string;
|
|
60818
60981
|
owner: string;
|
|
60819
60982
|
repo: string;
|
|
60820
|
-
host: string;
|
|
60821
60983
|
}, {
|
|
60822
60984
|
owner: string;
|
|
60823
60985
|
repo: string;
|
|
@@ -61742,9 +61904,9 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
61742
61904
|
rootSlug?: string | undefined;
|
|
61743
61905
|
editThisPageGithub?: {
|
|
61744
61906
|
branch: string;
|
|
61907
|
+
host: string;
|
|
61745
61908
|
owner: string;
|
|
61746
61909
|
repo: string;
|
|
61747
|
-
host: string;
|
|
61748
61910
|
} | undefined;
|
|
61749
61911
|
}, {
|
|
61750
61912
|
js?: {
|
|
@@ -65159,9 +65321,9 @@ export declare const VersionMetadataResponseSchema: z.ZodObject<{
|
|
|
65159
65321
|
rootSlug?: string | undefined;
|
|
65160
65322
|
editThisPageGithub?: {
|
|
65161
65323
|
branch: string;
|
|
65324
|
+
host: string;
|
|
65162
65325
|
owner: string;
|
|
65163
65326
|
repo: string;
|
|
65164
|
-
host: string;
|
|
65165
65327
|
} | undefined;
|
|
65166
65328
|
} | null;
|
|
65167
65329
|
cssInline: {
|
|
@@ -83343,9 +83505,9 @@ export declare const docsLedgerReadContract: {
|
|
|
83343
83505
|
host: z.ZodDefault<z.ZodString>;
|
|
83344
83506
|
}, "strip", z.ZodTypeAny, {
|
|
83345
83507
|
branch: string;
|
|
83508
|
+
host: string;
|
|
83346
83509
|
owner: string;
|
|
83347
83510
|
repo: string;
|
|
83348
|
-
host: string;
|
|
83349
83511
|
}, {
|
|
83350
83512
|
owner: string;
|
|
83351
83513
|
repo: string;
|
|
@@ -84270,9 +84432,9 @@ export declare const docsLedgerReadContract: {
|
|
|
84270
84432
|
rootSlug?: string | undefined;
|
|
84271
84433
|
editThisPageGithub?: {
|
|
84272
84434
|
branch: string;
|
|
84435
|
+
host: string;
|
|
84273
84436
|
owner: string;
|
|
84274
84437
|
repo: string;
|
|
84275
|
-
host: string;
|
|
84276
84438
|
} | undefined;
|
|
84277
84439
|
}, {
|
|
84278
84440
|
js?: {
|
|
@@ -87687,9 +87849,9 @@ export declare const docsLedgerReadContract: {
|
|
|
87687
87849
|
rootSlug?: string | undefined;
|
|
87688
87850
|
editThisPageGithub?: {
|
|
87689
87851
|
branch: string;
|
|
87852
|
+
host: string;
|
|
87690
87853
|
owner: string;
|
|
87691
87854
|
repo: string;
|
|
87692
|
-
host: string;
|
|
87693
87855
|
} | undefined;
|
|
87694
87856
|
} | null;
|
|
87695
87857
|
cssInline: {
|