@keystrokehq/railway 0.1.5 → 0.1.6

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 (157) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-plugin.cjs +1 -0
  4. package/dist/actions/create-plugin.cjs.map +1 -1
  5. package/dist/actions/create-plugin.d.cts +3 -16
  6. package/dist/actions/create-plugin.d.cts.map +1 -1
  7. package/dist/actions/create-plugin.d.mts +3 -16
  8. package/dist/actions/create-plugin.d.mts.map +1 -1
  9. package/dist/actions/create-plugin.mjs +1 -0
  10. package/dist/actions/create-plugin.mjs.map +1 -1
  11. package/dist/actions/delete-variable.cjs +1 -0
  12. package/dist/actions/delete-variable.cjs.map +1 -1
  13. package/dist/actions/delete-variable.d.cts +3 -18
  14. package/dist/actions/delete-variable.d.cts.map +1 -1
  15. package/dist/actions/delete-variable.d.mts +3 -18
  16. package/dist/actions/delete-variable.d.mts.map +1 -1
  17. package/dist/actions/delete-variable.mjs +1 -0
  18. package/dist/actions/delete-variable.mjs.map +1 -1
  19. package/dist/actions/delete-volume.cjs +1 -0
  20. package/dist/actions/delete-volume.cjs.map +1 -1
  21. package/dist/actions/delete-volume.d.cts +3 -15
  22. package/dist/actions/delete-volume.d.cts.map +1 -1
  23. package/dist/actions/delete-volume.d.mts +3 -15
  24. package/dist/actions/delete-volume.d.mts.map +1 -1
  25. package/dist/actions/delete-volume.mjs +1 -0
  26. package/dist/actions/delete-volume.mjs.map +1 -1
  27. package/dist/actions/delete-workspace.cjs +1 -0
  28. package/dist/actions/delete-workspace.cjs.map +1 -1
  29. package/dist/actions/delete-workspace.d.cts +3 -15
  30. package/dist/actions/delete-workspace.d.cts.map +1 -1
  31. package/dist/actions/delete-workspace.d.mts +3 -15
  32. package/dist/actions/delete-workspace.d.mts.map +1 -1
  33. package/dist/actions/delete-workspace.mjs +1 -0
  34. package/dist/actions/delete-workspace.mjs.map +1 -1
  35. package/dist/actions/disconnect-user-discord.cjs +1 -0
  36. package/dist/actions/disconnect-user-discord.cjs.map +1 -1
  37. package/dist/actions/disconnect-user-discord.d.cts +3 -13
  38. package/dist/actions/disconnect-user-discord.d.cts.map +1 -1
  39. package/dist/actions/disconnect-user-discord.d.mts +3 -13
  40. package/dist/actions/disconnect-user-discord.d.mts.map +1 -1
  41. package/dist/actions/disconnect-user-discord.mjs +1 -0
  42. package/dist/actions/disconnect-user-discord.mjs.map +1 -1
  43. package/dist/actions/get-deployment-logs.cjs +1 -0
  44. package/dist/actions/get-deployment-logs.cjs.map +1 -1
  45. package/dist/actions/get-deployment-logs.d.cts +3 -16
  46. package/dist/actions/get-deployment-logs.d.cts.map +1 -1
  47. package/dist/actions/get-deployment-logs.d.mts +3 -16
  48. package/dist/actions/get-deployment-logs.d.mts.map +1 -1
  49. package/dist/actions/get-deployment-logs.mjs +1 -0
  50. package/dist/actions/get-deployment-logs.mjs.map +1 -1
  51. package/dist/actions/get-environment.cjs +1 -0
  52. package/dist/actions/get-environment.cjs.map +1 -1
  53. package/dist/actions/get-environment.d.cts +3 -15
  54. package/dist/actions/get-environment.d.cts.map +1 -1
  55. package/dist/actions/get-environment.d.mts +3 -15
  56. package/dist/actions/get-environment.d.mts.map +1 -1
  57. package/dist/actions/get-environment.mjs +1 -0
  58. package/dist/actions/get-environment.mjs.map +1 -1
  59. package/dist/actions/get-git-hub-pr-info.cjs +1 -0
  60. package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
  61. package/dist/actions/get-git-hub-pr-info.d.cts +3 -16
  62. package/dist/actions/get-git-hub-pr-info.d.cts.map +1 -1
  63. package/dist/actions/get-git-hub-pr-info.d.mts +3 -16
  64. package/dist/actions/get-git-hub-pr-info.d.mts.map +1 -1
  65. package/dist/actions/get-git-hub-pr-info.mjs +1 -0
  66. package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
  67. package/dist/actions/get-user-kickback-earnings.cjs +1 -0
  68. package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
  69. package/dist/actions/get-user-kickback-earnings.d.cts +3 -13
  70. package/dist/actions/get-user-kickback-earnings.d.cts.map +1 -1
  71. package/dist/actions/get-user-kickback-earnings.d.mts +3 -13
  72. package/dist/actions/get-user-kickback-earnings.d.mts.map +1 -1
  73. package/dist/actions/get-user-kickback-earnings.mjs +1 -0
  74. package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
  75. package/dist/actions/list-api-tokens.cjs +1 -0
  76. package/dist/actions/list-api-tokens.cjs.map +1 -1
  77. package/dist/actions/list-api-tokens.d.cts +3 -13
  78. package/dist/actions/list-api-tokens.d.cts.map +1 -1
  79. package/dist/actions/list-api-tokens.d.mts +3 -13
  80. package/dist/actions/list-api-tokens.d.mts.map +1 -1
  81. package/dist/actions/list-api-tokens.mjs +1 -0
  82. package/dist/actions/list-api-tokens.mjs.map +1 -1
  83. package/dist/actions/list-environment-patches.cjs +1 -0
  84. package/dist/actions/list-environment-patches.cjs.map +1 -1
  85. package/dist/actions/list-environment-patches.d.cts +3 -17
  86. package/dist/actions/list-environment-patches.d.cts.map +1 -1
  87. package/dist/actions/list-environment-patches.d.mts +3 -17
  88. package/dist/actions/list-environment-patches.d.mts.map +1 -1
  89. package/dist/actions/list-environment-patches.mjs +1 -0
  90. package/dist/actions/list-environment-patches.mjs.map +1 -1
  91. package/dist/actions/list-git-hub-repos.cjs +1 -0
  92. package/dist/actions/list-git-hub-repos.cjs.map +1 -1
  93. package/dist/actions/list-git-hub-repos.d.cts +3 -13
  94. package/dist/actions/list-git-hub-repos.d.cts.map +1 -1
  95. package/dist/actions/list-git-hub-repos.d.mts +3 -13
  96. package/dist/actions/list-git-hub-repos.d.mts.map +1 -1
  97. package/dist/actions/list-git-hub-repos.mjs +1 -0
  98. package/dist/actions/list-git-hub-repos.mjs.map +1 -1
  99. package/dist/actions/list-git-hub-writable-scopes.cjs +1 -0
  100. package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
  101. package/dist/actions/list-git-hub-writable-scopes.d.cts +3 -13
  102. package/dist/actions/list-git-hub-writable-scopes.d.cts.map +1 -1
  103. package/dist/actions/list-git-hub-writable-scopes.d.mts +3 -13
  104. package/dist/actions/list-git-hub-writable-scopes.d.mts.map +1 -1
  105. package/dist/actions/list-git-hub-writable-scopes.mjs +1 -0
  106. package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
  107. package/dist/actions/list-integration-auths.cjs +1 -0
  108. package/dist/actions/list-integration-auths.cjs.map +1 -1
  109. package/dist/actions/list-integration-auths.d.cts +3 -13
  110. package/dist/actions/list-integration-auths.d.cts.map +1 -1
  111. package/dist/actions/list-integration-auths.d.mts +3 -13
  112. package/dist/actions/list-integration-auths.d.mts.map +1 -1
  113. package/dist/actions/list-integration-auths.mjs +1 -0
  114. package/dist/actions/list-integration-auths.mjs.map +1 -1
  115. package/dist/actions/list-notification-deliveries.cjs +1 -0
  116. package/dist/actions/list-notification-deliveries.cjs.map +1 -1
  117. package/dist/actions/list-notification-deliveries.d.cts +3 -13
  118. package/dist/actions/list-notification-deliveries.d.cts.map +1 -1
  119. package/dist/actions/list-notification-deliveries.d.mts +3 -13
  120. package/dist/actions/list-notification-deliveries.d.mts.map +1 -1
  121. package/dist/actions/list-notification-deliveries.mjs +1 -0
  122. package/dist/actions/list-notification-deliveries.mjs.map +1 -1
  123. package/dist/actions/list-trusted-domains.cjs +1 -0
  124. package/dist/actions/list-trusted-domains.cjs.map +1 -1
  125. package/dist/actions/list-trusted-domains.d.cts +3 -15
  126. package/dist/actions/list-trusted-domains.d.cts.map +1 -1
  127. package/dist/actions/list-trusted-domains.d.mts +3 -15
  128. package/dist/actions/list-trusted-domains.d.mts.map +1 -1
  129. package/dist/actions/list-trusted-domains.mjs +1 -0
  130. package/dist/actions/list-trusted-domains.mjs.map +1 -1
  131. package/dist/actions/update-project.cjs +1 -0
  132. package/dist/actions/update-project.cjs.map +1 -1
  133. package/dist/actions/update-project.d.cts +3 -20
  134. package/dist/actions/update-project.d.cts.map +1 -1
  135. package/dist/actions/update-project.d.mts +3 -20
  136. package/dist/actions/update-project.d.mts.map +1 -1
  137. package/dist/actions/update-project.mjs +1 -0
  138. package/dist/actions/update-project.mjs.map +1 -1
  139. package/dist/actions/update-service-instance.cjs +1 -0
  140. package/dist/actions/update-service-instance.cjs.map +1 -1
  141. package/dist/actions/update-service-instance.d.cts +3 -31
  142. package/dist/actions/update-service-instance.d.cts.map +1 -1
  143. package/dist/actions/update-service-instance.d.mts +3 -31
  144. package/dist/actions/update-service-instance.d.mts.map +1 -1
  145. package/dist/actions/update-service-instance.mjs +1 -0
  146. package/dist/actions/update-service-instance.mjs.map +1 -1
  147. package/dist/app.cjs +2 -2
  148. package/dist/app.cjs.map +1 -1
  149. package/dist/app.d.cts +4 -6
  150. package/dist/app.d.cts.map +1 -1
  151. package/dist/app.d.mts +4 -6
  152. package/dist/app.d.mts.map +1 -1
  153. package/dist/app.mjs +0 -1
  154. package/dist/app.mjs.map +1 -1
  155. package/dist/index.d.cts +1 -1
  156. package/dist/index.d.mts +1 -1
  157. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["railway","executeRailwayTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { railway } from \"./app\";\nimport { executeRailwayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return railway.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRailwayTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["railway","executeRailwayTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { railway } from \"./app\";\nimport { executeRailwayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof railway.credential> {\n return railway.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRailwayTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { railway } from \"./app\";\nimport { executeRailwayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return railway.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRailwayTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { railway } from \"./app\";\nimport { executeRailwayTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof railway.credential> {\n return railway.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRailwayTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -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/create-plugin.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-plugin.cjs","names":["z","action"],"sources":["../../src/actions/create-plugin.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayCreatePluginInput = z.object({\n name: z.string().describe(\"The name of the plugin to create. This should be a descriptive identifier for the plugin.\"),\n projectId: z.string().describe(\"The ID of the project to create the plugin in. The project ID can be found in the Railway dashboard URL or via the Railway API.\"),\n}).describe(\"Request schema for creating a Railway plugin\");\nconst RailwayCreatePlugin_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n column: z.number().int().describe(\"The column number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n}).passthrough().describe(\"Location of a GraphQL error in the query document\");\nconst RailwayCreatePlugin_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Response path uniquely identifying where the error occurred in the result. Contains field response names (as strings) and list indices (as 0-indexed integers).\").nullable().optional(),\n message: z.string().describe(\"A string description of the error intended to guide developers in understanding and correcting the error.\").nullable(),\n locations: z.array(RailwayCreatePlugin_GraphQLErrorLocationSchema).describe(\"List of locations in the GraphQL document where the error originated, specified by line and column numbers (both starting from 1).\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Map containing custom error information. Reserved for implementers to add additional context to errors.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a GraphQL execution error\");\nexport const RailwayCreatePluginOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The result of the pluginCreate mutation. Contains the 'pluginCreate' key with the created plugin details. May be null if execution prevented a valid response.\").nullable().optional(),\n errors: z.array(RailwayCreatePlugin_GraphQLErrorSchema).describe(\"Present only if execution raised errors. A non-empty list of error objects describing issues encountered during mutation execution.\").nullable().optional(),\n}).passthrough().describe(\"Response from the pluginCreate GraphQL mutation\");\n\nexport const railwayCreatePlugin = action(\"RAILWAY_CREATE_PLUGIN\", {\n slug: \"railway-create-plugin\",\n name: \"Create Plugin\",\n description: \"Creates a new plugin in Railway for the specified project. Use this action when you need to add a custom plugin to a Railway project, such as for integrating external services or extending project functionality. The action requires a valid project ID (found in the Railway dashboard URL) and a descriptive name for the plugin. The plugin will be created with default settings and can be further configured after creation.\",\n input: RailwayCreatePluginInput,\n output: RailwayCreatePluginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AAClK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvO,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-plugin.cjs","names":["z","action"],"sources":["../../src/actions/create-plugin.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayCreatePluginInput = z.object({\n name: z.string().describe(\"The name of the plugin to create. This should be a descriptive identifier for the plugin.\"),\n projectId: z.string().describe(\"The ID of the project to create the plugin in. The project ID can be found in the Railway dashboard URL or via the Railway API.\"),\n}).describe(\"Request schema for creating a Railway plugin\");\nconst RailwayCreatePlugin_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n column: z.number().int().describe(\"The column number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n}).passthrough().describe(\"Location of a GraphQL error in the query document\");\nconst RailwayCreatePlugin_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Response path uniquely identifying where the error occurred in the result. Contains field response names (as strings) and list indices (as 0-indexed integers).\").nullable().optional(),\n message: z.string().describe(\"A string description of the error intended to guide developers in understanding and correcting the error.\").nullable(),\n locations: z.array(RailwayCreatePlugin_GraphQLErrorLocationSchema).describe(\"List of locations in the GraphQL document where the error originated, specified by line and column numbers (both starting from 1).\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Map containing custom error information. Reserved for implementers to add additional context to errors.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a GraphQL execution error\");\nexport const RailwayCreatePluginOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The result of the pluginCreate mutation. Contains the 'pluginCreate' key with the created plugin details. May be null if execution prevented a valid response.\").nullable().optional(),\n errors: z.array(RailwayCreatePlugin_GraphQLErrorSchema).describe(\"Present only if execution raised errors. A non-empty list of error objects describing issues encountered during mutation execution.\").nullable().optional(),\n}).passthrough().describe(\"Response from the pluginCreate GraphQL mutation\");\n\nexport const railwayCreatePlugin: AppAction<\n typeof RailwayCreatePluginInput,\n typeof RailwayCreatePluginOutput,\n typeof railway.credential\n> = action(\"RAILWAY_CREATE_PLUGIN\", {\n slug: \"railway-create-plugin\",\n name: \"Create Plugin\",\n description: \"Creates a new plugin in Railway for the specified project. Use this action when you need to add a custom plugin to a Railway project, such as for integrating external services or extending project functionality. The action requires a valid project ID (found in the Railway dashboard URL) and a descriptive name for the plugin. The plugin will be created with default settings and can be further configured after creation.\",\n input: RailwayCreatePluginInput,\n output: RailwayCreatePluginOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AAClK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvO,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-plugin.d.ts
@@ -17,22 +19,7 @@ declare const RailwayCreatePluginOutput: z.ZodObject<{
17
19
  extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
20
  }, z.core.$loose>>>>;
19
21
  }, z.core.$loose>;
20
- declare const railwayCreatePlugin: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- name: string;
22
- projectId: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
22
+ declare const railwayCreatePlugin: AppAction<typeof RailwayCreatePluginInput, typeof RailwayCreatePluginOutput, typeof railway.credential>;
36
23
  //#endregion
37
24
  export { railwayCreatePlugin };
38
25
  //# sourceMappingURL=create-plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-plugin.d.cts","names":[],"sources":["../../src/actions/create-plugin.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-plugin.d.cts","names":[],"sources":["../../src/actions/create-plugin.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-plugin.d.ts
@@ -17,22 +19,7 @@ declare const RailwayCreatePluginOutput: z.ZodObject<{
17
19
  extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
20
  }, z.core.$loose>>>>;
19
21
  }, z.core.$loose>;
20
- declare const railwayCreatePlugin: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- name: string;
22
- projectId: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
22
+ declare const railwayCreatePlugin: AppAction<typeof RailwayCreatePluginInput, typeof RailwayCreatePluginOutput, typeof railway.credential>;
36
23
  //#endregion
37
24
  export { railwayCreatePlugin };
38
25
  //# sourceMappingURL=create-plugin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-plugin.d.mts","names":[],"sources":["../../src/actions/create-plugin.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"create-plugin.d.mts","names":[],"sources":["../../src/actions/create-plugin.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,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/create-plugin.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-plugin.mjs","names":[],"sources":["../../src/actions/create-plugin.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayCreatePluginInput = z.object({\n name: z.string().describe(\"The name of the plugin to create. This should be a descriptive identifier for the plugin.\"),\n projectId: z.string().describe(\"The ID of the project to create the plugin in. The project ID can be found in the Railway dashboard URL or via the Railway API.\"),\n}).describe(\"Request schema for creating a Railway plugin\");\nconst RailwayCreatePlugin_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n column: z.number().int().describe(\"The column number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n}).passthrough().describe(\"Location of a GraphQL error in the query document\");\nconst RailwayCreatePlugin_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Response path uniquely identifying where the error occurred in the result. Contains field response names (as strings) and list indices (as 0-indexed integers).\").nullable().optional(),\n message: z.string().describe(\"A string description of the error intended to guide developers in understanding and correcting the error.\").nullable(),\n locations: z.array(RailwayCreatePlugin_GraphQLErrorLocationSchema).describe(\"List of locations in the GraphQL document where the error originated, specified by line and column numbers (both starting from 1).\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Map containing custom error information. Reserved for implementers to add additional context to errors.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a GraphQL execution error\");\nexport const RailwayCreatePluginOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The result of the pluginCreate mutation. Contains the 'pluginCreate' key with the created plugin details. May be null if execution prevented a valid response.\").nullable().optional(),\n errors: z.array(RailwayCreatePlugin_GraphQLErrorSchema).describe(\"Present only if execution raised errors. A non-empty list of error objects describing issues encountered during mutation execution.\").nullable().optional(),\n}).passthrough().describe(\"Response from the pluginCreate GraphQL mutation\");\n\nexport const railwayCreatePlugin = action(\"RAILWAY_CREATE_PLUGIN\", {\n slug: \"railway-create-plugin\",\n name: \"Create Plugin\",\n description: \"Creates a new plugin in Railway for the specified project. Use this action when you need to add a custom plugin to a Railway project, such as for integrating external services or extending project functionality. The action requires a valid project ID (found in the Railway dashboard URL) and a descriptive name for the plugin. The plugin will be created with default settings and can be further configured after creation.\",\n input: RailwayCreatePluginInput,\n output: RailwayCreatePluginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AAClK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACnJ,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtO,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvO,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9N,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-plugin.mjs","names":[],"sources":["../../src/actions/create-plugin.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayCreatePluginInput = z.object({\n name: z.string().describe(\"The name of the plugin to create. This should be a descriptive identifier for the plugin.\"),\n projectId: z.string().describe(\"The ID of the project to create the plugin in. The project ID can be found in the Railway dashboard URL or via the Railway API.\"),\n}).describe(\"Request schema for creating a Railway plugin\");\nconst RailwayCreatePlugin_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n column: z.number().int().describe(\"The column number in the GraphQL document where the error occurred (starting from 1).\").nullable(),\n}).passthrough().describe(\"Location of a GraphQL error in the query document\");\nconst RailwayCreatePlugin_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Response path uniquely identifying where the error occurred in the result. Contains field response names (as strings) and list indices (as 0-indexed integers).\").nullable().optional(),\n message: z.string().describe(\"A string description of the error intended to guide developers in understanding and correcting the error.\").nullable(),\n locations: z.array(RailwayCreatePlugin_GraphQLErrorLocationSchema).describe(\"List of locations in the GraphQL document where the error originated, specified by line and column numbers (both starting from 1).\").nullable().optional(),\n extensions: z.record(z.string(), z.unknown()).describe(\"Map containing custom error information. Reserved for implementers to add additional context to errors.\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a GraphQL execution error\");\nexport const RailwayCreatePluginOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The result of the pluginCreate mutation. Contains the 'pluginCreate' key with the created plugin details. May be null if execution prevented a valid response.\").nullable().optional(),\n errors: z.array(RailwayCreatePlugin_GraphQLErrorSchema).describe(\"Present only if execution raised errors. A non-empty list of error objects describing issues encountered during mutation execution.\").nullable().optional(),\n}).passthrough().describe(\"Response from the pluginCreate GraphQL mutation\");\n\nexport const railwayCreatePlugin: AppAction<\n typeof RailwayCreatePluginInput,\n typeof RailwayCreatePluginOutput,\n typeof railway.credential\n> = action(\"RAILWAY_CREATE_PLUGIN\", {\n slug: \"railway-create-plugin\",\n name: \"Create Plugin\",\n description: \"Creates a new plugin in Railway for the specified project. Use this action when you need to add a custom plugin to a Railway project, such as for integrating external services or extending project functionality. The action requires a valid project ID (found in the Railway dashboard URL) and a descriptive name for the plugin. The plugin will be created with default settings and can be further configured after creation.\",\n input: RailwayCreatePluginInput,\n output: RailwayCreatePluginOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AAClK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACnJ,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtO,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvO,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9N,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/delete-variable.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-variable.cjs","names":["z","action"],"sources":["../../src/actions/delete-variable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDeleteVariableInput = z.object({\n name: z.string().describe(\"The name of the environment variable to delete\"),\n project_id: z.string().describe(\"The unique identifier of the project containing the environment\"),\n service_id: z.string().describe(\"The unique identifier of the service. If not provided, variables will be deleted at the environment level\").optional(),\n environment_id: z.string().describe(\"The unique identifier of the environment containing the variable\"),\n}).describe(\"Request model for deleting an environment variable.\");\nexport const RailwayDeleteVariableOutput = z.object({\n typename: z.string().describe(\"The GraphQL typename of the response\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the variableDelete GraphQL mutation.\");\n\nexport const railwayDeleteVariable = action(\"RAILWAY_DELETE_VARIABLE\", {\n slug: \"railway-delete-variable\",\n name: \"Delete Variable\",\n description: \"Delete a Railway environment variable. This action uses the `variableDelete` GraphQL mutation to permanently remove an environment variable from a project, environment, or service. This action is irreversible — once deleted, the variable cannot be recovered.\",\n input: RailwayDeleteVariableInput,\n output: RailwayDeleteVariableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACxG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-variable.cjs","names":["z","action"],"sources":["../../src/actions/delete-variable.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDeleteVariableInput = z.object({\n name: z.string().describe(\"The name of the environment variable to delete\"),\n project_id: z.string().describe(\"The unique identifier of the project containing the environment\"),\n service_id: z.string().describe(\"The unique identifier of the service. If not provided, variables will be deleted at the environment level\").optional(),\n environment_id: z.string().describe(\"The unique identifier of the environment containing the variable\"),\n}).describe(\"Request model for deleting an environment variable.\");\nexport const RailwayDeleteVariableOutput = z.object({\n typename: z.string().describe(\"The GraphQL typename of the response\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the variableDelete GraphQL mutation.\");\n\nexport const railwayDeleteVariable: AppAction<\n typeof RailwayDeleteVariableInput,\n typeof RailwayDeleteVariableOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DELETE_VARIABLE\", {\n slug: \"railway-delete-variable\",\n name: \"Delete Variable\",\n description: \"Delete a Railway environment variable. This action uses the `variableDelete` GraphQL mutation to permanently remove an environment variable from a project, environment, or service. This action is irreversible — once deleted, the variable cannot be recovered.\",\n input: RailwayDeleteVariableInput,\n output: RailwayDeleteVariableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACxG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-variable.d.ts
@@ -10,24 +12,7 @@ declare const RailwayDeleteVariableInput: z.ZodObject<{
10
12
  declare const RailwayDeleteVariableOutput: z.ZodObject<{
11
13
  typename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>;
13
- declare const railwayDeleteVariable: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- name: string;
15
- project_id: string;
16
- environment_id: string;
17
- service_id?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
15
+ declare const railwayDeleteVariable: AppAction<typeof RailwayDeleteVariableInput, typeof RailwayDeleteVariableOutput, typeof railway.credential>;
31
16
  //#endregion
32
17
  export { railwayDeleteVariable };
33
18
  //# sourceMappingURL=delete-variable.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-variable.d.cts","names":[],"sources":["../../src/actions/delete-variable.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-variable.d.cts","names":[],"sources":["../../src/actions/delete-variable.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-variable.d.ts
@@ -10,24 +12,7 @@ declare const RailwayDeleteVariableInput: z.ZodObject<{
10
12
  declare const RailwayDeleteVariableOutput: z.ZodObject<{
11
13
  typename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>;
13
- declare const railwayDeleteVariable: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- name: string;
15
- project_id: string;
16
- environment_id: string;
17
- service_id?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
15
+ declare const railwayDeleteVariable: AppAction<typeof RailwayDeleteVariableInput, typeof RailwayDeleteVariableOutput, typeof railway.credential>;
31
16
  //#endregion
32
17
  export { railwayDeleteVariable };
33
18
  //# sourceMappingURL=delete-variable.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-variable.d.mts","names":[],"sources":["../../src/actions/delete-variable.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"delete-variable.d.mts","names":[],"sources":["../../src/actions/delete-variable.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const railwayDeleteVariable = action("RAILWAY_DELETE_VARIABLE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-variable.mjs","names":[],"sources":["../../src/actions/delete-variable.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDeleteVariableInput = z.object({\n name: z.string().describe(\"The name of the environment variable to delete\"),\n project_id: z.string().describe(\"The unique identifier of the project containing the environment\"),\n service_id: z.string().describe(\"The unique identifier of the service. If not provided, variables will be deleted at the environment level\").optional(),\n environment_id: z.string().describe(\"The unique identifier of the environment containing the variable\"),\n}).describe(\"Request model for deleting an environment variable.\");\nexport const RailwayDeleteVariableOutput = z.object({\n typename: z.string().describe(\"The GraphQL typename of the response\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the variableDelete GraphQL mutation.\");\n\nexport const railwayDeleteVariable = action(\"RAILWAY_DELETE_VARIABLE\", {\n slug: \"railway-delete-variable\",\n name: \"Delete Variable\",\n description: \"Delete a Railway environment variable. This action uses the `variableDelete` GraphQL mutation to permanently remove an environment variable from a project, environment, or service. This action is irreversible — once deleted, the variable cannot be recovered.\",\n input: RailwayDeleteVariableInput,\n output: RailwayDeleteVariableOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACtJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACxG,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-variable.mjs","names":[],"sources":["../../src/actions/delete-variable.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDeleteVariableInput = z.object({\n name: z.string().describe(\"The name of the environment variable to delete\"),\n project_id: z.string().describe(\"The unique identifier of the project containing the environment\"),\n service_id: z.string().describe(\"The unique identifier of the service. If not provided, variables will be deleted at the environment level\").optional(),\n environment_id: z.string().describe(\"The unique identifier of the environment containing the variable\"),\n}).describe(\"Request model for deleting an environment variable.\");\nexport const RailwayDeleteVariableOutput = z.object({\n typename: z.string().describe(\"The GraphQL typename of the response\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the variableDelete GraphQL mutation.\");\n\nexport const railwayDeleteVariable: AppAction<\n typeof RailwayDeleteVariableInput,\n typeof RailwayDeleteVariableOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DELETE_VARIABLE\", {\n slug: \"railway-delete-variable\",\n name: \"Delete Variable\",\n description: \"Delete a Railway environment variable. This action uses the `variableDelete` GraphQL mutation to permanently remove an environment variable from a project, environment, or service. This action is irreversible — once deleted, the variable cannot be recovered.\",\n input: RailwayDeleteVariableInput,\n output: RailwayDeleteVariableOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACtJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACxG,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAbyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;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/delete-volume.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-volume.cjs","names":["z","action"],"sources":["../../src/actions/delete-volume.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDeleteVolumeInput = z.object({\n volume_id: z.string().describe(\"The unique identifier of the volume to delete. Obtain this ID from the list volumes endpoint or the volume creation response.\"),\n});\nexport const RailwayDeleteVolumeOutput = z.object({\n success: z.boolean().describe(\"Whether the volume was successfully deleted. Returns true if the deletion succeeded.\").nullable(),\n}).passthrough().describe(\"Response from the volumeDelete GraphQL mutation.\");\n\nexport const railwayDeleteVolume = action(\"RAILWAY_DELETE_VOLUME\", {\n slug: \"railway-delete-volume\",\n name: \"Delete Volume\",\n description: \"Permanently delete a persistent volume and all its associated data from Railway. Use when you need to remove a volume that is no longer needed. This action is irreversible — the volume and all its data will be permanently deleted and cannot be recovered once removed. Use this action when: - Cleaning up unused volumes to reduce storage costs - Removing volumes associated with deprecated environments - Deleting volumes before removing a project\",\n input: RailwayDeleteVolumeInput,\n output: RailwayDeleteVolumeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAChK,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-volume.cjs","names":["z","action"],"sources":["../../src/actions/delete-volume.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDeleteVolumeInput = z.object({\n volume_id: z.string().describe(\"The unique identifier of the volume to delete. Obtain this ID from the list volumes endpoint or the volume creation response.\"),\n});\nexport const RailwayDeleteVolumeOutput = z.object({\n success: z.boolean().describe(\"Whether the volume was successfully deleted. Returns true if the deletion succeeded.\").nullable(),\n}).passthrough().describe(\"Response from the volumeDelete GraphQL mutation.\");\n\nexport const railwayDeleteVolume: AppAction<\n typeof RailwayDeleteVolumeInput,\n typeof RailwayDeleteVolumeOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DELETE_VOLUME\", {\n slug: \"railway-delete-volume\",\n name: \"Delete Volume\",\n description: \"Permanently delete a persistent volume and all its associated data from Railway. Use when you need to remove a volume that is no longer needed. This action is irreversible — the volume and all its data will be permanently deleted and cannot be recovered once removed. Use this action when: - Cleaning up unused volumes to reduce storage costs - Removing volumes associated with deprecated environments - Deleting volumes before removing a project\",\n input: RailwayDeleteVolumeInput,\n output: RailwayDeleteVolumeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAChK,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-volume.d.ts
@@ -7,21 +9,7 @@ declare const RailwayDeleteVolumeInput: z.ZodObject<{
7
9
  declare const RailwayDeleteVolumeOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  }, z.core.$loose>;
10
- declare const railwayDeleteVolume: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- volume_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const railwayDeleteVolume: AppAction<typeof RailwayDeleteVolumeInput, typeof RailwayDeleteVolumeOutput, typeof railway.credential>;
25
13
  //#endregion
26
14
  export { railwayDeleteVolume };
27
15
  //# sourceMappingURL=delete-volume.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-volume.d.cts","names":[],"sources":["../../src/actions/delete-volume.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-volume.d.cts","names":[],"sources":["../../src/actions/delete-volume.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-volume.d.ts
@@ -7,21 +9,7 @@ declare const RailwayDeleteVolumeInput: z.ZodObject<{
7
9
  declare const RailwayDeleteVolumeOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  }, z.core.$loose>;
10
- declare const railwayDeleteVolume: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- volume_id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const railwayDeleteVolume: AppAction<typeof RailwayDeleteVolumeInput, typeof RailwayDeleteVolumeOutput, typeof railway.credential>;
25
13
  //#endregion
26
14
  export { railwayDeleteVolume };
27
15
  //# sourceMappingURL=delete-volume.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-volume.d.mts","names":[],"sources":["../../src/actions/delete-volume.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"delete-volume.d.mts","names":[],"sources":["../../src/actions/delete-volume.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const railwayDeleteVolume = action("RAILWAY_DELETE_VOLUME", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-volume.mjs","names":[],"sources":["../../src/actions/delete-volume.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDeleteVolumeInput = z.object({\n volume_id: z.string().describe(\"The unique identifier of the volume to delete. Obtain this ID from the list volumes endpoint or the volume creation response.\"),\n});\nexport const RailwayDeleteVolumeOutput = z.object({\n success: z.boolean().describe(\"Whether the volume was successfully deleted. Returns true if the deletion succeeded.\").nullable(),\n}).passthrough().describe(\"Response from the volumeDelete GraphQL mutation.\");\n\nexport const railwayDeleteVolume = action(\"RAILWAY_DELETE_VOLUME\", {\n slug: \"railway-delete-volume\",\n name: \"Delete Volume\",\n description: \"Permanently delete a persistent volume and all its associated data from Railway. Use when you need to remove a volume that is no longer needed. This action is irreversible — the volume and all its data will be permanently deleted and cannot be recovered once removed. Use this action when: - Cleaning up unused volumes to reduce storage costs - Removing volumes associated with deprecated environments - Deleting volumes before removing a project\",\n input: RailwayDeleteVolumeInput,\n output: RailwayDeleteVolumeOutput,\n});\n"],"mappings":";;AAWA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAChK,CASS;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-volume.mjs","names":[],"sources":["../../src/actions/delete-volume.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDeleteVolumeInput = z.object({\n volume_id: z.string().describe(\"The unique identifier of the volume to delete. Obtain this ID from the list volumes endpoint or the volume creation response.\"),\n});\nexport const RailwayDeleteVolumeOutput = z.object({\n success: z.boolean().describe(\"Whether the volume was successfully deleted. Returns true if the deletion succeeded.\").nullable(),\n}).passthrough().describe(\"Response from the volumeDelete GraphQL mutation.\");\n\nexport const railwayDeleteVolume: AppAction<\n typeof RailwayDeleteVolumeInput,\n typeof RailwayDeleteVolumeOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DELETE_VOLUME\", {\n slug: \"railway-delete-volume\",\n name: \"Delete Volume\",\n description: \"Permanently delete a persistent volume and all its associated data from Railway. Use when you need to remove a volume that is no longer needed. This action is irreversible — the volume and all its data will be permanently deleted and cannot be recovered once removed. Use this action when: - Cleaning up unused volumes to reduce storage costs - Removing volumes associated with deprecated environments - Deleting volumes before removing a project\",\n input: RailwayDeleteVolumeInput,\n output: RailwayDeleteVolumeOutput,\n});\n"],"mappings":";;;AAaA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsC,EAAE,OAAO,EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,EAChK,CAaS;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/delete-workspace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.cjs","names":["z","action"],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDeleteWorkspaceInput = z.object({\n id: z.string().describe(\"The unique identifier of the workspace to delete. Example: 'abc123-def4-5678-ghij-klmnopqrstuv'\"),\n}).describe(\"Request schema for `DeleteWorkspace`\");\nconst RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = z.object({\n deletedWorkspaceId: z.string().describe(\"The ID of the deleted workspace. Present when the deletion is successful.\").nullable().optional(),\n}).passthrough().describe(\"Result data from the workspaceDelete mutation.\");\nconst RailwayDeleteWorkspace_UserErrorSchema = z.object({\n field: z.array(z.string()).describe(\"Path to the input field that caused the error. Array of strings representing the nested field location.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n}).passthrough().describe(\"Error information when the mutation fails validation.\");\nexport const RailwayDeleteWorkspaceOutput = z.object({\n data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),\n errors: z.array(RailwayDeleteWorkspace_UserErrorSchema).describe(\"GraphQL-level errors that occurred during the mutation.\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the workspaceDelete GraphQL mutation.\");\n\nexport const railwayDeleteWorkspace = action(\"RAILWAY_DELETE_WORKSPACE\", {\n slug: \"railway-delete-workspace\",\n name: \"Delete workspace\",\n description: \"Delete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently delete a workspace that is no longer needed. This action is irreversible — once deleted, the workspace and all its associated projects, environments, and data cannot be recovered.\",\n input: RailwayDeleteWorkspaceInput,\n output: RailwayDeleteWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC3H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-workspace.cjs","names":["z","action"],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDeleteWorkspaceInput = z.object({\n id: z.string().describe(\"The unique identifier of the workspace to delete. Example: 'abc123-def4-5678-ghij-klmnopqrstuv'\"),\n}).describe(\"Request schema for `DeleteWorkspace`\");\nconst RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = z.object({\n deletedWorkspaceId: z.string().describe(\"The ID of the deleted workspace. Present when the deletion is successful.\").nullable().optional(),\n}).passthrough().describe(\"Result data from the workspaceDelete mutation.\");\nconst RailwayDeleteWorkspace_UserErrorSchema = z.object({\n field: z.array(z.string()).describe(\"Path to the input field that caused the error. Array of strings representing the nested field location.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n}).passthrough().describe(\"Error information when the mutation fails validation.\");\nexport const RailwayDeleteWorkspaceOutput = z.object({\n data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),\n errors: z.array(RailwayDeleteWorkspace_UserErrorSchema).describe(\"GraphQL-level errors that occurred during the mutation.\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the workspaceDelete GraphQL mutation.\");\n\nexport const railwayDeleteWorkspace: AppAction<\n typeof RailwayDeleteWorkspaceInput,\n typeof RailwayDeleteWorkspaceOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DELETE_WORKSPACE\", {\n slug: \"railway-delete-workspace\",\n name: \"Delete workspace\",\n description: \"Delete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently delete a workspace that is no longer needed. This action is irreversible — once deleted, the workspace and all its associated projects, environments, and data cannot be recovered.\",\n input: RailwayDeleteWorkspaceInput,\n output: RailwayDeleteWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC3H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-workspace.d.ts
@@ -13,21 +15,7 @@ declare const RailwayDeleteWorkspaceOutput: z.ZodObject<{
13
15
  message: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>>>>;
15
17
  }, z.core.$loose>;
16
- declare const railwayDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
18
+ declare const railwayDeleteWorkspace: AppAction<typeof RailwayDeleteWorkspaceInput, typeof RailwayDeleteWorkspaceOutput, typeof railway.credential>;
31
19
  //#endregion
32
20
  export { railwayDeleteWorkspace };
33
21
  //# sourceMappingURL=delete-workspace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.d.cts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-workspace.d.cts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-workspace.d.ts
@@ -13,21 +15,7 @@ declare const RailwayDeleteWorkspaceOutput: z.ZodObject<{
13
15
  message: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>>>>;
15
17
  }, z.core.$loose>;
16
- declare const railwayDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
18
+ declare const railwayDeleteWorkspace: AppAction<typeof RailwayDeleteWorkspaceInput, typeof RailwayDeleteWorkspaceOutput, typeof railway.credential>;
31
19
  //#endregion
32
20
  export { railwayDeleteWorkspace };
33
21
  //# sourceMappingURL=delete-workspace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.d.mts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-workspace.d.mts","names":[],"sources":["../../src/actions/delete-workspace.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,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/delete-workspace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-workspace.mjs","names":[],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDeleteWorkspaceInput = z.object({\n id: z.string().describe(\"The unique identifier of the workspace to delete. Example: 'abc123-def4-5678-ghij-klmnopqrstuv'\"),\n}).describe(\"Request schema for `DeleteWorkspace`\");\nconst RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = z.object({\n deletedWorkspaceId: z.string().describe(\"The ID of the deleted workspace. Present when the deletion is successful.\").nullable().optional(),\n}).passthrough().describe(\"Result data from the workspaceDelete mutation.\");\nconst RailwayDeleteWorkspace_UserErrorSchema = z.object({\n field: z.array(z.string()).describe(\"Path to the input field that caused the error. Array of strings representing the nested field location.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n}).passthrough().describe(\"Error information when the mutation fails validation.\");\nexport const RailwayDeleteWorkspaceOutput = z.object({\n data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),\n errors: z.array(RailwayDeleteWorkspace_UserErrorSchema).describe(\"GraphQL-level errors that occurred during the mutation.\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the workspaceDelete GraphQL mutation.\");\n\nexport const railwayDeleteWorkspace = action(\"RAILWAY_DELETE_WORKSPACE\", {\n slug: \"railway-delete-workspace\",\n name: \"Delete workspace\",\n description: \"Delete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently delete a workspace that is no longer needed. This action is irreversible — once deleted, the workspace and all its associated projects, environments, and data cannot be recovered.\",\n input: RailwayDeleteWorkspaceInput,\n output: RailwayDeleteWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC3H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mDAAmD,EAAE,OAAO,EAChE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAMjF,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-workspace.mjs","names":[],"sources":["../../src/actions/delete-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDeleteWorkspaceInput = z.object({\n id: z.string().describe(\"The unique identifier of the workspace to delete. Example: 'abc123-def4-5678-ghij-klmnopqrstuv'\"),\n}).describe(\"Request schema for `DeleteWorkspace`\");\nconst RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = z.object({\n deletedWorkspaceId: z.string().describe(\"The ID of the deleted workspace. Present when the deletion is successful.\").nullable().optional(),\n}).passthrough().describe(\"Result data from the workspaceDelete mutation.\");\nconst RailwayDeleteWorkspace_UserErrorSchema = z.object({\n field: z.array(z.string()).describe(\"Path to the input field that caused the error. Array of strings representing the nested field location.\").nullable().optional(),\n message: z.string().describe(\"Human-readable error message describing what went wrong.\").nullable(),\n}).passthrough().describe(\"Error information when the mutation fails validation.\");\nexport const RailwayDeleteWorkspaceOutput = z.object({\n data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),\n errors: z.array(RailwayDeleteWorkspace_UserErrorSchema).describe(\"GraphQL-level errors that occurred during the mutation.\").nullable().optional(),\n}).passthrough().describe(\"Complete response from the workspaceDelete GraphQL mutation.\");\n\nexport const railwayDeleteWorkspace: AppAction<\n typeof RailwayDeleteWorkspaceInput,\n typeof RailwayDeleteWorkspaceOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DELETE_WORKSPACE\", {\n slug: \"railway-delete-workspace\",\n name: \"Delete workspace\",\n description: \"Delete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently delete a workspace that is no longer needed. This action is irreversible — once deleted, the workspace and all its associated projects, environments, and data cannot be recovered.\",\n input: RailwayDeleteWorkspaceInput,\n output: RailwayDeleteWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC3H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,mDAAmD,EAAE,OAAO,EAChE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAMjF,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,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/disconnect-user-discord.ts
@@ -1 +1 @@
1
- {"version":3,"file":"disconnect-user-discord.cjs","names":["z","action"],"sources":["../../src/actions/disconnect-user-discord.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDisconnectUserDiscordInput = z.object({}).describe(\"Request model for disconnecting the authenticated user's Discord account from Railway.\\n\\nThis mutation requires no input parameters as it operates on the authenticated user's account.\");\nexport const RailwayDisconnectUserDiscordOutput = z.object({\n success: z.boolean().describe(\"Whether the Discord account was successfully disconnected.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Discord disconnect operation.\");\n\nexport const railwayDisconnectUserDiscord = action(\"RAILWAY_DISCONNECT_USER_DISCORD\", {\n slug: \"railway-disconnect-user-discord\",\n name: \"Disconnect Discord account\",\n description: \"Disconnects the authenticated user's Railway account from Discord. Use when you need to unlink a Discord account that was previously connected to Railway for notifications, authentication, or team management. This action is irreversible for the disconnect operation — the user must manually reconnect through the Railway dashboard or Discord OAuth flow if needed.\",\n input: RailwayDisconnectUserDiscordInput,\n output: RailwayDisconnectUserDiscordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0LAA0L;AACjQ,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"disconnect-user-discord.cjs","names":["z","action"],"sources":["../../src/actions/disconnect-user-discord.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayDisconnectUserDiscordInput = z.object({}).describe(\"Request model for disconnecting the authenticated user's Discord account from Railway.\\n\\nThis mutation requires no input parameters as it operates on the authenticated user's account.\");\nexport const RailwayDisconnectUserDiscordOutput = z.object({\n success: z.boolean().describe(\"Whether the Discord account was successfully disconnected.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Discord disconnect operation.\");\n\nexport const railwayDisconnectUserDiscord: AppAction<\n typeof RailwayDisconnectUserDiscordInput,\n typeof RailwayDisconnectUserDiscordOutput,\n typeof railway.credential\n> = action(\"RAILWAY_DISCONNECT_USER_DISCORD\", {\n slug: \"railway-disconnect-user-discord\",\n name: \"Disconnect Discord account\",\n description: \"Disconnects the authenticated user's Railway account from Discord. Use when you need to unlink a Discord account that was previously connected to Railway for notifications, authentication, or team management. This action is irreversible for the disconnect operation — the user must manually reconnect through the Railway dashboard or Discord OAuth flow if needed.\",\n input: RailwayDisconnectUserDiscordInput,\n output: RailwayDisconnectUserDiscordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0LAA0L;AACjQ,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/disconnect-user-discord.d.ts
@@ -5,19 +7,7 @@ declare const RailwayDisconnectUserDiscordInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const RailwayDisconnectUserDiscordOutput: z.ZodObject<{
6
8
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7
9
  }, z.core.$loose>;
8
- declare const railwayDisconnectUserDiscord: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const railwayDisconnectUserDiscord: AppAction<typeof RailwayDisconnectUserDiscordInput, typeof RailwayDisconnectUserDiscordOutput, typeof railway.credential>;
21
11
  //#endregion
22
12
  export { railwayDisconnectUserDiscord };
23
13
  //# sourceMappingURL=disconnect-user-discord.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disconnect-user-discord.d.cts","names":[],"sources":["../../src/actions/disconnect-user-discord.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"disconnect-user-discord.d.cts","names":[],"sources":["../../src/actions/disconnect-user-discord.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { railway } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/disconnect-user-discord.d.ts
@@ -5,19 +7,7 @@ declare const RailwayDisconnectUserDiscordInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const RailwayDisconnectUserDiscordOutput: z.ZodObject<{
6
8
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7
9
  }, z.core.$loose>;
8
- declare const railwayDisconnectUserDiscord: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
9
- connectionId: z.ZodString;
10
- entityId: z.ZodString;
11
- instanceId: z.ZodString;
12
- }, z.core.$strip>, z.ZodObject<{
13
- generic_api_key: z.ZodString;
14
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>;
10
+ declare const railwayDisconnectUserDiscord: AppAction<typeof RailwayDisconnectUserDiscordInput, typeof RailwayDisconnectUserDiscordOutput, typeof railway.credential>;
21
11
  //#endregion
22
12
  export { railwayDisconnectUserDiscord };
23
13
  //# sourceMappingURL=disconnect-user-discord.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disconnect-user-discord.d.mts","names":[],"sources":["../../src/actions/disconnect-user-discord.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"disconnect-user-discord.d.mts","names":[],"sources":["../../src/actions/disconnect-user-discord.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const railwayDisconnectUserDiscord = action("RAILWAY_DISCONNECT_USER_DISCORD", {