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