@neon/tools 1.3.3 → 1.4.0
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/README.md +11 -1
- package/dist/generated/zod.gen.d.ts +162 -43
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +53 -11
- package/dist/lib/ergonomic/bind.js +4 -1
- package/dist/lib/ergonomic/catalog.d.ts +80 -16
- package/dist/lib/ergonomic/catalog.d.ts.map +1 -1
- package/dist/lib/ergonomic/catalog.js +360 -105
- package/dist/lib/ergonomic/composed.d.ts.map +1 -1
- package/dist/lib/ergonomic/composed.js +26 -19
- package/dist/operations.gen.d.ts +80 -16
- package/dist/operations.gen.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composed.d.ts","sourceRoot":"","sources":["../../../src/lib/ergonomic/composed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAyB,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAmD1E,eAAO,MAAM,uBAAuB;;;;;;;;;;kBAqBjC,CAAC;AAEJ,eAAO,MAAM,iCAAiC;;;;;;;;;;kBAM5C,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAEnC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG7C,CAAC;AAEH,eAAO,MAAM,qBAAqB;;kBAEhC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;kBAOrC,CAAC;AAIH,eAAO,MAAM,wBAAwB;;;;;;;;;kBASnC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;kBAOtC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;kBAWrC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createBranchTool = (options) => bindTool(options, {
|
|
|
111
111
|
tags: ["Branch"]
|
|
112
112
|
}
|
|
113
113
|
}, (neon, input, signal) => {
|
|
114
|
-
if (input.no_compute === true) return neon.branches.create(
|
|
114
|
+
if (input.no_compute === true) return neon.branches.create({
|
|
115
|
+
projectId: input.project_id,
|
|
115
116
|
name: input.name,
|
|
116
117
|
parent_id: input.parent_id,
|
|
117
118
|
noCompute: true
|
|
118
119
|
}, { signal });
|
|
119
|
-
return neon.branches.create(
|
|
120
|
+
return neon.branches.create({
|
|
121
|
+
projectId: input.project_id,
|
|
120
122
|
name: input.name,
|
|
121
123
|
parent_id: input.parent_id,
|
|
122
124
|
compute: mapCompute(input.compute)
|
|
@@ -137,14 +139,13 @@ const createBranchAndConnectTool = (options) => bindTool(options, {
|
|
|
137
139
|
deprecated: false,
|
|
138
140
|
tags: ["Branch"]
|
|
139
141
|
}
|
|
140
|
-
}, (neon, input, signal) => neon.branches.createAndConnect(
|
|
142
|
+
}, (neon, input, signal) => neon.branches.createAndConnect({
|
|
143
|
+
projectId: input.project_id,
|
|
141
144
|
name: input.name,
|
|
142
145
|
parentId: input.parent_id,
|
|
143
|
-
compute: mapCompute(input.compute)
|
|
144
|
-
}, {
|
|
145
|
-
signal,
|
|
146
|
+
compute: mapCompute(input.compute),
|
|
146
147
|
...input.pooled === void 0 ? {} : { pooled: input.pooled }
|
|
147
|
-
}));
|
|
148
|
+
}, { signal }));
|
|
148
149
|
const createProjectTool = (options) => bindTool(options, {
|
|
149
150
|
operationId: "projects.create",
|
|
150
151
|
id: publishedId("projects.create"),
|
|
@@ -176,13 +177,7 @@ const createProjectAndConnectTool = (options) => bindTool(options, {
|
|
|
176
177
|
deprecated: false,
|
|
177
178
|
tags: ["Project"]
|
|
178
179
|
}
|
|
179
|
-
}, (neon, input, signal) => {
|
|
180
|
-
const { pooled, ...project } = input;
|
|
181
|
-
return neon.projects.createAndConnect(project, {
|
|
182
|
-
signal,
|
|
183
|
-
...pooled === void 0 ? {} : { pooled }
|
|
184
|
-
});
|
|
185
|
-
});
|
|
180
|
+
}, (neon, input, signal) => neon.projects.createAndConnect(input, { signal }));
|
|
186
181
|
const getDefaultTool = (options) => bindTool(options, {
|
|
187
182
|
operationId: "branches.getDefault",
|
|
188
183
|
id: publishedId("branches.getDefault"),
|
|
@@ -198,7 +193,7 @@ const getDefaultTool = (options) => bindTool(options, {
|
|
|
198
193
|
deprecated: false,
|
|
199
194
|
tags: ["Branch"]
|
|
200
195
|
}
|
|
201
|
-
}, (neon, input, signal) => neon.branches.getDefault(input.project_id, { signal }));
|
|
196
|
+
}, (neon, input, signal) => neon.branches.getDefault({ projectId: input.project_id }, { signal }));
|
|
202
197
|
const resetFromParentTool = (options) => bindTool(options, {
|
|
203
198
|
operationId: "branches.resetFromParent",
|
|
204
199
|
id: publishedId("branches.resetFromParent"),
|
|
@@ -214,7 +209,11 @@ const resetFromParentTool = (options) => bindTool(options, {
|
|
|
214
209
|
deprecated: false,
|
|
215
210
|
tags: ["Branch"]
|
|
216
211
|
}
|
|
217
|
-
}, (neon, input, signal) => neon.branches.resetFromParent(
|
|
212
|
+
}, (neon, input, signal) => neon.branches.resetFromParent({
|
|
213
|
+
projectId: input.project_id,
|
|
214
|
+
branchId: input.branch_id,
|
|
215
|
+
...input.preserve_under_name === void 0 ? void 0 : { preserveUnderName: input.preserve_under_name }
|
|
216
|
+
}, { signal }));
|
|
218
217
|
const compareSchemaTool = (options) => bindTool(options, {
|
|
219
218
|
operationId: "branches.compareSchema",
|
|
220
219
|
id: publishedId("branches.compareSchema"),
|
|
@@ -230,7 +229,9 @@ const compareSchemaTool = (options) => bindTool(options, {
|
|
|
230
229
|
deprecated: false,
|
|
231
230
|
tags: ["Branch"]
|
|
232
231
|
}
|
|
233
|
-
}, (neon, input, signal) => neon.branches.compareSchema(
|
|
232
|
+
}, (neon, input, signal) => neon.branches.compareSchema({
|
|
233
|
+
projectId: input.project_id,
|
|
234
|
+
branchId: input.branch_id,
|
|
234
235
|
databaseName: input.database_name,
|
|
235
236
|
...input.base_branch_id === void 0 ? {} : { baseBranchId: input.base_branch_id },
|
|
236
237
|
...input.lsn === void 0 ? {} : { lsn: input.lsn },
|
|
@@ -276,7 +277,9 @@ const restoreSnapshotTool = (options) => bindTool(options, {
|
|
|
276
277
|
deprecated: false,
|
|
277
278
|
tags: ["Snapshot"]
|
|
278
279
|
}
|
|
279
|
-
}, (neon, input, signal) => neon.snapshots.restore(
|
|
280
|
+
}, (neon, input, signal) => neon.snapshots.restore({
|
|
281
|
+
projectId: input.project_id,
|
|
282
|
+
snapshotId: input.snapshot_id,
|
|
280
283
|
name: input.name,
|
|
281
284
|
targetBranchId: input.target_branch_id,
|
|
282
285
|
finalize: input.finalize
|
|
@@ -296,6 +299,10 @@ const setScheduleTool = (options) => bindTool(options, {
|
|
|
296
299
|
deprecated: false,
|
|
297
300
|
tags: ["Snapshot"]
|
|
298
301
|
}
|
|
299
|
-
}, (neon, input, signal) => neon.snapshots.setSchedule(
|
|
302
|
+
}, (neon, input, signal) => neon.snapshots.setSchedule({
|
|
303
|
+
projectId: input.project_id,
|
|
304
|
+
branchId: input.branch_id,
|
|
305
|
+
schedule: input.schedule
|
|
306
|
+
}, { signal }));
|
|
300
307
|
//#endregion
|
|
301
308
|
export { compareSchemaInputSchema, compareSchemaTool, connectionStringInputSchema, connectionStringTool, createBranchAndConnectInputSchema, createBranchAndConnectTool, createBranchInputSchema, createBranchTool, createProjectAndConnectInputSchema, createProjectAndConnectTool, createProjectInputSchema, createProjectTool, getDefaultInputSchema, getDefaultTool, resetFromParentInputSchema, resetFromParentTool, restoreSnapshotInputSchema, restoreSnapshotTool, setScheduleInputSchema, setScheduleTool };
|
package/dist/operations.gen.d.ts
CHANGED
|
@@ -962,10 +962,7 @@ export declare const operationFactories: {
|
|
|
962
962
|
readonly createProjectBranchTrigger: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
963
963
|
project_id: z.ZodString;
|
|
964
964
|
branch_id: z.ZodString;
|
|
965
|
-
body: z.ZodObject<{
|
|
966
|
-
type: z.ZodEnum<{
|
|
967
|
-
schedule: "schedule";
|
|
968
|
-
}>;
|
|
965
|
+
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
969
966
|
function_slug: z.ZodString;
|
|
970
967
|
name: z.ZodString;
|
|
971
968
|
function_path: z.ZodOptional<z.ZodString>;
|
|
@@ -973,7 +970,18 @@ export declare const operationFactories: {
|
|
|
973
970
|
cron: z.ZodString;
|
|
974
971
|
}, z.core.$strict>;
|
|
975
972
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
-
|
|
973
|
+
type: z.ZodLiteral<"schedule">;
|
|
974
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
975
|
+
function_slug: z.ZodString;
|
|
976
|
+
name: z.ZodString;
|
|
977
|
+
function_path: z.ZodOptional<z.ZodString>;
|
|
978
|
+
storage_object_created: z.ZodObject<{
|
|
979
|
+
bucket_name: z.ZodString;
|
|
980
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
981
|
+
}, z.core.$strict>;
|
|
982
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
983
|
+
type: z.ZodLiteral<"storage_object_created">;
|
|
984
|
+
}, z.core.$strict>], "type">;
|
|
977
985
|
}, z.core.$strict>, "create_project_branch_trigger", {
|
|
978
986
|
trigger: {
|
|
979
987
|
type: "schedule";
|
|
@@ -987,7 +995,19 @@ export declare const operationFactories: {
|
|
|
987
995
|
enabled: boolean;
|
|
988
996
|
version: number;
|
|
989
997
|
next_run_at: string | null;
|
|
990
|
-
|
|
998
|
+
inherited: boolean;
|
|
999
|
+
} | {
|
|
1000
|
+
type: "storage_object_created";
|
|
1001
|
+
trigger_id: raw.TriggerId;
|
|
1002
|
+
function_slug: string;
|
|
1003
|
+
name: string;
|
|
1004
|
+
function_path: string;
|
|
1005
|
+
storage_object_created: {
|
|
1006
|
+
bucket_name: string;
|
|
1007
|
+
prefix?: string | null | undefined;
|
|
1008
|
+
};
|
|
1009
|
+
enabled: boolean;
|
|
1010
|
+
version: number;
|
|
991
1011
|
inherited: boolean;
|
|
992
1012
|
};
|
|
993
1013
|
}>;
|
|
@@ -2352,7 +2372,19 @@ export declare const operationFactories: {
|
|
|
2352
2372
|
enabled: boolean;
|
|
2353
2373
|
version: number;
|
|
2354
2374
|
next_run_at: string | null;
|
|
2355
|
-
|
|
2375
|
+
inherited: boolean;
|
|
2376
|
+
} | {
|
|
2377
|
+
type: "storage_object_created";
|
|
2378
|
+
trigger_id: raw.TriggerId;
|
|
2379
|
+
function_slug: string;
|
|
2380
|
+
name: string;
|
|
2381
|
+
function_path: string;
|
|
2382
|
+
storage_object_created: {
|
|
2383
|
+
bucket_name: string;
|
|
2384
|
+
prefix?: string | null | undefined;
|
|
2385
|
+
};
|
|
2386
|
+
enabled: boolean;
|
|
2387
|
+
version: number;
|
|
2356
2388
|
inherited: boolean;
|
|
2357
2389
|
};
|
|
2358
2390
|
}>;
|
|
@@ -2837,7 +2869,7 @@ export declare const operationFactories: {
|
|
|
2837
2869
|
project_id: z.ZodString;
|
|
2838
2870
|
branch_id: z.ZodString;
|
|
2839
2871
|
}, z.core.$strict>, "list_project_branch_triggers", {
|
|
2840
|
-
triggers: {
|
|
2872
|
+
triggers: ({
|
|
2841
2873
|
type: "schedule";
|
|
2842
2874
|
trigger_id: raw.TriggerId;
|
|
2843
2875
|
function_slug: string;
|
|
@@ -2849,9 +2881,21 @@ export declare const operationFactories: {
|
|
|
2849
2881
|
enabled: boolean;
|
|
2850
2882
|
version: number;
|
|
2851
2883
|
next_run_at: string | null;
|
|
2852
|
-
source_branch_id: string;
|
|
2853
2884
|
inherited: boolean;
|
|
2854
|
-
}
|
|
2885
|
+
} | {
|
|
2886
|
+
type: "storage_object_created";
|
|
2887
|
+
trigger_id: raw.TriggerId;
|
|
2888
|
+
function_slug: string;
|
|
2889
|
+
name: string;
|
|
2890
|
+
function_path: string;
|
|
2891
|
+
storage_object_created: {
|
|
2892
|
+
bucket_name: string;
|
|
2893
|
+
prefix?: string | null | undefined;
|
|
2894
|
+
};
|
|
2895
|
+
enabled: boolean;
|
|
2896
|
+
version: number;
|
|
2897
|
+
inherited: boolean;
|
|
2898
|
+
})[];
|
|
2855
2899
|
}>;
|
|
2856
2900
|
readonly listProjectEndpoints: (client: Client) => import("./lib/operation.js").NeonTool<z.ZodObject<{
|
|
2857
2901
|
project_id: z.ZodString;
|
|
@@ -4493,10 +4537,7 @@ export declare const operationFactories: {
|
|
|
4493
4537
|
project_id: z.ZodString;
|
|
4494
4538
|
branch_id: z.ZodString;
|
|
4495
4539
|
trigger_id: z.ZodString;
|
|
4496
|
-
body: z.ZodObject<{
|
|
4497
|
-
type: z.ZodEnum<{
|
|
4498
|
-
schedule: "schedule";
|
|
4499
|
-
}>;
|
|
4540
|
+
body: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4500
4541
|
function_slug: z.ZodOptional<z.ZodString>;
|
|
4501
4542
|
name: z.ZodOptional<z.ZodString>;
|
|
4502
4543
|
function_path: z.ZodOptional<z.ZodString>;
|
|
@@ -4504,7 +4545,18 @@ export declare const operationFactories: {
|
|
|
4504
4545
|
cron: z.ZodString;
|
|
4505
4546
|
}, z.core.$strict>>;
|
|
4506
4547
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4507
|
-
|
|
4548
|
+
type: z.ZodLiteral<"schedule">;
|
|
4549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4550
|
+
function_slug: z.ZodOptional<z.ZodString>;
|
|
4551
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4552
|
+
function_path: z.ZodOptional<z.ZodString>;
|
|
4553
|
+
storage_object_created: z.ZodOptional<z.ZodObject<{
|
|
4554
|
+
bucket_name: z.ZodString;
|
|
4555
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
4556
|
+
}, z.core.$strict>>;
|
|
4557
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
4558
|
+
type: z.ZodLiteral<"storage_object_created">;
|
|
4559
|
+
}, z.core.$strict>], "type">;
|
|
4508
4560
|
}, z.core.$strict>, "update_project_branch_trigger", {
|
|
4509
4561
|
trigger: {
|
|
4510
4562
|
type: "schedule";
|
|
@@ -4518,7 +4570,19 @@ export declare const operationFactories: {
|
|
|
4518
4570
|
enabled: boolean;
|
|
4519
4571
|
version: number;
|
|
4520
4572
|
next_run_at: string | null;
|
|
4521
|
-
|
|
4573
|
+
inherited: boolean;
|
|
4574
|
+
} | {
|
|
4575
|
+
type: "storage_object_created";
|
|
4576
|
+
trigger_id: raw.TriggerId;
|
|
4577
|
+
function_slug: string;
|
|
4578
|
+
name: string;
|
|
4579
|
+
function_path: string;
|
|
4580
|
+
storage_object_created: {
|
|
4581
|
+
bucket_name: string;
|
|
4582
|
+
prefix?: string | null | undefined;
|
|
4583
|
+
};
|
|
4584
|
+
enabled: boolean;
|
|
4585
|
+
version: number;
|
|
4522
4586
|
inherited: boolean;
|
|
4523
4587
|
};
|
|
4524
4588
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.gen.d.ts","sourceRoot":"","sources":["../src/operations.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,eAAO,MAAM,YAAY,23JAoLf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5D,eAAO,MAAM,kBAAkB;oDACW,MAAM;;;;;sDAgCJ,MAAM;;;;;;;;;;;;;;;;;;sDAmCN,MAAM;;;;;;;;;;+DAiCG,MAAM;;;;;;;;;gDAgCrB,MAAM;;;;;;;;;;;;;;;;;sCAkChB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAoCS,MAAM;;;;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.4.0",
|
|
4
4
|
"description": "Agent tools for the Neon SDK ergonomic client, compatible with MCP, Eve, and Mastra.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"neon",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"zod": "^4.4.3",
|
|
72
|
-
"@neon/sdk": "
|
|
72
|
+
"@neon/sdk": "6.0.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@hey-api/openapi-ts": "0.98.2",
|