@postmcp/presets 0.1.3 → 0.1.5
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/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -596,6 +596,7 @@ var CLOUD_DATABASES_PRESETS = [
|
|
|
596
596
|
authType: "Bearer (NEON_API_KEY)",
|
|
597
597
|
authEnvVar: "NEON_API_KEY",
|
|
598
598
|
defaultBaseUrl: "https://console.neon.tech/api/v2",
|
|
599
|
+
specUrl: "https://neon.tech/api_spec/release/v2.json",
|
|
599
600
|
tags: ["postgres", "serverless", "branching", "sql"],
|
|
600
601
|
fieldMasks: [
|
|
601
602
|
{ path: "/projects", fields: ["projects.id", "projects.name", "projects.region_id", "projects.created_at"] }
|
|
@@ -606,7 +607,19 @@ var CLOUD_DATABASES_PRESETS = [
|
|
|
606
607
|
description: "Neon Database Branching API",
|
|
607
608
|
securityScheme: { name: "bearerAuth", type: "http", scheme: "bearer" },
|
|
608
609
|
endpoints: [
|
|
609
|
-
{ path: "/
|
|
610
|
+
{ path: "/users/me/organizations", method: "get", operationId: "getCurrentUserOrganizations", summary: "List organizations for the current user" },
|
|
611
|
+
{
|
|
612
|
+
path: "/projects",
|
|
613
|
+
method: "get",
|
|
614
|
+
operationId: "listProjects",
|
|
615
|
+
summary: "List Neon projects",
|
|
616
|
+
parameters: [
|
|
617
|
+
{ name: "org_id", in: "query", schema: { type: "string" }, description: "Neon Organization ID" },
|
|
618
|
+
{ name: "limit", in: "query", schema: { type: "integer" }, description: "The maximum number of projects to return" },
|
|
619
|
+
{ name: "cursor", in: "query", schema: { type: "string" }, description: "Pagination cursor" },
|
|
620
|
+
{ name: "search", in: "query", schema: { type: "string" }, description: "Search query to filter projects by name" }
|
|
621
|
+
]
|
|
622
|
+
},
|
|
610
623
|
{ path: "/projects/{project_id}", method: "get", operationId: "getProject", summary: "Get project details", parameters: [{ name: "project_id", in: "path", schema: { type: "string" } }] },
|
|
611
624
|
{ path: "/projects/{project_id}/branches", method: "get", operationId: "listBranches", summary: "List database branches", parameters: [{ name: "project_id", in: "path", schema: { type: "string" } }] },
|
|
612
625
|
{ path: "/projects/{project_id}/branches", method: "post", operationId: "createBranch", summary: "Create new database branch", parameters: [{ name: "project_id", in: "path", schema: { type: "string" } }], requestBody: { properties: { branch: { type: "object" } } } }
|