@keystrokehq/railway 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-plugin.cjs +3 -3
- package/dist/actions/create-plugin.cjs.map +1 -1
- package/dist/actions/create-plugin.d.cts +20 -3
- package/dist/actions/create-plugin.d.cts.map +1 -1
- package/dist/actions/create-plugin.d.mts +20 -3
- package/dist/actions/create-plugin.d.mts.map +1 -1
- package/dist/actions/create-plugin.mjs +3 -3
- package/dist/actions/create-plugin.mjs.map +1 -1
- package/dist/actions/delete-variable.cjs.map +1 -1
- package/dist/actions/delete-variable.d.cts +15 -3
- package/dist/actions/delete-variable.d.cts.map +1 -1
- package/dist/actions/delete-variable.d.mts +15 -3
- package/dist/actions/delete-variable.d.mts.map +1 -1
- package/dist/actions/delete-variable.mjs.map +1 -1
- package/dist/actions/delete-volume.cjs +1 -1
- package/dist/actions/delete-volume.cjs.map +1 -1
- package/dist/actions/delete-volume.d.cts +9 -3
- package/dist/actions/delete-volume.d.cts.map +1 -1
- package/dist/actions/delete-volume.d.mts +9 -3
- package/dist/actions/delete-volume.d.mts.map +1 -1
- package/dist/actions/delete-volume.mjs +1 -1
- package/dist/actions/delete-volume.mjs.map +1 -1
- package/dist/actions/delete-workspace.cjs +1 -1
- package/dist/actions/delete-workspace.cjs.map +1 -1
- package/dist/actions/delete-workspace.d.cts +15 -3
- package/dist/actions/delete-workspace.d.cts.map +1 -1
- package/dist/actions/delete-workspace.d.mts +15 -3
- package/dist/actions/delete-workspace.d.mts.map +1 -1
- package/dist/actions/delete-workspace.mjs +1 -1
- package/dist/actions/delete-workspace.mjs.map +1 -1
- package/dist/actions/disconnect-user-discord.cjs.map +1 -1
- package/dist/actions/disconnect-user-discord.d.cts +5 -3
- package/dist/actions/disconnect-user-discord.d.cts.map +1 -1
- package/dist/actions/disconnect-user-discord.d.mts +5 -3
- package/dist/actions/disconnect-user-discord.d.mts.map +1 -1
- package/dist/actions/disconnect-user-discord.mjs.map +1 -1
- package/dist/actions/get-deployment-logs.cjs.map +1 -1
- package/dist/actions/get-deployment-logs.d.cts +15 -3
- package/dist/actions/get-deployment-logs.d.cts.map +1 -1
- package/dist/actions/get-deployment-logs.d.mts +15 -3
- package/dist/actions/get-deployment-logs.d.mts.map +1 -1
- package/dist/actions/get-deployment-logs.mjs.map +1 -1
- package/dist/actions/get-environment.cjs.map +1 -1
- package/dist/actions/get-environment.d.cts +23 -3
- package/dist/actions/get-environment.d.cts.map +1 -1
- package/dist/actions/get-environment.d.mts +23 -3
- package/dist/actions/get-environment.d.mts.map +1 -1
- package/dist/actions/get-environment.mjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.cts +18 -3
- package/dist/actions/get-git-hub-pr-info.d.cts.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.mts +18 -3
- package/dist/actions/get-git-hub-pr-info.d.mts.map +1 -1
- package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.cts +7 -3
- package/dist/actions/get-user-kickback-earnings.d.cts.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.mts +7 -3
- package/dist/actions/get-user-kickback-earnings.d.mts.map +1 -1
- package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
- package/dist/actions/list-api-tokens.cjs +3 -3
- package/dist/actions/list-api-tokens.cjs.map +1 -1
- package/dist/actions/list-api-tokens.d.cts +9 -3
- package/dist/actions/list-api-tokens.d.cts.map +1 -1
- package/dist/actions/list-api-tokens.d.mts +9 -3
- package/dist/actions/list-api-tokens.d.mts.map +1 -1
- package/dist/actions/list-api-tokens.mjs +3 -3
- package/dist/actions/list-api-tokens.mjs.map +1 -1
- package/dist/actions/list-environment-patches.cjs.map +1 -1
- package/dist/actions/list-environment-patches.d.cts +17 -3
- package/dist/actions/list-environment-patches.d.cts.map +1 -1
- package/dist/actions/list-environment-patches.d.mts +17 -3
- package/dist/actions/list-environment-patches.d.mts.map +1 -1
- package/dist/actions/list-environment-patches.mjs.map +1 -1
- package/dist/actions/list-git-hub-repos.cjs +3 -3
- package/dist/actions/list-git-hub-repos.cjs.map +1 -1
- package/dist/actions/list-git-hub-repos.d.cts +9 -3
- package/dist/actions/list-git-hub-repos.d.cts.map +1 -1
- package/dist/actions/list-git-hub-repos.d.mts +9 -3
- package/dist/actions/list-git-hub-repos.d.mts.map +1 -1
- package/dist/actions/list-git-hub-repos.mjs +3 -3
- package/dist/actions/list-git-hub-repos.mjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.cts +5 -3
- package/dist/actions/list-git-hub-writable-scopes.d.cts.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.mts +5 -3
- package/dist/actions/list-git-hub-writable-scopes.d.mts.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
- package/dist/actions/list-integration-auths.cjs +1 -1
- package/dist/actions/list-integration-auths.cjs.map +1 -1
- package/dist/actions/list-integration-auths.d.cts +12 -3
- package/dist/actions/list-integration-auths.d.cts.map +1 -1
- package/dist/actions/list-integration-auths.d.mts +12 -3
- package/dist/actions/list-integration-auths.d.mts.map +1 -1
- package/dist/actions/list-integration-auths.mjs +1 -1
- package/dist/actions/list-integration-auths.mjs.map +1 -1
- package/dist/actions/list-notification-deliveries.cjs +1 -1
- package/dist/actions/list-notification-deliveries.cjs.map +1 -1
- package/dist/actions/list-notification-deliveries.d.cts +9 -3
- package/dist/actions/list-notification-deliveries.d.cts.map +1 -1
- package/dist/actions/list-notification-deliveries.d.mts +9 -3
- package/dist/actions/list-notification-deliveries.d.mts.map +1 -1
- package/dist/actions/list-notification-deliveries.mjs +1 -1
- package/dist/actions/list-notification-deliveries.mjs.map +1 -1
- package/dist/actions/list-trusted-domains.cjs +2 -2
- package/dist/actions/list-trusted-domains.cjs.map +1 -1
- package/dist/actions/list-trusted-domains.d.cts +13 -3
- package/dist/actions/list-trusted-domains.d.cts.map +1 -1
- package/dist/actions/list-trusted-domains.d.mts +13 -3
- package/dist/actions/list-trusted-domains.d.mts.map +1 -1
- package/dist/actions/list-trusted-domains.mjs +2 -2
- package/dist/actions/list-trusted-domains.mjs.map +1 -1
- package/dist/actions/update-project.cjs +1 -1
- package/dist/actions/update-project.cjs.map +1 -1
- package/dist/actions/update-project.d.cts +21 -3
- package/dist/actions/update-project.d.cts.map +1 -1
- package/dist/actions/update-project.d.mts +21 -3
- package/dist/actions/update-project.d.mts.map +1 -1
- package/dist/actions/update-project.mjs +1 -1
- package/dist/actions/update-project.mjs.map +1 -1
- package/dist/actions/update-service-instance.cjs.map +1 -1
- package/dist/actions/update-service-instance.d.cts +45 -3
- package/dist/actions/update-service-instance.d.cts.map +1 -1
- package/dist/actions/update-service-instance.d.mts +45 -3
- package/dist/actions/update-service-instance.d.mts.map +1 -1
- package/dist/actions/update-service-instance.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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"}
|
|
@@ -6,12 +6,12 @@ const RailwayCreatePluginInput = zod.z.object({
|
|
|
6
6
|
projectId: zod.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.")
|
|
7
7
|
}).describe("Request schema for creating a Railway plugin");
|
|
8
8
|
const RailwayCreatePlugin_GraphQLErrorLocationSchema = zod.z.object({
|
|
9
|
-
line: zod.z.number().int().describe("The line number in the GraphQL document where the error occurred (starting from 1)."),
|
|
10
|
-
column: zod.z.number().int().describe("The column number in the GraphQL document where the error occurred (starting from 1).")
|
|
9
|
+
line: zod.z.number().int().describe("The line number in the GraphQL document where the error occurred (starting from 1).").nullable(),
|
|
10
|
+
column: zod.z.number().int().describe("The column number in the GraphQL document where the error occurred (starting from 1).").nullable()
|
|
11
11
|
}).describe("Location of a GraphQL error in the query document");
|
|
12
12
|
const RailwayCreatePlugin_GraphQLErrorSchema = zod.z.object({
|
|
13
13
|
path: zod.z.array(zod.z.union([zod.z.string(), zod.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(),
|
|
14
|
-
message: zod.z.string().describe("A string description of the error intended to guide developers in understanding and correcting the error."),
|
|
14
|
+
message: zod.z.string().describe("A string description of the error intended to guide developers in understanding and correcting the error.").nullable(),
|
|
15
15
|
locations: zod.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(),
|
|
16
16
|
extensions: zod.z.object({}).describe("Map containing custom error information. Reserved for implementers to add additional context to errors.").nullable().optional()
|
|
17
17
|
}).describe("Detailed information about a GraphQL execution error");
|
|
@@ -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
|
|
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}).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.object({}).describe(\"Map containing custom error information. Reserved for implementers to add additional context to errors.\").nullable().optional(),\n}).describe(\"Detailed information about a GraphQL execution error\");\nexport const RailwayCreatePluginOutput = z.object({\n data: z.object({}).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}).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,SAAS,mDAAmD;AAC/D,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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-plugin.d.ts
|
|
4
|
-
declare const RailwayCreatePluginInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayCreatePluginInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
projectId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RailwayCreatePluginOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
12
|
+
message: z.ZodNullable<z.ZodString>;
|
|
13
|
+
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
column: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
extensions: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { railwayCreatePlugin };
|
|
9
26
|
//# 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,
|
|
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,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-plugin.d.ts
|
|
4
|
-
declare const RailwayCreatePluginInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayCreatePluginInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
projectId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RailwayCreatePluginOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
12
|
+
message: z.ZodNullable<z.ZodString>;
|
|
13
|
+
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
|
+
line: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
column: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>>>;
|
|
17
|
+
extensions: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
|
|
18
|
+
}, z.core.$strip>>>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { railwayCreatePlugin };
|
|
9
26
|
//# 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,
|
|
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"}
|
|
@@ -6,12 +6,12 @@ const RailwayCreatePluginInput = z.object({
|
|
|
6
6
|
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.")
|
|
7
7
|
}).describe("Request schema for creating a Railway plugin");
|
|
8
8
|
const RailwayCreatePlugin_GraphQLErrorLocationSchema = z.object({
|
|
9
|
-
line: z.number().int().describe("The line number in the GraphQL document where the error occurred (starting from 1)."),
|
|
10
|
-
column: z.number().int().describe("The column number in the GraphQL document where the error occurred (starting from 1).")
|
|
9
|
+
line: z.number().int().describe("The line number in the GraphQL document where the error occurred (starting from 1).").nullable(),
|
|
10
|
+
column: z.number().int().describe("The column number in the GraphQL document where the error occurred (starting from 1).").nullable()
|
|
11
11
|
}).describe("Location of a GraphQL error in the query document");
|
|
12
12
|
const RailwayCreatePlugin_GraphQLErrorSchema = z.object({
|
|
13
13
|
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(),
|
|
14
|
-
message: z.string().describe("A string description of the error intended to guide developers in understanding and correcting the error."),
|
|
14
|
+
message: z.string().describe("A string description of the error intended to guide developers in understanding and correcting the error.").nullable(),
|
|
15
15
|
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(),
|
|
16
16
|
extensions: z.object({}).describe("Map containing custom error information. Reserved for implementers to add additional context to errors.").nullable().optional()
|
|
17
17
|
}).describe("Detailed information about a GraphQL execution error");
|
|
@@ -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
|
|
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}).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.object({}).describe(\"Map containing custom error information. Reserved for implementers to add additional context to errors.\").nullable().optional(),\n}).describe(\"Detailed information about a GraphQL execution error\");\nexport const RailwayCreatePluginOutput = z.object({\n data: z.object({}).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}).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,SAAS,mDAAmD;AAC/D,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,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAMlE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClN,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9N,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -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
|
|
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}).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,SAAS,6DAA6D;AAEzE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-variable.d.ts
|
|
4
|
-
declare const RailwayDeleteVariableInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayDeleteVariableInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
project_id: z.ZodString;
|
|
7
|
+
service_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
environment_id: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RailwayDeleteVariableOutput: z.ZodObject<{
|
|
11
|
+
typename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { railwayDeleteVariable };
|
|
9
21
|
//# 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,
|
|
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,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-variable.d.ts
|
|
4
|
-
declare const RailwayDeleteVariableInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayDeleteVariableInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
project_id: z.ZodString;
|
|
7
|
+
service_id: z.ZodOptional<z.ZodString>;
|
|
8
|
+
environment_id: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RailwayDeleteVariableOutput: z.ZodObject<{
|
|
11
|
+
typename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { railwayDeleteVariable };
|
|
9
21
|
//# 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,
|
|
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 +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
|
|
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}).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,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-volume.ts
|
|
4
4
|
const RailwayDeleteVolumeInput = zod.z.object({ volume_id: zod.z.string().describe("The unique identifier of the volume to delete. Obtain this ID from the list volumes endpoint or the volume creation response.") });
|
|
5
|
-
const RailwayDeleteVolumeOutput = zod.z.object({ success: zod.z.boolean().describe("Whether the volume was successfully deleted. Returns true if the deletion succeeded.") }).describe("Response from the volumeDelete GraphQL mutation.");
|
|
5
|
+
const RailwayDeleteVolumeOutput = zod.z.object({ success: zod.z.boolean().describe("Whether the volume was successfully deleted. Returns true if the deletion succeeded.").nullable() }).describe("Response from the volumeDelete GraphQL mutation.");
|
|
6
6
|
const railwayDeleteVolume = require_action.action("RAILWAY_DELETE_VOLUME", {
|
|
7
7
|
slug: "railway-delete-volume",
|
|
8
8
|
name: "Delete Volume",
|
|
@@ -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
|
|
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}).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,SAAS,kDAAkD;AAE9D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-volume.d.ts
|
|
4
|
-
declare const RailwayDeleteVolumeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayDeleteVolumeInput: z.ZodObject<{
|
|
5
|
+
volume_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RailwayDeleteVolumeOutput: z.ZodObject<{
|
|
8
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const railwayDeleteVolume: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
volume_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { railwayDeleteVolume };
|
|
9
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,
|
|
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,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-volume.d.ts
|
|
4
|
-
declare const RailwayDeleteVolumeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayDeleteVolumeInput: z.ZodObject<{
|
|
5
|
+
volume_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RailwayDeleteVolumeOutput: z.ZodObject<{
|
|
8
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const railwayDeleteVolume: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
volume_id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { railwayDeleteVolume };
|
|
9
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,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ const railwayDeleteVolume = action("RAILWAY_DELETE_VOLUME", {
|
|
|
5
5
|
name: "Delete Volume",
|
|
6
6
|
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",
|
|
7
7
|
input: z.object({ 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.") }),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("Whether the volume was successfully deleted. Returns true if the deletion succeeded.") }).describe("Response from the volumeDelete GraphQL mutation.")
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Whether the volume was successfully deleted. Returns true if the deletion succeeded.").nullable() }).describe("Response from the volumeDelete GraphQL mutation.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { railwayDeleteVolume };
|
|
@@ -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
|
|
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}).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,SAAS,kDAOF;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RailwayDeleteWorkspaceInput = zod.z.object({ id: zod.z.string().describe("
|
|
|
5
5
|
const RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = zod.z.object({ deletedWorkspaceId: zod.z.string().describe("The ID of the deleted workspace. Present when the deletion is successful.").nullable().optional() }).describe("Result data from the workspaceDelete mutation.");
|
|
6
6
|
const RailwayDeleteWorkspace_UserErrorSchema = zod.z.object({
|
|
7
7
|
field: zod.z.array(zod.z.string()).describe("Path to the input field that caused the error. Array of strings representing the nested field location.").nullable().optional(),
|
|
8
|
-
message: zod.z.string().describe("Human-readable error message describing what went wrong.")
|
|
8
|
+
message: zod.z.string().describe("Human-readable error message describing what went wrong.").nullable()
|
|
9
9
|
}).describe("Error information when the mutation fails validation.");
|
|
10
10
|
const RailwayDeleteWorkspaceOutput = zod.z.object({
|
|
11
11
|
data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),
|
|
@@ -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
|
|
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}).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}).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}).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,SAAS,gDAAgD;AAC5D,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,SAAS,uDAAuD;AACnE,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,SAAS,8DAA8D;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-workspace.d.ts
|
|
4
|
-
declare const RailwayDeleteWorkspaceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayDeleteWorkspaceInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RailwayDeleteWorkspaceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
deletedWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
field: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
message: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const railwayDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
id: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { railwayDeleteWorkspace };
|
|
9
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,
|
|
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,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-workspace.d.ts
|
|
4
|
-
declare const RailwayDeleteWorkspaceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RailwayDeleteWorkspaceInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RailwayDeleteWorkspaceOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
deletedWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
|
+
field: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
message: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const railwayDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
id: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { railwayDeleteWorkspace };
|
|
9
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,
|
|
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"}
|
|
@@ -5,7 +5,7 @@ const RailwayDeleteWorkspaceInput = z.object({ id: z.string().describe("The uniq
|
|
|
5
5
|
const RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = z.object({ deletedWorkspaceId: z.string().describe("The ID of the deleted workspace. Present when the deletion is successful.").nullable().optional() }).describe("Result data from the workspaceDelete mutation.");
|
|
6
6
|
const RailwayDeleteWorkspace_UserErrorSchema = z.object({
|
|
7
7
|
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(),
|
|
8
|
-
message: z.string().describe("Human-readable error message describing what went wrong.")
|
|
8
|
+
message: z.string().describe("Human-readable error message describing what went wrong.").nullable()
|
|
9
9
|
}).describe("Error information when the mutation fails validation.");
|
|
10
10
|
const railwayDeleteWorkspace = action("RAILWAY_DELETE_WORKSPACE", {
|
|
11
11
|
slug: "railway-delete-workspace",
|
|
@@ -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
|
|
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}).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}).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}).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,SAAS,gDAAgD;AAC5D,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,SAAS,uDAAuD;AAMnE,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,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -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
|
|
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}).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,SAAS,sDAAsD;AAElE,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/disconnect-user-discord.d.ts
|
|
4
|
-
declare const RailwayDisconnectUserDiscordInput: z.
|
|
5
|
-
declare const RailwayDisconnectUserDiscordOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayDisconnectUserDiscordInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayDisconnectUserDiscordOutput: z.ZodObject<{
|
|
6
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const railwayDisconnectUserDiscord: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { railwayDisconnectUserDiscord };
|
|
9
11
|
//# 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,
|
|
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,4CAAA,UAAA"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/disconnect-user-discord.d.ts
|
|
4
|
-
declare const RailwayDisconnectUserDiscordInput: z.
|
|
5
|
-
declare const RailwayDisconnectUserDiscordOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RailwayDisconnectUserDiscordInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RailwayDisconnectUserDiscordOutput: z.ZodObject<{
|
|
6
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const railwayDisconnectUserDiscord: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { railwayDisconnectUserDiscord };
|
|
9
11
|
//# 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,
|
|
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,4CAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disconnect-user-discord.mjs","names":[],"sources":["../../src/actions/disconnect-user-discord.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayDisconnectUserDiscordInput
|
|
1
|
+
{"version":3,"file":"disconnect-user-discord.mjs","names":[],"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}).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":";;AASA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0LAS9D;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployment-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetDeploymentLogsInput
|
|
1
|
+
{"version":3,"file":"get-deployment-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-deployment-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayGetDeploymentLogsInput = z.object({\n limit: z.number().int().default(25).describe(\"Maximum number of log entries to retrieve. Defaults to 25.\").optional(),\n deployment_id: z.string().describe(\"The unique identifier of the deployment to retrieve runtime logs for.\"),\n}).describe(\"Request parameters for retrieving deployment logs.\");\nconst RailwayGetDeploymentLogs_LogEntrySchema = z.object({\n message: z.string().describe(\"The log message content.\").nullable().optional(),\n severity: z.string().describe(\"The log severity level (e.g., 'INFO', 'WARN', 'ERROR').\").nullable().optional(),\n timestamp: z.string().describe(\"ISO 8601 timestamp when the log entry was recorded.\").nullable().optional(),\n}).describe(\"A single deployment log entry.\");\nexport const RailwayGetDeploymentLogsOutput = z.object({\n deployment_logs: z.array(RailwayGetDeploymentLogs_LogEntrySchema).describe(\"List of runtime log entries for the deployment.\").nullable().optional(),\n}).describe(\"Response schema for retrieving deployment logs.\");\n\nexport const railwayGetDeploymentLogs = action(\"RAILWAY_GET_DEPLOYMENT_LOGS\", {\n slug: \"railway-get-deployment-logs\",\n name: \"Get Deployment Logs\",\n description: \"Retrieve runtime logs for a deployment. Use when you need to view the runtime application logs for troubleshooting runtime issues, monitoring application behavior, or debugging errors that occur during deployment execution. This action queries the Railway GraphQL API for runtime log entries associated with the specified deployment ID. The logs are returned in reverse chronological order (most recent first).\",\n input: RailwayGetDeploymentLogsInput,\n output: RailwayGetDeploymentLogsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC5G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,iBAAiBA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|