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