@fern-api/fdr-sdk 1.2.2-be0d74d1a9 → 1.2.2-ff12a55fa2
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 +11 -2
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +11 -2
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +11 -2
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +11 -2
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +13 -2
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +12 -2
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/orpc-client/docs-deployment/contract.d.ts +54 -0
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1745,6 +1745,7 @@ var DocsSiteSchema = z7.object({
|
|
|
1745
1745
|
basepath: z7.string(),
|
|
1746
1746
|
previewUrl: z7.string().nullish(),
|
|
1747
1747
|
postmanCollectionId: z7.string().nullish(),
|
|
1748
|
+
editorRepoUrl: z7.string().nullish(),
|
|
1748
1749
|
status: DocsDeploymentStatusSchema,
|
|
1749
1750
|
createdAt: z7.string(),
|
|
1750
1751
|
updatedAt: z7.string()
|
|
@@ -1767,7 +1768,8 @@ var RegisterDocsSiteInputSchema = z7.object({
|
|
|
1767
1768
|
orgId: z7.string(),
|
|
1768
1769
|
basepath: z7.string().nullish(),
|
|
1769
1770
|
previewUrl: z7.string().nullish(),
|
|
1770
|
-
postmanCollectionId: z7.string().nullish()
|
|
1771
|
+
postmanCollectionId: z7.string().nullish(),
|
|
1772
|
+
editorRepoUrl: z7.string().nullish()
|
|
1771
1773
|
});
|
|
1772
1774
|
var GetPostmanCollectionIdInputSchema = z7.object({
|
|
1773
1775
|
orgId: z7.string(),
|
|
@@ -1842,6 +1844,12 @@ var GetDocsSitesByCollectionIdResponseSchema = z7.object({
|
|
|
1842
1844
|
})
|
|
1843
1845
|
)
|
|
1844
1846
|
});
|
|
1847
|
+
var SetEditorRepoUrlInputSchema = z7.object({
|
|
1848
|
+
orgId: z7.string(),
|
|
1849
|
+
domain: z7.string(),
|
|
1850
|
+
basepath: z7.string().nullish(),
|
|
1851
|
+
editorRepoUrl: z7.string().nullable()
|
|
1852
|
+
});
|
|
1845
1853
|
var docsDeploymentContract = {
|
|
1846
1854
|
registerDocsSite: import_contract2.oc.route({ method: "POST", path: "/register" }).input(RegisterDocsSiteInputSchema).output(DocsSiteSchema),
|
|
1847
1855
|
getDocsStatus: import_contract2.oc.route({ method: "GET", path: "/status" }).input(GetDocsStatusInputSchema).output(GetDocsStatusResponseSchema),
|
|
@@ -1851,7 +1859,8 @@ var docsDeploymentContract = {
|
|
|
1851
1859
|
getDocsDeployments: import_contract2.oc.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema),
|
|
1852
1860
|
getPostmanCollectionId: import_contract2.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
|
|
1853
1861
|
unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
|
|
1854
|
-
getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema)
|
|
1862
|
+
getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
|
|
1863
|
+
setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() }))
|
|
1855
1864
|
};
|
|
1856
1865
|
|
|
1857
1866
|
// src/orpc-client/dashboard/contract.ts
|