@keystrokehq/prisma 0.1.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.
Files changed (210) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-connection.cjs +34 -0
  7. package/dist/actions/create-connection.cjs.map +1 -0
  8. package/dist/actions/create-connection.d.cts +9 -0
  9. package/dist/actions/create-connection.d.cts.map +1 -0
  10. package/dist/actions/create-connection.d.mts +9 -0
  11. package/dist/actions/create-connection.d.mts.map +1 -0
  12. package/dist/actions/create-connection.mjs +33 -0
  13. package/dist/actions/create-connection.mjs.map +1 -0
  14. package/dist/actions/create-database.cjs +55 -0
  15. package/dist/actions/create-database.cjs.map +1 -0
  16. package/dist/actions/create-database.d.cts +9 -0
  17. package/dist/actions/create-database.d.cts.map +1 -0
  18. package/dist/actions/create-database.d.mts +9 -0
  19. package/dist/actions/create-database.d.mts.map +1 -0
  20. package/dist/actions/create-database.mjs +54 -0
  21. package/dist/actions/create-database.mjs.map +1 -0
  22. package/dist/actions/create-project.cjs +60 -0
  23. package/dist/actions/create-project.cjs.map +1 -0
  24. package/dist/actions/create-project.d.cts +9 -0
  25. package/dist/actions/create-project.d.cts.map +1 -0
  26. package/dist/actions/create-project.d.mts +9 -0
  27. package/dist/actions/create-project.d.mts.map +1 -0
  28. package/dist/actions/create-project.mjs +59 -0
  29. package/dist/actions/create-project.mjs.map +1 -0
  30. package/dist/actions/delete-connection.cjs +16 -0
  31. package/dist/actions/delete-connection.cjs.map +1 -0
  32. package/dist/actions/delete-connection.d.cts +9 -0
  33. package/dist/actions/delete-connection.d.cts.map +1 -0
  34. package/dist/actions/delete-connection.d.mts +9 -0
  35. package/dist/actions/delete-connection.d.mts.map +1 -0
  36. package/dist/actions/delete-connection.mjs +13 -0
  37. package/dist/actions/delete-connection.mjs.map +1 -0
  38. package/dist/actions/delete-database.cjs +16 -0
  39. package/dist/actions/delete-database.cjs.map +1 -0
  40. package/dist/actions/delete-database.d.cts +9 -0
  41. package/dist/actions/delete-database.d.cts.map +1 -0
  42. package/dist/actions/delete-database.d.mts +9 -0
  43. package/dist/actions/delete-database.d.mts.map +1 -0
  44. package/dist/actions/delete-database.mjs +13 -0
  45. package/dist/actions/delete-database.mjs.map +1 -0
  46. package/dist/actions/delete-project.cjs +16 -0
  47. package/dist/actions/delete-project.cjs.map +1 -0
  48. package/dist/actions/delete-project.d.cts +9 -0
  49. package/dist/actions/delete-project.d.cts.map +1 -0
  50. package/dist/actions/delete-project.d.mts +9 -0
  51. package/dist/actions/delete-project.d.mts.map +1 -0
  52. package/dist/actions/delete-project.mjs +13 -0
  53. package/dist/actions/delete-project.mjs.map +1 -0
  54. package/dist/actions/execute-sql-command.cjs +31 -0
  55. package/dist/actions/execute-sql-command.cjs.map +1 -0
  56. package/dist/actions/execute-sql-command.d.cts +9 -0
  57. package/dist/actions/execute-sql-command.d.cts.map +1 -0
  58. package/dist/actions/execute-sql-command.d.mts +9 -0
  59. package/dist/actions/execute-sql-command.d.mts.map +1 -0
  60. package/dist/actions/execute-sql-command.mjs +30 -0
  61. package/dist/actions/execute-sql-command.mjs.map +1 -0
  62. package/dist/actions/execute-sql-query.cjs +33 -0
  63. package/dist/actions/execute-sql-query.cjs.map +1 -0
  64. package/dist/actions/execute-sql-query.d.cts +9 -0
  65. package/dist/actions/execute-sql-query.d.cts.map +1 -0
  66. package/dist/actions/execute-sql-query.d.mts +9 -0
  67. package/dist/actions/execute-sql-query.d.mts.map +1 -0
  68. package/dist/actions/execute-sql-query.mjs +32 -0
  69. package/dist/actions/execute-sql-query.mjs.map +1 -0
  70. package/dist/actions/get-database-usage.cjs +36 -0
  71. package/dist/actions/get-database-usage.cjs.map +1 -0
  72. package/dist/actions/get-database-usage.d.cts +9 -0
  73. package/dist/actions/get-database-usage.d.cts.map +1 -0
  74. package/dist/actions/get-database-usage.d.mts +9 -0
  75. package/dist/actions/get-database-usage.d.mts.map +1 -0
  76. package/dist/actions/get-database-usage.mjs +35 -0
  77. package/dist/actions/get-database-usage.mjs.map +1 -0
  78. package/dist/actions/get-database.cjs +34 -0
  79. package/dist/actions/get-database.cjs.map +1 -0
  80. package/dist/actions/get-database.d.cts +9 -0
  81. package/dist/actions/get-database.d.cts.map +1 -0
  82. package/dist/actions/get-database.d.mts +9 -0
  83. package/dist/actions/get-database.d.mts.map +1 -0
  84. package/dist/actions/get-database.mjs +33 -0
  85. package/dist/actions/get-database.mjs.map +1 -0
  86. package/dist/actions/get-project.cjs +27 -0
  87. package/dist/actions/get-project.cjs.map +1 -0
  88. package/dist/actions/get-project.d.cts +9 -0
  89. package/dist/actions/get-project.d.cts.map +1 -0
  90. package/dist/actions/get-project.d.mts +9 -0
  91. package/dist/actions/get-project.d.mts.map +1 -0
  92. package/dist/actions/get-project.mjs +26 -0
  93. package/dist/actions/get-project.mjs.map +1 -0
  94. package/dist/actions/index.cjs +45 -0
  95. package/dist/actions/index.d.cts +23 -0
  96. package/dist/actions/index.d.mts +23 -0
  97. package/dist/actions/index.mjs +23 -0
  98. package/dist/actions/inspect-database-schema.cjs +44 -0
  99. package/dist/actions/inspect-database-schema.cjs.map +1 -0
  100. package/dist/actions/inspect-database-schema.d.cts +9 -0
  101. package/dist/actions/inspect-database-schema.d.cts.map +1 -0
  102. package/dist/actions/inspect-database-schema.d.mts +9 -0
  103. package/dist/actions/inspect-database-schema.d.mts.map +1 -0
  104. package/dist/actions/inspect-database-schema.mjs +43 -0
  105. package/dist/actions/inspect-database-schema.mjs.map +1 -0
  106. package/dist/actions/list-accelerate-regions.cjs +21 -0
  107. package/dist/actions/list-accelerate-regions.cjs.map +1 -0
  108. package/dist/actions/list-accelerate-regions.d.cts +9 -0
  109. package/dist/actions/list-accelerate-regions.d.cts.map +1 -0
  110. package/dist/actions/list-accelerate-regions.d.mts +9 -0
  111. package/dist/actions/list-accelerate-regions.d.mts.map +1 -0
  112. package/dist/actions/list-accelerate-regions.mjs +20 -0
  113. package/dist/actions/list-accelerate-regions.mjs.map +1 -0
  114. package/dist/actions/list-backups.cjs +36 -0
  115. package/dist/actions/list-backups.cjs.map +1 -0
  116. package/dist/actions/list-backups.d.cts +9 -0
  117. package/dist/actions/list-backups.d.cts.map +1 -0
  118. package/dist/actions/list-backups.d.mts +9 -0
  119. package/dist/actions/list-backups.d.mts.map +1 -0
  120. package/dist/actions/list-backups.mjs +35 -0
  121. package/dist/actions/list-backups.mjs.map +1 -0
  122. package/dist/actions/list-connections.cjs +38 -0
  123. package/dist/actions/list-connections.cjs.map +1 -0
  124. package/dist/actions/list-connections.d.cts +9 -0
  125. package/dist/actions/list-connections.d.cts.map +1 -0
  126. package/dist/actions/list-connections.d.mts +9 -0
  127. package/dist/actions/list-connections.d.mts.map +1 -0
  128. package/dist/actions/list-connections.mjs +37 -0
  129. package/dist/actions/list-connections.mjs.map +1 -0
  130. package/dist/actions/list-databases.cjs +45 -0
  131. package/dist/actions/list-databases.cjs.map +1 -0
  132. package/dist/actions/list-databases.d.cts +9 -0
  133. package/dist/actions/list-databases.d.cts.map +1 -0
  134. package/dist/actions/list-databases.d.mts +9 -0
  135. package/dist/actions/list-databases.d.mts.map +1 -0
  136. package/dist/actions/list-databases.mjs +44 -0
  137. package/dist/actions/list-databases.mjs.map +1 -0
  138. package/dist/actions/list-postgres-regions.cjs +22 -0
  139. package/dist/actions/list-postgres-regions.cjs.map +1 -0
  140. package/dist/actions/list-postgres-regions.d.cts +9 -0
  141. package/dist/actions/list-postgres-regions.d.cts.map +1 -0
  142. package/dist/actions/list-postgres-regions.d.mts +9 -0
  143. package/dist/actions/list-postgres-regions.d.mts.map +1 -0
  144. package/dist/actions/list-postgres-regions.mjs +21 -0
  145. package/dist/actions/list-postgres-regions.mjs.map +1 -0
  146. package/dist/actions/list-projects.cjs +37 -0
  147. package/dist/actions/list-projects.cjs.map +1 -0
  148. package/dist/actions/list-projects.d.cts +9 -0
  149. package/dist/actions/list-projects.d.cts.map +1 -0
  150. package/dist/actions/list-projects.d.mts +9 -0
  151. package/dist/actions/list-projects.d.mts.map +1 -0
  152. package/dist/actions/list-projects.mjs +36 -0
  153. package/dist/actions/list-projects.mjs.map +1 -0
  154. package/dist/actions/list-workspace-integrations.cjs +43 -0
  155. package/dist/actions/list-workspace-integrations.cjs.map +1 -0
  156. package/dist/actions/list-workspace-integrations.d.cts +9 -0
  157. package/dist/actions/list-workspace-integrations.d.cts.map +1 -0
  158. package/dist/actions/list-workspace-integrations.d.mts +9 -0
  159. package/dist/actions/list-workspace-integrations.d.mts.map +1 -0
  160. package/dist/actions/list-workspace-integrations.mjs +42 -0
  161. package/dist/actions/list-workspace-integrations.mjs.map +1 -0
  162. package/dist/actions/list-workspaces.cjs +32 -0
  163. package/dist/actions/list-workspaces.cjs.map +1 -0
  164. package/dist/actions/list-workspaces.d.cts +9 -0
  165. package/dist/actions/list-workspaces.d.cts.map +1 -0
  166. package/dist/actions/list-workspaces.d.mts +9 -0
  167. package/dist/actions/list-workspaces.d.mts.map +1 -0
  168. package/dist/actions/list-workspaces.mjs +31 -0
  169. package/dist/actions/list-workspaces.mjs.map +1 -0
  170. package/dist/actions/restore-backup.cjs +38 -0
  171. package/dist/actions/restore-backup.cjs.map +1 -0
  172. package/dist/actions/restore-backup.d.cts +9 -0
  173. package/dist/actions/restore-backup.d.cts.map +1 -0
  174. package/dist/actions/restore-backup.d.mts +9 -0
  175. package/dist/actions/restore-backup.d.mts.map +1 -0
  176. package/dist/actions/restore-backup.mjs +37 -0
  177. package/dist/actions/restore-backup.mjs.map +1 -0
  178. package/dist/actions/transfer-project.cjs +22 -0
  179. package/dist/actions/transfer-project.cjs.map +1 -0
  180. package/dist/actions/transfer-project.d.cts +9 -0
  181. package/dist/actions/transfer-project.d.cts.map +1 -0
  182. package/dist/actions/transfer-project.d.mts +9 -0
  183. package/dist/actions/transfer-project.d.mts.map +1 -0
  184. package/dist/actions/transfer-project.mjs +19 -0
  185. package/dist/actions/transfer-project.mjs.map +1 -0
  186. package/dist/app.cjs +9 -0
  187. package/dist/app.cjs.map +1 -0
  188. package/dist/app.d.cts +5 -0
  189. package/dist/app.d.cts.map +1 -0
  190. package/dist/app.d.mts +5 -0
  191. package/dist/app.d.mts.map +1 -0
  192. package/dist/app.mjs +10 -0
  193. package/dist/app.mjs.map +1 -0
  194. package/dist/catalog.cjs +15 -0
  195. package/dist/catalog.cjs.map +1 -0
  196. package/dist/catalog.d.cts +14 -0
  197. package/dist/catalog.d.cts.map +1 -0
  198. package/dist/catalog.d.mts +14 -0
  199. package/dist/catalog.d.mts.map +1 -0
  200. package/dist/catalog.mjs +15 -0
  201. package/dist/catalog.mjs.map +1 -0
  202. package/dist/execute.cjs +18 -0
  203. package/dist/execute.cjs.map +1 -0
  204. package/dist/execute.mjs +18 -0
  205. package/dist/execute.mjs.map +1 -0
  206. package/dist/index.cjs +50 -0
  207. package/dist/index.d.cts +25 -0
  208. package/dist/index.d.mts +25 -0
  209. package/dist/index.mjs +26 -0
  210. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/prisma
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `prisma`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 22
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { prismaCreateConnection } from "@keystrokehq/prisma/actions";
12
+
13
+ export default defineAgent({
14
+ key: "prisma-agent",
15
+ tools: [prismaCreateConnection],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.prisma.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executePrismaTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["prisma","executePrismaTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { prisma } from \"./app\";\nimport { executePrismaTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return prisma.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePrismaTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { prisma } from "./app.mjs";
2
+ import { executePrismaTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return prisma.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executePrismaTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { prisma } from \"./app\";\nimport { executePrismaTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return prisma.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePrismaTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-connection.ts
4
+ const PrismaCreateConnectionInput = zod.z.object({
5
+ name: zod.z.string().describe("Human-readable name for the new connection/API key. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API Key', 'Analytics Access', 'Dev Environment', etc."),
6
+ databaseId: zod.z.string().describe("Unique database identifier to create connection for (format: 'db_xxxxx'). Must be a database the authenticated user has write access to. The new connection will provide API key access to this database.")
7
+ }).describe("Request parameters for creating a new database connection.");
8
+ const PrismaCreateConnection_DatabaseInfoSchema = zod.z.object({
9
+ id: zod.z.string().describe("Unique database ID containing this connection."),
10
+ name: zod.z.string().describe("Human-readable database name.")
11
+ }).describe("Database information in connection response.");
12
+ const PrismaCreateConnection_CreatedConnectionSchema = zod.z.object({
13
+ id: zod.z.string().describe("Unique connection identifier for future operations."),
14
+ host: zod.z.string().describe("Database host endpoint with port (e.g., 'db.prisma.io:5432'). Use for direct database connections when not using the connection string."),
15
+ name: zod.z.string().describe("Connection name as specified in request."),
16
+ pass: zod.z.string().describe("Database password (secret key) for authentication. Use with 'user' field for direct database connections. Store securely as it provides database access."),
17
+ type: zod.z.string().describe("Object type, always 'connection'."),
18
+ user: zod.z.string().describe("Database username (tenant ID) for authentication. Use with 'pass' field for direct database connections."),
19
+ database: PrismaCreateConnection_DatabaseInfoSchema.nullable(),
20
+ createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
21
+ connectionString: zod.z.string().describe("Complete database connection string with embedded API key credentials. Use this string to connect applications to the database. Contains authentication tokens and endpoint information. Store securely as it provides full database access.")
22
+ }).describe("Complete connection object returned after creation.");
23
+ const PrismaCreateConnectionOutput = zod.z.object({ data: PrismaCreateConnection_CreatedConnectionSchema.nullable() }).describe("API response containing newly created connection with credentials.");
24
+ const prismaCreateConnection = require_action.action("PRISMA_CREATE_CONNECTION", {
25
+ slug: "prisma-create-connection",
26
+ name: "Create Database Connection",
27
+ description: "Create new API key connection for database access. Creates connection string with embedded credentials for application database access. Returns complete connection details ready for immediate use.",
28
+ input: PrismaCreateConnectionInput,
29
+ output: PrismaCreateConnectionOutput
30
+ });
31
+ //#endregion
32
+ exports.prismaCreateConnection = prismaCreateConnection;
33
+
34
+ //# sourceMappingURL=create-connection.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connection.cjs","names":["z","action"],"sources":["../../src/actions/create-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateConnectionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the new connection/API key. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API Key', 'Analytics Access', 'Dev Environment', etc.\"),\n databaseId: z.string().describe(\"Unique database identifier to create connection for (format: 'db_xxxxx'). Must be a database the authenticated user has write access to. The new connection will provide API key access to this database.\"),\n}).describe(\"Request parameters for creating a new database connection.\");\nconst PrismaCreateConnection_DatabaseInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique database ID containing this connection.\"),\n name: z.string().describe(\"Human-readable database name.\"),\n}).describe(\"Database information in connection response.\");\nconst PrismaCreateConnection_CreatedConnectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique connection identifier for future operations.\"),\n host: z.string().describe(\"Database host endpoint with port (e.g., 'db.prisma.io:5432'). Use for direct database connections when not using the connection string.\"),\n name: z.string().describe(\"Connection name as specified in request.\"),\n pass: z.string().describe(\"Database password (secret key) for authentication. Use with 'user' field for direct database connections. Store securely as it provides database access.\"),\n type: z.string().describe(\"Object type, always 'connection'.\"),\n user: z.string().describe(\"Database username (tenant ID) for authentication. Use with 'pass' field for direct database connections.\"),\n database: PrismaCreateConnection_DatabaseInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n connectionString: z.string().describe(\"Complete database connection string with embedded API key credentials. Use this string to connect applications to the database. Contains authentication tokens and endpoint information. Store securely as it provides full database access.\"),\n}).describe(\"Complete connection object returned after creation.\");\nexport const PrismaCreateConnectionOutput: z.ZodTypeAny = z.object({\n data: PrismaCreateConnection_CreatedConnectionSchema.nullable(),\n}).describe(\"API response containing newly created connection with credentials.\");\n\nexport const prismaCreateConnection = action(\"PRISMA_CREATE_CONNECTION\", {\n slug: \"prisma-create-connection\",\n name: \"Create Database Connection\",\n description: \"Create new API key connection for database access. Creates connection string with embedded credentials for application database access. Returns complete connection details ready for immediate use.\",\n input: PrismaCreateConnectionInput,\n output: PrismaCreateConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC1O,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;AAC7O,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACnK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J;CACpL,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACpI,UAAU,0CAA0C,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;AACtR,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,+CAA+C,SAAS,EAChE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-connection.d.ts
4
+ declare const PrismaCreateConnectionInput: z.ZodTypeAny;
5
+ declare const PrismaCreateConnectionOutput: z.ZodTypeAny;
6
+ declare const prismaCreateConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaCreateConnection };
9
+ //# sourceMappingURL=create-connection.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connection.d.cts","names":[],"sources":["../../src/actions/create-connection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG6B;AAAA,cAgB5D,4BAAA,EAA8B,CAAA,CAAE,UAEoC;AAAA,cAEpE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-connection.d.ts
4
+ declare const PrismaCreateConnectionInput: z.ZodTypeAny;
5
+ declare const PrismaCreateConnectionOutput: z.ZodTypeAny;
6
+ declare const prismaCreateConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaCreateConnection };
9
+ //# sourceMappingURL=create-connection.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connection.d.mts","names":[],"sources":["../../src/actions/create-connection.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAG6B;AAAA,cAgB5D,4BAAA,EAA8B,CAAA,CAAE,UAEoC;AAAA,cAEpE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-connection.ts
4
+ const PrismaCreateConnectionInput = z.object({
5
+ name: z.string().describe("Human-readable name for the new connection/API key. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API Key', 'Analytics Access', 'Dev Environment', etc."),
6
+ databaseId: z.string().describe("Unique database identifier to create connection for (format: 'db_xxxxx'). Must be a database the authenticated user has write access to. The new connection will provide API key access to this database.")
7
+ }).describe("Request parameters for creating a new database connection.");
8
+ const PrismaCreateConnection_DatabaseInfoSchema = z.object({
9
+ id: z.string().describe("Unique database ID containing this connection."),
10
+ name: z.string().describe("Human-readable database name.")
11
+ }).describe("Database information in connection response.");
12
+ const PrismaCreateConnection_CreatedConnectionSchema = z.object({
13
+ id: z.string().describe("Unique connection identifier for future operations."),
14
+ host: z.string().describe("Database host endpoint with port (e.g., 'db.prisma.io:5432'). Use for direct database connections when not using the connection string."),
15
+ name: z.string().describe("Connection name as specified in request."),
16
+ pass: z.string().describe("Database password (secret key) for authentication. Use with 'user' field for direct database connections. Store securely as it provides database access."),
17
+ type: z.string().describe("Object type, always 'connection'."),
18
+ user: z.string().describe("Database username (tenant ID) for authentication. Use with 'pass' field for direct database connections."),
19
+ database: PrismaCreateConnection_DatabaseInfoSchema.nullable(),
20
+ createdAt: z.string().describe("ISO 8601 creation timestamp."),
21
+ connectionString: z.string().describe("Complete database connection string with embedded API key credentials. Use this string to connect applications to the database. Contains authentication tokens and endpoint information. Store securely as it provides full database access.")
22
+ }).describe("Complete connection object returned after creation.");
23
+ const prismaCreateConnection = action("PRISMA_CREATE_CONNECTION", {
24
+ slug: "prisma-create-connection",
25
+ name: "Create Database Connection",
26
+ description: "Create new API key connection for database access. Creates connection string with embedded credentials for application database access. Returns complete connection details ready for immediate use.",
27
+ input: PrismaCreateConnectionInput,
28
+ output: z.object({ data: PrismaCreateConnection_CreatedConnectionSchema.nullable() }).describe("API response containing newly created connection with credentials.")
29
+ });
30
+ //#endregion
31
+ export { prismaCreateConnection };
32
+
33
+ //# sourceMappingURL=create-connection.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-connection.mjs","names":[],"sources":["../../src/actions/create-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateConnectionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the new connection/API key. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API Key', 'Analytics Access', 'Dev Environment', etc.\"),\n databaseId: z.string().describe(\"Unique database identifier to create connection for (format: 'db_xxxxx'). Must be a database the authenticated user has write access to. The new connection will provide API key access to this database.\"),\n}).describe(\"Request parameters for creating a new database connection.\");\nconst PrismaCreateConnection_DatabaseInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique database ID containing this connection.\"),\n name: z.string().describe(\"Human-readable database name.\"),\n}).describe(\"Database information in connection response.\");\nconst PrismaCreateConnection_CreatedConnectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique connection identifier for future operations.\"),\n host: z.string().describe(\"Database host endpoint with port (e.g., 'db.prisma.io:5432'). Use for direct database connections when not using the connection string.\"),\n name: z.string().describe(\"Connection name as specified in request.\"),\n pass: z.string().describe(\"Database password (secret key) for authentication. Use with 'user' field for direct database connections. Store securely as it provides database access.\"),\n type: z.string().describe(\"Object type, always 'connection'.\"),\n user: z.string().describe(\"Database username (tenant ID) for authentication. Use with 'pass' field for direct database connections.\"),\n database: PrismaCreateConnection_DatabaseInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n connectionString: z.string().describe(\"Complete database connection string with embedded API key credentials. Use this string to connect applications to the database. Contains authentication tokens and endpoint information. Store securely as it provides full database access.\"),\n}).describe(\"Complete connection object returned after creation.\");\nexport const PrismaCreateConnectionOutput: z.ZodTypeAny = z.object({\n data: PrismaCreateConnection_CreatedConnectionSchema.nullable(),\n}).describe(\"API response containing newly created connection with credentials.\");\n\nexport const prismaCreateConnection = action(\"PRISMA_CREATE_CONNECTION\", {\n slug: \"prisma-create-connection\",\n name: \"Create Database Connection\",\n description: \"Create new API key connection for database access. Creates connection string with embedded credentials for application database access. Returns complete connection details ready for immediate use.\",\n input: PrismaCreateConnectionInput,\n output: PrismaCreateConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC1O,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;AAC7O,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CACnK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J;CACpL,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACpI,UAAU,0CAA0C,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;AACtR,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,+CAA+C,SAAS,EAChE,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-database.ts
4
+ const PrismaCreateDatabaseInput = zod.z.object({
5
+ name: zod.z.string().describe("Human-readable name for the new database. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production DB', 'Analytics', etc."),
6
+ region: zod.z.string().describe("AWS region where the database will be deployed. Valid values: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance. Use LIST_POSTGRES_REGIONS to get current available regions."),
7
+ isDefault: zod.z.boolean().default(false).describe("Whether this database should be the default for the project. Default false. Only one database can be default per project. Setting to true will make other databases non-default.").optional(),
8
+ projectId: zod.z.string().describe("Unique project identifier to create database in (format: 'prj_xxxxx'). Must be a project the authenticated user has write access to. The new database will belong to this project.")
9
+ }).describe("Request parameters for creating a new database in a project.");
10
+ const PrismaCreateDatabase_RegionInfoSchema = zod.z.object({
11
+ id: zod.z.string().describe("Region identifier (e.g., 'us-east-1')."),
12
+ name: zod.z.string().describe("Human-readable region name.")
13
+ }).describe("Database region information.");
14
+ const PrismaCreateDatabase_DirectConnectionSchema = zod.z.object({
15
+ host: zod.z.string().describe("Database host and port (e.g., 'db.prisma.io:5432')."),
16
+ pass: zod.z.string().describe("Database password for authentication. Use with host and user for direct connections."),
17
+ user: zod.z.string().describe("Database username for authentication.")
18
+ }).describe("Direct database connection credentials for non-Prisma clients.");
19
+ const PrismaCreateDatabase_ApiKeySchema = zod.z.object({
20
+ id: zod.z.string().describe("Unique API key identifier."),
21
+ name: zod.z.string().describe("Human-readable API key name."),
22
+ type: zod.z.string().describe("Key type, typically 'connection'."),
23
+ createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
24
+ connectionString: zod.z.string().describe("Prisma connection string for use with Prisma Client."),
25
+ directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional()
26
+ }).describe("Database API key for connection.");
27
+ const PrismaCreateDatabase_ProjectInfoSchema = zod.z.object({
28
+ id: zod.z.string().describe("Unique project ID containing this database."),
29
+ name: zod.z.string().describe("Human-readable project name.")
30
+ }).describe("Project information in database response.");
31
+ const PrismaCreateDatabase_CreatedDatabaseSchema = zod.z.object({
32
+ id: zod.z.string().describe("Unique database identifier (format: 'db_xxxxx') for future operations."),
33
+ name: zod.z.string().describe("Database name as specified in request."),
34
+ type: zod.z.string().describe("Object type, always 'database'."),
35
+ region: PrismaCreateDatabase_RegionInfoSchema.nullable(),
36
+ status: zod.z.string().describe("Current database status: 'ready' (available), 'provisioning' (creating)."),
37
+ apiKeys: zod.z.array(PrismaCreateDatabase_ApiKeySchema).describe("List of API keys for database access."),
38
+ project: PrismaCreateDatabase_ProjectInfoSchema.nullable(),
39
+ createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
40
+ isDefault: zod.z.boolean().describe("True if this is the default database for the project."),
41
+ connectionString: zod.z.string().describe("Primary Prisma connection string for use with Prisma Client."),
42
+ directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional()
43
+ }).describe("Complete database object returned after creation.");
44
+ const PrismaCreateDatabaseOutput = zod.z.object({ data: PrismaCreateDatabase_CreatedDatabaseSchema.nullable() }).describe("API response containing newly created database with connection details.");
45
+ const prismaCreateDatabase = require_action.action("PRISMA_CREATE_DATABASE", {
46
+ slug: "prisma-create-database",
47
+ name: "Create Project Database",
48
+ description: "Create new postgres database in an existing Prisma project. Creates database in specified region with connection strings and API keys. Returns complete database details ready for immediate use.",
49
+ input: PrismaCreateDatabaseInput,
50
+ output: PrismaCreateDatabaseOutput
51
+ });
52
+ //#endregion
53
+ exports.prismaCreateDatabase = prismaCreateDatabase;
54
+
55
+ //# sourceMappingURL=create-database.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-database.cjs","names":["z","action"],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateDatabaseInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the new database. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production DB', 'Analytics', etc.\"),\n region: z.string().describe(\"AWS region where the database will be deployed. Valid values: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance. Use LIST_POSTGRES_REGIONS to get current available regions.\"),\n isDefault: z.boolean().default(false).describe(\"Whether this database should be the default for the project. Default false. Only one database can be default per project. Setting to true will make other databases non-default.\").optional(),\n projectId: z.string().describe(\"Unique project identifier to create database in (format: 'prj_xxxxx'). Must be a project the authenticated user has write access to. The new database will belong to this project.\"),\n}).describe(\"Request parameters for creating a new database in a project.\");\nconst PrismaCreateDatabase_RegionInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\"),\n name: z.string().describe(\"Human-readable region name.\"),\n}).describe(\"Database region information.\");\nconst PrismaCreateDatabase_DirectConnectionSchema: z.ZodTypeAny = z.object({\n host: z.string().describe(\"Database host and port (e.g., 'db.prisma.io:5432').\"),\n pass: z.string().describe(\"Database password for authentication. Use with host and user for direct connections.\"),\n user: z.string().describe(\"Database username for authentication.\"),\n}).describe(\"Direct database connection credentials for non-Prisma clients.\");\nconst PrismaCreateDatabase_ApiKeySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique API key identifier.\"),\n name: z.string().describe(\"Human-readable API key name.\"),\n type: z.string().describe(\"Key type, typically 'connection'.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n connectionString: z.string().describe(\"Prisma connection string for use with Prisma Client.\"),\n directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Database API key for connection.\");\nconst PrismaCreateDatabase_ProjectInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique project ID containing this database.\"),\n name: z.string().describe(\"Human-readable project name.\"),\n}).describe(\"Project information in database response.\");\nconst PrismaCreateDatabase_CreatedDatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique database identifier (format: 'db_xxxxx') for future operations.\"),\n name: z.string().describe(\"Database name as specified in request.\"),\n type: z.string().describe(\"Object type, always 'database'.\"),\n region: PrismaCreateDatabase_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database status: 'ready' (available), 'provisioning' (creating).\"),\n apiKeys: z.array(PrismaCreateDatabase_ApiKeySchema).describe(\"List of API keys for database access.\"),\n project: PrismaCreateDatabase_ProjectInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n isDefault: z.boolean().describe(\"True if this is the default database for the project.\"),\n connectionString: z.string().describe(\"Primary Prisma connection string for use with Prisma Client.\"),\n directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Complete database object returned after creation.\");\nexport const PrismaCreateDatabaseOutput: z.ZodTypeAny = z.object({\n data: PrismaCreateDatabase_CreatedDatabaseSchema.nullable(),\n}).describe(\"API response containing newly created database with connection details.\");\n\nexport const prismaCreateDatabase = action(\"PRISMA_CREATE_DATABASE\", {\n slug: \"prisma-create-database\",\n name: \"Create Project Database\",\n description: \"Create new postgres database in an existing Prisma project. Creates database in specified region with connection strings and API keys. Returns complete database details ready for immediate use.\",\n input: PrismaCreateDatabaseInput,\n output: PrismaCreateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK;CACjM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR;CAC/S,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC5O,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL;AACrN,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACzD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACnE,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC5F,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC1D,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQ,sCAAsC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACtG,SAASA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uCAAuC;CACpG,SAAS,uCAAuC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACpG,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAErF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-database.d.ts
4
+ declare const PrismaCreateDatabaseInput: z.ZodTypeAny;
5
+ declare const PrismaCreateDatabaseOutput: z.ZodTypeAny;
6
+ declare const prismaCreateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaCreateDatabase };
9
+ //# sourceMappingURL=create-database.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-database.d.cts","names":[],"sources":["../../src/actions/create-database.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKiC;AAAA,cAmC9D,0BAAA,EAA4B,CAAA,CAAE,UAE2C;AAAA,cAEzE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-database.d.ts
4
+ declare const PrismaCreateDatabaseInput: z.ZodTypeAny;
5
+ declare const PrismaCreateDatabaseOutput: z.ZodTypeAny;
6
+ declare const prismaCreateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaCreateDatabase };
9
+ //# sourceMappingURL=create-database.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-database.d.mts","names":[],"sources":["../../src/actions/create-database.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKiC;AAAA,cAmC9D,0BAAA,EAA4B,CAAA,CAAE,UAE2C;AAAA,cAEzE,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,54 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-database.ts
4
+ const PrismaCreateDatabaseInput = z.object({
5
+ name: z.string().describe("Human-readable name for the new database. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production DB', 'Analytics', etc."),
6
+ region: z.string().describe("AWS region where the database will be deployed. Valid values: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance. Use LIST_POSTGRES_REGIONS to get current available regions."),
7
+ isDefault: z.boolean().default(false).describe("Whether this database should be the default for the project. Default false. Only one database can be default per project. Setting to true will make other databases non-default.").optional(),
8
+ projectId: z.string().describe("Unique project identifier to create database in (format: 'prj_xxxxx'). Must be a project the authenticated user has write access to. The new database will belong to this project.")
9
+ }).describe("Request parameters for creating a new database in a project.");
10
+ const PrismaCreateDatabase_RegionInfoSchema = z.object({
11
+ id: z.string().describe("Region identifier (e.g., 'us-east-1')."),
12
+ name: z.string().describe("Human-readable region name.")
13
+ }).describe("Database region information.");
14
+ const PrismaCreateDatabase_DirectConnectionSchema = z.object({
15
+ host: z.string().describe("Database host and port (e.g., 'db.prisma.io:5432')."),
16
+ pass: z.string().describe("Database password for authentication. Use with host and user for direct connections."),
17
+ user: z.string().describe("Database username for authentication.")
18
+ }).describe("Direct database connection credentials for non-Prisma clients.");
19
+ const PrismaCreateDatabase_ApiKeySchema = z.object({
20
+ id: z.string().describe("Unique API key identifier."),
21
+ name: z.string().describe("Human-readable API key name."),
22
+ type: z.string().describe("Key type, typically 'connection'."),
23
+ createdAt: z.string().describe("ISO 8601 creation timestamp."),
24
+ connectionString: z.string().describe("Prisma connection string for use with Prisma Client."),
25
+ directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional()
26
+ }).describe("Database API key for connection.");
27
+ const PrismaCreateDatabase_ProjectInfoSchema = z.object({
28
+ id: z.string().describe("Unique project ID containing this database."),
29
+ name: z.string().describe("Human-readable project name.")
30
+ }).describe("Project information in database response.");
31
+ const PrismaCreateDatabase_CreatedDatabaseSchema = z.object({
32
+ id: z.string().describe("Unique database identifier (format: 'db_xxxxx') for future operations."),
33
+ name: z.string().describe("Database name as specified in request."),
34
+ type: z.string().describe("Object type, always 'database'."),
35
+ region: PrismaCreateDatabase_RegionInfoSchema.nullable(),
36
+ status: z.string().describe("Current database status: 'ready' (available), 'provisioning' (creating)."),
37
+ apiKeys: z.array(PrismaCreateDatabase_ApiKeySchema).describe("List of API keys for database access."),
38
+ project: PrismaCreateDatabase_ProjectInfoSchema.nullable(),
39
+ createdAt: z.string().describe("ISO 8601 creation timestamp."),
40
+ isDefault: z.boolean().describe("True if this is the default database for the project."),
41
+ connectionString: z.string().describe("Primary Prisma connection string for use with Prisma Client."),
42
+ directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional()
43
+ }).describe("Complete database object returned after creation.");
44
+ const prismaCreateDatabase = action("PRISMA_CREATE_DATABASE", {
45
+ slug: "prisma-create-database",
46
+ name: "Create Project Database",
47
+ description: "Create new postgres database in an existing Prisma project. Creates database in specified region with connection strings and API keys. Returns complete database details ready for immediate use.",
48
+ input: PrismaCreateDatabaseInput,
49
+ output: z.object({ data: PrismaCreateDatabase_CreatedDatabaseSchema.nullable() }).describe("API response containing newly created database with connection details.")
50
+ });
51
+ //#endregion
52
+ export { prismaCreateDatabase };
53
+
54
+ //# sourceMappingURL=create-database.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-database.mjs","names":[],"sources":["../../src/actions/create-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateDatabaseInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the new database. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production DB', 'Analytics', etc.\"),\n region: z.string().describe(\"AWS region where the database will be deployed. Valid values: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance. Use LIST_POSTGRES_REGIONS to get current available regions.\"),\n isDefault: z.boolean().default(false).describe(\"Whether this database should be the default for the project. Default false. Only one database can be default per project. Setting to true will make other databases non-default.\").optional(),\n projectId: z.string().describe(\"Unique project identifier to create database in (format: 'prj_xxxxx'). Must be a project the authenticated user has write access to. The new database will belong to this project.\"),\n}).describe(\"Request parameters for creating a new database in a project.\");\nconst PrismaCreateDatabase_RegionInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\"),\n name: z.string().describe(\"Human-readable region name.\"),\n}).describe(\"Database region information.\");\nconst PrismaCreateDatabase_DirectConnectionSchema: z.ZodTypeAny = z.object({\n host: z.string().describe(\"Database host and port (e.g., 'db.prisma.io:5432').\"),\n pass: z.string().describe(\"Database password for authentication. Use with host and user for direct connections.\"),\n user: z.string().describe(\"Database username for authentication.\"),\n}).describe(\"Direct database connection credentials for non-Prisma clients.\");\nconst PrismaCreateDatabase_ApiKeySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique API key identifier.\"),\n name: z.string().describe(\"Human-readable API key name.\"),\n type: z.string().describe(\"Key type, typically 'connection'.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n connectionString: z.string().describe(\"Prisma connection string for use with Prisma Client.\"),\n directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Database API key for connection.\");\nconst PrismaCreateDatabase_ProjectInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique project ID containing this database.\"),\n name: z.string().describe(\"Human-readable project name.\"),\n}).describe(\"Project information in database response.\");\nconst PrismaCreateDatabase_CreatedDatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique database identifier (format: 'db_xxxxx') for future operations.\"),\n name: z.string().describe(\"Database name as specified in request.\"),\n type: z.string().describe(\"Object type, always 'database'.\"),\n region: PrismaCreateDatabase_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database status: 'ready' (available), 'provisioning' (creating).\"),\n apiKeys: z.array(PrismaCreateDatabase_ApiKeySchema).describe(\"List of API keys for database access.\"),\n project: PrismaCreateDatabase_ProjectInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n isDefault: z.boolean().describe(\"True if this is the default database for the project.\"),\n connectionString: z.string().describe(\"Primary Prisma connection string for use with Prisma Client.\"),\n directConnection: PrismaCreateDatabase_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Complete database object returned after creation.\");\nexport const PrismaCreateDatabaseOutput: z.ZodTypeAny = z.object({\n data: PrismaCreateDatabase_CreatedDatabaseSchema.nullable(),\n}).describe(\"API response containing newly created database with connection details.\");\n\nexport const prismaCreateDatabase = action(\"PRISMA_CREATE_DATABASE\", {\n slug: \"prisma-create-database\",\n name: \"Create Project Database\",\n description: \"Create new postgres database in an existing Prisma project. Creates database in specified region with connection strings and API keys. Returns complete database details ready for immediate use.\",\n input: PrismaCreateDatabaseInput,\n output: PrismaCreateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK;CACjM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR;CAC/S,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC5O,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL;AACrN,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACzD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CAChH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACnE,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC5F,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC1D,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQ,sCAAsC,SAAS;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACtG,SAAS,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uCAAuC;CACpG,SAAS,uCAAuC,SAAS;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACvF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACpG,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAK/D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,2CAA2C,SAAS,EAC5D,CAAC,CAAC,CAAC,SAAS,yEAOF;AACV,CAAC"}
@@ -0,0 +1,60 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-project.ts
4
+ const PrismaCreateProjectInput = zod.z.object({
5
+ name: zod.z.string().describe("Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API', 'Dev Environment', etc."),
6
+ region: zod.z.string().describe("AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.")
7
+ }).describe("Request parameters for creating a new Prisma project with postgres database.");
8
+ const PrismaCreateProject_RegionInfoSchema = zod.z.object({
9
+ id: zod.z.string().describe("Region identifier (e.g., 'us-east-1')."),
10
+ name: zod.z.string().describe("Human-readable region name.")
11
+ }).describe("Database region information.");
12
+ const PrismaCreateProject_DirectConnectionSchema = zod.z.object({
13
+ host: zod.z.string().describe("PostgreSQL host and port (e.g., 'db.prisma.io:5432')."),
14
+ pass: zod.z.string().describe("PostgreSQL password (secure key)."),
15
+ user: zod.z.string().describe("PostgreSQL username (tenant ID).")
16
+ }).describe("Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.");
17
+ const PrismaCreateProject_ApiKeySchema = zod.z.object({
18
+ id: zod.z.string().describe("Unique API key identifier."),
19
+ name: zod.z.string().describe("Human-readable API key name."),
20
+ type: zod.z.string().describe("Key type, typically 'connection'."),
21
+ createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
22
+ connectionString: zod.z.string().describe("Database connection string with embedded credentials."),
23
+ directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
24
+ }).describe("Database API key for connection.");
25
+ const PrismaCreateProject_DatabaseSchema = zod.z.object({
26
+ id: zod.z.string().describe("Unique database identifier."),
27
+ name: zod.z.string().describe("Database name."),
28
+ type: zod.z.string().describe("Database type, always 'database'."),
29
+ region: PrismaCreateProject_RegionInfoSchema.nullable(),
30
+ status: zod.z.string().describe("Current database status (e.g., 'active', 'provisioning')."),
31
+ apiKeys: zod.z.array(PrismaCreateProject_ApiKeySchema).describe("List of API keys for database access."),
32
+ createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
33
+ isDefault: zod.z.boolean().describe("True if this is the default database for the project."),
34
+ connectionString: zod.z.string().describe("Primary database connection string."),
35
+ directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
36
+ }).describe("Postgres database created with the project.");
37
+ const PrismaCreateProject_WorkspaceInfoSchema = zod.z.object({
38
+ id: zod.z.string().describe("Unique workspace ID containing this project."),
39
+ name: zod.z.string().describe("Human-readable workspace name.")
40
+ }).describe("Workspace information in project response.");
41
+ const PrismaCreateProject_CreatedProjectSchema = zod.z.object({
42
+ id: zod.z.string().describe("Unique project identifier for future operations."),
43
+ name: zod.z.string().describe("Project name as specified in request."),
44
+ type: zod.z.string().describe("Object type, always 'project'."),
45
+ database: PrismaCreateProject_DatabaseSchema.nullable(),
46
+ createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
47
+ workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable()
48
+ }).describe("Complete project object returned after creation.");
49
+ const PrismaCreateProjectOutput = zod.z.object({ data: PrismaCreateProject_CreatedProjectSchema.nullable() }).describe("API response containing newly created project with database.");
50
+ const prismaCreateProject = require_action.action("PRISMA_CREATE_PROJECT", {
51
+ slug: "prisma-create-project",
52
+ name: "Create Prisma Project",
53
+ description: "Create new Prisma project with managed postgres database. Creates project in authenticated user's workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.",
54
+ input: PrismaCreateProjectInput,
55
+ output: PrismaCreateProjectOutput
56
+ });
57
+ //#endregion
58
+ exports.prismaCreateProject = prismaCreateProject;
59
+
60
+ //# sourceMappingURL=create-project.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project.cjs","names":["z","action"],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateProjectInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API', 'Dev Environment', etc.\"),\n region: z.string().describe(\"AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.\"),\n}).describe(\"Request parameters for creating a new Prisma project with postgres database.\");\nconst PrismaCreateProject_RegionInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\"),\n name: z.string().describe(\"Human-readable region name.\"),\n}).describe(\"Database region information.\");\nconst PrismaCreateProject_DirectConnectionSchema: z.ZodTypeAny = z.object({\n host: z.string().describe(\"PostgreSQL host and port (e.g., 'db.prisma.io:5432').\"),\n pass: z.string().describe(\"PostgreSQL password (secure key).\"),\n user: z.string().describe(\"PostgreSQL username (tenant ID).\"),\n}).describe(\"Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.\");\nconst PrismaCreateProject_ApiKeySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique API key identifier.\"),\n name: z.string().describe(\"Human-readable API key name.\"),\n type: z.string().describe(\"Key type, typically 'connection'.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n connectionString: z.string().describe(\"Database connection string with embedded credentials.\"),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Database API key for connection.\");\nconst PrismaCreateProject_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique database identifier.\"),\n name: z.string().describe(\"Database name.\"),\n type: z.string().describe(\"Database type, always 'database'.\"),\n region: PrismaCreateProject_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database status (e.g., 'active', 'provisioning').\"),\n apiKeys: z.array(PrismaCreateProject_ApiKeySchema).describe(\"List of API keys for database access.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n isDefault: z.boolean().describe(\"True if this is the default database for the project.\"),\n connectionString: z.string().describe(\"Primary database connection string.\"),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Postgres database created with the project.\");\nconst PrismaCreateProject_WorkspaceInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\"),\n name: z.string().describe(\"Human-readable workspace name.\"),\n}).describe(\"Workspace information in project response.\");\nconst PrismaCreateProject_CreatedProjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique project identifier for future operations.\"),\n name: z.string().describe(\"Project name as specified in request.\"),\n type: z.string().describe(\"Object type, always 'project'.\"),\n database: PrismaCreateProject_DatabaseSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable(),\n}).describe(\"Complete project object returned after creation.\");\nexport const PrismaCreateProjectOutput: z.ZodTypeAny = z.object({\n data: PrismaCreateProject_CreatedProjectSchema.nullable(),\n}).describe(\"API response containing newly created project with database.\");\n\nexport const prismaCreateProject = action(\"PRISMA_CREATE_PROJECT\", {\n slug: \"prisma-create-project\",\n name: \"Create Prisma Project\",\n description: \"Create new Prisma project with managed postgres database. Creates project in authenticated user's workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.\",\n input: PrismaCreateProjectInput,\n output: PrismaCreateProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CACvM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qOAAqO;AACnQ,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACzD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC7F,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,QAAQ,qCAAqC,SAAS;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC3E,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC5D,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,UAAU,mCAAmC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAW,wCAAwC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,yCAAyC,SAAS,EAC1D,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-project.d.ts
4
+ declare const PrismaCreateProjectInput: z.ZodTypeAny;
5
+ declare const PrismaCreateProjectOutput: z.ZodTypeAny;
6
+ declare const prismaCreateProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaCreateProject };
9
+ //# sourceMappingURL=create-project.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project.d.cts","names":[],"sources":["../../src/actions/create-project.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGkD;AAAA,cA0C9E,yBAAA,EAA2B,CAAA,CAAE,UAEiC;AAAA,cAE9D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-project.d.ts
4
+ declare const PrismaCreateProjectInput: z.ZodTypeAny;
5
+ declare const PrismaCreateProjectOutput: z.ZodTypeAny;
6
+ declare const prismaCreateProject: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaCreateProject };
9
+ //# sourceMappingURL=create-project.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project.d.mts","names":[],"sources":["../../src/actions/create-project.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGkD;AAAA,cA0C9E,yBAAA,EAA2B,CAAA,CAAE,UAEiC;AAAA,cAE9D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,59 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-project.ts
4
+ const PrismaCreateProjectInput = z.object({
5
+ name: z.string().describe("Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API', 'Dev Environment', etc."),
6
+ region: z.string().describe("AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.")
7
+ }).describe("Request parameters for creating a new Prisma project with postgres database.");
8
+ const PrismaCreateProject_RegionInfoSchema = z.object({
9
+ id: z.string().describe("Region identifier (e.g., 'us-east-1')."),
10
+ name: z.string().describe("Human-readable region name.")
11
+ }).describe("Database region information.");
12
+ const PrismaCreateProject_DirectConnectionSchema = z.object({
13
+ host: z.string().describe("PostgreSQL host and port (e.g., 'db.prisma.io:5432')."),
14
+ pass: z.string().describe("PostgreSQL password (secure key)."),
15
+ user: z.string().describe("PostgreSQL username (tenant ID).")
16
+ }).describe("Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.");
17
+ const PrismaCreateProject_ApiKeySchema = z.object({
18
+ id: z.string().describe("Unique API key identifier."),
19
+ name: z.string().describe("Human-readable API key name."),
20
+ type: z.string().describe("Key type, typically 'connection'."),
21
+ createdAt: z.string().describe("ISO 8601 creation timestamp."),
22
+ connectionString: z.string().describe("Database connection string with embedded credentials."),
23
+ directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
24
+ }).describe("Database API key for connection.");
25
+ const PrismaCreateProject_DatabaseSchema = z.object({
26
+ id: z.string().describe("Unique database identifier."),
27
+ name: z.string().describe("Database name."),
28
+ type: z.string().describe("Database type, always 'database'."),
29
+ region: PrismaCreateProject_RegionInfoSchema.nullable(),
30
+ status: z.string().describe("Current database status (e.g., 'active', 'provisioning')."),
31
+ apiKeys: z.array(PrismaCreateProject_ApiKeySchema).describe("List of API keys for database access."),
32
+ createdAt: z.string().describe("ISO 8601 creation timestamp."),
33
+ isDefault: z.boolean().describe("True if this is the default database for the project."),
34
+ connectionString: z.string().describe("Primary database connection string."),
35
+ directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
36
+ }).describe("Postgres database created with the project.");
37
+ const PrismaCreateProject_WorkspaceInfoSchema = z.object({
38
+ id: z.string().describe("Unique workspace ID containing this project."),
39
+ name: z.string().describe("Human-readable workspace name.")
40
+ }).describe("Workspace information in project response.");
41
+ const PrismaCreateProject_CreatedProjectSchema = z.object({
42
+ id: z.string().describe("Unique project identifier for future operations."),
43
+ name: z.string().describe("Project name as specified in request."),
44
+ type: z.string().describe("Object type, always 'project'."),
45
+ database: PrismaCreateProject_DatabaseSchema.nullable(),
46
+ createdAt: z.string().describe("ISO 8601 creation timestamp."),
47
+ workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable()
48
+ }).describe("Complete project object returned after creation.");
49
+ const prismaCreateProject = action("PRISMA_CREATE_PROJECT", {
50
+ slug: "prisma-create-project",
51
+ name: "Create Prisma Project",
52
+ description: "Create new Prisma project with managed postgres database. Creates project in authenticated user's workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.",
53
+ input: PrismaCreateProjectInput,
54
+ output: z.object({ data: PrismaCreateProject_CreatedProjectSchema.nullable() }).describe("API response containing newly created project with database.")
55
+ });
56
+ //#endregion
57
+ export { prismaCreateProject };
58
+
59
+ //# sourceMappingURL=create-project.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-project.mjs","names":[],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateProjectInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API', 'Dev Environment', etc.\"),\n region: z.string().describe(\"AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.\"),\n}).describe(\"Request parameters for creating a new Prisma project with postgres database.\");\nconst PrismaCreateProject_RegionInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\"),\n name: z.string().describe(\"Human-readable region name.\"),\n}).describe(\"Database region information.\");\nconst PrismaCreateProject_DirectConnectionSchema: z.ZodTypeAny = z.object({\n host: z.string().describe(\"PostgreSQL host and port (e.g., 'db.prisma.io:5432').\"),\n pass: z.string().describe(\"PostgreSQL password (secure key).\"),\n user: z.string().describe(\"PostgreSQL username (tenant ID).\"),\n}).describe(\"Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.\");\nconst PrismaCreateProject_ApiKeySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique API key identifier.\"),\n name: z.string().describe(\"Human-readable API key name.\"),\n type: z.string().describe(\"Key type, typically 'connection'.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n connectionString: z.string().describe(\"Database connection string with embedded credentials.\"),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Database API key for connection.\");\nconst PrismaCreateProject_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique database identifier.\"),\n name: z.string().describe(\"Database name.\"),\n type: z.string().describe(\"Database type, always 'database'.\"),\n region: PrismaCreateProject_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database status (e.g., 'active', 'provisioning').\"),\n apiKeys: z.array(PrismaCreateProject_ApiKeySchema).describe(\"List of API keys for database access.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n isDefault: z.boolean().describe(\"True if this is the default database for the project.\"),\n connectionString: z.string().describe(\"Primary database connection string.\"),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Postgres database created with the project.\");\nconst PrismaCreateProject_WorkspaceInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\"),\n name: z.string().describe(\"Human-readable workspace name.\"),\n}).describe(\"Workspace information in project response.\");\nconst PrismaCreateProject_CreatedProjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique project identifier for future operations.\"),\n name: z.string().describe(\"Project name as specified in request.\"),\n type: z.string().describe(\"Object type, always 'project'.\"),\n database: PrismaCreateProject_DatabaseSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\"),\n workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable(),\n}).describe(\"Complete project object returned after creation.\");\nexport const PrismaCreateProjectOutput: z.ZodTypeAny = z.object({\n data: PrismaCreateProject_CreatedProjectSchema.nullable(),\n}).describe(\"API response containing newly created project with database.\");\n\nexport const prismaCreateProject = action(\"PRISMA_CREATE_PROJECT\", {\n slug: \"prisma-create-project\",\n name: \"Create Prisma Project\",\n description: \"Create new Prisma project with managed postgres database. Creates project in authenticated user's workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.\",\n input: PrismaCreateProjectInput,\n output: PrismaCreateProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CACvM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qOAAqO;AACnQ,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACzD,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC7F,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,QAAQ,qCAAqC,SAAS;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACvF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC3E,kBAAkB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC5D,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,UAAU,mCAAmC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC7D,WAAW,wCAAwC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAK9D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,yCAAyC,SAAS,EAC1D,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-connection.ts
4
+ const PrismaDeleteConnectionInput = zod.z.object({ id: zod.z.string().describe("Unique connection identifier to delete (format: 'con_xxxxx'). WARNING: This permanently revokes API key access to the database. Any applications using this connection string will lose access immediately. This action cannot be undone - ensure no critical systems depend on this connection.") }).describe("Request parameters for deleting a database connection.");
5
+ const PrismaDeleteConnectionOutput = zod.z.object({}).describe("Empty response for successful connection deletion.");
6
+ const prismaDeleteConnection = require_action.action("PRISMA_DELETE_CONNECTION", {
7
+ slug: "prisma-delete-connection",
8
+ name: "Delete Database Connection",
9
+ description: "Permanently delete database connection and revoke API key access. WARNING: This immediately revokes database access for any applications using this connection string. Ensure no critical systems depend on this connection.",
10
+ input: PrismaDeleteConnectionInput,
11
+ output: PrismaDeleteConnectionOutput
12
+ });
13
+ //#endregion
14
+ exports.prismaDeleteConnection = prismaDeleteConnection;
15
+
16
+ //# sourceMappingURL=delete-connection.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-connection.cjs","names":["z","action"],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteConnectionInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique connection identifier to delete (format: 'con_xxxxx'). WARNING: This permanently revokes API key access to the database. Any applications using this connection string will lose access immediately. This action cannot be undone - ensure no critical systems depend on this connection.\"),\n}).describe(\"Request parameters for deleting a database connection.\");\nexport const PrismaDeleteConnectionOutput: z.ZodTypeAny = z.object({}).describe(\"Empty response for successful connection deletion.\");\n\nexport const prismaDeleteConnection = action(\"PRISMA_DELETE_CONNECTION\", {\n slug: \"prisma-delete-connection\",\n name: \"Delete Database Connection\",\n description: \"Permanently delete database connection and revoke API key access. WARNING: This immediately revokes database access for any applications using this connection string. Ensure no critical systems depend on this connection.\",\n input: PrismaDeleteConnectionInput,\n output: PrismaDeleteConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS,EAC5T,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEpI,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-connection.d.ts
4
+ declare const PrismaDeleteConnectionInput: z.ZodTypeAny;
5
+ declare const PrismaDeleteConnectionOutput: z.ZodTypeAny;
6
+ declare const prismaDeleteConnection: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prismaDeleteConnection };
9
+ //# sourceMappingURL=delete-connection.d.cts.map