@fern-api/fdr-sdk 1.2.54-6737dc66b0 → 1.2.54-efc419b23b
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 +1495 -1455
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +1495 -1455
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/converters/index.js +300 -302
- package/dist/js/converters/index.js.map +1 -1
- package/dist/js/converters/index.mjs +300 -302
- package/dist/js/converters/index.mjs.map +1 -1
- package/dist/js/index.js +1819 -1779
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +1816 -1776
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/navigation/index.js +300 -302
- package/dist/js/navigation/index.js.map +1 -1
- package/dist/js/navigation/index.mjs +300 -302
- package/dist/js/navigation/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +1507 -1506
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +1506 -1505
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/orpc-client/docs/client.d.ts +2 -0
- package/dist/orpc-client/docs/client.d.ts.map +1 -1
- package/dist/orpc-client/docs/client.js +3 -1
- package/dist/orpc-client/docs/client.js.map +1 -1
- package/dist/orpc-client/docs/v2/write/contract.d.ts +6 -6
- package/dist/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/orpc-client/docs/client.d.ts +2 -0
- package/dist/types/orpc-client/docs/client.d.ts.map +1 -1
- package/dist/types/orpc-client/docs/v2/write/contract.d.ts +6 -6
- package/dist/types/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3163,346 +3163,226 @@ var LoadDocsForUrlResponseSchema = z8.object({
|
|
|
3163
3163
|
translations: z8.array(z8.string()).optional()
|
|
3164
3164
|
});
|
|
3165
3165
|
|
|
3166
|
-
// src/orpc-client/docs/v2/read/contract.ts
|
|
3167
|
-
var contract_exports = {};
|
|
3168
|
-
__export(contract_exports, {
|
|
3169
|
-
DocsDefinitionField: () => DocsDefinitionField,
|
|
3170
|
-
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
3171
|
-
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
3172
|
-
DocsReadDefinitionSchema: () => DocsDefinitionSchema,
|
|
3173
|
-
GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
|
|
3174
|
-
GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
|
|
3175
|
-
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
3176
|
-
GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
|
|
3177
|
-
GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
|
|
3178
|
-
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
3179
|
-
ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
|
|
3180
|
-
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
3181
|
-
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
3182
|
-
docsV2ReadContract: () => docsV2ReadContract,
|
|
3183
|
-
getDocsForUrl: () => getDocsForUrl
|
|
3184
|
-
});
|
|
3185
|
-
import { oc } from "@orpc/contract";
|
|
3186
|
-
import * as z9 from "zod";
|
|
3187
|
-
var GetDocsUrlMetadataInputSchema = z9.object({
|
|
3188
|
-
url: z9.string()
|
|
3189
|
-
});
|
|
3190
|
-
var GetDocsUrlMetadataResponseSchema = z9.object({
|
|
3191
|
-
isPreviewUrl: z9.boolean(),
|
|
3192
|
-
org: z9.string(),
|
|
3193
|
-
url: z9.string(),
|
|
3194
|
-
gitUrl: z9.string().nullish(),
|
|
3195
|
-
enableAlgoliaOnPreview: z9.boolean().nullish()
|
|
3196
|
-
});
|
|
3197
|
-
var GetDocsForUrlInputSchema = z9.object({
|
|
3198
|
-
url: z9.string(),
|
|
3199
|
-
excludeApis: z9.boolean().nullish()
|
|
3200
|
-
});
|
|
3201
|
-
var GetPrivateDocsForUrlInputSchema = z9.object({
|
|
3202
|
-
url: z9.string()
|
|
3203
|
-
});
|
|
3204
|
-
var ListAllDocsUrlsInputSchema = z9.object({
|
|
3205
|
-
limit: z9.number().nullish(),
|
|
3206
|
-
page: z9.number().nullish(),
|
|
3207
|
-
custom: z9.boolean().nullish(),
|
|
3208
|
-
preview: z9.boolean().nullish()
|
|
3209
|
-
});
|
|
3210
|
-
var GetDocsConfigByIdInputSchema = z9.object({
|
|
3211
|
-
docsConfigId: z9.string()
|
|
3212
|
-
});
|
|
3213
|
-
var DocsDefinitionField = {
|
|
3214
|
-
BaseUrl: "BASE_URL",
|
|
3215
|
-
FilesV2: "FILES_V2",
|
|
3216
|
-
ApisV2: "APIS_V2",
|
|
3217
|
-
Apis: "APIS",
|
|
3218
|
-
Pages: "PAGES",
|
|
3219
|
-
JsFiles: "JS_FILES",
|
|
3220
|
-
Config: "CONFIG",
|
|
3221
|
-
Root: "ROOT"
|
|
3222
|
-
};
|
|
3223
|
-
var GetDocsConfigByIdResponseSchema = z9.object({
|
|
3224
|
-
docsConfig: DocsConfigSchema,
|
|
3225
|
-
apis: z9.record(z9.string(), z9.unknown())
|
|
3226
|
-
});
|
|
3227
|
-
var DocsDomainItemSchema = z9.object({
|
|
3228
|
-
domain: z9.string(),
|
|
3229
|
-
basePath: z9.string().optional(),
|
|
3230
|
-
organizationId: z9.string(),
|
|
3231
|
-
updatedAt: z9.string()
|
|
3232
|
-
});
|
|
3233
|
-
var ListAllDocsUrlsResponseSchema = z9.object({
|
|
3234
|
-
urls: z9.array(DocsDomainItemSchema)
|
|
3235
|
-
});
|
|
3236
|
-
var getDocsForUrl;
|
|
3237
|
-
((getDocsForUrl2) => {
|
|
3238
|
-
let Error2;
|
|
3239
|
-
((Error3) => {
|
|
3240
|
-
function _unknown(fetcherError) {
|
|
3241
|
-
return { error: void 0, content: fetcherError };
|
|
3242
|
-
}
|
|
3243
|
-
Error3._unknown = _unknown;
|
|
3244
|
-
})(Error2 = getDocsForUrl2.Error || (getDocsForUrl2.Error = {}));
|
|
3245
|
-
})(getDocsForUrl || (getDocsForUrl = {}));
|
|
3246
|
-
var docsV2ReadContract = {
|
|
3247
|
-
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
|
|
3248
|
-
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
3249
|
-
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
3250
|
-
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
3251
|
-
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
3252
|
-
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z9.void()),
|
|
3253
|
-
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z9.void()),
|
|
3254
|
-
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(z9.void())
|
|
3255
|
-
};
|
|
3256
|
-
|
|
3257
|
-
// src/orpc-client/docs/v2/write/contract.ts
|
|
3258
|
-
var contract_exports2 = {};
|
|
3259
|
-
__export(contract_exports2, {
|
|
3260
|
-
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
|
|
3261
|
-
AuthConfigSchema: () => AuthConfigSchema,
|
|
3262
|
-
Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
|
|
3263
|
-
DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
|
|
3264
|
-
FilePath: () => FilePath2,
|
|
3265
|
-
FilePathInputSchema: () => FilePathInputSchema,
|
|
3266
|
-
FilePathSchema: () => FilePathSchema2,
|
|
3267
|
-
FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
|
|
3268
|
-
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
|
|
3269
|
-
ImageFilePathSchema: () => ImageFilePathSchema,
|
|
3270
|
-
ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
|
|
3271
|
-
RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
|
|
3272
|
-
RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
|
|
3273
|
-
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
3274
|
-
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
3275
|
-
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
3276
|
-
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
|
|
3277
|
-
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
|
|
3278
|
-
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
|
|
3279
|
-
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
3280
|
-
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
3281
|
-
docsV2WriteContract: () => docsV2WriteContract
|
|
3282
|
-
});
|
|
3283
|
-
import { oc as oc2 } from "@orpc/contract";
|
|
3284
|
-
import * as z12 from "zod";
|
|
3285
|
-
|
|
3286
3166
|
// src/client/docs-types/write.ts
|
|
3287
|
-
import * as
|
|
3167
|
+
import * as z10 from "zod";
|
|
3288
3168
|
|
|
3289
3169
|
// src/client/docs-types/write-commons.ts
|
|
3290
|
-
import * as
|
|
3291
|
-
var OrgIdSchema2 =
|
|
3170
|
+
import * as z9 from "zod";
|
|
3171
|
+
var OrgIdSchema2 = z9.string();
|
|
3292
3172
|
function OrgId2(value) {
|
|
3293
3173
|
return value;
|
|
3294
3174
|
}
|
|
3295
3175
|
|
|
3296
3176
|
// src/client/docs-types/write.ts
|
|
3297
|
-
var FilePathSchema =
|
|
3177
|
+
var FilePathSchema = z10.string();
|
|
3298
3178
|
function FilePath(value) {
|
|
3299
3179
|
return value;
|
|
3300
3180
|
}
|
|
3301
|
-
var DocsRegistrationIdSchema =
|
|
3181
|
+
var DocsRegistrationIdSchema = z10.string();
|
|
3302
3182
|
function DocsRegistrationId(value) {
|
|
3303
3183
|
return value;
|
|
3304
3184
|
}
|
|
3305
|
-
var HeightSchema2 =
|
|
3306
|
-
var FileS3UploadUrlSchema =
|
|
3307
|
-
uploadUrl:
|
|
3185
|
+
var HeightSchema2 = z10.number();
|
|
3186
|
+
var FileS3UploadUrlSchema = z10.object({
|
|
3187
|
+
uploadUrl: z10.string(),
|
|
3308
3188
|
fileId: FileIdSchema2
|
|
3309
3189
|
});
|
|
3310
|
-
var StartDocsRegisterResponseSchema =
|
|
3190
|
+
var StartDocsRegisterResponseSchema = z10.object({
|
|
3311
3191
|
docsRegistrationId: DocsRegistrationIdSchema,
|
|
3312
|
-
uploadUrls:
|
|
3313
|
-
skippedFiles:
|
|
3192
|
+
uploadUrls: z10.record(FilePathSchema, FileS3UploadUrlSchema),
|
|
3193
|
+
skippedFiles: z10.array(FilePathSchema)
|
|
3314
3194
|
});
|
|
3315
|
-
var PageContentSchema2 =
|
|
3316
|
-
markdown:
|
|
3195
|
+
var PageContentSchema2 = z10.object({
|
|
3196
|
+
markdown: z10.string(),
|
|
3317
3197
|
editThisPageUrl: UrlSchema2.optional(),
|
|
3318
3198
|
editThisPageLaunch: EditThisPageLaunchSchema.optional(),
|
|
3319
|
-
rawMarkdown:
|
|
3199
|
+
rawMarkdown: z10.string().optional()
|
|
3320
3200
|
});
|
|
3321
|
-
var NavigationNodeMetadataSchema2 =
|
|
3322
|
-
icon:
|
|
3323
|
-
hidden:
|
|
3324
|
-
urlSlugOverride:
|
|
3325
|
-
fullSlug:
|
|
3201
|
+
var NavigationNodeMetadataSchema2 = z10.object({
|
|
3202
|
+
icon: z10.string().optional(),
|
|
3203
|
+
hidden: z10.boolean().optional(),
|
|
3204
|
+
urlSlugOverride: z10.string().optional(),
|
|
3205
|
+
fullSlug: z10.array(z10.string()).optional()
|
|
3326
3206
|
});
|
|
3327
|
-
var PageMetadataSchema2 =
|
|
3207
|
+
var PageMetadataSchema2 = z10.object({
|
|
3328
3208
|
...NavigationNodeMetadataSchema2.shape,
|
|
3329
3209
|
id: PageIdSchema2,
|
|
3330
|
-
title:
|
|
3210
|
+
title: z10.string()
|
|
3331
3211
|
});
|
|
3332
|
-
var LinkMetadataSchema2 =
|
|
3333
|
-
title:
|
|
3334
|
-
icon:
|
|
3212
|
+
var LinkMetadataSchema2 = z10.object({
|
|
3213
|
+
title: z10.string(),
|
|
3214
|
+
icon: z10.string().optional(),
|
|
3335
3215
|
url: UrlSchema2,
|
|
3336
3216
|
target: LinkTargetSchema.optional()
|
|
3337
3217
|
});
|
|
3338
|
-
var ChangelogItemSchema2 =
|
|
3339
|
-
date:
|
|
3218
|
+
var ChangelogItemSchema2 = z10.object({
|
|
3219
|
+
date: z10.string(),
|
|
3340
3220
|
pageId: PageIdSchema2,
|
|
3341
|
-
hidden:
|
|
3342
|
-
tags:
|
|
3343
|
-
});
|
|
3344
|
-
var ChangelogSectionSchema2 =
|
|
3345
|
-
title:
|
|
3346
|
-
icon:
|
|
3347
|
-
hidden:
|
|
3348
|
-
description:
|
|
3221
|
+
hidden: z10.boolean().optional(),
|
|
3222
|
+
tags: z10.array(z10.string()).optional()
|
|
3223
|
+
});
|
|
3224
|
+
var ChangelogSectionSchema2 = z10.object({
|
|
3225
|
+
title: z10.string().optional(),
|
|
3226
|
+
icon: z10.string().optional(),
|
|
3227
|
+
hidden: z10.boolean().optional(),
|
|
3228
|
+
description: z10.string().optional(),
|
|
3349
3229
|
pageId: PageIdSchema2.optional(),
|
|
3350
|
-
items:
|
|
3351
|
-
urlSlug:
|
|
3352
|
-
fullSlug:
|
|
3230
|
+
items: z10.array(ChangelogItemSchema2),
|
|
3231
|
+
urlSlug: z10.string(),
|
|
3232
|
+
fullSlug: z10.array(z10.string()).optional()
|
|
3353
3233
|
});
|
|
3354
|
-
var ChangelogSectionV2Schema =
|
|
3234
|
+
var ChangelogSectionV2Schema = z10.object({
|
|
3355
3235
|
...NavigationNodeMetadataSchema2.shape,
|
|
3356
|
-
title:
|
|
3357
|
-
description:
|
|
3236
|
+
title: z10.string().optional(),
|
|
3237
|
+
description: z10.string().optional(),
|
|
3358
3238
|
pageId: PageIdSchema2.optional(),
|
|
3359
|
-
items:
|
|
3239
|
+
items: z10.array(ChangelogItemSchema2)
|
|
3360
3240
|
});
|
|
3361
|
-
var ChangelogSectionV3Schema2 =
|
|
3362
|
-
node:
|
|
3241
|
+
var ChangelogSectionV3Schema2 = z10.object({
|
|
3242
|
+
node: z10.unknown()
|
|
3363
3243
|
});
|
|
3364
|
-
var NavigationTabLinkSchema2 =
|
|
3365
|
-
title:
|
|
3366
|
-
icon:
|
|
3244
|
+
var NavigationTabLinkSchema2 = z10.object({
|
|
3245
|
+
title: z10.string(),
|
|
3246
|
+
icon: z10.string().optional(),
|
|
3367
3247
|
url: UrlSchema2,
|
|
3368
3248
|
target: LinkTargetSchema.optional()
|
|
3369
3249
|
});
|
|
3370
|
-
var ApiNavigationConfigItemSchema4 =
|
|
3371
|
-
() =>
|
|
3372
|
-
|
|
3373
|
-
type:
|
|
3250
|
+
var ApiNavigationConfigItemSchema4 = z10.lazy(
|
|
3251
|
+
() => z10.discriminatedUnion("type", [
|
|
3252
|
+
z10.object({
|
|
3253
|
+
type: z10.literal("subpackage"),
|
|
3374
3254
|
summaryPageId: PageIdSchema2.optional(),
|
|
3375
3255
|
subpackageId: SubpackageIdSchema2,
|
|
3376
|
-
items:
|
|
3256
|
+
items: z10.array(ApiNavigationConfigItemSchema4)
|
|
3377
3257
|
}),
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3258
|
+
z10.object({ type: z10.literal("endpointId"), value: EndpointIdSchema2 }),
|
|
3259
|
+
z10.object({ type: z10.literal("websocketId"), value: WebSocketIdSchema2 }),
|
|
3260
|
+
z10.object({ type: z10.literal("webhookId"), value: WebhookIdSchema2 }),
|
|
3261
|
+
z10.object({ type: z10.literal("page"), ...PageMetadataSchema2.shape })
|
|
3382
3262
|
])
|
|
3383
3263
|
);
|
|
3384
|
-
var ApiNavigationConfigSubpackageSchema =
|
|
3264
|
+
var ApiNavigationConfigSubpackageSchema = z10.object({
|
|
3385
3265
|
summaryPageId: PageIdSchema2.optional(),
|
|
3386
3266
|
subpackageId: SubpackageIdSchema2,
|
|
3387
|
-
items:
|
|
3267
|
+
items: z10.array(ApiNavigationConfigItemSchema4)
|
|
3388
3268
|
});
|
|
3389
|
-
var ApiNavigationConfigRootSchema4 =
|
|
3269
|
+
var ApiNavigationConfigRootSchema4 = z10.object({
|
|
3390
3270
|
summaryPageId: PageIdSchema2.optional(),
|
|
3391
|
-
items:
|
|
3271
|
+
items: z10.array(ApiNavigationConfigItemSchema4)
|
|
3392
3272
|
});
|
|
3393
|
-
var ApiSectionSchema2 =
|
|
3273
|
+
var ApiSectionSchema2 = z10.object({
|
|
3394
3274
|
...NavigationNodeMetadataSchema2.shape,
|
|
3395
|
-
title:
|
|
3275
|
+
title: z10.string(),
|
|
3396
3276
|
api: ApiDefinitionIdSchema2,
|
|
3397
|
-
artifacts:
|
|
3398
|
-
sdks:
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
type:
|
|
3402
|
-
packageName:
|
|
3403
|
-
githubRepoName:
|
|
3404
|
-
version:
|
|
3277
|
+
artifacts: z10.object({
|
|
3278
|
+
sdks: z10.array(
|
|
3279
|
+
z10.discriminatedUnion("type", [
|
|
3280
|
+
z10.object({
|
|
3281
|
+
type: z10.literal("npm"),
|
|
3282
|
+
packageName: z10.string(),
|
|
3283
|
+
githubRepoName: z10.string(),
|
|
3284
|
+
version: z10.string()
|
|
3405
3285
|
}),
|
|
3406
|
-
|
|
3407
|
-
type:
|
|
3408
|
-
coordinate:
|
|
3409
|
-
githubRepoName:
|
|
3410
|
-
version:
|
|
3286
|
+
z10.object({
|
|
3287
|
+
type: z10.literal("maven"),
|
|
3288
|
+
coordinate: z10.string(),
|
|
3289
|
+
githubRepoName: z10.string(),
|
|
3290
|
+
version: z10.string()
|
|
3411
3291
|
}),
|
|
3412
|
-
|
|
3413
|
-
type:
|
|
3414
|
-
packageName:
|
|
3415
|
-
githubRepoName:
|
|
3416
|
-
version:
|
|
3292
|
+
z10.object({
|
|
3293
|
+
type: z10.literal("pypi"),
|
|
3294
|
+
packageName: z10.string(),
|
|
3295
|
+
githubRepoName: z10.string(),
|
|
3296
|
+
version: z10.string()
|
|
3417
3297
|
})
|
|
3418
3298
|
])
|
|
3419
3299
|
),
|
|
3420
|
-
postman:
|
|
3300
|
+
postman: z10.object({
|
|
3421
3301
|
url: UrlSchema2,
|
|
3422
|
-
githubRepoName:
|
|
3302
|
+
githubRepoName: z10.string().optional()
|
|
3423
3303
|
}).optional()
|
|
3424
3304
|
}).optional(),
|
|
3425
|
-
skipUrlSlug:
|
|
3426
|
-
showErrors:
|
|
3305
|
+
skipUrlSlug: z10.boolean().optional(),
|
|
3306
|
+
showErrors: z10.boolean().optional(),
|
|
3427
3307
|
changelog: ChangelogSectionSchema2.optional(),
|
|
3428
3308
|
changelogV2: ChangelogSectionV2Schema.optional(),
|
|
3429
3309
|
navigation: ApiNavigationConfigRootSchema4.optional(),
|
|
3430
|
-
longScrolling:
|
|
3431
|
-
flattened:
|
|
3310
|
+
longScrolling: z10.boolean().optional(),
|
|
3311
|
+
flattened: z10.boolean().optional()
|
|
3432
3312
|
});
|
|
3433
|
-
var ApiSectionV2Schema2 =
|
|
3434
|
-
node:
|
|
3313
|
+
var ApiSectionV2Schema2 = z10.object({
|
|
3314
|
+
node: z10.unknown()
|
|
3435
3315
|
});
|
|
3436
|
-
var DocsSectionSchema2 =
|
|
3437
|
-
() =>
|
|
3316
|
+
var DocsSectionSchema2 = z10.lazy(
|
|
3317
|
+
() => z10.object({
|
|
3438
3318
|
...NavigationNodeMetadataSchema2.shape,
|
|
3439
|
-
title:
|
|
3440
|
-
items:
|
|
3441
|
-
collapsed:
|
|
3442
|
-
collapsible:
|
|
3443
|
-
collapsedByDefault:
|
|
3444
|
-
skipUrlSlug:
|
|
3319
|
+
title: z10.string(),
|
|
3320
|
+
items: z10.array(NavigationItemSchema2),
|
|
3321
|
+
collapsed: z10.union([z10.boolean(), z10.literal("open-by-default")]).optional(),
|
|
3322
|
+
collapsible: z10.boolean().optional(),
|
|
3323
|
+
collapsedByDefault: z10.boolean().optional(),
|
|
3324
|
+
skipUrlSlug: z10.boolean().optional(),
|
|
3445
3325
|
overviewPageId: PageIdSchema2.optional()
|
|
3446
3326
|
})
|
|
3447
3327
|
);
|
|
3448
|
-
var NavigationItemSchema2 =
|
|
3449
|
-
() =>
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
type:
|
|
3328
|
+
var NavigationItemSchema2 = z10.lazy(
|
|
3329
|
+
() => z10.discriminatedUnion("type", [
|
|
3330
|
+
z10.object({ type: z10.literal("page"), ...PageMetadataSchema2.shape }),
|
|
3331
|
+
z10.object({ type: z10.literal("api"), ...ApiSectionSchema2.shape }),
|
|
3332
|
+
z10.object({ type: z10.literal("apiV2"), ...ApiSectionV2Schema2.shape }),
|
|
3333
|
+
z10.object({
|
|
3334
|
+
type: z10.literal("section"),
|
|
3455
3335
|
...NavigationNodeMetadataSchema2.shape,
|
|
3456
|
-
title:
|
|
3457
|
-
items:
|
|
3458
|
-
collapsed:
|
|
3459
|
-
collapsible:
|
|
3460
|
-
collapsedByDefault:
|
|
3461
|
-
skipUrlSlug:
|
|
3336
|
+
title: z10.string(),
|
|
3337
|
+
items: z10.array(NavigationItemSchema2),
|
|
3338
|
+
collapsed: z10.union([z10.boolean(), z10.literal("open-by-default")]).optional(),
|
|
3339
|
+
collapsible: z10.boolean().optional(),
|
|
3340
|
+
collapsedByDefault: z10.boolean().optional(),
|
|
3341
|
+
skipUrlSlug: z10.boolean().optional(),
|
|
3462
3342
|
overviewPageId: PageIdSchema2.optional()
|
|
3463
3343
|
}),
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3344
|
+
z10.object({ type: z10.literal("link"), ...LinkMetadataSchema2.shape }),
|
|
3345
|
+
z10.object({ type: z10.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
|
|
3346
|
+
z10.object({ type: z10.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
|
|
3467
3347
|
])
|
|
3468
3348
|
);
|
|
3469
|
-
var NavigationTabGroupSchema2 =
|
|
3349
|
+
var NavigationTabGroupSchema2 = z10.object({
|
|
3470
3350
|
...NavigationNodeMetadataSchema2.shape,
|
|
3471
|
-
title:
|
|
3472
|
-
items:
|
|
3473
|
-
skipUrlSlug:
|
|
3474
|
-
});
|
|
3475
|
-
var NavigationTabSchema2 =
|
|
3476
|
-
var NavigationTabV2Schema =
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3351
|
+
title: z10.string(),
|
|
3352
|
+
items: z10.array(NavigationItemSchema2),
|
|
3353
|
+
skipUrlSlug: z10.boolean().optional()
|
|
3354
|
+
});
|
|
3355
|
+
var NavigationTabSchema2 = z10.union([NavigationTabGroupSchema2, NavigationTabLinkSchema2]);
|
|
3356
|
+
var NavigationTabV2Schema = z10.discriminatedUnion("type", [
|
|
3357
|
+
z10.object({ type: z10.literal("group"), ...NavigationTabGroupSchema2.shape }),
|
|
3358
|
+
z10.object({ type: z10.literal("link"), ...NavigationTabLinkSchema2.shape }),
|
|
3359
|
+
z10.object({ type: z10.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
|
|
3360
|
+
z10.object({ type: z10.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
|
|
3481
3361
|
]);
|
|
3482
|
-
var UnversionedTabbedNavigationConfigSchema2 =
|
|
3483
|
-
tabs:
|
|
3484
|
-
tabsV2:
|
|
3362
|
+
var UnversionedTabbedNavigationConfigSchema2 = z10.object({
|
|
3363
|
+
tabs: z10.array(NavigationTabSchema2).optional(),
|
|
3364
|
+
tabsV2: z10.array(NavigationTabV2Schema).optional(),
|
|
3485
3365
|
landingPage: PageMetadataSchema2.optional()
|
|
3486
3366
|
});
|
|
3487
|
-
var UnversionedUntabbedNavigationConfigSchema2 =
|
|
3488
|
-
items:
|
|
3367
|
+
var UnversionedUntabbedNavigationConfigSchema2 = z10.object({
|
|
3368
|
+
items: z10.array(NavigationItemSchema2),
|
|
3489
3369
|
landingPage: PageMetadataSchema2.optional()
|
|
3490
3370
|
});
|
|
3491
|
-
var UnversionedNavigationConfigSchema2 =
|
|
3371
|
+
var UnversionedNavigationConfigSchema2 = z10.union([
|
|
3492
3372
|
UnversionedTabbedNavigationConfigSchema2,
|
|
3493
3373
|
UnversionedUntabbedNavigationConfigSchema2
|
|
3494
3374
|
]);
|
|
3495
|
-
var VersionedNavigationConfigDataSchema2 =
|
|
3375
|
+
var VersionedNavigationConfigDataSchema2 = z10.object({
|
|
3496
3376
|
version: VersionIdSchema2,
|
|
3497
|
-
urlSlugOverride:
|
|
3377
|
+
urlSlugOverride: z10.string().optional(),
|
|
3498
3378
|
availability: AvailabilitySchema2.optional(),
|
|
3499
3379
|
config: UnversionedNavigationConfigSchema2
|
|
3500
3380
|
});
|
|
3501
|
-
var VersionedNavigationConfigSchema2 =
|
|
3502
|
-
versions:
|
|
3381
|
+
var VersionedNavigationConfigSchema2 = z10.object({
|
|
3382
|
+
versions: z10.array(VersionedNavigationConfigDataSchema2)
|
|
3503
3383
|
});
|
|
3504
|
-
var NavigationConfigSchema2 =
|
|
3505
|
-
var ThemeConfigSchema2 =
|
|
3384
|
+
var NavigationConfigSchema2 = z10.union([UnversionedNavigationConfigSchema2, VersionedNavigationConfigSchema2]);
|
|
3385
|
+
var ThemeConfigSchema2 = z10.object({
|
|
3506
3386
|
logo: FileIdSchema2.optional(),
|
|
3507
3387
|
backgroundImage: FileIdSchema2.optional(),
|
|
3508
3388
|
accentPrimary: RgbaColorSchema,
|
|
@@ -3524,37 +3404,37 @@ var ThemeConfigSchema2 = z11.object({
|
|
|
3524
3404
|
accent11: RgbaColorSchema.optional(),
|
|
3525
3405
|
accent12: RgbaColorSchema.optional()
|
|
3526
3406
|
});
|
|
3527
|
-
var DarkAndLightModeConfigSchema2 =
|
|
3407
|
+
var DarkAndLightModeConfigSchema2 = z10.object({
|
|
3528
3408
|
dark: ThemeConfigSchema2,
|
|
3529
3409
|
light: ThemeConfigSchema2
|
|
3530
3410
|
});
|
|
3531
|
-
var ColorsConfigV3Schema2 =
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3411
|
+
var ColorsConfigV3Schema2 = z10.discriminatedUnion("type", [
|
|
3412
|
+
z10.object({ type: z10.literal("dark"), ...ThemeConfigSchema2.shape }),
|
|
3413
|
+
z10.object({ type: z10.literal("light"), ...ThemeConfigSchema2.shape }),
|
|
3414
|
+
z10.object({ type: z10.literal("darkAndLight"), ...DarkAndLightModeConfigSchema2.shape })
|
|
3535
3415
|
]);
|
|
3536
|
-
var DocsConfigSchema2 =
|
|
3537
|
-
title:
|
|
3416
|
+
var DocsConfigSchema2 = z10.object({
|
|
3417
|
+
title: z10.string().optional(),
|
|
3538
3418
|
defaultLanguage: ProgrammingLanguageSchema.optional(),
|
|
3539
|
-
languages:
|
|
3419
|
+
languages: z10.array(LanguageSchema).optional(),
|
|
3540
3420
|
translations: DocsTranslationsConfigSchema.optional(),
|
|
3541
|
-
announcement:
|
|
3421
|
+
announcement: z10.object({ text: z10.string() }).optional(),
|
|
3542
3422
|
navigation: NavigationConfigSchema2.optional(),
|
|
3543
|
-
root:
|
|
3544
|
-
navbarLinks:
|
|
3545
|
-
footerLinks:
|
|
3546
|
-
hideNavLinks:
|
|
3423
|
+
root: z10.custom().optional(),
|
|
3424
|
+
navbarLinks: z10.array(NavbarLinkSchema).optional(),
|
|
3425
|
+
footerLinks: z10.array(FooterLinkSchema).optional(),
|
|
3426
|
+
hideNavLinks: z10.boolean().optional(),
|
|
3547
3427
|
logoHeight: HeightSchema2.optional(),
|
|
3548
3428
|
logoHref: UrlSchema2.optional(),
|
|
3549
|
-
logoRightText:
|
|
3429
|
+
logoRightText: z10.string().optional(),
|
|
3550
3430
|
favicon: FileIdSchema2.optional(),
|
|
3551
3431
|
agents: AgentsConfigSchema.optional(),
|
|
3552
3432
|
metadata: MetadataConfigSchema.optional(),
|
|
3553
|
-
redirects:
|
|
3433
|
+
redirects: z10.array(RedirectConfigSchema).optional(),
|
|
3554
3434
|
colorsV3: ColorsConfigV3Schema2.optional(),
|
|
3555
3435
|
layout: DocsLayoutConfigSchema.optional(),
|
|
3556
3436
|
theme: DocsThemeConfigSchema.optional(),
|
|
3557
|
-
globalTheme:
|
|
3437
|
+
globalTheme: z10.string().optional(),
|
|
3558
3438
|
settings: DocsSettingsConfigSchema.optional(),
|
|
3559
3439
|
typographyV2: DocsTypographyConfigV2Schema.optional(),
|
|
3560
3440
|
analyticsConfig: AnalyticsConfigSchema.optional(),
|
|
@@ -3564,8 +3444,8 @@ var DocsConfigSchema2 = z11.object({
|
|
|
3564
3444
|
aiChatConfig: AIChatConfigSchema.optional(),
|
|
3565
3445
|
pageActions: PageActionsConfigSchema.optional(),
|
|
3566
3446
|
editThisPageLaunch: EditThisPageLaunchSchema.optional(),
|
|
3567
|
-
header:
|
|
3568
|
-
footer:
|
|
3447
|
+
header: z10.string().optional(),
|
|
3448
|
+
footer: z10.string().optional(),
|
|
3569
3449
|
backgroundImage: FileIdSchema2.optional(),
|
|
3570
3450
|
logoV2: ThemedFileIdSchema.optional(),
|
|
3571
3451
|
logo: FileIdSchema2.optional(),
|
|
@@ -3573,45 +3453,163 @@ var DocsConfigSchema2 = z11.object({
|
|
|
3573
3453
|
colorsV2: ColorsConfigV2Schema.optional(),
|
|
3574
3454
|
typography: DocsTypographyConfigSchema.optional()
|
|
3575
3455
|
});
|
|
3576
|
-
var DocsDefinitionSchema2 =
|
|
3577
|
-
pages:
|
|
3456
|
+
var DocsDefinitionSchema2 = z10.object({
|
|
3457
|
+
pages: z10.record(PageIdSchema2, PageContentSchema2),
|
|
3578
3458
|
config: DocsConfigSchema2,
|
|
3579
|
-
jsFiles:
|
|
3580
|
-
});
|
|
3581
|
-
var NpmPackageSchema2 =
|
|
3582
|
-
packageName:
|
|
3583
|
-
githubRepoName:
|
|
3584
|
-
version:
|
|
3585
|
-
});
|
|
3586
|
-
var MavenPackageSchema2 =
|
|
3587
|
-
coordinate:
|
|
3588
|
-
githubRepoName:
|
|
3589
|
-
version:
|
|
3590
|
-
});
|
|
3591
|
-
var PypiPackageSchema2 =
|
|
3592
|
-
packageName:
|
|
3593
|
-
githubRepoName:
|
|
3594
|
-
version:
|
|
3595
|
-
});
|
|
3596
|
-
var PublishedSdkSchema2 =
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3459
|
+
jsFiles: z10.record(z10.string(), z10.string()).optional()
|
|
3460
|
+
});
|
|
3461
|
+
var NpmPackageSchema2 = z10.object({
|
|
3462
|
+
packageName: z10.string(),
|
|
3463
|
+
githubRepoName: z10.string(),
|
|
3464
|
+
version: z10.string()
|
|
3465
|
+
});
|
|
3466
|
+
var MavenPackageSchema2 = z10.object({
|
|
3467
|
+
coordinate: z10.string(),
|
|
3468
|
+
githubRepoName: z10.string(),
|
|
3469
|
+
version: z10.string()
|
|
3470
|
+
});
|
|
3471
|
+
var PypiPackageSchema2 = z10.object({
|
|
3472
|
+
packageName: z10.string(),
|
|
3473
|
+
githubRepoName: z10.string(),
|
|
3474
|
+
version: z10.string()
|
|
3475
|
+
});
|
|
3476
|
+
var PublishedSdkSchema2 = z10.discriminatedUnion("type", [
|
|
3477
|
+
z10.object({ type: z10.literal("npm"), ...NpmPackageSchema2.shape }),
|
|
3478
|
+
z10.object({ type: z10.literal("maven"), ...MavenPackageSchema2.shape }),
|
|
3479
|
+
z10.object({ type: z10.literal("pypi"), ...PypiPackageSchema2.shape })
|
|
3600
3480
|
]);
|
|
3601
|
-
var PublishedPostmanCollectionSchema2 =
|
|
3481
|
+
var PublishedPostmanCollectionSchema2 = z10.object({
|
|
3602
3482
|
url: UrlSchema2,
|
|
3603
|
-
githubRepoName:
|
|
3483
|
+
githubRepoName: z10.string().optional()
|
|
3604
3484
|
});
|
|
3605
|
-
var ApiArtifactsSchema2 =
|
|
3606
|
-
sdks:
|
|
3485
|
+
var ApiArtifactsSchema2 = z10.object({
|
|
3486
|
+
sdks: z10.array(PublishedSdkSchema2),
|
|
3607
3487
|
postman: PublishedPostmanCollectionSchema2.optional()
|
|
3608
3488
|
});
|
|
3609
|
-
var InvalidCustomDomainErrorBodySchema =
|
|
3610
|
-
overlappingDomains:
|
|
3489
|
+
var InvalidCustomDomainErrorBodySchema = z10.object({
|
|
3490
|
+
overlappingDomains: z10.array(z10.array(z10.string()))
|
|
3611
3491
|
});
|
|
3612
|
-
var OverlappingCustomDomainsSchema =
|
|
3492
|
+
var OverlappingCustomDomainsSchema = z10.array(z10.string());
|
|
3493
|
+
|
|
3494
|
+
// src/orpc-client/docs/v2/read/contract.ts
|
|
3495
|
+
var contract_exports = {};
|
|
3496
|
+
__export(contract_exports, {
|
|
3497
|
+
DocsDefinitionField: () => DocsDefinitionField,
|
|
3498
|
+
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
3499
|
+
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
3500
|
+
DocsReadDefinitionSchema: () => DocsDefinitionSchema,
|
|
3501
|
+
GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
|
|
3502
|
+
GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
|
|
3503
|
+
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
3504
|
+
GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
|
|
3505
|
+
GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
|
|
3506
|
+
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
3507
|
+
ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
|
|
3508
|
+
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
3509
|
+
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
3510
|
+
docsV2ReadContract: () => docsV2ReadContract,
|
|
3511
|
+
getDocsForUrl: () => getDocsForUrl
|
|
3512
|
+
});
|
|
3513
|
+
import { oc } from "@orpc/contract";
|
|
3514
|
+
import * as z11 from "zod";
|
|
3515
|
+
var GetDocsUrlMetadataInputSchema = z11.object({
|
|
3516
|
+
url: z11.string()
|
|
3517
|
+
});
|
|
3518
|
+
var GetDocsUrlMetadataResponseSchema = z11.object({
|
|
3519
|
+
isPreviewUrl: z11.boolean(),
|
|
3520
|
+
org: z11.string(),
|
|
3521
|
+
url: z11.string(),
|
|
3522
|
+
gitUrl: z11.string().nullish(),
|
|
3523
|
+
enableAlgoliaOnPreview: z11.boolean().nullish()
|
|
3524
|
+
});
|
|
3525
|
+
var GetDocsForUrlInputSchema = z11.object({
|
|
3526
|
+
url: z11.string(),
|
|
3527
|
+
excludeApis: z11.boolean().nullish()
|
|
3528
|
+
});
|
|
3529
|
+
var GetPrivateDocsForUrlInputSchema = z11.object({
|
|
3530
|
+
url: z11.string()
|
|
3531
|
+
});
|
|
3532
|
+
var ListAllDocsUrlsInputSchema = z11.object({
|
|
3533
|
+
limit: z11.number().nullish(),
|
|
3534
|
+
page: z11.number().nullish(),
|
|
3535
|
+
custom: z11.boolean().nullish(),
|
|
3536
|
+
preview: z11.boolean().nullish()
|
|
3537
|
+
});
|
|
3538
|
+
var GetDocsConfigByIdInputSchema = z11.object({
|
|
3539
|
+
docsConfigId: z11.string()
|
|
3540
|
+
});
|
|
3541
|
+
var DocsDefinitionField = {
|
|
3542
|
+
BaseUrl: "BASE_URL",
|
|
3543
|
+
FilesV2: "FILES_V2",
|
|
3544
|
+
ApisV2: "APIS_V2",
|
|
3545
|
+
Apis: "APIS",
|
|
3546
|
+
Pages: "PAGES",
|
|
3547
|
+
JsFiles: "JS_FILES",
|
|
3548
|
+
Config: "CONFIG",
|
|
3549
|
+
Root: "ROOT"
|
|
3550
|
+
};
|
|
3551
|
+
var GetDocsConfigByIdResponseSchema = z11.object({
|
|
3552
|
+
docsConfig: DocsConfigSchema,
|
|
3553
|
+
apis: z11.record(z11.string(), z11.unknown())
|
|
3554
|
+
});
|
|
3555
|
+
var DocsDomainItemSchema = z11.object({
|
|
3556
|
+
domain: z11.string(),
|
|
3557
|
+
basePath: z11.string().optional(),
|
|
3558
|
+
organizationId: z11.string(),
|
|
3559
|
+
updatedAt: z11.string()
|
|
3560
|
+
});
|
|
3561
|
+
var ListAllDocsUrlsResponseSchema = z11.object({
|
|
3562
|
+
urls: z11.array(DocsDomainItemSchema)
|
|
3563
|
+
});
|
|
3564
|
+
var getDocsForUrl;
|
|
3565
|
+
((getDocsForUrl2) => {
|
|
3566
|
+
let Error2;
|
|
3567
|
+
((Error3) => {
|
|
3568
|
+
function _unknown(fetcherError) {
|
|
3569
|
+
return { error: void 0, content: fetcherError };
|
|
3570
|
+
}
|
|
3571
|
+
Error3._unknown = _unknown;
|
|
3572
|
+
})(Error2 = getDocsForUrl2.Error || (getDocsForUrl2.Error = {}));
|
|
3573
|
+
})(getDocsForUrl || (getDocsForUrl = {}));
|
|
3574
|
+
var docsV2ReadContract = {
|
|
3575
|
+
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
|
|
3576
|
+
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
3577
|
+
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
3578
|
+
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
3579
|
+
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
3580
|
+
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z11.void()),
|
|
3581
|
+
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z11.void()),
|
|
3582
|
+
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(z11.void())
|
|
3583
|
+
};
|
|
3613
3584
|
|
|
3614
3585
|
// src/orpc-client/docs/v2/write/contract.ts
|
|
3586
|
+
var contract_exports2 = {};
|
|
3587
|
+
__export(contract_exports2, {
|
|
3588
|
+
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
|
|
3589
|
+
AuthConfigSchema: () => AuthConfigSchema,
|
|
3590
|
+
Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
|
|
3591
|
+
DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
|
|
3592
|
+
FilePath: () => FilePath2,
|
|
3593
|
+
FilePathInputSchema: () => FilePathInputSchema,
|
|
3594
|
+
FilePathSchema: () => FilePathSchema2,
|
|
3595
|
+
FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
|
|
3596
|
+
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
|
|
3597
|
+
ImageFilePathSchema: () => ImageFilePathSchema,
|
|
3598
|
+
ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
|
|
3599
|
+
RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
|
|
3600
|
+
RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
|
|
3601
|
+
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
3602
|
+
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
3603
|
+
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
3604
|
+
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
|
|
3605
|
+
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
|
|
3606
|
+
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
|
|
3607
|
+
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
3608
|
+
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
3609
|
+
docsV2WriteContract: () => docsV2WriteContract
|
|
3610
|
+
});
|
|
3611
|
+
import { oc as oc2 } from "@orpc/contract";
|
|
3612
|
+
import * as z12 from "zod";
|
|
3615
3613
|
var FilePathSchema2 = z12.string();
|
|
3616
3614
|
function FilePath2(value) {
|
|
3617
3615
|
return value;
|