@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
|
@@ -8529,226 +8529,346 @@ var LoadDocsForUrlResponseSchema = z8.object({
|
|
|
8529
8529
|
translations: z8.array(z8.string()).optional()
|
|
8530
8530
|
});
|
|
8531
8531
|
|
|
8532
|
+
// src/orpc-client/docs/v2/read/contract.ts
|
|
8533
|
+
var contract_exports = {};
|
|
8534
|
+
__export(contract_exports, {
|
|
8535
|
+
DocsDefinitionField: () => DocsDefinitionField,
|
|
8536
|
+
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
8537
|
+
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
8538
|
+
DocsReadDefinitionSchema: () => DocsDefinitionSchema,
|
|
8539
|
+
GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
|
|
8540
|
+
GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
|
|
8541
|
+
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
8542
|
+
GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
|
|
8543
|
+
GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
|
|
8544
|
+
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
8545
|
+
ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
|
|
8546
|
+
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
8547
|
+
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
8548
|
+
docsV2ReadContract: () => docsV2ReadContract,
|
|
8549
|
+
getDocsForUrl: () => getDocsForUrl
|
|
8550
|
+
});
|
|
8551
|
+
import { oc } from "@orpc/contract";
|
|
8552
|
+
import * as z9 from "zod";
|
|
8553
|
+
var GetDocsUrlMetadataInputSchema = z9.object({
|
|
8554
|
+
url: z9.string()
|
|
8555
|
+
});
|
|
8556
|
+
var GetDocsUrlMetadataResponseSchema = z9.object({
|
|
8557
|
+
isPreviewUrl: z9.boolean(),
|
|
8558
|
+
org: z9.string(),
|
|
8559
|
+
url: z9.string(),
|
|
8560
|
+
gitUrl: z9.string().nullish(),
|
|
8561
|
+
enableAlgoliaOnPreview: z9.boolean().nullish()
|
|
8562
|
+
});
|
|
8563
|
+
var GetDocsForUrlInputSchema = z9.object({
|
|
8564
|
+
url: z9.string(),
|
|
8565
|
+
excludeApis: z9.boolean().nullish()
|
|
8566
|
+
});
|
|
8567
|
+
var GetPrivateDocsForUrlInputSchema = z9.object({
|
|
8568
|
+
url: z9.string()
|
|
8569
|
+
});
|
|
8570
|
+
var ListAllDocsUrlsInputSchema = z9.object({
|
|
8571
|
+
limit: z9.number().nullish(),
|
|
8572
|
+
page: z9.number().nullish(),
|
|
8573
|
+
custom: z9.boolean().nullish(),
|
|
8574
|
+
preview: z9.boolean().nullish()
|
|
8575
|
+
});
|
|
8576
|
+
var GetDocsConfigByIdInputSchema = z9.object({
|
|
8577
|
+
docsConfigId: z9.string()
|
|
8578
|
+
});
|
|
8579
|
+
var DocsDefinitionField = {
|
|
8580
|
+
BaseUrl: "BASE_URL",
|
|
8581
|
+
FilesV2: "FILES_V2",
|
|
8582
|
+
ApisV2: "APIS_V2",
|
|
8583
|
+
Apis: "APIS",
|
|
8584
|
+
Pages: "PAGES",
|
|
8585
|
+
JsFiles: "JS_FILES",
|
|
8586
|
+
Config: "CONFIG",
|
|
8587
|
+
Root: "ROOT"
|
|
8588
|
+
};
|
|
8589
|
+
var GetDocsConfigByIdResponseSchema = z9.object({
|
|
8590
|
+
docsConfig: DocsConfigSchema,
|
|
8591
|
+
apis: z9.record(z9.string(), z9.unknown())
|
|
8592
|
+
});
|
|
8593
|
+
var DocsDomainItemSchema = z9.object({
|
|
8594
|
+
domain: z9.string(),
|
|
8595
|
+
basePath: z9.string().optional(),
|
|
8596
|
+
organizationId: z9.string(),
|
|
8597
|
+
updatedAt: z9.string()
|
|
8598
|
+
});
|
|
8599
|
+
var ListAllDocsUrlsResponseSchema = z9.object({
|
|
8600
|
+
urls: z9.array(DocsDomainItemSchema)
|
|
8601
|
+
});
|
|
8602
|
+
var getDocsForUrl;
|
|
8603
|
+
((getDocsForUrl2) => {
|
|
8604
|
+
let Error2;
|
|
8605
|
+
((Error3) => {
|
|
8606
|
+
function _unknown(fetcherError) {
|
|
8607
|
+
return { error: void 0, content: fetcherError };
|
|
8608
|
+
}
|
|
8609
|
+
Error3._unknown = _unknown;
|
|
8610
|
+
})(Error2 = getDocsForUrl2.Error || (getDocsForUrl2.Error = {}));
|
|
8611
|
+
})(getDocsForUrl || (getDocsForUrl = {}));
|
|
8612
|
+
var docsV2ReadContract = {
|
|
8613
|
+
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
|
|
8614
|
+
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
8615
|
+
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
8616
|
+
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
8617
|
+
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
8618
|
+
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z9.void()),
|
|
8619
|
+
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z9.void()),
|
|
8620
|
+
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(z9.void())
|
|
8621
|
+
};
|
|
8622
|
+
|
|
8623
|
+
// src/orpc-client/docs/v2/write/contract.ts
|
|
8624
|
+
var contract_exports2 = {};
|
|
8625
|
+
__export(contract_exports2, {
|
|
8626
|
+
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
|
|
8627
|
+
AuthConfigSchema: () => AuthConfigSchema,
|
|
8628
|
+
Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
|
|
8629
|
+
DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
|
|
8630
|
+
FilePath: () => FilePath2,
|
|
8631
|
+
FilePathInputSchema: () => FilePathInputSchema,
|
|
8632
|
+
FilePathSchema: () => FilePathSchema2,
|
|
8633
|
+
FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
|
|
8634
|
+
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
|
|
8635
|
+
ImageFilePathSchema: () => ImageFilePathSchema,
|
|
8636
|
+
ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
|
|
8637
|
+
RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
|
|
8638
|
+
RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
|
|
8639
|
+
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
8640
|
+
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
8641
|
+
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
8642
|
+
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
|
|
8643
|
+
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
|
|
8644
|
+
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
|
|
8645
|
+
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
8646
|
+
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
8647
|
+
docsV2WriteContract: () => docsV2WriteContract
|
|
8648
|
+
});
|
|
8649
|
+
import { oc as oc2 } from "@orpc/contract";
|
|
8650
|
+
import * as z12 from "zod";
|
|
8651
|
+
|
|
8532
8652
|
// src/client/docs-types/write.ts
|
|
8533
|
-
import * as
|
|
8653
|
+
import * as z11 from "zod";
|
|
8534
8654
|
|
|
8535
8655
|
// src/client/docs-types/write-commons.ts
|
|
8536
|
-
import * as
|
|
8537
|
-
var OrgIdSchema2 =
|
|
8656
|
+
import * as z10 from "zod";
|
|
8657
|
+
var OrgIdSchema2 = z10.string();
|
|
8538
8658
|
function OrgId2(value) {
|
|
8539
8659
|
return value;
|
|
8540
8660
|
}
|
|
8541
8661
|
|
|
8542
8662
|
// src/client/docs-types/write.ts
|
|
8543
|
-
var FilePathSchema =
|
|
8663
|
+
var FilePathSchema = z11.string();
|
|
8544
8664
|
function FilePath(value) {
|
|
8545
8665
|
return value;
|
|
8546
8666
|
}
|
|
8547
|
-
var DocsRegistrationIdSchema =
|
|
8667
|
+
var DocsRegistrationIdSchema = z11.string();
|
|
8548
8668
|
function DocsRegistrationId(value) {
|
|
8549
8669
|
return value;
|
|
8550
8670
|
}
|
|
8551
|
-
var HeightSchema2 =
|
|
8552
|
-
var FileS3UploadUrlSchema =
|
|
8553
|
-
uploadUrl:
|
|
8671
|
+
var HeightSchema2 = z11.number();
|
|
8672
|
+
var FileS3UploadUrlSchema = z11.object({
|
|
8673
|
+
uploadUrl: z11.string(),
|
|
8554
8674
|
fileId: FileIdSchema2
|
|
8555
8675
|
});
|
|
8556
|
-
var StartDocsRegisterResponseSchema =
|
|
8676
|
+
var StartDocsRegisterResponseSchema = z11.object({
|
|
8557
8677
|
docsRegistrationId: DocsRegistrationIdSchema,
|
|
8558
|
-
uploadUrls:
|
|
8559
|
-
skippedFiles:
|
|
8678
|
+
uploadUrls: z11.record(FilePathSchema, FileS3UploadUrlSchema),
|
|
8679
|
+
skippedFiles: z11.array(FilePathSchema)
|
|
8560
8680
|
});
|
|
8561
|
-
var PageContentSchema2 =
|
|
8562
|
-
markdown:
|
|
8681
|
+
var PageContentSchema2 = z11.object({
|
|
8682
|
+
markdown: z11.string(),
|
|
8563
8683
|
editThisPageUrl: UrlSchema2.optional(),
|
|
8564
8684
|
editThisPageLaunch: EditThisPageLaunchSchema.optional(),
|
|
8565
|
-
rawMarkdown:
|
|
8685
|
+
rawMarkdown: z11.string().optional()
|
|
8566
8686
|
});
|
|
8567
|
-
var NavigationNodeMetadataSchema2 =
|
|
8568
|
-
icon:
|
|
8569
|
-
hidden:
|
|
8570
|
-
urlSlugOverride:
|
|
8571
|
-
fullSlug:
|
|
8687
|
+
var NavigationNodeMetadataSchema2 = z11.object({
|
|
8688
|
+
icon: z11.string().optional(),
|
|
8689
|
+
hidden: z11.boolean().optional(),
|
|
8690
|
+
urlSlugOverride: z11.string().optional(),
|
|
8691
|
+
fullSlug: z11.array(z11.string()).optional()
|
|
8572
8692
|
});
|
|
8573
|
-
var PageMetadataSchema2 =
|
|
8693
|
+
var PageMetadataSchema2 = z11.object({
|
|
8574
8694
|
...NavigationNodeMetadataSchema2.shape,
|
|
8575
8695
|
id: PageIdSchema2,
|
|
8576
|
-
title:
|
|
8696
|
+
title: z11.string()
|
|
8577
8697
|
});
|
|
8578
|
-
var LinkMetadataSchema2 =
|
|
8579
|
-
title:
|
|
8580
|
-
icon:
|
|
8698
|
+
var LinkMetadataSchema2 = z11.object({
|
|
8699
|
+
title: z11.string(),
|
|
8700
|
+
icon: z11.string().optional(),
|
|
8581
8701
|
url: UrlSchema2,
|
|
8582
8702
|
target: LinkTargetSchema.optional()
|
|
8583
8703
|
});
|
|
8584
|
-
var ChangelogItemSchema2 =
|
|
8585
|
-
date:
|
|
8704
|
+
var ChangelogItemSchema2 = z11.object({
|
|
8705
|
+
date: z11.string(),
|
|
8586
8706
|
pageId: PageIdSchema2,
|
|
8587
|
-
hidden:
|
|
8588
|
-
tags:
|
|
8589
|
-
});
|
|
8590
|
-
var ChangelogSectionSchema2 =
|
|
8591
|
-
title:
|
|
8592
|
-
icon:
|
|
8593
|
-
hidden:
|
|
8594
|
-
description:
|
|
8707
|
+
hidden: z11.boolean().optional(),
|
|
8708
|
+
tags: z11.array(z11.string()).optional()
|
|
8709
|
+
});
|
|
8710
|
+
var ChangelogSectionSchema2 = z11.object({
|
|
8711
|
+
title: z11.string().optional(),
|
|
8712
|
+
icon: z11.string().optional(),
|
|
8713
|
+
hidden: z11.boolean().optional(),
|
|
8714
|
+
description: z11.string().optional(),
|
|
8595
8715
|
pageId: PageIdSchema2.optional(),
|
|
8596
|
-
items:
|
|
8597
|
-
urlSlug:
|
|
8598
|
-
fullSlug:
|
|
8716
|
+
items: z11.array(ChangelogItemSchema2),
|
|
8717
|
+
urlSlug: z11.string(),
|
|
8718
|
+
fullSlug: z11.array(z11.string()).optional()
|
|
8599
8719
|
});
|
|
8600
|
-
var ChangelogSectionV2Schema =
|
|
8720
|
+
var ChangelogSectionV2Schema = z11.object({
|
|
8601
8721
|
...NavigationNodeMetadataSchema2.shape,
|
|
8602
|
-
title:
|
|
8603
|
-
description:
|
|
8722
|
+
title: z11.string().optional(),
|
|
8723
|
+
description: z11.string().optional(),
|
|
8604
8724
|
pageId: PageIdSchema2.optional(),
|
|
8605
|
-
items:
|
|
8725
|
+
items: z11.array(ChangelogItemSchema2)
|
|
8606
8726
|
});
|
|
8607
|
-
var ChangelogSectionV3Schema2 =
|
|
8608
|
-
node:
|
|
8727
|
+
var ChangelogSectionV3Schema2 = z11.object({
|
|
8728
|
+
node: z11.unknown()
|
|
8609
8729
|
});
|
|
8610
|
-
var NavigationTabLinkSchema2 =
|
|
8611
|
-
title:
|
|
8612
|
-
icon:
|
|
8730
|
+
var NavigationTabLinkSchema2 = z11.object({
|
|
8731
|
+
title: z11.string(),
|
|
8732
|
+
icon: z11.string().optional(),
|
|
8613
8733
|
url: UrlSchema2,
|
|
8614
8734
|
target: LinkTargetSchema.optional()
|
|
8615
8735
|
});
|
|
8616
|
-
var ApiNavigationConfigItemSchema4 =
|
|
8617
|
-
() =>
|
|
8618
|
-
|
|
8619
|
-
type:
|
|
8736
|
+
var ApiNavigationConfigItemSchema4 = z11.lazy(
|
|
8737
|
+
() => z11.discriminatedUnion("type", [
|
|
8738
|
+
z11.object({
|
|
8739
|
+
type: z11.literal("subpackage"),
|
|
8620
8740
|
summaryPageId: PageIdSchema2.optional(),
|
|
8621
8741
|
subpackageId: SubpackageIdSchema2,
|
|
8622
|
-
items:
|
|
8742
|
+
items: z11.array(ApiNavigationConfigItemSchema4)
|
|
8623
8743
|
}),
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
|
|
8744
|
+
z11.object({ type: z11.literal("endpointId"), value: EndpointIdSchema2 }),
|
|
8745
|
+
z11.object({ type: z11.literal("websocketId"), value: WebSocketIdSchema2 }),
|
|
8746
|
+
z11.object({ type: z11.literal("webhookId"), value: WebhookIdSchema2 }),
|
|
8747
|
+
z11.object({ type: z11.literal("page"), ...PageMetadataSchema2.shape })
|
|
8628
8748
|
])
|
|
8629
8749
|
);
|
|
8630
|
-
var ApiNavigationConfigSubpackageSchema =
|
|
8750
|
+
var ApiNavigationConfigSubpackageSchema = z11.object({
|
|
8631
8751
|
summaryPageId: PageIdSchema2.optional(),
|
|
8632
8752
|
subpackageId: SubpackageIdSchema2,
|
|
8633
|
-
items:
|
|
8753
|
+
items: z11.array(ApiNavigationConfigItemSchema4)
|
|
8634
8754
|
});
|
|
8635
|
-
var ApiNavigationConfigRootSchema4 =
|
|
8755
|
+
var ApiNavigationConfigRootSchema4 = z11.object({
|
|
8636
8756
|
summaryPageId: PageIdSchema2.optional(),
|
|
8637
|
-
items:
|
|
8757
|
+
items: z11.array(ApiNavigationConfigItemSchema4)
|
|
8638
8758
|
});
|
|
8639
|
-
var ApiSectionSchema2 =
|
|
8759
|
+
var ApiSectionSchema2 = z11.object({
|
|
8640
8760
|
...NavigationNodeMetadataSchema2.shape,
|
|
8641
|
-
title:
|
|
8761
|
+
title: z11.string(),
|
|
8642
8762
|
api: ApiDefinitionIdSchema2,
|
|
8643
|
-
artifacts:
|
|
8644
|
-
sdks:
|
|
8645
|
-
|
|
8646
|
-
|
|
8647
|
-
type:
|
|
8648
|
-
packageName:
|
|
8649
|
-
githubRepoName:
|
|
8650
|
-
version:
|
|
8763
|
+
artifacts: z11.object({
|
|
8764
|
+
sdks: z11.array(
|
|
8765
|
+
z11.discriminatedUnion("type", [
|
|
8766
|
+
z11.object({
|
|
8767
|
+
type: z11.literal("npm"),
|
|
8768
|
+
packageName: z11.string(),
|
|
8769
|
+
githubRepoName: z11.string(),
|
|
8770
|
+
version: z11.string()
|
|
8651
8771
|
}),
|
|
8652
|
-
|
|
8653
|
-
type:
|
|
8654
|
-
coordinate:
|
|
8655
|
-
githubRepoName:
|
|
8656
|
-
version:
|
|
8772
|
+
z11.object({
|
|
8773
|
+
type: z11.literal("maven"),
|
|
8774
|
+
coordinate: z11.string(),
|
|
8775
|
+
githubRepoName: z11.string(),
|
|
8776
|
+
version: z11.string()
|
|
8657
8777
|
}),
|
|
8658
|
-
|
|
8659
|
-
type:
|
|
8660
|
-
packageName:
|
|
8661
|
-
githubRepoName:
|
|
8662
|
-
version:
|
|
8778
|
+
z11.object({
|
|
8779
|
+
type: z11.literal("pypi"),
|
|
8780
|
+
packageName: z11.string(),
|
|
8781
|
+
githubRepoName: z11.string(),
|
|
8782
|
+
version: z11.string()
|
|
8663
8783
|
})
|
|
8664
8784
|
])
|
|
8665
8785
|
),
|
|
8666
|
-
postman:
|
|
8786
|
+
postman: z11.object({
|
|
8667
8787
|
url: UrlSchema2,
|
|
8668
|
-
githubRepoName:
|
|
8788
|
+
githubRepoName: z11.string().optional()
|
|
8669
8789
|
}).optional()
|
|
8670
8790
|
}).optional(),
|
|
8671
|
-
skipUrlSlug:
|
|
8672
|
-
showErrors:
|
|
8791
|
+
skipUrlSlug: z11.boolean().optional(),
|
|
8792
|
+
showErrors: z11.boolean().optional(),
|
|
8673
8793
|
changelog: ChangelogSectionSchema2.optional(),
|
|
8674
8794
|
changelogV2: ChangelogSectionV2Schema.optional(),
|
|
8675
8795
|
navigation: ApiNavigationConfigRootSchema4.optional(),
|
|
8676
|
-
longScrolling:
|
|
8677
|
-
flattened:
|
|
8796
|
+
longScrolling: z11.boolean().optional(),
|
|
8797
|
+
flattened: z11.boolean().optional()
|
|
8678
8798
|
});
|
|
8679
|
-
var ApiSectionV2Schema2 =
|
|
8680
|
-
node:
|
|
8799
|
+
var ApiSectionV2Schema2 = z11.object({
|
|
8800
|
+
node: z11.unknown()
|
|
8681
8801
|
});
|
|
8682
|
-
var DocsSectionSchema2 =
|
|
8683
|
-
() =>
|
|
8802
|
+
var DocsSectionSchema2 = z11.lazy(
|
|
8803
|
+
() => z11.object({
|
|
8684
8804
|
...NavigationNodeMetadataSchema2.shape,
|
|
8685
|
-
title:
|
|
8686
|
-
items:
|
|
8687
|
-
collapsed:
|
|
8688
|
-
collapsible:
|
|
8689
|
-
collapsedByDefault:
|
|
8690
|
-
skipUrlSlug:
|
|
8805
|
+
title: z11.string(),
|
|
8806
|
+
items: z11.array(NavigationItemSchema2),
|
|
8807
|
+
collapsed: z11.union([z11.boolean(), z11.literal("open-by-default")]).optional(),
|
|
8808
|
+
collapsible: z11.boolean().optional(),
|
|
8809
|
+
collapsedByDefault: z11.boolean().optional(),
|
|
8810
|
+
skipUrlSlug: z11.boolean().optional(),
|
|
8691
8811
|
overviewPageId: PageIdSchema2.optional()
|
|
8692
8812
|
})
|
|
8693
8813
|
);
|
|
8694
|
-
var NavigationItemSchema2 =
|
|
8695
|
-
() =>
|
|
8696
|
-
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
type:
|
|
8814
|
+
var NavigationItemSchema2 = z11.lazy(
|
|
8815
|
+
() => z11.discriminatedUnion("type", [
|
|
8816
|
+
z11.object({ type: z11.literal("page"), ...PageMetadataSchema2.shape }),
|
|
8817
|
+
z11.object({ type: z11.literal("api"), ...ApiSectionSchema2.shape }),
|
|
8818
|
+
z11.object({ type: z11.literal("apiV2"), ...ApiSectionV2Schema2.shape }),
|
|
8819
|
+
z11.object({
|
|
8820
|
+
type: z11.literal("section"),
|
|
8701
8821
|
...NavigationNodeMetadataSchema2.shape,
|
|
8702
|
-
title:
|
|
8703
|
-
items:
|
|
8704
|
-
collapsed:
|
|
8705
|
-
collapsible:
|
|
8706
|
-
collapsedByDefault:
|
|
8707
|
-
skipUrlSlug:
|
|
8822
|
+
title: z11.string(),
|
|
8823
|
+
items: z11.array(NavigationItemSchema2),
|
|
8824
|
+
collapsed: z11.union([z11.boolean(), z11.literal("open-by-default")]).optional(),
|
|
8825
|
+
collapsible: z11.boolean().optional(),
|
|
8826
|
+
collapsedByDefault: z11.boolean().optional(),
|
|
8827
|
+
skipUrlSlug: z11.boolean().optional(),
|
|
8708
8828
|
overviewPageId: PageIdSchema2.optional()
|
|
8709
8829
|
}),
|
|
8710
|
-
|
|
8711
|
-
|
|
8712
|
-
|
|
8830
|
+
z11.object({ type: z11.literal("link"), ...LinkMetadataSchema2.shape }),
|
|
8831
|
+
z11.object({ type: z11.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
|
|
8832
|
+
z11.object({ type: z11.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
|
|
8713
8833
|
])
|
|
8714
8834
|
);
|
|
8715
|
-
var NavigationTabGroupSchema2 =
|
|
8835
|
+
var NavigationTabGroupSchema2 = z11.object({
|
|
8716
8836
|
...NavigationNodeMetadataSchema2.shape,
|
|
8717
|
-
title:
|
|
8718
|
-
items:
|
|
8719
|
-
skipUrlSlug:
|
|
8720
|
-
});
|
|
8721
|
-
var NavigationTabSchema2 =
|
|
8722
|
-
var NavigationTabV2Schema =
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8837
|
+
title: z11.string(),
|
|
8838
|
+
items: z11.array(NavigationItemSchema2),
|
|
8839
|
+
skipUrlSlug: z11.boolean().optional()
|
|
8840
|
+
});
|
|
8841
|
+
var NavigationTabSchema2 = z11.union([NavigationTabGroupSchema2, NavigationTabLinkSchema2]);
|
|
8842
|
+
var NavigationTabV2Schema = z11.discriminatedUnion("type", [
|
|
8843
|
+
z11.object({ type: z11.literal("group"), ...NavigationTabGroupSchema2.shape }),
|
|
8844
|
+
z11.object({ type: z11.literal("link"), ...NavigationTabLinkSchema2.shape }),
|
|
8845
|
+
z11.object({ type: z11.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
|
|
8846
|
+
z11.object({ type: z11.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
|
|
8727
8847
|
]);
|
|
8728
|
-
var UnversionedTabbedNavigationConfigSchema2 =
|
|
8729
|
-
tabs:
|
|
8730
|
-
tabsV2:
|
|
8848
|
+
var UnversionedTabbedNavigationConfigSchema2 = z11.object({
|
|
8849
|
+
tabs: z11.array(NavigationTabSchema2).optional(),
|
|
8850
|
+
tabsV2: z11.array(NavigationTabV2Schema).optional(),
|
|
8731
8851
|
landingPage: PageMetadataSchema2.optional()
|
|
8732
8852
|
});
|
|
8733
|
-
var UnversionedUntabbedNavigationConfigSchema2 =
|
|
8734
|
-
items:
|
|
8853
|
+
var UnversionedUntabbedNavigationConfigSchema2 = z11.object({
|
|
8854
|
+
items: z11.array(NavigationItemSchema2),
|
|
8735
8855
|
landingPage: PageMetadataSchema2.optional()
|
|
8736
8856
|
});
|
|
8737
|
-
var UnversionedNavigationConfigSchema2 =
|
|
8857
|
+
var UnversionedNavigationConfigSchema2 = z11.union([
|
|
8738
8858
|
UnversionedTabbedNavigationConfigSchema2,
|
|
8739
8859
|
UnversionedUntabbedNavigationConfigSchema2
|
|
8740
8860
|
]);
|
|
8741
|
-
var VersionedNavigationConfigDataSchema2 =
|
|
8861
|
+
var VersionedNavigationConfigDataSchema2 = z11.object({
|
|
8742
8862
|
version: VersionIdSchema2,
|
|
8743
|
-
urlSlugOverride:
|
|
8863
|
+
urlSlugOverride: z11.string().optional(),
|
|
8744
8864
|
availability: AvailabilitySchema2.optional(),
|
|
8745
8865
|
config: UnversionedNavigationConfigSchema2
|
|
8746
8866
|
});
|
|
8747
|
-
var VersionedNavigationConfigSchema2 =
|
|
8748
|
-
versions:
|
|
8867
|
+
var VersionedNavigationConfigSchema2 = z11.object({
|
|
8868
|
+
versions: z11.array(VersionedNavigationConfigDataSchema2)
|
|
8749
8869
|
});
|
|
8750
|
-
var NavigationConfigSchema2 =
|
|
8751
|
-
var ThemeConfigSchema2 =
|
|
8870
|
+
var NavigationConfigSchema2 = z11.union([UnversionedNavigationConfigSchema2, VersionedNavigationConfigSchema2]);
|
|
8871
|
+
var ThemeConfigSchema2 = z11.object({
|
|
8752
8872
|
logo: FileIdSchema2.optional(),
|
|
8753
8873
|
backgroundImage: FileIdSchema2.optional(),
|
|
8754
8874
|
accentPrimary: RgbaColorSchema,
|
|
@@ -8770,37 +8890,37 @@ var ThemeConfigSchema2 = z10.object({
|
|
|
8770
8890
|
accent11: RgbaColorSchema.optional(),
|
|
8771
8891
|
accent12: RgbaColorSchema.optional()
|
|
8772
8892
|
});
|
|
8773
|
-
var DarkAndLightModeConfigSchema2 =
|
|
8893
|
+
var DarkAndLightModeConfigSchema2 = z11.object({
|
|
8774
8894
|
dark: ThemeConfigSchema2,
|
|
8775
8895
|
light: ThemeConfigSchema2
|
|
8776
8896
|
});
|
|
8777
|
-
var ColorsConfigV3Schema2 =
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8897
|
+
var ColorsConfigV3Schema2 = z11.discriminatedUnion("type", [
|
|
8898
|
+
z11.object({ type: z11.literal("dark"), ...ThemeConfigSchema2.shape }),
|
|
8899
|
+
z11.object({ type: z11.literal("light"), ...ThemeConfigSchema2.shape }),
|
|
8900
|
+
z11.object({ type: z11.literal("darkAndLight"), ...DarkAndLightModeConfigSchema2.shape })
|
|
8781
8901
|
]);
|
|
8782
|
-
var DocsConfigSchema2 =
|
|
8783
|
-
title:
|
|
8902
|
+
var DocsConfigSchema2 = z11.object({
|
|
8903
|
+
title: z11.string().optional(),
|
|
8784
8904
|
defaultLanguage: ProgrammingLanguageSchema.optional(),
|
|
8785
|
-
languages:
|
|
8905
|
+
languages: z11.array(LanguageSchema).optional(),
|
|
8786
8906
|
translations: DocsTranslationsConfigSchema.optional(),
|
|
8787
|
-
announcement:
|
|
8907
|
+
announcement: z11.object({ text: z11.string() }).optional(),
|
|
8788
8908
|
navigation: NavigationConfigSchema2.optional(),
|
|
8789
|
-
root:
|
|
8790
|
-
navbarLinks:
|
|
8791
|
-
footerLinks:
|
|
8792
|
-
hideNavLinks:
|
|
8909
|
+
root: z11.custom().optional(),
|
|
8910
|
+
navbarLinks: z11.array(NavbarLinkSchema).optional(),
|
|
8911
|
+
footerLinks: z11.array(FooterLinkSchema).optional(),
|
|
8912
|
+
hideNavLinks: z11.boolean().optional(),
|
|
8793
8913
|
logoHeight: HeightSchema2.optional(),
|
|
8794
8914
|
logoHref: UrlSchema2.optional(),
|
|
8795
|
-
logoRightText:
|
|
8915
|
+
logoRightText: z11.string().optional(),
|
|
8796
8916
|
favicon: FileIdSchema2.optional(),
|
|
8797
8917
|
agents: AgentsConfigSchema.optional(),
|
|
8798
8918
|
metadata: MetadataConfigSchema.optional(),
|
|
8799
|
-
redirects:
|
|
8919
|
+
redirects: z11.array(RedirectConfigSchema).optional(),
|
|
8800
8920
|
colorsV3: ColorsConfigV3Schema2.optional(),
|
|
8801
8921
|
layout: DocsLayoutConfigSchema.optional(),
|
|
8802
8922
|
theme: DocsThemeConfigSchema.optional(),
|
|
8803
|
-
globalTheme:
|
|
8923
|
+
globalTheme: z11.string().optional(),
|
|
8804
8924
|
settings: DocsSettingsConfigSchema.optional(),
|
|
8805
8925
|
typographyV2: DocsTypographyConfigV2Schema.optional(),
|
|
8806
8926
|
analyticsConfig: AnalyticsConfigSchema.optional(),
|
|
@@ -8810,8 +8930,8 @@ var DocsConfigSchema2 = z10.object({
|
|
|
8810
8930
|
aiChatConfig: AIChatConfigSchema.optional(),
|
|
8811
8931
|
pageActions: PageActionsConfigSchema.optional(),
|
|
8812
8932
|
editThisPageLaunch: EditThisPageLaunchSchema.optional(),
|
|
8813
|
-
header:
|
|
8814
|
-
footer:
|
|
8933
|
+
header: z11.string().optional(),
|
|
8934
|
+
footer: z11.string().optional(),
|
|
8815
8935
|
backgroundImage: FileIdSchema2.optional(),
|
|
8816
8936
|
logoV2: ThemedFileIdSchema.optional(),
|
|
8817
8937
|
logo: FileIdSchema2.optional(),
|
|
@@ -8819,163 +8939,45 @@ var DocsConfigSchema2 = z10.object({
|
|
|
8819
8939
|
colorsV2: ColorsConfigV2Schema.optional(),
|
|
8820
8940
|
typography: DocsTypographyConfigSchema.optional()
|
|
8821
8941
|
});
|
|
8822
|
-
var DocsDefinitionSchema2 =
|
|
8823
|
-
pages:
|
|
8942
|
+
var DocsDefinitionSchema2 = z11.object({
|
|
8943
|
+
pages: z11.record(PageIdSchema2, PageContentSchema2),
|
|
8824
8944
|
config: DocsConfigSchema2,
|
|
8825
|
-
jsFiles:
|
|
8826
|
-
});
|
|
8827
|
-
var NpmPackageSchema2 =
|
|
8828
|
-
packageName:
|
|
8829
|
-
githubRepoName:
|
|
8830
|
-
version:
|
|
8831
|
-
});
|
|
8832
|
-
var MavenPackageSchema2 =
|
|
8833
|
-
coordinate:
|
|
8834
|
-
githubRepoName:
|
|
8835
|
-
version:
|
|
8836
|
-
});
|
|
8837
|
-
var PypiPackageSchema2 =
|
|
8838
|
-
packageName:
|
|
8839
|
-
githubRepoName:
|
|
8840
|
-
version:
|
|
8841
|
-
});
|
|
8842
|
-
var PublishedSdkSchema2 =
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
|
|
8945
|
+
jsFiles: z11.record(z11.string(), z11.string()).optional()
|
|
8946
|
+
});
|
|
8947
|
+
var NpmPackageSchema2 = z11.object({
|
|
8948
|
+
packageName: z11.string(),
|
|
8949
|
+
githubRepoName: z11.string(),
|
|
8950
|
+
version: z11.string()
|
|
8951
|
+
});
|
|
8952
|
+
var MavenPackageSchema2 = z11.object({
|
|
8953
|
+
coordinate: z11.string(),
|
|
8954
|
+
githubRepoName: z11.string(),
|
|
8955
|
+
version: z11.string()
|
|
8956
|
+
});
|
|
8957
|
+
var PypiPackageSchema2 = z11.object({
|
|
8958
|
+
packageName: z11.string(),
|
|
8959
|
+
githubRepoName: z11.string(),
|
|
8960
|
+
version: z11.string()
|
|
8961
|
+
});
|
|
8962
|
+
var PublishedSdkSchema2 = z11.discriminatedUnion("type", [
|
|
8963
|
+
z11.object({ type: z11.literal("npm"), ...NpmPackageSchema2.shape }),
|
|
8964
|
+
z11.object({ type: z11.literal("maven"), ...MavenPackageSchema2.shape }),
|
|
8965
|
+
z11.object({ type: z11.literal("pypi"), ...PypiPackageSchema2.shape })
|
|
8846
8966
|
]);
|
|
8847
|
-
var PublishedPostmanCollectionSchema2 =
|
|
8967
|
+
var PublishedPostmanCollectionSchema2 = z11.object({
|
|
8848
8968
|
url: UrlSchema2,
|
|
8849
|
-
githubRepoName:
|
|
8969
|
+
githubRepoName: z11.string().optional()
|
|
8850
8970
|
});
|
|
8851
|
-
var ApiArtifactsSchema2 =
|
|
8852
|
-
sdks:
|
|
8971
|
+
var ApiArtifactsSchema2 = z11.object({
|
|
8972
|
+
sdks: z11.array(PublishedSdkSchema2),
|
|
8853
8973
|
postman: PublishedPostmanCollectionSchema2.optional()
|
|
8854
8974
|
});
|
|
8855
|
-
var InvalidCustomDomainErrorBodySchema =
|
|
8856
|
-
overlappingDomains:
|
|
8975
|
+
var InvalidCustomDomainErrorBodySchema = z11.object({
|
|
8976
|
+
overlappingDomains: z11.array(z11.array(z11.string()))
|
|
8857
8977
|
});
|
|
8858
|
-
var OverlappingCustomDomainsSchema =
|
|
8859
|
-
|
|
8860
|
-
// src/orpc-client/docs/v2/read/contract.ts
|
|
8861
|
-
var contract_exports = {};
|
|
8862
|
-
__export(contract_exports, {
|
|
8863
|
-
DocsDefinitionField: () => DocsDefinitionField,
|
|
8864
|
-
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
8865
|
-
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
8866
|
-
DocsReadDefinitionSchema: () => DocsDefinitionSchema,
|
|
8867
|
-
GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
|
|
8868
|
-
GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
|
|
8869
|
-
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
8870
|
-
GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
|
|
8871
|
-
GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
|
|
8872
|
-
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
8873
|
-
ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
|
|
8874
|
-
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
8875
|
-
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
8876
|
-
docsV2ReadContract: () => docsV2ReadContract,
|
|
8877
|
-
getDocsForUrl: () => getDocsForUrl
|
|
8878
|
-
});
|
|
8879
|
-
import { oc } from "@orpc/contract";
|
|
8880
|
-
import * as z11 from "zod";
|
|
8881
|
-
var GetDocsUrlMetadataInputSchema = z11.object({
|
|
8882
|
-
url: z11.string()
|
|
8883
|
-
});
|
|
8884
|
-
var GetDocsUrlMetadataResponseSchema = z11.object({
|
|
8885
|
-
isPreviewUrl: z11.boolean(),
|
|
8886
|
-
org: z11.string(),
|
|
8887
|
-
url: z11.string(),
|
|
8888
|
-
gitUrl: z11.string().nullish(),
|
|
8889
|
-
enableAlgoliaOnPreview: z11.boolean().nullish()
|
|
8890
|
-
});
|
|
8891
|
-
var GetDocsForUrlInputSchema = z11.object({
|
|
8892
|
-
url: z11.string(),
|
|
8893
|
-
excludeApis: z11.boolean().nullish()
|
|
8894
|
-
});
|
|
8895
|
-
var GetPrivateDocsForUrlInputSchema = z11.object({
|
|
8896
|
-
url: z11.string()
|
|
8897
|
-
});
|
|
8898
|
-
var ListAllDocsUrlsInputSchema = z11.object({
|
|
8899
|
-
limit: z11.number().nullish(),
|
|
8900
|
-
page: z11.number().nullish(),
|
|
8901
|
-
custom: z11.boolean().nullish(),
|
|
8902
|
-
preview: z11.boolean().nullish()
|
|
8903
|
-
});
|
|
8904
|
-
var GetDocsConfigByIdInputSchema = z11.object({
|
|
8905
|
-
docsConfigId: z11.string()
|
|
8906
|
-
});
|
|
8907
|
-
var DocsDefinitionField = {
|
|
8908
|
-
BaseUrl: "BASE_URL",
|
|
8909
|
-
FilesV2: "FILES_V2",
|
|
8910
|
-
ApisV2: "APIS_V2",
|
|
8911
|
-
Apis: "APIS",
|
|
8912
|
-
Pages: "PAGES",
|
|
8913
|
-
JsFiles: "JS_FILES",
|
|
8914
|
-
Config: "CONFIG",
|
|
8915
|
-
Root: "ROOT"
|
|
8916
|
-
};
|
|
8917
|
-
var GetDocsConfigByIdResponseSchema = z11.object({
|
|
8918
|
-
docsConfig: DocsConfigSchema,
|
|
8919
|
-
apis: z11.record(z11.string(), z11.unknown())
|
|
8920
|
-
});
|
|
8921
|
-
var DocsDomainItemSchema = z11.object({
|
|
8922
|
-
domain: z11.string(),
|
|
8923
|
-
basePath: z11.string().optional(),
|
|
8924
|
-
organizationId: z11.string(),
|
|
8925
|
-
updatedAt: z11.string()
|
|
8926
|
-
});
|
|
8927
|
-
var ListAllDocsUrlsResponseSchema = z11.object({
|
|
8928
|
-
urls: z11.array(DocsDomainItemSchema)
|
|
8929
|
-
});
|
|
8930
|
-
var getDocsForUrl;
|
|
8931
|
-
((getDocsForUrl2) => {
|
|
8932
|
-
let Error2;
|
|
8933
|
-
((Error3) => {
|
|
8934
|
-
function _unknown(fetcherError) {
|
|
8935
|
-
return { error: void 0, content: fetcherError };
|
|
8936
|
-
}
|
|
8937
|
-
Error3._unknown = _unknown;
|
|
8938
|
-
})(Error2 = getDocsForUrl2.Error || (getDocsForUrl2.Error = {}));
|
|
8939
|
-
})(getDocsForUrl || (getDocsForUrl = {}));
|
|
8940
|
-
var docsV2ReadContract = {
|
|
8941
|
-
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
|
|
8942
|
-
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
8943
|
-
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
8944
|
-
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
8945
|
-
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
8946
|
-
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z11.void()),
|
|
8947
|
-
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z11.void()),
|
|
8948
|
-
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(z11.void())
|
|
8949
|
-
};
|
|
8978
|
+
var OverlappingCustomDomainsSchema = z11.array(z11.string());
|
|
8950
8979
|
|
|
8951
8980
|
// src/orpc-client/docs/v2/write/contract.ts
|
|
8952
|
-
var contract_exports2 = {};
|
|
8953
|
-
__export(contract_exports2, {
|
|
8954
|
-
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
|
|
8955
|
-
AuthConfigSchema: () => AuthConfigSchema,
|
|
8956
|
-
Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
|
|
8957
|
-
DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
|
|
8958
|
-
FilePath: () => FilePath2,
|
|
8959
|
-
FilePathInputSchema: () => FilePathInputSchema,
|
|
8960
|
-
FilePathSchema: () => FilePathSchema2,
|
|
8961
|
-
FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
|
|
8962
|
-
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
|
|
8963
|
-
ImageFilePathSchema: () => ImageFilePathSchema,
|
|
8964
|
-
ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
|
|
8965
|
-
RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
|
|
8966
|
-
RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
|
|
8967
|
-
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
8968
|
-
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
8969
|
-
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
8970
|
-
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
|
|
8971
|
-
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
|
|
8972
|
-
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
|
|
8973
|
-
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
8974
|
-
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
8975
|
-
docsV2WriteContract: () => docsV2WriteContract
|
|
8976
|
-
});
|
|
8977
|
-
import { oc as oc2 } from "@orpc/contract";
|
|
8978
|
-
import * as z12 from "zod";
|
|
8979
8981
|
var FilePathSchema2 = z12.string();
|
|
8980
8982
|
function FilePath2(value) {
|
|
8981
8983
|
return value;
|