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