@keystrokehq/railway 0.1.2 → 0.1.3
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/actions/create-plugin.cjs +5 -5
- package/dist/actions/create-plugin.cjs.map +1 -1
- package/dist/actions/create-plugin.d.cts +5 -5
- package/dist/actions/create-plugin.d.mts +5 -5
- package/dist/actions/create-plugin.mjs +5 -5
- package/dist/actions/create-plugin.mjs.map +1 -1
- package/dist/actions/delete-variable.cjs +1 -1
- package/dist/actions/delete-variable.cjs.map +1 -1
- package/dist/actions/delete-variable.d.cts +1 -1
- package/dist/actions/delete-variable.d.mts +1 -1
- package/dist/actions/delete-variable.mjs +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 +1 -1
- package/dist/actions/delete-volume.d.mts +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 +3 -3
- package/dist/actions/delete-workspace.cjs.map +1 -1
- package/dist/actions/delete-workspace.d.cts +3 -3
- package/dist/actions/delete-workspace.d.mts +3 -3
- package/dist/actions/delete-workspace.mjs +3 -3
- package/dist/actions/delete-workspace.mjs.map +1 -1
- package/dist/actions/disconnect-user-discord.cjs +1 -1
- package/dist/actions/disconnect-user-discord.cjs.map +1 -1
- package/dist/actions/disconnect-user-discord.d.cts +1 -1
- package/dist/actions/disconnect-user-discord.d.mts +1 -1
- package/dist/actions/disconnect-user-discord.mjs +1 -1
- package/dist/actions/disconnect-user-discord.mjs.map +1 -1
- package/dist/actions/get-deployment-logs.cjs +2 -2
- package/dist/actions/get-deployment-logs.cjs.map +1 -1
- package/dist/actions/get-deployment-logs.d.cts +2 -2
- package/dist/actions/get-deployment-logs.d.mts +2 -2
- package/dist/actions/get-deployment-logs.mjs +2 -2
- package/dist/actions/get-deployment-logs.mjs.map +1 -1
- package/dist/actions/get-environment.cjs +5 -5
- package/dist/actions/get-environment.cjs.map +1 -1
- package/dist/actions/get-environment.d.cts +5 -5
- package/dist/actions/get-environment.d.mts +5 -5
- package/dist/actions/get-environment.mjs +5 -5
- package/dist/actions/get-environment.mjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.cjs +1 -1
- package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.cts +1 -1
- package/dist/actions/get-git-hub-pr-info.d.mts +1 -1
- package/dist/actions/get-git-hub-pr-info.mjs +1 -1
- package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.cjs +2 -2
- package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.cts +2 -2
- package/dist/actions/get-user-kickback-earnings.d.mts +2 -2
- package/dist/actions/get-user-kickback-earnings.mjs +2 -2
- package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
- package/dist/actions/list-api-tokens.cjs +2 -2
- package/dist/actions/list-api-tokens.cjs.map +1 -1
- package/dist/actions/list-api-tokens.d.cts +2 -2
- package/dist/actions/list-api-tokens.d.mts +2 -2
- package/dist/actions/list-api-tokens.mjs +2 -2
- package/dist/actions/list-api-tokens.mjs.map +1 -1
- package/dist/actions/list-environment-patches.cjs +2 -2
- package/dist/actions/list-environment-patches.cjs.map +1 -1
- package/dist/actions/list-environment-patches.d.cts +2 -2
- package/dist/actions/list-environment-patches.d.mts +2 -2
- package/dist/actions/list-environment-patches.mjs +2 -2
- package/dist/actions/list-environment-patches.mjs.map +1 -1
- package/dist/actions/list-git-hub-repos.cjs +2 -2
- package/dist/actions/list-git-hub-repos.cjs.map +1 -1
- package/dist/actions/list-git-hub-repos.d.cts +2 -2
- package/dist/actions/list-git-hub-repos.d.mts +2 -2
- package/dist/actions/list-git-hub-repos.mjs +2 -2
- package/dist/actions/list-git-hub-repos.mjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.cjs +1 -1
- package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.cts +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.mts +1 -1
- package/dist/actions/list-git-hub-writable-scopes.mjs +1 -1
- package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
- package/dist/actions/list-integration-auths.cjs +2 -2
- package/dist/actions/list-integration-auths.cjs.map +1 -1
- package/dist/actions/list-integration-auths.d.cts +2 -2
- package/dist/actions/list-integration-auths.d.mts +2 -2
- package/dist/actions/list-integration-auths.mjs +2 -2
- package/dist/actions/list-integration-auths.mjs.map +1 -1
- package/dist/actions/list-notification-deliveries.cjs +2 -2
- package/dist/actions/list-notification-deliveries.cjs.map +1 -1
- package/dist/actions/list-notification-deliveries.d.cts +2 -2
- package/dist/actions/list-notification-deliveries.d.mts +2 -2
- package/dist/actions/list-notification-deliveries.mjs +2 -2
- 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 +2 -2
- package/dist/actions/list-trusted-domains.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/update-project.d.mts +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 +1 -1
- package/dist/actions/update-service-instance.cjs.map +1 -1
- package/dist/actions/update-service-instance.d.cts +1 -1
- package/dist/actions/update-service-instance.d.mts +1 -1
- package/dist/actions/update-service-instance.mjs +1 -1
- package/dist/actions/update-service-instance.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8,17 +8,17 @@ const RailwayCreatePluginInput = zod.z.object({
|
|
|
8
8
|
const RailwayCreatePlugin_GraphQLErrorLocationSchema = zod.z.object({
|
|
9
9
|
line: zod.z.number().int().describe("The line number in the GraphQL document where the error occurred (starting from 1).").nullable(),
|
|
10
10
|
column: zod.z.number().int().describe("The column number in the GraphQL document where the error occurred (starting from 1).").nullable()
|
|
11
|
-
}).describe("Location of a GraphQL error in the query document");
|
|
11
|
+
}).passthrough().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
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
|
-
extensions: zod.z.
|
|
17
|
-
}).describe("Detailed information about a GraphQL execution error");
|
|
16
|
+
extensions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map containing custom error information. Reserved for implementers to add additional context to errors.").nullable().optional()
|
|
17
|
+
}).passthrough().describe("Detailed information about a GraphQL execution error");
|
|
18
18
|
const RailwayCreatePluginOutput = zod.z.object({
|
|
19
|
-
data: zod.z.
|
|
19
|
+
data: zod.z.record(zod.z.string(), zod.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(),
|
|
20
20
|
errors: zod.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()
|
|
21
|
-
}).describe("Response from the pluginCreate GraphQL mutation");
|
|
21
|
+
}).passthrough().describe("Response from the pluginCreate GraphQL mutation");
|
|
22
22
|
const railwayCreatePlugin = require_action.action("RAILWAY_CREATE_PLUGIN", {
|
|
23
23
|
slug: "railway-create-plugin",
|
|
24
24
|
name: "Create Plugin",
|
|
@@ -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}).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.
|
|
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"}
|
|
@@ -6,17 +6,17 @@ declare const RailwayCreatePluginInput: z.ZodObject<{
|
|
|
6
6
|
projectId: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RailwayCreatePluginOutput: z.ZodObject<{
|
|
9
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
12
12
|
message: z.ZodNullable<z.ZodString>;
|
|
13
13
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
14
|
line: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
column: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
extensions: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const railwayCreatePlugin: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
name: string;
|
|
22
22
|
projectId: string;
|
|
@@ -6,17 +6,17 @@ declare const RailwayCreatePluginInput: z.ZodObject<{
|
|
|
6
6
|
projectId: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const RailwayCreatePluginOutput: z.ZodObject<{
|
|
9
|
-
data: z.ZodOptional<z.ZodNullable<z.
|
|
9
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10
10
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
12
12
|
message: z.ZodNullable<z.ZodString>;
|
|
13
13
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
14
|
line: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
column: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
extensions: z.ZodOptional<z.ZodNullable<z.
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
extensions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const railwayCreatePlugin: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
name: string;
|
|
22
22
|
projectId: string;
|
|
@@ -8,22 +8,22 @@ const RailwayCreatePluginInput = z.object({
|
|
|
8
8
|
const RailwayCreatePlugin_GraphQLErrorLocationSchema = z.object({
|
|
9
9
|
line: z.number().int().describe("The line number in the GraphQL document where the error occurred (starting from 1).").nullable(),
|
|
10
10
|
column: z.number().int().describe("The column number in the GraphQL document where the error occurred (starting from 1).").nullable()
|
|
11
|
-
}).describe("Location of a GraphQL error in the query document");
|
|
11
|
+
}).passthrough().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
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
|
-
extensions: z.
|
|
17
|
-
}).describe("Detailed information about a GraphQL execution error");
|
|
16
|
+
extensions: z.record(z.string(), z.unknown()).describe("Map containing custom error information. Reserved for implementers to add additional context to errors.").nullable().optional()
|
|
17
|
+
}).passthrough().describe("Detailed information about a GraphQL execution error");
|
|
18
18
|
const railwayCreatePlugin = action("RAILWAY_CREATE_PLUGIN", {
|
|
19
19
|
slug: "railway-create-plugin",
|
|
20
20
|
name: "Create Plugin",
|
|
21
21
|
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.",
|
|
22
22
|
input: RailwayCreatePluginInput,
|
|
23
23
|
output: z.object({
|
|
24
|
-
data: z.
|
|
24
|
+
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(),
|
|
25
25
|
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()
|
|
26
|
-
}).describe("Response from the pluginCreate GraphQL mutation")
|
|
26
|
+
}).passthrough().describe("Response from the pluginCreate GraphQL mutation")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { railwayCreatePlugin };
|
|
@@ -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}).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.
|
|
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"}
|
|
@@ -7,7 +7,7 @@ const RailwayDeleteVariableInput = zod.z.object({
|
|
|
7
7
|
service_id: zod.z.string().describe("The unique identifier of the service. If not provided, variables will be deleted at the environment level").optional(),
|
|
8
8
|
environment_id: zod.z.string().describe("The unique identifier of the environment containing the variable")
|
|
9
9
|
}).describe("Request model for deleting an environment variable.");
|
|
10
|
-
const RailwayDeleteVariableOutput = zod.z.object({ typename: zod.z.string().describe("The GraphQL typename of the response").nullable().optional() }).describe("Complete response from the variableDelete GraphQL mutation.");
|
|
10
|
+
const RailwayDeleteVariableOutput = zod.z.object({ typename: zod.z.string().describe("The GraphQL typename of the response").nullable().optional() }).passthrough().describe("Complete response from the variableDelete GraphQL mutation.");
|
|
11
11
|
const railwayDeleteVariable = require_action.action("RAILWAY_DELETE_VARIABLE", {
|
|
12
12
|
slug: "railway-delete-variable",
|
|
13
13
|
name: "Delete Variable",
|
|
@@ -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}).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;
|
|
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"}
|
|
@@ -9,7 +9,7 @@ declare const RailwayDeleteVariableInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const RailwayDeleteVariableOutput: z.ZodObject<{
|
|
11
11
|
typename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const railwayDeleteVariable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
name: string;
|
|
15
15
|
project_id: string;
|
|
@@ -9,7 +9,7 @@ declare const RailwayDeleteVariableInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const RailwayDeleteVariableOutput: z.ZodObject<{
|
|
11
11
|
typename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const railwayDeleteVariable: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
name: string;
|
|
15
15
|
project_id: string;
|
|
@@ -10,7 +10,7 @@ const railwayDeleteVariable = action("RAILWAY_DELETE_VARIABLE", {
|
|
|
10
10
|
service_id: z.string().describe("The unique identifier of the service. If not provided, variables will be deleted at the environment level").optional(),
|
|
11
11
|
environment_id: z.string().describe("The unique identifier of the environment containing the variable")
|
|
12
12
|
}).describe("Request model for deleting an environment variable."),
|
|
13
|
-
output: z.object({ typename: z.string().describe("The GraphQL typename of the response").nullable().optional() }).describe("Complete response from the variableDelete GraphQL mutation.")
|
|
13
|
+
output: z.object({ typename: z.string().describe("The GraphQL typename of the response").nullable().optional() }).passthrough().describe("Complete response from the variableDelete GraphQL mutation.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { railwayDeleteVariable };
|
|
@@ -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}).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,
|
|
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"}
|
|
@@ -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.").nullable() }).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() }).passthrough().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 = 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;
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const RailwayDeleteVolumeInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RailwayDeleteVolumeOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const railwayDeleteVolume: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
volume_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RailwayDeleteVolumeInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RailwayDeleteVolumeOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const railwayDeleteVolume: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
volume_id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -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.").nullable() }).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() }).passthrough().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 = 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,
|
|
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"}
|
|
@@ -2,15 +2,15 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-workspace.ts
|
|
4
4
|
const RailwayDeleteWorkspaceInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the workspace to delete. Example: 'abc123-def4-5678-ghij-klmnopqrstuv'") }).describe("Request schema for `DeleteWorkspace`");
|
|
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.");
|
|
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() }).passthrough().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
8
|
message: zod.z.string().describe("Human-readable error message describing what went wrong.").nullable()
|
|
9
|
-
}).describe("Error information when the mutation fails validation.");
|
|
9
|
+
}).passthrough().describe("Error information when the mutation fails validation.");
|
|
10
10
|
const RailwayDeleteWorkspaceOutput = zod.z.object({
|
|
11
11
|
data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),
|
|
12
12
|
errors: zod.z.array(RailwayDeleteWorkspace_UserErrorSchema).describe("GraphQL-level errors that occurred during the mutation.").nullable().optional()
|
|
13
|
-
}).describe("Complete response from the workspaceDelete GraphQL mutation.");
|
|
13
|
+
}).passthrough().describe("Complete response from the workspaceDelete GraphQL mutation.");
|
|
14
14
|
const railwayDeleteWorkspace = require_action.action("RAILWAY_DELETE_WORKSPACE", {
|
|
15
15
|
slug: "railway-delete-workspace",
|
|
16
16
|
name: "Delete workspace",
|
|
@@ -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}).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;
|
|
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"}
|
|
@@ -7,12 +7,12 @@ declare const RailwayDeleteWorkspaceInput: z.ZodObject<{
|
|
|
7
7
|
declare const RailwayDeleteWorkspaceOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
deletedWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>>;
|
|
11
11
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
field: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const railwayDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,12 +7,12 @@ declare const RailwayDeleteWorkspaceInput: z.ZodObject<{
|
|
|
7
7
|
declare const RailwayDeleteWorkspaceOutput: z.ZodObject<{
|
|
8
8
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
deletedWorkspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>>;
|
|
11
11
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
field: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
13
|
message: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const railwayDeleteWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,11 +2,11 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/delete-workspace.ts
|
|
4
4
|
const RailwayDeleteWorkspaceInput = z.object({ id: z.string().describe("The unique identifier of the workspace to delete. Example: 'abc123-def4-5678-ghij-klmnopqrstuv'") }).describe("Request schema for `DeleteWorkspace`");
|
|
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.");
|
|
5
|
+
const RailwayDeleteWorkspace_DeleteWorkspaceDataSchema = z.object({ deletedWorkspaceId: z.string().describe("The ID of the deleted workspace. Present when the deletion is successful.").nullable().optional() }).passthrough().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
8
|
message: z.string().describe("Human-readable error message describing what went wrong.").nullable()
|
|
9
|
-
}).describe("Error information when the mutation fails validation.");
|
|
9
|
+
}).passthrough().describe("Error information when the mutation fails validation.");
|
|
10
10
|
const railwayDeleteWorkspace = action("RAILWAY_DELETE_WORKSPACE", {
|
|
11
11
|
slug: "railway-delete-workspace",
|
|
12
12
|
name: "Delete workspace",
|
|
@@ -15,7 +15,7 @@ const railwayDeleteWorkspace = action("RAILWAY_DELETE_WORKSPACE", {
|
|
|
15
15
|
output: z.object({
|
|
16
16
|
data: RailwayDeleteWorkspace_DeleteWorkspaceDataSchema.nullable().optional(),
|
|
17
17
|
errors: z.array(RailwayDeleteWorkspace_UserErrorSchema).describe("GraphQL-level errors that occurred during the mutation.").nullable().optional()
|
|
18
|
-
}).describe("Complete response from the workspaceDelete GraphQL mutation.")
|
|
18
|
+
}).passthrough().describe("Complete response from the workspaceDelete GraphQL mutation.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { railwayDeleteWorkspace };
|
|
@@ -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}).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;
|
|
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"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/disconnect-user-discord.ts
|
|
4
4
|
const RailwayDisconnectUserDiscordInput = zod.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.");
|
|
5
|
-
const RailwayDisconnectUserDiscordOutput = zod.z.object({ success: zod.z.boolean().describe("Whether the Discord account was successfully disconnected.").nullable().optional() }).describe("Response model for the Discord disconnect operation.");
|
|
5
|
+
const RailwayDisconnectUserDiscordOutput = zod.z.object({ success: zod.z.boolean().describe("Whether the Discord account was successfully disconnected.").nullable().optional() }).passthrough().describe("Response model for the Discord disconnect operation.");
|
|
6
6
|
const railwayDisconnectUserDiscord = require_action.action("RAILWAY_DISCONNECT_USER_DISCORD", {
|
|
7
7
|
slug: "railway-disconnect-user-discord",
|
|
8
8
|
name: "Disconnect Discord account",
|
|
@@ -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}).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;
|
|
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"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RailwayDisconnectUserDiscordInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const RailwayDisconnectUserDiscordOutput: z.ZodObject<{
|
|
6
6
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
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]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { railwayDisconnectUserDiscord };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RailwayDisconnectUserDiscordInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const RailwayDisconnectUserDiscordOutput: z.ZodObject<{
|
|
6
6
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
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]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { railwayDisconnectUserDiscord };
|
|
@@ -5,7 +5,7 @@ const railwayDisconnectUserDiscord = action("RAILWAY_DISCONNECT_USER_DISCORD", {
|
|
|
5
5
|
name: "Disconnect Discord account",
|
|
6
6
|
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.",
|
|
7
7
|
input: 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."),
|
|
8
|
-
output: z.object({ success: z.boolean().describe("Whether the Discord account was successfully disconnected.").nullable().optional() }).describe("Response model for the Discord disconnect operation.")
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Whether the Discord account was successfully disconnected.").nullable().optional() }).passthrough().describe("Response model for the Discord disconnect operation.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { railwayDisconnectUserDiscord };
|
|
@@ -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 = 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,
|
|
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}).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":";;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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const RailwayGetDeploymentLogs_LogEntrySchema = zod.z.object({
|
|
|
9
9
|
message: zod.z.string().describe("The log message content.").nullable().optional(),
|
|
10
10
|
severity: zod.z.string().describe("The log severity level (e.g., 'INFO', 'WARN', 'ERROR').").nullable().optional(),
|
|
11
11
|
timestamp: zod.z.string().describe("ISO 8601 timestamp when the log entry was recorded.").nullable().optional()
|
|
12
|
-
}).describe("A single deployment log entry.");
|
|
13
|
-
const RailwayGetDeploymentLogsOutput = zod.z.object({ deployment_logs: zod.z.array(RailwayGetDeploymentLogs_LogEntrySchema).describe("List of runtime log entries for the deployment.").nullable().optional() }).describe("Response schema for retrieving deployment logs.");
|
|
12
|
+
}).passthrough().describe("A single deployment log entry.");
|
|
13
|
+
const RailwayGetDeploymentLogsOutput = zod.z.object({ deployment_logs: zod.z.array(RailwayGetDeploymentLogs_LogEntrySchema).describe("List of runtime log entries for the deployment.").nullable().optional() }).passthrough().describe("Response schema for retrieving deployment logs.");
|
|
14
14
|
const railwayGetDeploymentLogs = require_action.action("RAILWAY_GET_DEPLOYMENT_LOGS", {
|
|
15
15
|
slug: "railway-get-deployment-logs",
|
|
16
16
|
name: "Get Deployment Logs",
|
|
@@ -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 = 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;
|
|
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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,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,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const RailwayGetDeploymentLogsOutput: z.ZodObject<{
|
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
severity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const railwayGetDeploymentLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
deployment_id: string;
|
|
17
17
|
limit?: number | undefined;
|
|
@@ -10,8 +10,8 @@ declare const RailwayGetDeploymentLogsOutput: z.ZodObject<{
|
|
|
10
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
severity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
14
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const railwayGetDeploymentLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
deployment_id: string;
|
|
17
17
|
limit?: number | undefined;
|
|
@@ -9,13 +9,13 @@ const RailwayGetDeploymentLogs_LogEntrySchema = z.object({
|
|
|
9
9
|
message: z.string().describe("The log message content.").nullable().optional(),
|
|
10
10
|
severity: z.string().describe("The log severity level (e.g., 'INFO', 'WARN', 'ERROR').").nullable().optional(),
|
|
11
11
|
timestamp: z.string().describe("ISO 8601 timestamp when the log entry was recorded.").nullable().optional()
|
|
12
|
-
}).describe("A single deployment log entry.");
|
|
12
|
+
}).passthrough().describe("A single deployment log entry.");
|
|
13
13
|
const railwayGetDeploymentLogs = action("RAILWAY_GET_DEPLOYMENT_LOGS", {
|
|
14
14
|
slug: "railway-get-deployment-logs",
|
|
15
15
|
name: "Get Deployment Logs",
|
|
16
16
|
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).",
|
|
17
17
|
input: RailwayGetDeploymentLogsInput,
|
|
18
|
-
output: z.object({ deployment_logs: z.array(RailwayGetDeploymentLogs_LogEntrySchema).describe("List of runtime log entries for the deployment.").nullable().optional() }).describe("Response schema for retrieving deployment logs.")
|
|
18
|
+
output: z.object({ deployment_logs: z.array(RailwayGetDeploymentLogs_LogEntrySchema).describe("List of runtime log entries for the deployment.").nullable().optional() }).passthrough().describe("Response schema for retrieving deployment logs.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { railwayGetDeploymentLogs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-deployment-logs.mjs","names":[],"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,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC5G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,0CAA0C,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"get-deployment-logs.mjs","names":[],"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}).passthrough().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}).passthrough().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,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AAC5G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,0CAA0C,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,iBAAiB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|