@keystrokehq/prisma 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-connection.cjs +1 -0
  4. package/dist/actions/create-connection.cjs.map +1 -1
  5. package/dist/actions/create-connection.d.cts +3 -16
  6. package/dist/actions/create-connection.d.cts.map +1 -1
  7. package/dist/actions/create-connection.d.mts +3 -16
  8. package/dist/actions/create-connection.d.mts.map +1 -1
  9. package/dist/actions/create-connection.mjs +1 -0
  10. package/dist/actions/create-connection.mjs.map +1 -1
  11. package/dist/actions/create-database.cjs +1 -0
  12. package/dist/actions/create-database.cjs.map +1 -1
  13. package/dist/actions/create-database.d.cts +3 -18
  14. package/dist/actions/create-database.d.cts.map +1 -1
  15. package/dist/actions/create-database.d.mts +3 -18
  16. package/dist/actions/create-database.d.mts.map +1 -1
  17. package/dist/actions/create-database.mjs +1 -0
  18. package/dist/actions/create-database.mjs.map +1 -1
  19. package/dist/actions/create-project.cjs +1 -0
  20. package/dist/actions/create-project.cjs.map +1 -1
  21. package/dist/actions/create-project.d.cts +3 -16
  22. package/dist/actions/create-project.d.cts.map +1 -1
  23. package/dist/actions/create-project.d.mts +3 -16
  24. package/dist/actions/create-project.d.mts.map +1 -1
  25. package/dist/actions/create-project.mjs +1 -0
  26. package/dist/actions/create-project.mjs.map +1 -1
  27. package/dist/actions/delete-connection.cjs +1 -0
  28. package/dist/actions/delete-connection.cjs.map +1 -1
  29. package/dist/actions/delete-connection.d.cts +3 -15
  30. package/dist/actions/delete-connection.d.cts.map +1 -1
  31. package/dist/actions/delete-connection.d.mts +3 -15
  32. package/dist/actions/delete-connection.d.mts.map +1 -1
  33. package/dist/actions/delete-connection.mjs +1 -0
  34. package/dist/actions/delete-connection.mjs.map +1 -1
  35. package/dist/actions/delete-database.cjs +1 -0
  36. package/dist/actions/delete-database.cjs.map +1 -1
  37. package/dist/actions/delete-database.d.cts +3 -15
  38. package/dist/actions/delete-database.d.cts.map +1 -1
  39. package/dist/actions/delete-database.d.mts +3 -15
  40. package/dist/actions/delete-database.d.mts.map +1 -1
  41. package/dist/actions/delete-database.mjs +1 -0
  42. package/dist/actions/delete-database.mjs.map +1 -1
  43. package/dist/actions/delete-project.cjs +1 -0
  44. package/dist/actions/delete-project.cjs.map +1 -1
  45. package/dist/actions/delete-project.d.cts +3 -15
  46. package/dist/actions/delete-project.d.cts.map +1 -1
  47. package/dist/actions/delete-project.d.mts +3 -15
  48. package/dist/actions/delete-project.d.mts.map +1 -1
  49. package/dist/actions/delete-project.mjs +1 -0
  50. package/dist/actions/delete-project.mjs.map +1 -1
  51. package/dist/actions/execute-sql-command.cjs +1 -0
  52. package/dist/actions/execute-sql-command.cjs.map +1 -1
  53. package/dist/actions/execute-sql-command.d.cts +3 -17
  54. package/dist/actions/execute-sql-command.d.cts.map +1 -1
  55. package/dist/actions/execute-sql-command.d.mts +3 -17
  56. package/dist/actions/execute-sql-command.d.mts.map +1 -1
  57. package/dist/actions/execute-sql-command.mjs +1 -0
  58. package/dist/actions/execute-sql-command.mjs.map +1 -1
  59. package/dist/actions/execute-sql-query.cjs +1 -0
  60. package/dist/actions/execute-sql-query.cjs.map +1 -1
  61. package/dist/actions/execute-sql-query.d.cts +3 -19
  62. package/dist/actions/execute-sql-query.d.cts.map +1 -1
  63. package/dist/actions/execute-sql-query.d.mts +3 -19
  64. package/dist/actions/execute-sql-query.d.mts.map +1 -1
  65. package/dist/actions/execute-sql-query.mjs +1 -0
  66. package/dist/actions/execute-sql-query.mjs.map +1 -1
  67. package/dist/actions/get-database-usage.cjs +1 -0
  68. package/dist/actions/get-database-usage.cjs.map +1 -1
  69. package/dist/actions/get-database-usage.d.cts +3 -17
  70. package/dist/actions/get-database-usage.d.cts.map +1 -1
  71. package/dist/actions/get-database-usage.d.mts +3 -17
  72. package/dist/actions/get-database-usage.d.mts.map +1 -1
  73. package/dist/actions/get-database-usage.mjs +1 -0
  74. package/dist/actions/get-database-usage.mjs.map +1 -1
  75. package/dist/actions/get-database.cjs +1 -0
  76. package/dist/actions/get-database.cjs.map +1 -1
  77. package/dist/actions/get-database.d.cts +3 -15
  78. package/dist/actions/get-database.d.cts.map +1 -1
  79. package/dist/actions/get-database.d.mts +3 -15
  80. package/dist/actions/get-database.d.mts.map +1 -1
  81. package/dist/actions/get-database.mjs +1 -0
  82. package/dist/actions/get-database.mjs.map +1 -1
  83. package/dist/actions/get-project.cjs +1 -0
  84. package/dist/actions/get-project.cjs.map +1 -1
  85. package/dist/actions/get-project.d.cts +3 -15
  86. package/dist/actions/get-project.d.cts.map +1 -1
  87. package/dist/actions/get-project.d.mts +3 -15
  88. package/dist/actions/get-project.d.mts.map +1 -1
  89. package/dist/actions/get-project.mjs +1 -0
  90. package/dist/actions/get-project.mjs.map +1 -1
  91. package/dist/actions/inspect-database-schema.cjs +1 -0
  92. package/dist/actions/inspect-database-schema.cjs.map +1 -1
  93. package/dist/actions/inspect-database-schema.d.cts +3 -19
  94. package/dist/actions/inspect-database-schema.d.cts.map +1 -1
  95. package/dist/actions/inspect-database-schema.d.mts +3 -19
  96. package/dist/actions/inspect-database-schema.d.mts.map +1 -1
  97. package/dist/actions/inspect-database-schema.mjs +1 -0
  98. package/dist/actions/inspect-database-schema.mjs.map +1 -1
  99. package/dist/actions/list-accelerate-regions.cjs +1 -0
  100. package/dist/actions/list-accelerate-regions.cjs.map +1 -1
  101. package/dist/actions/list-accelerate-regions.d.cts +3 -13
  102. package/dist/actions/list-accelerate-regions.d.cts.map +1 -1
  103. package/dist/actions/list-accelerate-regions.d.mts +3 -13
  104. package/dist/actions/list-accelerate-regions.d.mts.map +1 -1
  105. package/dist/actions/list-accelerate-regions.mjs +1 -0
  106. package/dist/actions/list-accelerate-regions.mjs.map +1 -1
  107. package/dist/actions/list-backups.cjs +1 -0
  108. package/dist/actions/list-backups.cjs.map +1 -1
  109. package/dist/actions/list-backups.d.cts +3 -16
  110. package/dist/actions/list-backups.d.cts.map +1 -1
  111. package/dist/actions/list-backups.d.mts +3 -16
  112. package/dist/actions/list-backups.d.mts.map +1 -1
  113. package/dist/actions/list-backups.mjs +1 -0
  114. package/dist/actions/list-backups.mjs.map +1 -1
  115. package/dist/actions/list-connections.cjs +1 -0
  116. package/dist/actions/list-connections.cjs.map +1 -1
  117. package/dist/actions/list-connections.d.cts +3 -17
  118. package/dist/actions/list-connections.d.cts.map +1 -1
  119. package/dist/actions/list-connections.d.mts +3 -17
  120. package/dist/actions/list-connections.d.mts.map +1 -1
  121. package/dist/actions/list-connections.mjs +1 -0
  122. package/dist/actions/list-connections.mjs.map +1 -1
  123. package/dist/actions/list-databases.cjs +1 -0
  124. package/dist/actions/list-databases.cjs.map +1 -1
  125. package/dist/actions/list-databases.d.cts +3 -17
  126. package/dist/actions/list-databases.d.cts.map +1 -1
  127. package/dist/actions/list-databases.d.mts +3 -17
  128. package/dist/actions/list-databases.d.mts.map +1 -1
  129. package/dist/actions/list-databases.mjs +1 -0
  130. package/dist/actions/list-databases.mjs.map +1 -1
  131. package/dist/actions/list-postgres-regions.cjs +1 -0
  132. package/dist/actions/list-postgres-regions.cjs.map +1 -1
  133. package/dist/actions/list-postgres-regions.d.cts +3 -13
  134. package/dist/actions/list-postgres-regions.d.cts.map +1 -1
  135. package/dist/actions/list-postgres-regions.d.mts +3 -13
  136. package/dist/actions/list-postgres-regions.d.mts.map +1 -1
  137. package/dist/actions/list-postgres-regions.mjs +1 -0
  138. package/dist/actions/list-postgres-regions.mjs.map +1 -1
  139. package/dist/actions/list-projects.cjs +1 -0
  140. package/dist/actions/list-projects.cjs.map +1 -1
  141. package/dist/actions/list-projects.d.cts +3 -16
  142. package/dist/actions/list-projects.d.cts.map +1 -1
  143. package/dist/actions/list-projects.d.mts +3 -16
  144. package/dist/actions/list-projects.d.mts.map +1 -1
  145. package/dist/actions/list-projects.mjs +1 -0
  146. package/dist/actions/list-projects.mjs.map +1 -1
  147. package/dist/actions/list-workspace-integrations.cjs +1 -0
  148. package/dist/actions/list-workspace-integrations.cjs.map +1 -1
  149. package/dist/actions/list-workspace-integrations.d.cts +3 -17
  150. package/dist/actions/list-workspace-integrations.d.cts.map +1 -1
  151. package/dist/actions/list-workspace-integrations.d.mts +3 -17
  152. package/dist/actions/list-workspace-integrations.d.mts.map +1 -1
  153. package/dist/actions/list-workspace-integrations.mjs +1 -0
  154. package/dist/actions/list-workspace-integrations.mjs.map +1 -1
  155. package/dist/actions/list-workspaces.cjs +1 -0
  156. package/dist/actions/list-workspaces.cjs.map +1 -1
  157. package/dist/actions/list-workspaces.d.cts +3 -16
  158. package/dist/actions/list-workspaces.d.cts.map +1 -1
  159. package/dist/actions/list-workspaces.d.mts +3 -16
  160. package/dist/actions/list-workspaces.d.mts.map +1 -1
  161. package/dist/actions/list-workspaces.mjs +1 -0
  162. package/dist/actions/list-workspaces.mjs.map +1 -1
  163. package/dist/actions/restore-backup.cjs +1 -0
  164. package/dist/actions/restore-backup.cjs.map +1 -1
  165. package/dist/actions/restore-backup.d.cts +3 -17
  166. package/dist/actions/restore-backup.d.cts.map +1 -1
  167. package/dist/actions/restore-backup.d.mts +3 -17
  168. package/dist/actions/restore-backup.d.mts.map +1 -1
  169. package/dist/actions/restore-backup.mjs +1 -0
  170. package/dist/actions/restore-backup.mjs.map +1 -1
  171. package/dist/actions/transfer-project.cjs +1 -0
  172. package/dist/actions/transfer-project.cjs.map +1 -1
  173. package/dist/actions/transfer-project.d.cts +3 -16
  174. package/dist/actions/transfer-project.d.cts.map +1 -1
  175. package/dist/actions/transfer-project.d.mts +3 -16
  176. package/dist/actions/transfer-project.d.mts.map +1 -1
  177. package/dist/actions/transfer-project.mjs +1 -0
  178. package/dist/actions/transfer-project.mjs.map +1 -1
  179. package/dist/app.cjs +2 -2
  180. package/dist/app.cjs.map +1 -1
  181. package/dist/app.d.cts +4 -6
  182. package/dist/app.d.cts.map +1 -1
  183. package/dist/app.d.mts +4 -6
  184. package/dist/app.d.mts.map +1 -1
  185. package/dist/app.mjs +0 -1
  186. package/dist/app.mjs.map +1 -1
  187. package/dist/index.d.cts +1 -1
  188. package/dist/index.d.mts +1 -1
  189. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-database-usage.mjs","names":[],"sources":["../../src/actions/get-database-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaGetDatabaseUsageInput = z.object({\n endDate: z.string().describe(\"End date for metrics query in ISO 8601 format (e.g., '2025-07-31T23:59:59Z'). Defaults to current date if not provided. Will be set to end of day if a future date is provided.\").optional(),\n startDate: z.string().describe(\"Start date for metrics query in ISO 8601 format (e.g., '2025-07-01T00:00:00Z'). Defaults to start of current month if not provided. Use to specify custom date ranges for usage analysis.\").optional(),\n databaseId: z.string().describe(\"Unique database identifier to retrieve usage metrics for (format: 'db_xxxxx'). Must be a database the authenticated user has access to. This ID is obtained from database listing or creation operations.\"),\n}).describe(\"Request parameters for retrieving database usage metrics.\");\nconst PrismaGetDatabaseUsage_UsagePeriodSchema = z.object({\n end: z.string().describe(\"ISO 8601 timestamp marking the end of the metrics period (e.g., '2025-07-31T23:59:59Z').\").nullable(),\n start: z.string().describe(\"ISO 8601 timestamp marking the start of the metrics period (e.g., '2025-07-01T00:00:00Z').\").nullable(),\n}).passthrough().describe(\"Time period for the usage metrics.\");\nconst PrismaGetDatabaseUsage_MetricValueSchema = z.object({\n unit: z.string().describe(\"Unit of measurement for the metric value. Examples: 'bytes' for storage, 'count' for operations.\").nullable(),\n used: z.number().describe(\"Amount of the resource used during the specified period. Numeric value representing usage count or size.\").nullable(),\n}).passthrough().describe(\"Individual metric value with unit information.\");\nconst PrismaGetDatabaseUsage_UsageMetricsSchema = z.object({\n storage: PrismaGetDatabaseUsage_MetricValueSchema.nullable(),\n operations: PrismaGetDatabaseUsage_MetricValueSchema.nullable(),\n}).passthrough().describe(\"Database usage metrics including operations and storage.\");\nexport const PrismaGetDatabaseUsageOutput = z.object({\n period: PrismaGetDatabaseUsage_UsagePeriodSchema.nullable(),\n metrics: PrismaGetDatabaseUsage_UsageMetricsSchema.nullable(),\n generatedAt: z.string().describe(\"ISO 8601 timestamp when the usage report was generated (e.g., '2025-08-01T10:30:00Z').\").nullable(),\n}).passthrough().describe(\"API response containing database usage metrics.\");\n\nexport const prismaGetDatabaseUsage = action(\"PRISMA_GET_DATABASE_USAGE\", {\n slug: \"prisma-get-database-usage\",\n name: \"Get Database Usage Metrics\",\n description: \"Retrieve usage metrics for a specific Prisma database. Returns metrics including storage usage and operation counts (reads/writes) for the specified time period. Use for monitoring resource consumption, cost analysis, and capacity planning.\",\n input: PrismaGetDatabaseUsageInput,\n output: PrismaGetDatabaseUsageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACzN,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CACrO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;AAC7O,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,4CAA4C,EAAE,OAAO;CACzD,SAAS,yCAAyC,SAAS;CAC3D,YAAY,yCAAyC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAOpF,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0C,EAAE,OAAO;EACnD,QAAQ,yCAAyC,SAAS;EAC1D,SAAS,0CAA0C,SAAS;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-database-usage.mjs","names":[],"sources":["../../src/actions/get-database-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaGetDatabaseUsageInput = z.object({\n endDate: z.string().describe(\"End date for metrics query in ISO 8601 format (e.g., '2025-07-31T23:59:59Z'). Defaults to current date if not provided. Will be set to end of day if a future date is provided.\").optional(),\n startDate: z.string().describe(\"Start date for metrics query in ISO 8601 format (e.g., '2025-07-01T00:00:00Z'). Defaults to start of current month if not provided. Use to specify custom date ranges for usage analysis.\").optional(),\n databaseId: z.string().describe(\"Unique database identifier to retrieve usage metrics for (format: 'db_xxxxx'). Must be a database the authenticated user has access to. This ID is obtained from database listing or creation operations.\"),\n}).describe(\"Request parameters for retrieving database usage metrics.\");\nconst PrismaGetDatabaseUsage_UsagePeriodSchema = z.object({\n end: z.string().describe(\"ISO 8601 timestamp marking the end of the metrics period (e.g., '2025-07-31T23:59:59Z').\").nullable(),\n start: z.string().describe(\"ISO 8601 timestamp marking the start of the metrics period (e.g., '2025-07-01T00:00:00Z').\").nullable(),\n}).passthrough().describe(\"Time period for the usage metrics.\");\nconst PrismaGetDatabaseUsage_MetricValueSchema = z.object({\n unit: z.string().describe(\"Unit of measurement for the metric value. Examples: 'bytes' for storage, 'count' for operations.\").nullable(),\n used: z.number().describe(\"Amount of the resource used during the specified period. Numeric value representing usage count or size.\").nullable(),\n}).passthrough().describe(\"Individual metric value with unit information.\");\nconst PrismaGetDatabaseUsage_UsageMetricsSchema = z.object({\n storage: PrismaGetDatabaseUsage_MetricValueSchema.nullable(),\n operations: PrismaGetDatabaseUsage_MetricValueSchema.nullable(),\n}).passthrough().describe(\"Database usage metrics including operations and storage.\");\nexport const PrismaGetDatabaseUsageOutput = z.object({\n period: PrismaGetDatabaseUsage_UsagePeriodSchema.nullable(),\n metrics: PrismaGetDatabaseUsage_UsageMetricsSchema.nullable(),\n generatedAt: z.string().describe(\"ISO 8601 timestamp when the usage report was generated (e.g., '2025-08-01T10:30:00Z').\").nullable(),\n}).passthrough().describe(\"API response containing database usage metrics.\");\n\nexport const prismaGetDatabaseUsage: AppAction<\n typeof PrismaGetDatabaseUsageInput,\n typeof PrismaGetDatabaseUsageOutput,\n typeof prisma.credential\n> = action(\"PRISMA_GET_DATABASE_USAGE\", {\n slug: \"prisma-get-database-usage\",\n name: \"Get Database Usage Metrics\",\n description: \"Retrieve usage metrics for a specific Prisma database. Returns metrics including storage usage and operation counts (reads/writes) for the specified time period. Use for monitoring resource consumption, cost analysis, and capacity planning.\",\n input: PrismaGetDatabaseUsageInput,\n output: PrismaGetDatabaseUsageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACzN,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CACrO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M;AAC7O,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,4CAA4C,EAAE,OAAO;CACzD,SAAS,yCAAyC,SAAS;CAC3D,YAAY,yCAAyC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAOpF,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0C,EAAE,OAAO;EACnD,QAAQ,yCAAyC,SAAS;EAC1D,SAAS,0CAA0C,SAAS;EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-database.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaGetDatabaseInput = z.object({\n databaseId: z.string().describe(\"Unique database identifier to retrieve (format: 'db_xxxxx'). This ID is obtained from database listing or creation operations. Must be a database the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific database by ID.\");\nconst PrismaGetDatabase_RegionInfoSchema = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\").nullable(),\n name: z.string().describe(\"Human-readable region name.\").nullable(),\n}).passthrough().describe(\"Database region information.\");\nconst PrismaGetDatabase_ProjectInfoSchema = z.object({\n id: z.string().describe(\"Unique project ID containing this database.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n}).passthrough().describe(\"Project information embedded in database.\");\nconst PrismaGetDatabase_DatabaseDetailsSchema = z.object({\n id: z.string().describe(\"Unique database identifier.\").nullable(),\n name: z.string().describe(\"Human-readable database name.\").nullable(),\n type: z.string().describe(\"Object type, always 'database'.\").nullable(),\n region: PrismaGetDatabase_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database operational status. Values: 'ready' (operational), 'provisioning' (being created), 'failure' (error state), 'maintenance' (temporarily unavailable).\").nullable(),\n project: PrismaGetDatabase_ProjectInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n isDefault: z.boolean().describe(\"True if this is the default database for its project. Default databases are created automatically with projects.\").nullable(),\n}).passthrough().describe(\"Complete database information.\");\nexport const PrismaGetDatabaseOutput = z.object({\n data: PrismaGetDatabase_DatabaseDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing database details.\");\n\nexport const prismaGetDatabase = action(\"PRISMA_GET_DATABASE\", {\n slug: \"prisma-get-database\",\n name: \"Get Prisma Database\",\n description: \"Retrieve specific Prisma database by ID. Returns database details including status, project context, and regional deployment. Use for database monitoring, validation, and administrative operations.\",\n input: PrismaGetDatabaseInput,\n output: PrismaGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EAC3N,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaGetDatabaseInput = z.object({\n databaseId: z.string().describe(\"Unique database identifier to retrieve (format: 'db_xxxxx'). This ID is obtained from database listing or creation operations. Must be a database the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific database by ID.\");\nconst PrismaGetDatabase_RegionInfoSchema = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\").nullable(),\n name: z.string().describe(\"Human-readable region name.\").nullable(),\n}).passthrough().describe(\"Database region information.\");\nconst PrismaGetDatabase_ProjectInfoSchema = z.object({\n id: z.string().describe(\"Unique project ID containing this database.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n}).passthrough().describe(\"Project information embedded in database.\");\nconst PrismaGetDatabase_DatabaseDetailsSchema = z.object({\n id: z.string().describe(\"Unique database identifier.\").nullable(),\n name: z.string().describe(\"Human-readable database name.\").nullable(),\n type: z.string().describe(\"Object type, always 'database'.\").nullable(),\n region: PrismaGetDatabase_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database operational status. Values: 'ready' (operational), 'provisioning' (being created), 'failure' (error state), 'maintenance' (temporarily unavailable).\").nullable(),\n project: PrismaGetDatabase_ProjectInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n isDefault: z.boolean().describe(\"True if this is the default database for its project. Default databases are created automatically with projects.\").nullable(),\n}).passthrough().describe(\"Complete database information.\");\nexport const PrismaGetDatabaseOutput = z.object({\n data: PrismaGetDatabase_DatabaseDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing database details.\");\n\nexport const prismaGetDatabase: AppAction<\n typeof PrismaGetDatabaseInput,\n typeof PrismaGetDatabaseOutput,\n typeof prisma.credential\n> = action(\"PRISMA_GET_DATABASE\", {\n slug: \"prisma-get-database\",\n name: \"Get Prisma Database\",\n description: \"Retrieve specific Prisma database by ID. Returns database details including status, project context, and regional deployment. Use for database monitoring, validation, and administrative operations.\",\n input: PrismaGetDatabaseInput,\n output: PrismaGetDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EAC3N,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,mCAAmC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAC9M,SAAS,oCAAoC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-database.d.ts
@@ -22,21 +24,7 @@ declare const PrismaGetDatabaseOutput: z.ZodObject<{
22
24
  isDefault: z.ZodNullable<z.ZodBoolean>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const prismaGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- databaseId: string;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- accessToken: z.ZodString;
39
- }, z.core.$strip>>]>;
27
+ declare const prismaGetDatabase: AppAction<typeof PrismaGetDatabaseInput, typeof PrismaGetDatabaseOutput, typeof prisma.credential>;
40
28
  //#endregion
41
29
  export { prismaGetDatabase };
42
30
  //# sourceMappingURL=get-database.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAqBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAqBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-database.d.ts
@@ -22,21 +24,7 @@ declare const PrismaGetDatabaseOutput: z.ZodObject<{
22
24
  isDefault: z.ZodNullable<z.ZodBoolean>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const prismaGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- databaseId: string;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
34
- connectionId: z.ZodString;
35
- entityId: z.ZodString;
36
- instanceId: z.ZodString;
37
- }, z.core.$strip>, z.ZodObject<{
38
- accessToken: z.ZodString;
39
- }, z.core.$strip>>]>;
27
+ declare const prismaGetDatabase: AppAction<typeof PrismaGetDatabaseInput, typeof PrismaGetDatabaseOutput, typeof prisma.credential>;
40
28
  //#endregion
41
29
  export { prismaGetDatabase };
42
30
  //# sourceMappingURL=get-database.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAqBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAqBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-database.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaGetDatabaseInput = z.object({\n databaseId: z.string().describe(\"Unique database identifier to retrieve (format: 'db_xxxxx'). This ID is obtained from database listing or creation operations. Must be a database the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific database by ID.\");\nconst PrismaGetDatabase_RegionInfoSchema = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\").nullable(),\n name: z.string().describe(\"Human-readable region name.\").nullable(),\n}).passthrough().describe(\"Database region information.\");\nconst PrismaGetDatabase_ProjectInfoSchema = z.object({\n id: z.string().describe(\"Unique project ID containing this database.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n}).passthrough().describe(\"Project information embedded in database.\");\nconst PrismaGetDatabase_DatabaseDetailsSchema = z.object({\n id: z.string().describe(\"Unique database identifier.\").nullable(),\n name: z.string().describe(\"Human-readable database name.\").nullable(),\n type: z.string().describe(\"Object type, always 'database'.\").nullable(),\n region: PrismaGetDatabase_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database operational status. Values: 'ready' (operational), 'provisioning' (being created), 'failure' (error state), 'maintenance' (temporarily unavailable).\").nullable(),\n project: PrismaGetDatabase_ProjectInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n isDefault: z.boolean().describe(\"True if this is the default database for its project. Default databases are created automatically with projects.\").nullable(),\n}).passthrough().describe(\"Complete database information.\");\nexport const PrismaGetDatabaseOutput = z.object({\n data: PrismaGetDatabase_DatabaseDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing database details.\");\n\nexport const prismaGetDatabase = action(\"PRISMA_GET_DATABASE\", {\n slug: \"prisma-get-database\",\n name: \"Get Prisma Database\",\n description: \"Retrieve specific Prisma database by ID. Returns database details including status, project context, and regional deployment. Use for database monitoring, validation, and administrative operations.\",\n input: PrismaGetDatabaseInput,\n output: PrismaGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EAC3N,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACtE,QAAQ,mCAAmC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAC9M,SAAS,oCAAoC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaGetDatabaseInput = z.object({\n databaseId: z.string().describe(\"Unique database identifier to retrieve (format: 'db_xxxxx'). This ID is obtained from database listing or creation operations. Must be a database the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific database by ID.\");\nconst PrismaGetDatabase_RegionInfoSchema = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\").nullable(),\n name: z.string().describe(\"Human-readable region name.\").nullable(),\n}).passthrough().describe(\"Database region information.\");\nconst PrismaGetDatabase_ProjectInfoSchema = z.object({\n id: z.string().describe(\"Unique project ID containing this database.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n}).passthrough().describe(\"Project information embedded in database.\");\nconst PrismaGetDatabase_DatabaseDetailsSchema = z.object({\n id: z.string().describe(\"Unique database identifier.\").nullable(),\n name: z.string().describe(\"Human-readable database name.\").nullable(),\n type: z.string().describe(\"Object type, always 'database'.\").nullable(),\n region: PrismaGetDatabase_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database operational status. Values: 'ready' (operational), 'provisioning' (being created), 'failure' (error state), 'maintenance' (temporarily unavailable).\").nullable(),\n project: PrismaGetDatabase_ProjectInfoSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n isDefault: z.boolean().describe(\"True if this is the default database for its project. Default databases are created automatically with projects.\").nullable(),\n}).passthrough().describe(\"Complete database information.\");\nexport const PrismaGetDatabaseOutput = z.object({\n data: PrismaGetDatabase_DatabaseDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing database details.\");\n\nexport const prismaGetDatabase: AppAction<\n typeof PrismaGetDatabaseInput,\n typeof PrismaGetDatabaseOutput,\n typeof prisma.credential\n> = action(\"PRISMA_GET_DATABASE\", {\n slug: \"prisma-get-database\",\n name: \"Get Prisma Database\",\n description: \"Retrieve specific Prisma database by ID. Returns database details including status, project context, and regional deployment. Use for database monitoring, validation, and administrative operations.\",\n input: PrismaGetDatabaseInput,\n output: PrismaGetDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,EAC3N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WhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaGetProjectInput = z.object({\n id: z.string().describe(\"Unique project identifier to retrieve (format: 'proj_xxxxx'). This ID is obtained from project listing or creation operations. Must be a project the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific project by ID.\");\nconst PrismaGetProject_WorkspaceInfoSchema = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\").nullable(),\n name: z.string().describe(\"Human-readable workspace name.\").nullable(),\n}).passthrough().describe(\"Workspace information embedded in project.\");\nconst PrismaGetProject_ProjectDetailsSchema = z.object({\n id: z.string().describe(\"Unique project identifier.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n type: z.string().describe(\"Object type, always 'project'.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n workspace: PrismaGetProject_WorkspaceInfoSchema.nullable(),\n}).passthrough().describe(\"Complete project information.\");\nexport const PrismaGetProjectOutput = z.object({\n data: PrismaGetProject_ProjectDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing project details.\");\n\nexport const prismaGetProject = action(\"PRISMA_GET_PROJECT\", {\n slug: \"prisma-get-project\",\n name: \"Get Prisma Project\",\n description: \"Retrieve specific Prisma project by ID. Returns project details including name, creation timestamp, and workspace information. Use for project detail views, validation, and administrative operations.\",\n input: PrismaGetProjectInput,\n output: PrismaGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL,EAClN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAW,qCAAqC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaGetProjectInput = z.object({\n id: z.string().describe(\"Unique project identifier to retrieve (format: 'proj_xxxxx'). This ID is obtained from project listing or creation operations. Must be a project the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific project by ID.\");\nconst PrismaGetProject_WorkspaceInfoSchema = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\").nullable(),\n name: z.string().describe(\"Human-readable workspace name.\").nullable(),\n}).passthrough().describe(\"Workspace information embedded in project.\");\nconst PrismaGetProject_ProjectDetailsSchema = z.object({\n id: z.string().describe(\"Unique project identifier.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n type: z.string().describe(\"Object type, always 'project'.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n workspace: PrismaGetProject_WorkspaceInfoSchema.nullable(),\n}).passthrough().describe(\"Complete project information.\");\nexport const PrismaGetProjectOutput = z.object({\n data: PrismaGetProject_ProjectDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing project details.\");\n\nexport const prismaGetProject: AppAction<\n typeof PrismaGetProjectInput,\n typeof PrismaGetProjectOutput,\n typeof prisma.credential\n> = action(\"PRISMA_GET_PROJECT\", {\n slug: \"prisma-get-project\",\n name: \"Get Prisma Project\",\n description: \"Retrieve specific Prisma project by ID. Returns project details including name, creation timestamp, and workspace information. Use for project detail views, validation, and administrative operations.\",\n input: PrismaGetProjectInput,\n output: PrismaGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL,EAClN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAW,qCAAqC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-project.d.ts
@@ -16,21 +18,7 @@ declare const PrismaGetProjectOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const prismaGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- accessToken: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const prismaGetProject: AppAction<typeof PrismaGetProjectInput, typeof PrismaGetProjectOutput, typeof prisma.credential>;
34
22
  //#endregion
35
23
  export { prismaGetProject };
36
24
  //# sourceMappingURL=get-project.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-project.d.ts
@@ -16,21 +18,7 @@ declare const PrismaGetProjectOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const prismaGetProject: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- accessToken: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- accessToken: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const prismaGetProject: AppAction<typeof PrismaGetProjectInput, typeof PrismaGetProjectOutput, typeof prisma.credential>;
34
22
  //#endregion
35
23
  export { prismaGetProject };
36
24
  //# sourceMappingURL=get-project.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
1
+ {"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAcrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-project.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaGetProjectInput = z.object({\n id: z.string().describe(\"Unique project identifier to retrieve (format: 'proj_xxxxx'). This ID is obtained from project listing or creation operations. Must be a project the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific project by ID.\");\nconst PrismaGetProject_WorkspaceInfoSchema = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\").nullable(),\n name: z.string().describe(\"Human-readable workspace name.\").nullable(),\n}).passthrough().describe(\"Workspace information embedded in project.\");\nconst PrismaGetProject_ProjectDetailsSchema = z.object({\n id: z.string().describe(\"Unique project identifier.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n type: z.string().describe(\"Object type, always 'project'.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n workspace: PrismaGetProject_WorkspaceInfoSchema.nullable(),\n}).passthrough().describe(\"Complete project information.\");\nexport const PrismaGetProjectOutput = z.object({\n data: PrismaGetProject_ProjectDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing project details.\");\n\nexport const prismaGetProject = action(\"PRISMA_GET_PROJECT\", {\n slug: \"prisma-get-project\",\n name: \"Get Prisma Project\",\n description: \"Retrieve specific Prisma project by ID. Returns project details including name, creation timestamp, and workspace information. Use for project detail views, validation, and administrative operations.\",\n input: PrismaGetProjectInput,\n output: PrismaGetProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL,EAClN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAW,qCAAqC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaGetProjectInput = z.object({\n id: z.string().describe(\"Unique project identifier to retrieve (format: 'proj_xxxxx'). This ID is obtained from project listing or creation operations. Must be a project the authenticated user has access to.\"),\n}).describe(\"Request parameters for retrieving a specific project by ID.\");\nconst PrismaGetProject_WorkspaceInfoSchema = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\").nullable(),\n name: z.string().describe(\"Human-readable workspace name.\").nullable(),\n}).passthrough().describe(\"Workspace information embedded in project.\");\nconst PrismaGetProject_ProjectDetailsSchema = z.object({\n id: z.string().describe(\"Unique project identifier.\").nullable(),\n name: z.string().describe(\"Human-readable project name.\").nullable(),\n type: z.string().describe(\"Object type, always 'project'.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp in UTC.\").nullable(),\n workspace: PrismaGetProject_WorkspaceInfoSchema.nullable(),\n}).passthrough().describe(\"Complete project information.\");\nexport const PrismaGetProjectOutput = z.object({\n data: PrismaGetProject_ProjectDetailsSchema.nullable(),\n}).passthrough().describe(\"API response containing project details.\");\n\nexport const prismaGetProject: AppAction<\n typeof PrismaGetProjectInput,\n typeof PrismaGetProjectOutput,\n typeof prisma.credential\n> = action(\"PRISMA_GET_PROJECT\", {\n slug: \"prisma-get-project\",\n name: \"Get Prisma Project\",\n description: \"Retrieve specific Prisma project by ID. Returns project details including name, creation timestamp, and workspace information. Use for project detail views, validation, and administrative operations.\",\n input: PrismaGetProjectInput,\n output: PrismaGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL,EAClN,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAW,qCAAqC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAKzD,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/inspect-database-schema.ts
@@ -1 +1 @@
1
- {"version":3,"file":"inspect-database-schema.cjs","names":["z","action"],"sources":["../../src/actions/inspect-database-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaInspectDatabaseSchemaInput = z.object({\n host: z.string().describe(\"Database host with port (format: 'db.prisma.io:5432'). Obtain this from create_connection action response field 'host'. This is the direct PostgreSQL endpoint for your Prisma Postgres database.\"),\n user: z.string().describe(\"Database username (tenant ID from Prisma). Obtain this from create_connection action response field 'user'. This is a unique identifier for your database tenant.\"),\n password: z.string().describe(\"Database password (secret key from Prisma). Obtain this from create_connection action response field 'pass'. Format is typically 'sk_xxxxx'. Keep this secure.\"),\n tableName: z.string().describe(\"Optional specific table name to inspect. If provided, returns detailed column information for that table only. If omitted, returns overview of all tables in the database. Use for focused schema analysis of specific tables.\").optional(),\n includeIndexes: z.boolean().default(false).describe(\"Whether to include index information in the schema results. When true, shows primary keys, foreign keys, and other indexes. Useful for understanding table relationships and query optimization.\").optional(),\n}).describe(\"Request parameters for inspecting database schema structure.\");\nconst PrismaInspectDatabaseSchema_ColumnInfoSchema = z.object({\n dataType: z.string().describe(\"PostgreSQL data type (e.g., 'integer', 'text', 'timestamp with time zone').\").nullable(),\n columnName: z.string().describe(\"Name of the database column.\").nullable(),\n isNullable: z.boolean().describe(\"Whether the column allows NULL values.\").nullable(),\n defaultValue: z.string().describe(\"Default value for the column, if any.\").nullable().optional(),\n isForeignKey: z.boolean().default(false).describe(\"Whether this column is a foreign key.\").nullable().optional(),\n isPrimaryKey: z.boolean().default(false).describe(\"Whether this column is part of the primary key.\").nullable().optional(),\n referencedTable: z.string().describe(\"Referenced table name if this is a foreign key.\").nullable().optional(),\n referencedColumn: z.string().describe(\"Referenced column name if this is a foreign key.\").nullable().optional(),\n}).passthrough().describe(\"Database column information with type and constraints.\");\nconst PrismaInspectDatabaseSchema_TableInfoSchema = z.object({\n columns: z.array(PrismaInspectDatabaseSchema_ColumnInfoSchema).describe(\"Array of column information for the table including types, constraints, and relationships.\"),\n rowCount: z.number().int().describe(\"Approximate number of rows in the table.\").nullable().optional(),\n tableName: z.string().describe(\"Name of the database table.\").nullable(),\n tableType: z.string().describe(\"Type of table (e.g., 'BASE TABLE', 'VIEW').\").nullable(),\n}).passthrough().describe(\"Database table information with columns and metadata.\");\nconst PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema = z.object({\n tables: z.array(PrismaInspectDatabaseSchema_TableInfoSchema).describe(\"Array of table information including columns and metadata.\"),\n schemaName: z.string().describe(\"Schema name (typically 'public' for PostgreSQL).\").nullable(),\n totalTables: z.number().int().describe(\"Total number of tables in the database.\").nullable(),\n databaseName: z.string().describe(\"Name of the database.\").nullable(),\n}).passthrough().describe(\"Complete database schema information.\");\nexport const PrismaInspectDatabaseSchemaOutput = z.object({\n database_schema: PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema.nullable(),\n}).passthrough().describe(\"API response containing database schema information.\");\n\nexport const prismaInspectDatabaseSchema = action(\"PRISMA_INSPECT_DATABASE_SCHEMA\", {\n slug: \"prisma-inspect-database-schema\",\n name: \"Inspect Database Schema\",\n description: \"Inspect database schema structure and table information. Returns comprehensive schema details including tables, columns, data types, constraints, and relationships. Essential for understanding database structure before executing queries.\",\n input: PrismaInspectDatabaseSchemaInput,\n output: PrismaInspectDatabaseSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CAC7N,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CAC7L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gOAAgO,CAAC,CAAC,SAAS;CAC1Q,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS;AACnQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,+CAA+CA,IAAAA,EAAE,OAA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Y,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,4DAA4D;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,iBAAiB,qDAAqD,SAAS,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"inspect-database-schema.cjs","names":["z","action"],"sources":["../../src/actions/inspect-database-schema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaInspectDatabaseSchemaInput = z.object({\n host: z.string().describe(\"Database host with port (format: 'db.prisma.io:5432'). Obtain this from create_connection action response field 'host'. This is the direct PostgreSQL endpoint for your Prisma Postgres database.\"),\n user: z.string().describe(\"Database username (tenant ID from Prisma). Obtain this from create_connection action response field 'user'. This is a unique identifier for your database tenant.\"),\n password: z.string().describe(\"Database password (secret key from Prisma). Obtain this from create_connection action response field 'pass'. Format is typically 'sk_xxxxx'. Keep this secure.\"),\n tableName: z.string().describe(\"Optional specific table name to inspect. If provided, returns detailed column information for that table only. If omitted, returns overview of all tables in the database. Use for focused schema analysis of specific tables.\").optional(),\n includeIndexes: z.boolean().default(false).describe(\"Whether to include index information in the schema results. When true, shows primary keys, foreign keys, and other indexes. Useful for understanding table relationships and query optimization.\").optional(),\n}).describe(\"Request parameters for inspecting database schema structure.\");\nconst PrismaInspectDatabaseSchema_ColumnInfoSchema = z.object({\n dataType: z.string().describe(\"PostgreSQL data type (e.g., 'integer', 'text', 'timestamp with time zone').\").nullable(),\n columnName: z.string().describe(\"Name of the database column.\").nullable(),\n isNullable: z.boolean().describe(\"Whether the column allows NULL values.\").nullable(),\n defaultValue: z.string().describe(\"Default value for the column, if any.\").nullable().optional(),\n isForeignKey: z.boolean().default(false).describe(\"Whether this column is a foreign key.\").nullable().optional(),\n isPrimaryKey: z.boolean().default(false).describe(\"Whether this column is part of the primary key.\").nullable().optional(),\n referencedTable: z.string().describe(\"Referenced table name if this is a foreign key.\").nullable().optional(),\n referencedColumn: z.string().describe(\"Referenced column name if this is a foreign key.\").nullable().optional(),\n}).passthrough().describe(\"Database column information with type and constraints.\");\nconst PrismaInspectDatabaseSchema_TableInfoSchema = z.object({\n columns: z.array(PrismaInspectDatabaseSchema_ColumnInfoSchema).describe(\"Array of column information for the table including types, constraints, and relationships.\"),\n rowCount: z.number().int().describe(\"Approximate number of rows in the table.\").nullable().optional(),\n tableName: z.string().describe(\"Name of the database table.\").nullable(),\n tableType: z.string().describe(\"Type of table (e.g., 'BASE TABLE', 'VIEW').\").nullable(),\n}).passthrough().describe(\"Database table information with columns and metadata.\");\nconst PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema = z.object({\n tables: z.array(PrismaInspectDatabaseSchema_TableInfoSchema).describe(\"Array of table information including columns and metadata.\"),\n schemaName: z.string().describe(\"Schema name (typically 'public' for PostgreSQL).\").nullable(),\n totalTables: z.number().int().describe(\"Total number of tables in the database.\").nullable(),\n databaseName: z.string().describe(\"Name of the database.\").nullable(),\n}).passthrough().describe(\"Complete database schema information.\");\nexport const PrismaInspectDatabaseSchemaOutput = z.object({\n database_schema: PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema.nullable(),\n}).passthrough().describe(\"API response containing database schema information.\");\n\nexport const prismaInspectDatabaseSchema: AppAction<\n typeof PrismaInspectDatabaseSchemaInput,\n typeof PrismaInspectDatabaseSchemaOutput,\n typeof prisma.credential\n> = action(\"PRISMA_INSPECT_DATABASE_SCHEMA\", {\n slug: \"prisma-inspect-database-schema\",\n name: \"Inspect Database Schema\",\n description: \"Inspect database schema structure and table information. Returns comprehensive schema details including tables, columns, data types, constraints, and relationships. Essential for understanding database structure before executing queries.\",\n input: PrismaInspectDatabaseSchemaInput,\n output: PrismaInspectDatabaseSchemaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CAC7N,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CAC7L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gOAAgO,CAAC,CAAC,SAAS;CAC1Q,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS;AACnQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAA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CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,iBAAiB,qDAAqD,SAAS,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/inspect-database-schema.d.ts
@@ -30,25 +32,7 @@ declare const PrismaInspectDatabaseSchemaOutput: z.ZodObject<{
30
32
  databaseName: z.ZodNullable<z.ZodString>;
31
33
  }, z.core.$loose>>;
32
34
  }, z.core.$loose>;
33
- declare const prismaInspectDatabaseSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- host: string;
35
- user: string;
36
- password: string;
37
- tableName?: string | undefined;
38
- includeIndexes?: boolean | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- accessToken: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- accessToken: z.ZodString;
51
- }, z.core.$strip>>]>;
35
+ declare const prismaInspectDatabaseSchema: AppAction<typeof PrismaInspectDatabaseSchemaInput, typeof PrismaInspectDatabaseSchemaOutput, typeof prisma.credential>;
52
36
  //#endregion
53
37
  export { prismaInspectDatabaseSchema };
54
38
  //# sourceMappingURL=inspect-database-schema.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inspect-database-schema.d.cts","names":[],"sources":["../../src/actions/inspect-database-schema.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"inspect-database-schema.d.cts","names":[],"sources":["../../src/actions/inspect-database-schema.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/inspect-database-schema.d.ts
@@ -30,25 +32,7 @@ declare const PrismaInspectDatabaseSchemaOutput: z.ZodObject<{
30
32
  databaseName: z.ZodNullable<z.ZodString>;
31
33
  }, z.core.$loose>>;
32
34
  }, z.core.$loose>;
33
- declare const prismaInspectDatabaseSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- host: string;
35
- user: string;
36
- password: string;
37
- tableName?: string | undefined;
38
- includeIndexes?: boolean | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- accessToken: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- accessToken: z.ZodString;
51
- }, z.core.$strip>>]>;
35
+ declare const prismaInspectDatabaseSchema: AppAction<typeof PrismaInspectDatabaseSchemaInput, typeof PrismaInspectDatabaseSchemaOutput, typeof prisma.credential>;
52
36
  //#endregion
53
37
  export { prismaInspectDatabaseSchema };
54
38
  //# sourceMappingURL=inspect-database-schema.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inspect-database-schema.d.mts","names":[],"sources":["../../src/actions/inspect-database-schema.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"inspect-database-schema.d.mts","names":[],"sources":["../../src/actions/inspect-database-schema.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cA6BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/inspect-database-schema.ts
@@ -1 +1 @@
1
- {"version":3,"file":"inspect-database-schema.mjs","names":[],"sources":["../../src/actions/inspect-database-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaInspectDatabaseSchemaInput = z.object({\n host: z.string().describe(\"Database host with port (format: 'db.prisma.io:5432'). Obtain this from create_connection action response field 'host'. This is the direct PostgreSQL endpoint for your Prisma Postgres database.\"),\n user: z.string().describe(\"Database username (tenant ID from Prisma). Obtain this from create_connection action response field 'user'. This is a unique identifier for your database tenant.\"),\n password: z.string().describe(\"Database password (secret key from Prisma). Obtain this from create_connection action response field 'pass'. Format is typically 'sk_xxxxx'. Keep this secure.\"),\n tableName: z.string().describe(\"Optional specific table name to inspect. If provided, returns detailed column information for that table only. If omitted, returns overview of all tables in the database. Use for focused schema analysis of specific tables.\").optional(),\n includeIndexes: z.boolean().default(false).describe(\"Whether to include index information in the schema results. When true, shows primary keys, foreign keys, and other indexes. Useful for understanding table relationships and query optimization.\").optional(),\n}).describe(\"Request parameters for inspecting database schema structure.\");\nconst PrismaInspectDatabaseSchema_ColumnInfoSchema = z.object({\n dataType: z.string().describe(\"PostgreSQL data type (e.g., 'integer', 'text', 'timestamp with time zone').\").nullable(),\n columnName: z.string().describe(\"Name of the database column.\").nullable(),\n isNullable: z.boolean().describe(\"Whether the column allows NULL values.\").nullable(),\n defaultValue: z.string().describe(\"Default value for the column, if any.\").nullable().optional(),\n isForeignKey: z.boolean().default(false).describe(\"Whether this column is a foreign key.\").nullable().optional(),\n isPrimaryKey: z.boolean().default(false).describe(\"Whether this column is part of the primary key.\").nullable().optional(),\n referencedTable: z.string().describe(\"Referenced table name if this is a foreign key.\").nullable().optional(),\n referencedColumn: z.string().describe(\"Referenced column name if this is a foreign key.\").nullable().optional(),\n}).passthrough().describe(\"Database column information with type and constraints.\");\nconst PrismaInspectDatabaseSchema_TableInfoSchema = z.object({\n columns: z.array(PrismaInspectDatabaseSchema_ColumnInfoSchema).describe(\"Array of column information for the table including types, constraints, and relationships.\"),\n rowCount: z.number().int().describe(\"Approximate number of rows in the table.\").nullable().optional(),\n tableName: z.string().describe(\"Name of the database table.\").nullable(),\n tableType: z.string().describe(\"Type of table (e.g., 'BASE TABLE', 'VIEW').\").nullable(),\n}).passthrough().describe(\"Database table information with columns and metadata.\");\nconst PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema = z.object({\n tables: z.array(PrismaInspectDatabaseSchema_TableInfoSchema).describe(\"Array of table information including columns and metadata.\"),\n schemaName: z.string().describe(\"Schema name (typically 'public' for PostgreSQL).\").nullable(),\n totalTables: z.number().int().describe(\"Total number of tables in the database.\").nullable(),\n databaseName: z.string().describe(\"Name of the database.\").nullable(),\n}).passthrough().describe(\"Complete database schema information.\");\nexport const PrismaInspectDatabaseSchemaOutput = z.object({\n database_schema: PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema.nullable(),\n}).passthrough().describe(\"API response containing database schema information.\");\n\nexport const prismaInspectDatabaseSchema = action(\"PRISMA_INSPECT_DATABASE_SCHEMA\", {\n slug: \"prisma-inspect-database-schema\",\n name: \"Inspect Database Schema\",\n description: \"Inspect database schema structure and table information. Returns comprehensive schema details including tables, columns, data types, constraints, and relationships. Essential for understanding database structure before executing queries.\",\n input: PrismaInspectDatabaseSchemaInput,\n output: PrismaInspectDatabaseSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM;CAC7N,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CAC7L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gOAAgO,CAAC,CAAC,SAAS;CAC1Q,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS;AACnQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC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CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,iBAAiB,qDAAqD,SAAS,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"inspect-database-schema.mjs","names":[],"sources":["../../src/actions/inspect-database-schema.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaInspectDatabaseSchemaInput = z.object({\n host: z.string().describe(\"Database host with port (format: 'db.prisma.io:5432'). Obtain this from create_connection action response field 'host'. This is the direct PostgreSQL endpoint for your Prisma Postgres database.\"),\n user: z.string().describe(\"Database username (tenant ID from Prisma). Obtain this from create_connection action response field 'user'. This is a unique identifier for your database tenant.\"),\n password: z.string().describe(\"Database password (secret key from Prisma). Obtain this from create_connection action response field 'pass'. Format is typically 'sk_xxxxx'. Keep this secure.\"),\n tableName: z.string().describe(\"Optional specific table name to inspect. If provided, returns detailed column information for that table only. If omitted, returns overview of all tables in the database. Use for focused schema analysis of specific tables.\").optional(),\n includeIndexes: z.boolean().default(false).describe(\"Whether to include index information in the schema results. When true, shows primary keys, foreign keys, and other indexes. Useful for understanding table relationships and query optimization.\").optional(),\n}).describe(\"Request parameters for inspecting database schema structure.\");\nconst PrismaInspectDatabaseSchema_ColumnInfoSchema = z.object({\n dataType: z.string().describe(\"PostgreSQL data type (e.g., 'integer', 'text', 'timestamp with time zone').\").nullable(),\n columnName: z.string().describe(\"Name of the database column.\").nullable(),\n isNullable: z.boolean().describe(\"Whether the column allows NULL values.\").nullable(),\n defaultValue: z.string().describe(\"Default value for the column, if any.\").nullable().optional(),\n isForeignKey: z.boolean().default(false).describe(\"Whether this column is a foreign key.\").nullable().optional(),\n isPrimaryKey: z.boolean().default(false).describe(\"Whether this column is part of the primary key.\").nullable().optional(),\n referencedTable: z.string().describe(\"Referenced table name if this is a foreign key.\").nullable().optional(),\n referencedColumn: z.string().describe(\"Referenced column name if this is a foreign key.\").nullable().optional(),\n}).passthrough().describe(\"Database column information with type and constraints.\");\nconst PrismaInspectDatabaseSchema_TableInfoSchema = z.object({\n columns: z.array(PrismaInspectDatabaseSchema_ColumnInfoSchema).describe(\"Array of column information for the table including types, constraints, and relationships.\"),\n rowCount: z.number().int().describe(\"Approximate number of rows in the table.\").nullable().optional(),\n tableName: z.string().describe(\"Name of the database table.\").nullable(),\n tableType: z.string().describe(\"Type of table (e.g., 'BASE TABLE', 'VIEW').\").nullable(),\n}).passthrough().describe(\"Database table information with columns and metadata.\");\nconst PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema = z.object({\n tables: z.array(PrismaInspectDatabaseSchema_TableInfoSchema).describe(\"Array of table information including columns and metadata.\"),\n schemaName: z.string().describe(\"Schema name (typically 'public' for PostgreSQL).\").nullable(),\n totalTables: z.number().int().describe(\"Total number of tables in the database.\").nullable(),\n databaseName: z.string().describe(\"Name of the database.\").nullable(),\n}).passthrough().describe(\"Complete database schema information.\");\nexport const PrismaInspectDatabaseSchemaOutput = z.object({\n database_schema: PrismaInspectDatabaseSchema_DatabaseSchemaInfoSchema.nullable(),\n}).passthrough().describe(\"API response containing database schema information.\");\n\nexport const prismaInspectDatabaseSchema: AppAction<\n typeof PrismaInspectDatabaseSchemaInput,\n typeof PrismaInspectDatabaseSchemaOutput,\n typeof prisma.credential\n> = action(\"PRISMA_INSPECT_DATABASE_SCHEMA\", {\n slug: \"prisma-inspect-database-schema\",\n name: \"Inspect Database Schema\",\n description: \"Inspect database schema structure and table information. Returns comprehensive schema details including tables, columns, data types, constraints, and relationships. Essential for understanding database structure before executing queries.\",\n input: PrismaInspectDatabaseSchemaInput,\n output: PrismaInspectDatabaseSchemaOutput,\n});\n"],"mappings":";;;;A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,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4FAA4F;CACpK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,uDAAuD,EAAE,OAAO;CACpE,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,4DAA4D;CAClI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,iBAAiB,qDAAqD,SAAS,EACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-accelerate-regions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-accelerate-regions.cjs","names":["z","action"],"sources":["../../src/actions/list-accelerate-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaListAccelerateRegionsInput = z.object({}).describe(\"Request parameters for listing Prisma Accelerate regions.\");\nconst PrismaListAccelerateRegions_AccelerateRegionSchema = z.object({\n id: z.string().describe(\"Unique region identifier (e.g., 'us-east-1', 'eu-west-1'). Use this ID when configuring Accelerate caching in the desired region.\").nullable(),\n name: z.string().describe(\"Human-readable region name (e.g., 'US East (N. Virginia)', 'Europe (Ireland)'). Displays geographical location for optimal cache placement near your users.\").nullable(),\n type: z.string().describe(\"Object type, always 'region'. Provides consistency across API responses.\").nullable(),\n}).passthrough().describe(\"Prisma Accelerate region object for caching service.\");\nexport const PrismaListAccelerateRegionsOutput = z.object({\n data: z.array(PrismaListAccelerateRegions_AccelerateRegionSchema).describe(\"Array of Prisma Accelerate regions for global database caching. Choose regions closest to your users for optimal performance. All listed regions are available for cache deployment.\"),\n}).passthrough().describe(\"API response containing available Prisma Accelerate regions.\");\n\nexport const prismaListAccelerateRegions = action(\"PRISMA_LIST_ACCELERATE_REGIONS\", {\n slug: \"prisma-list-accelerate-regions\",\n name: \"List Prisma Accelerate Regions\",\n description: \"Retrieve all available regions for Prisma Accelerate. Returns regions where Accelerate global database cache can be deployed. Use for cache region selection to minimize latency for your users.\",\n input: PrismaListAccelerateRegionsInput,\n output: PrismaListAccelerateRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACjI,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACtK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAClM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,sLAAsL,EACnQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-accelerate-regions.cjs","names":["z","action"],"sources":["../../src/actions/list-accelerate-regions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaListAccelerateRegionsInput = z.object({}).describe(\"Request parameters for listing Prisma Accelerate regions.\");\nconst PrismaListAccelerateRegions_AccelerateRegionSchema = z.object({\n id: z.string().describe(\"Unique region identifier (e.g., 'us-east-1', 'eu-west-1'). Use this ID when configuring Accelerate caching in the desired region.\").nullable(),\n name: z.string().describe(\"Human-readable region name (e.g., 'US East (N. Virginia)', 'Europe (Ireland)'). Displays geographical location for optimal cache placement near your users.\").nullable(),\n type: z.string().describe(\"Object type, always 'region'. Provides consistency across API responses.\").nullable(),\n}).passthrough().describe(\"Prisma Accelerate region object for caching service.\");\nexport const PrismaListAccelerateRegionsOutput = z.object({\n data: z.array(PrismaListAccelerateRegions_AccelerateRegionSchema).describe(\"Array of Prisma Accelerate regions for global database caching. Choose regions closest to your users for optimal performance. All listed regions are available for cache deployment.\"),\n}).passthrough().describe(\"API response containing available Prisma Accelerate regions.\");\n\nexport const prismaListAccelerateRegions: AppAction<\n typeof PrismaListAccelerateRegionsInput,\n typeof PrismaListAccelerateRegionsOutput,\n typeof prisma.credential\n> = action(\"PRISMA_LIST_ACCELERATE_REGIONS\", {\n slug: \"prisma-list-accelerate-regions\",\n name: \"List Prisma Accelerate Regions\",\n description: \"Retrieve all available regions for Prisma Accelerate. Returns regions where Accelerate global database cache can be deployed. Use for cache region selection to minimize latency for your users.\",\n input: PrismaListAccelerateRegionsInput,\n output: PrismaListAccelerateRegionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACjI,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACtK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAClM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,sLAAsL,EACnQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-accelerate-regions.d.ts
@@ -9,19 +11,7 @@ declare const PrismaListAccelerateRegionsOutput: z.ZodObject<{
9
11
  type: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const prismaListAccelerateRegions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- accessToken: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- accessToken: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const prismaListAccelerateRegions: AppAction<typeof PrismaListAccelerateRegionsInput, typeof PrismaListAccelerateRegionsOutput, typeof prisma.credential>;
25
15
  //#endregion
26
16
  export { prismaListAccelerateRegions };
27
17
  //# sourceMappingURL=list-accelerate-regions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accelerate-regions.d.cts","names":[],"sources":["../../src/actions/list-accelerate-regions.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-accelerate-regions.d.cts","names":[],"sources":["../../src/actions/list-accelerate-regions.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { prisma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-accelerate-regions.d.ts
@@ -9,19 +11,7 @@ declare const PrismaListAccelerateRegionsOutput: z.ZodObject<{
9
11
  type: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const prismaListAccelerateRegions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- accessToken: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"prisma", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- accessToken: z.ZodString;
24
- }, z.core.$strip>>]>;
14
+ declare const prismaListAccelerateRegions: AppAction<typeof PrismaListAccelerateRegionsInput, typeof PrismaListAccelerateRegionsOutput, typeof prisma.credential>;
25
15
  //#endregion
26
16
  export { prismaListAccelerateRegions };
27
17
  //# sourceMappingURL=list-accelerate-regions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accelerate-regions.d.mts","names":[],"sources":["../../src/actions/list-accelerate-regions.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-accelerate-regions.d.mts","names":[],"sources":["../../src/actions/list-accelerate-regions.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-accelerate-regions.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-accelerate-regions.mjs","names":[],"sources":["../../src/actions/list-accelerate-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaListAccelerateRegionsInput = z.object({}).describe(\"Request parameters for listing Prisma Accelerate regions.\");\nconst PrismaListAccelerateRegions_AccelerateRegionSchema = z.object({\n id: z.string().describe(\"Unique region identifier (e.g., 'us-east-1', 'eu-west-1'). Use this ID when configuring Accelerate caching in the desired region.\").nullable(),\n name: z.string().describe(\"Human-readable region name (e.g., 'US East (N. Virginia)', 'Europe (Ireland)'). Displays geographical location for optimal cache placement near your users.\").nullable(),\n type: z.string().describe(\"Object type, always 'region'. Provides consistency across API responses.\").nullable(),\n}).passthrough().describe(\"Prisma Accelerate region object for caching service.\");\nexport const PrismaListAccelerateRegionsOutput = z.object({\n data: z.array(PrismaListAccelerateRegions_AccelerateRegionSchema).describe(\"Array of Prisma Accelerate regions for global database caching. Choose regions closest to your users for optimal performance. All listed regions are available for cache deployment.\"),\n}).passthrough().describe(\"API response containing available Prisma Accelerate regions.\");\n\nexport const prismaListAccelerateRegions = action(\"PRISMA_LIST_ACCELERATE_REGIONS\", {\n slug: \"prisma-list-accelerate-regions\",\n name: \"List Prisma Accelerate Regions\",\n description: \"Retrieve all available regions for Prisma Accelerate. Returns regions where Accelerate global database cache can be deployed. Use for cache region selection to minimize latency for your users.\",\n input: PrismaListAccelerateRegionsInput,\n output: PrismaListAccelerateRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACjI,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACtK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAClM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,sLAAsL,EACnQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-accelerate-regions.mjs","names":[],"sources":["../../src/actions/list-accelerate-regions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaListAccelerateRegionsInput = z.object({}).describe(\"Request parameters for listing Prisma Accelerate regions.\");\nconst PrismaListAccelerateRegions_AccelerateRegionSchema = z.object({\n id: z.string().describe(\"Unique region identifier (e.g., 'us-east-1', 'eu-west-1'). Use this ID when configuring Accelerate caching in the desired region.\").nullable(),\n name: z.string().describe(\"Human-readable region name (e.g., 'US East (N. Virginia)', 'Europe (Ireland)'). Displays geographical location for optimal cache placement near your users.\").nullable(),\n type: z.string().describe(\"Object type, always 'region'. Provides consistency across API responses.\").nullable(),\n}).passthrough().describe(\"Prisma Accelerate region object for caching service.\");\nexport const PrismaListAccelerateRegionsOutput = z.object({\n data: z.array(PrismaListAccelerateRegions_AccelerateRegionSchema).describe(\"Array of Prisma Accelerate regions for global database caching. Choose regions closest to your users for optimal performance. All listed regions are available for cache deployment.\"),\n}).passthrough().describe(\"API response containing available Prisma Accelerate regions.\");\n\nexport const prismaListAccelerateRegions: AppAction<\n typeof PrismaListAccelerateRegionsInput,\n typeof PrismaListAccelerateRegionsOutput,\n typeof prisma.credential\n> = action(\"PRISMA_LIST_ACCELERATE_REGIONS\", {\n slug: \"prisma-list-accelerate-regions\",\n name: \"List Prisma Accelerate Regions\",\n description: \"Retrieve all available regions for Prisma Accelerate. Returns regions where Accelerate global database cache can be deployed. Use for cache region selection to minimize latency for your users.\",\n input: PrismaListAccelerateRegionsInput,\n output: PrismaListAccelerateRegionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACjI,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACtK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J,CAAC,CAAC,SAAS;CAClM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,sLAAsL,EACnQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-backups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-backups.cjs","names":["z","action"],"sources":["../../src/actions/list-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaListBackupsInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum number of backups to return in a single request. Defaults to 25 if not specified. Typical range is 1-100. Use smaller values (10-25) for UI pagination, larger values (50-100) for processing.\").optional(),\n databaseId: z.string().describe(\"Unique database identifier to list backups for (format: 'db_xxxxx'). Must be a database the authenticated user has access to. All available backups for this database will be returned.\"),\n}).describe(\"Request parameters for listing backups for a database.\");\nconst PrismaListBackups_BackupSchema = z.object({\n id: z.string().describe(\"Unique backup identifier used for restoration operations. Use this ID with restore backup action to recover data to a new database.\").nullable(),\n size: z.number().int().describe(\"Backup size in bytes. Use for storage monitoring and restoration planning. Larger backups may take longer to restore.\").nullable(),\n type: z.string().describe(\"Object type, always 'backup'. Provides consistency across API responses.\").nullable(),\n status: z.string().describe(\"Current backup status indicating availability for restoration. Values: 'completed' (ready for restore), 'running' (backup in progress), 'failed' (backup error), 'expired' (past retention period).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when backup was created (e.g., '2025-07-20T11:09:30.705Z').\").nullable(),\n backupType: z.string().describe(\"Type of backup performed. Common values: 'full' (complete database), 'incremental' (changes only), 'scheduled' (automatic backup).\").nullable(),\n}).passthrough().describe(\"Database backup object with restoration details.\");\nconst PrismaListBackups_BackupMetaSchema = z.object({\n backupRetentionDays: z.number().int().describe(\"Number of days backups are retained before automatic deletion. Backups older than this period are automatically purged. Use for planning backup strategies and compliance requirements.\").nullable(),\n}).passthrough().describe(\"Backup metadata and retention policy information.\");\nconst PrismaListBackups_BackupPaginationSchema = z.object({\n limit: z.number().int().describe(\"Current limit applied to the backup listing request.\").nullable(),\n hasMore: z.boolean().describe(\"True if more backups are available beyond the current limit.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for backup listing.\");\nexport const PrismaListBackupsOutput = z.object({\n data: z.array(PrismaListBackups_BackupSchema).describe(\"Array of backup objects for the specified database. Backups are ordered by creation date with most recent first. Only includes backups available for restoration within retention period.\"),\n meta: PrismaListBackups_BackupMetaSchema.nullable(),\n pagination: PrismaListBackups_BackupPaginationSchema.nullable(),\n}).passthrough().describe(\"API response containing backup list, metadata, and pagination.\");\n\nexport const prismaListBackups = action(\"PRISMA_LIST_BACKUPS\", {\n slug: \"prisma-list-backups\",\n name: \"List Database Backups\",\n description: \"Retrieve list of available backups for a specific database. Returns backup details including status, size, type, and restoration readiness. Use for backup monitoring, restoration planning, and compliance auditing.\",\n input: PrismaListBackupsInput,\n output: PrismaListBackupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;CAChQ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL;AAC3N,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACxK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAClK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC5O,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS,EACrP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,2LAA2L;CAClP,MAAM,mCAAmC,SAAS;CAClD,YAAY,yCAAyC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-backups.cjs","names":["z","action"],"sources":["../../src/actions/list-backups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { prisma } from \"../app\";\n\nexport const PrismaListBackupsInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum number of backups to return in a single request. Defaults to 25 if not specified. Typical range is 1-100. Use smaller values (10-25) for UI pagination, larger values (50-100) for processing.\").optional(),\n databaseId: z.string().describe(\"Unique database identifier to list backups for (format: 'db_xxxxx'). Must be a database the authenticated user has access to. All available backups for this database will be returned.\"),\n}).describe(\"Request parameters for listing backups for a database.\");\nconst PrismaListBackups_BackupSchema = z.object({\n id: z.string().describe(\"Unique backup identifier used for restoration operations. Use this ID with restore backup action to recover data to a new database.\").nullable(),\n size: z.number().int().describe(\"Backup size in bytes. Use for storage monitoring and restoration planning. Larger backups may take longer to restore.\").nullable(),\n type: z.string().describe(\"Object type, always 'backup'. Provides consistency across API responses.\").nullable(),\n status: z.string().describe(\"Current backup status indicating availability for restoration. Values: 'completed' (ready for restore), 'running' (backup in progress), 'failed' (backup error), 'expired' (past retention period).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when backup was created (e.g., '2025-07-20T11:09:30.705Z').\").nullable(),\n backupType: z.string().describe(\"Type of backup performed. Common values: 'full' (complete database), 'incremental' (changes only), 'scheduled' (automatic backup).\").nullable(),\n}).passthrough().describe(\"Database backup object with restoration details.\");\nconst PrismaListBackups_BackupMetaSchema = z.object({\n backupRetentionDays: z.number().int().describe(\"Number of days backups are retained before automatic deletion. Backups older than this period are automatically purged. Use for planning backup strategies and compliance requirements.\").nullable(),\n}).passthrough().describe(\"Backup metadata and retention policy information.\");\nconst PrismaListBackups_BackupPaginationSchema = z.object({\n limit: z.number().int().describe(\"Current limit applied to the backup listing request.\").nullable(),\n hasMore: z.boolean().describe(\"True if more backups are available beyond the current limit.\").nullable(),\n}).passthrough().describe(\"Pagination metadata for backup listing.\");\nexport const PrismaListBackupsOutput = z.object({\n data: z.array(PrismaListBackups_BackupSchema).describe(\"Array of backup objects for the specified database. Backups are ordered by creation date with most recent first. Only includes backups available for restoration within retention period.\"),\n meta: PrismaListBackups_BackupMetaSchema.nullable(),\n pagination: PrismaListBackups_BackupPaginationSchema.nullable(),\n}).passthrough().describe(\"API response containing backup list, metadata, and pagination.\");\n\nexport const prismaListBackups: AppAction<\n typeof PrismaListBackupsInput,\n typeof PrismaListBackupsOutput,\n typeof prisma.credential\n> = action(\"PRISMA_LIST_BACKUPS\", {\n slug: \"prisma-list-backups\",\n name: \"List Database Backups\",\n description: \"Retrieve list of available backups for a specific database. Returns backup details including status, size, type, and restoration readiness. Use for backup monitoring, restoration planning, and compliance auditing.\",\n input: PrismaListBackupsInput,\n output: PrismaListBackupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAA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