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