@keystrokehq/railway 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-plugin.cjs +1 -0
- package/dist/actions/create-plugin.cjs.map +1 -1
- package/dist/actions/create-plugin.d.cts +3 -16
- package/dist/actions/create-plugin.d.cts.map +1 -1
- package/dist/actions/create-plugin.d.mts +3 -16
- package/dist/actions/create-plugin.d.mts.map +1 -1
- package/dist/actions/create-plugin.mjs +1 -0
- package/dist/actions/create-plugin.mjs.map +1 -1
- package/dist/actions/delete-variable.cjs +1 -0
- package/dist/actions/delete-variable.cjs.map +1 -1
- package/dist/actions/delete-variable.d.cts +3 -18
- package/dist/actions/delete-variable.d.cts.map +1 -1
- package/dist/actions/delete-variable.d.mts +3 -18
- package/dist/actions/delete-variable.d.mts.map +1 -1
- package/dist/actions/delete-variable.mjs +1 -0
- package/dist/actions/delete-variable.mjs.map +1 -1
- package/dist/actions/delete-volume.cjs +1 -0
- package/dist/actions/delete-volume.cjs.map +1 -1
- package/dist/actions/delete-volume.d.cts +3 -15
- package/dist/actions/delete-volume.d.cts.map +1 -1
- package/dist/actions/delete-volume.d.mts +3 -15
- package/dist/actions/delete-volume.d.mts.map +1 -1
- package/dist/actions/delete-volume.mjs +1 -0
- package/dist/actions/delete-volume.mjs.map +1 -1
- package/dist/actions/delete-workspace.cjs +1 -0
- package/dist/actions/delete-workspace.cjs.map +1 -1
- package/dist/actions/delete-workspace.d.cts +3 -15
- package/dist/actions/delete-workspace.d.cts.map +1 -1
- package/dist/actions/delete-workspace.d.mts +3 -15
- package/dist/actions/delete-workspace.d.mts.map +1 -1
- package/dist/actions/delete-workspace.mjs +1 -0
- package/dist/actions/delete-workspace.mjs.map +1 -1
- package/dist/actions/disconnect-user-discord.cjs +1 -0
- package/dist/actions/disconnect-user-discord.cjs.map +1 -1
- package/dist/actions/disconnect-user-discord.d.cts +3 -13
- package/dist/actions/disconnect-user-discord.d.cts.map +1 -1
- package/dist/actions/disconnect-user-discord.d.mts +3 -13
- package/dist/actions/disconnect-user-discord.d.mts.map +1 -1
- package/dist/actions/disconnect-user-discord.mjs +1 -0
- package/dist/actions/disconnect-user-discord.mjs.map +1 -1
- package/dist/actions/get-deployment-logs.cjs +1 -0
- package/dist/actions/get-deployment-logs.cjs.map +1 -1
- package/dist/actions/get-deployment-logs.d.cts +3 -16
- package/dist/actions/get-deployment-logs.d.cts.map +1 -1
- package/dist/actions/get-deployment-logs.d.mts +3 -16
- package/dist/actions/get-deployment-logs.d.mts.map +1 -1
- package/dist/actions/get-deployment-logs.mjs +1 -0
- package/dist/actions/get-deployment-logs.mjs.map +1 -1
- package/dist/actions/get-environment.cjs +1 -0
- package/dist/actions/get-environment.cjs.map +1 -1
- package/dist/actions/get-environment.d.cts +3 -15
- package/dist/actions/get-environment.d.cts.map +1 -1
- package/dist/actions/get-environment.d.mts +3 -15
- package/dist/actions/get-environment.d.mts.map +1 -1
- package/dist/actions/get-environment.mjs +1 -0
- package/dist/actions/get-environment.mjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.cjs +1 -0
- package/dist/actions/get-git-hub-pr-info.cjs.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.cts +3 -16
- package/dist/actions/get-git-hub-pr-info.d.cts.map +1 -1
- package/dist/actions/get-git-hub-pr-info.d.mts +3 -16
- package/dist/actions/get-git-hub-pr-info.d.mts.map +1 -1
- package/dist/actions/get-git-hub-pr-info.mjs +1 -0
- package/dist/actions/get-git-hub-pr-info.mjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.cjs +1 -0
- package/dist/actions/get-user-kickback-earnings.cjs.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.cts +3 -13
- package/dist/actions/get-user-kickback-earnings.d.cts.map +1 -1
- package/dist/actions/get-user-kickback-earnings.d.mts +3 -13
- package/dist/actions/get-user-kickback-earnings.d.mts.map +1 -1
- package/dist/actions/get-user-kickback-earnings.mjs +1 -0
- package/dist/actions/get-user-kickback-earnings.mjs.map +1 -1
- package/dist/actions/list-api-tokens.cjs +1 -0
- package/dist/actions/list-api-tokens.cjs.map +1 -1
- package/dist/actions/list-api-tokens.d.cts +3 -13
- package/dist/actions/list-api-tokens.d.cts.map +1 -1
- package/dist/actions/list-api-tokens.d.mts +3 -13
- package/dist/actions/list-api-tokens.d.mts.map +1 -1
- package/dist/actions/list-api-tokens.mjs +1 -0
- package/dist/actions/list-api-tokens.mjs.map +1 -1
- package/dist/actions/list-environment-patches.cjs +1 -0
- package/dist/actions/list-environment-patches.cjs.map +1 -1
- package/dist/actions/list-environment-patches.d.cts +3 -17
- package/dist/actions/list-environment-patches.d.cts.map +1 -1
- package/dist/actions/list-environment-patches.d.mts +3 -17
- package/dist/actions/list-environment-patches.d.mts.map +1 -1
- package/dist/actions/list-environment-patches.mjs +1 -0
- package/dist/actions/list-environment-patches.mjs.map +1 -1
- package/dist/actions/list-git-hub-repos.cjs +1 -0
- package/dist/actions/list-git-hub-repos.cjs.map +1 -1
- package/dist/actions/list-git-hub-repos.d.cts +3 -13
- package/dist/actions/list-git-hub-repos.d.cts.map +1 -1
- package/dist/actions/list-git-hub-repos.d.mts +3 -13
- package/dist/actions/list-git-hub-repos.d.mts.map +1 -1
- package/dist/actions/list-git-hub-repos.mjs +1 -0
- package/dist/actions/list-git-hub-repos.mjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.cjs +1 -0
- package/dist/actions/list-git-hub-writable-scopes.cjs.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.cts +3 -13
- package/dist/actions/list-git-hub-writable-scopes.d.cts.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.d.mts +3 -13
- package/dist/actions/list-git-hub-writable-scopes.d.mts.map +1 -1
- package/dist/actions/list-git-hub-writable-scopes.mjs +1 -0
- package/dist/actions/list-git-hub-writable-scopes.mjs.map +1 -1
- package/dist/actions/list-integration-auths.cjs +1 -0
- package/dist/actions/list-integration-auths.cjs.map +1 -1
- package/dist/actions/list-integration-auths.d.cts +3 -13
- package/dist/actions/list-integration-auths.d.cts.map +1 -1
- package/dist/actions/list-integration-auths.d.mts +3 -13
- package/dist/actions/list-integration-auths.d.mts.map +1 -1
- package/dist/actions/list-integration-auths.mjs +1 -0
- package/dist/actions/list-integration-auths.mjs.map +1 -1
- package/dist/actions/list-notification-deliveries.cjs +1 -0
- package/dist/actions/list-notification-deliveries.cjs.map +1 -1
- package/dist/actions/list-notification-deliveries.d.cts +3 -13
- package/dist/actions/list-notification-deliveries.d.cts.map +1 -1
- package/dist/actions/list-notification-deliveries.d.mts +3 -13
- package/dist/actions/list-notification-deliveries.d.mts.map +1 -1
- package/dist/actions/list-notification-deliveries.mjs +1 -0
- package/dist/actions/list-notification-deliveries.mjs.map +1 -1
- package/dist/actions/list-trusted-domains.cjs +1 -0
- package/dist/actions/list-trusted-domains.cjs.map +1 -1
- package/dist/actions/list-trusted-domains.d.cts +3 -15
- package/dist/actions/list-trusted-domains.d.cts.map +1 -1
- package/dist/actions/list-trusted-domains.d.mts +3 -15
- package/dist/actions/list-trusted-domains.d.mts.map +1 -1
- package/dist/actions/list-trusted-domains.mjs +1 -0
- package/dist/actions/list-trusted-domains.mjs.map +1 -1
- package/dist/actions/update-project.cjs +1 -0
- package/dist/actions/update-project.cjs.map +1 -1
- package/dist/actions/update-project.d.cts +3 -20
- package/dist/actions/update-project.d.cts.map +1 -1
- package/dist/actions/update-project.d.mts +3 -20
- package/dist/actions/update-project.d.mts.map +1 -1
- package/dist/actions/update-project.mjs +1 -0
- package/dist/actions/update-project.mjs.map +1 -1
- package/dist/actions/update-service-instance.cjs +1 -0
- package/dist/actions/update-service-instance.cjs.map +1 -1
- package/dist/actions/update-service-instance.d.cts +3 -31
- package/dist/actions/update-service-instance.d.cts.map +1 -1
- package/dist/actions/update-service-instance.d.mts +3 -31
- package/dist/actions/update-service-instance.d.mts.map +1 -1
- package/dist/actions/update-service-instance.mjs +1 -0
- package/dist/actions/update-service-instance.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trusted-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trusted-domains.cjs","names":["z","action"],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains: AppAction<\n typeof RailwayListTrustedDomainsInput,\n typeof RailwayListTrustedDomainsOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,iBAAiBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { railway } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-trusted-domains.d.ts
|
|
@@ -11,21 +13,7 @@ declare const RailwayListTrustedDomainsOutput: z.ZodObject<{
|
|
|
11
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const railwayListTrustedDomains:
|
|
15
|
-
workspaceId?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const railwayListTrustedDomains: AppAction<typeof RailwayListTrustedDomainsInput, typeof RailwayListTrustedDomainsOutput, typeof railway.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { railwayListTrustedDomains };
|
|
31
19
|
//# sourceMappingURL=list-trusted-domains.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trusted-domains.d.cts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trusted-domains.d.cts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { railway } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-trusted-domains.d.ts
|
|
@@ -11,21 +13,7 @@ declare const RailwayListTrustedDomainsOutput: z.ZodObject<{
|
|
|
11
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const railwayListTrustedDomains:
|
|
15
|
-
workspaceId?: string | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const railwayListTrustedDomains: AppAction<typeof RailwayListTrustedDomainsInput, typeof RailwayListTrustedDomainsOutput, typeof railway.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { railwayListTrustedDomains };
|
|
31
19
|
//# sourceMappingURL=list-trusted-domains.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trusted-domains.d.mts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trusted-domains.d.mts","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-trusted-domains.mjs","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-trusted-domains.mjs","names":[],"sources":["../../src/actions/list-trusted-domains.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayListTrustedDomainsInput = z.object({\n workspaceId: z.string().describe(\"The workspace ID to retrieve trusted domains for. If not provided, uses the authenticated user's workspace.\").optional(),\n}).describe(\"Request parameters for listing Railway trusted domains.\");\nconst RailwayListTrustedDomains_TrustedDomainSchema = z.object({\n id: z.string().describe(\"The unique identifier of the trusted domain.\").nullable(),\n domain: z.string().describe(\"The domain name that is trusted for workspace invitations.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the trusted domain was created.\").nullable().optional(),\n}).passthrough().describe(\"Individual trusted domain data.\");\nexport const RailwayListTrustedDomainsOutput = z.object({\n trusted_domains: z.array(RailwayListTrustedDomains_TrustedDomainSchema).describe(\"List of trusted domains for the workspace.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing Railway trusted domains.\");\n\nexport const railwayListTrustedDomains: AppAction<\n typeof RailwayListTrustedDomainsInput,\n typeof RailwayListTrustedDomainsOutput,\n typeof railway.credential\n> = action(\"RAILWAY_LIST_TRUSTED_DOMAINS\", {\n slug: \"railway-list-trusted-domains\",\n name: \"List Railway Trusted Domains\",\n description: \"Fetch all trusted domains for the authenticated Railway workspace. Use this action when you need to retrieve all trusted domains configured for workspace membership invitations. Trusted domains allow users with emails from those domains to be invited to the workspace without individual invitations. This is useful for auditing existing domain configurations or obtaining domain IDs for deletion operations. This action requires authentication and will return domains from the workspace associated with the provided credentials.\",\n input: RailwayListTrustedDomainsInput,\n output: RailwayListTrustedDomainsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,EAC3J,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,iBAAiB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.cjs","names":["z","action"],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-project.cjs","names":["z","action"],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject: AppAction<\n typeof RailwayUpdateProjectInput,\n typeof RailwayUpdateProjectOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,OAAOA,IAAAA,EAAE,OAAO;EAChB,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACtK,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;EAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { railway } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-project.d.ts
|
|
@@ -14,26 +16,7 @@ declare const RailwayUpdateProjectOutput: z.ZodObject<{
|
|
|
14
16
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const railwayUpdateProject:
|
|
18
|
-
id: string;
|
|
19
|
-
input: {
|
|
20
|
-
is_public?: boolean | undefined;
|
|
21
|
-
pr_deploys?: boolean | undefined;
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const railwayUpdateProject: AppAction<typeof RailwayUpdateProjectInput, typeof RailwayUpdateProjectOutput, typeof railway.credential>;
|
|
37
20
|
//#endregion
|
|
38
21
|
export { railwayUpdateProject };
|
|
39
22
|
//# sourceMappingURL=update-project.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.d.cts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-project.d.cts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { railway } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-project.d.ts
|
|
@@ -14,26 +16,7 @@ declare const RailwayUpdateProjectOutput: z.ZodObject<{
|
|
|
14
16
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const railwayUpdateProject:
|
|
18
|
-
id: string;
|
|
19
|
-
input: {
|
|
20
|
-
is_public?: boolean | undefined;
|
|
21
|
-
pr_deploys?: boolean | undefined;
|
|
22
|
-
description?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const railwayUpdateProject: AppAction<typeof RailwayUpdateProjectInput, typeof RailwayUpdateProjectOutput, typeof railway.credential>;
|
|
37
20
|
//#endregion
|
|
38
21
|
export { railwayUpdateProject };
|
|
39
22
|
//# sourceMappingURL=update-project.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.d.mts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-project.d.mts","names":[],"sources":["../../src/actions/update-project.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAQzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-project.mjs","names":[],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-project.mjs","names":[],"sources":["../../src/actions/update-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateProjectInput = z.object({\n id: z.string().describe(\"The unique identifier of the project to update.\"),\n input: z.object({\n is_public: z.boolean().describe(\"Make the project publicly visible. When set to true, the project and its deployments are visible to anyone with the link.\").optional(),\n pr_deploys: z.boolean().describe(\"Enable pull request preview deployments. When enabled, Railway will automatically create preview environments for pull requests.\").optional(),\n description: z.string().describe(\"A brief description of the project.\").optional(),\n}).describe(\"The update configuration for the project.\"),\n}).describe(\"Request parameters for updating a Railway project.\");\nexport const RailwayUpdateProjectOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated project.\").nullable(),\n name: z.string().describe(\"The name of the project after update.\").nullable().optional(),\n description: z.string().describe(\"The description of the project after update.\").nullable().optional(),\n}).passthrough().describe(\"Response from the project update mutation.\");\n\nexport const railwayUpdateProject: AppAction<\n typeof RailwayUpdateProjectInput,\n typeof RailwayUpdateProjectOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_PROJECT\", {\n slug: \"railway-update-project\",\n name: \"Update Project\",\n description: \"Update project settings and configuration on Railway. Use this action when you need to modify project properties such as description, visibility settings, or PR deploy preferences. The following fields can be updated: - description: A brief description of the project - isPublic: Whether the project is publicly visible - prDeploys: Whether pull request preview deployments are enabled This is an idempotent operation — updating a project with the same settings multiple times will not change the result after the first update.\",\n input: RailwayUpdateProjectInput,\n output: RailwayUpdateProjectOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACzE,OAAO,EAAE,OAAO;GAChB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;GACtK,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;GAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACnF,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACvD,CAAC,CAAC,CAAC,SAAS,oDAeH;CACP,QAfwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-instance.cjs","names":["z","action"],"sources":["../../src/actions/update-service-instance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateServiceInstanceInput = z.object({\n input: z.object({\n region: z.string().describe(\"Deployment region (e.g., 'us-west1', 'eu-west1').\").optional(),\n num_replicas: z.number().int().describe(\"Number of replicas. Default: 1.\").optional(),\n build_command: z.string().describe(\"Custom build command.\").optional(),\n cron_schedule: z.string().describe(\"Cron expression for scheduled deployments (e.g., '0 0 * * *').\").optional(),\n start_command: z.string().describe(\"Custom start command (e.g., 'npm run start').\").optional(),\n root_directory: z.string().describe(\"Root directory for monorepos.\").optional(),\n watch_patterns: z.array(z.string()).describe(\"File patterns to watch for automatic redeployments.\").optional(),\n dockerfile_path: z.string().describe(\"Custom Dockerfile path.\").optional(),\n healthcheck_path: z.string().describe(\"Health check endpoint path.\").optional(),\n sleep_application: z.boolean().describe(\"Enable sleep when idle to reduce resource usage.\").optional(),\n healthcheck_timeout: z.number().int().describe(\"Health check timeout in seconds. Default: 300.\").optional(),\n restart_policy_type: z.enum([\"ON_FAILURE\", \"ALWAYS\", \"NEVER\"]).describe(\"Restart policy types for service instances.\").optional(),\n restart_policy_max_retries: z.number().int().describe(\"Maximum restart retries. Default: 10.\").optional(),\n}).describe(\"The update configuration for the service instance.\"),\n service_id: z.string().describe(\"The unique identifier of the service to update.\"),\n environment_id: z.string().describe(\"The unique identifier of the environment.\"),\n}).describe(\"Request parameters for updating a Railway service instance.\");\nexport const RailwayUpdateServiceInstanceOutput = z.object({\n service_instance_update: z.boolean().describe(\"Returns true if the update was successful, null if there was an error.\").nullable().optional(),\n}).passthrough().describe(\"Response from the service instance update mutation.\");\n\nexport const railwayUpdateServiceInstance = action(\"RAILWAY_UPDATE_SERVICE_INSTANCE\", {\n slug: \"railway-update-service-instance\",\n name: \"Update Service Instance\",\n description: \"Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent operation. The following fields can be updated: - startCommand: Custom start command for the service - buildCommand: Custom build command - rootDirectory: Root directory for monorepo setups - healthcheckPath: Health check endpoint path - healthcheckTimeout: Health check timeout in seconds - region: Deployment region - numReplicas: Number of service replicas - restartPolicyType: Restart policy (ON_FAILURE, ALWAYS, NEVER) - restartPolicyMaxRetries: Maximum restart retries - cronSchedule: Cron expression for scheduled deployments - sleepApplication: Enable/disable sleep when idle - dockerfilePath: Custom Dockerfile path - watchPatterns: File patterns for automatic redeployment\",\n input: RailwayUpdateServiceInstanceInput,\n output: RailwayUpdateServiceInstanceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-service-instance.cjs","names":["z","action"],"sources":["../../src/actions/update-service-instance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateServiceInstanceInput = z.object({\n input: z.object({\n region: z.string().describe(\"Deployment region (e.g., 'us-west1', 'eu-west1').\").optional(),\n num_replicas: z.number().int().describe(\"Number of replicas. Default: 1.\").optional(),\n build_command: z.string().describe(\"Custom build command.\").optional(),\n cron_schedule: z.string().describe(\"Cron expression for scheduled deployments (e.g., '0 0 * * *').\").optional(),\n start_command: z.string().describe(\"Custom start command (e.g., 'npm run start').\").optional(),\n root_directory: z.string().describe(\"Root directory for monorepos.\").optional(),\n watch_patterns: z.array(z.string()).describe(\"File patterns to watch for automatic redeployments.\").optional(),\n dockerfile_path: z.string().describe(\"Custom Dockerfile path.\").optional(),\n healthcheck_path: z.string().describe(\"Health check endpoint path.\").optional(),\n sleep_application: z.boolean().describe(\"Enable sleep when idle to reduce resource usage.\").optional(),\n healthcheck_timeout: z.number().int().describe(\"Health check timeout in seconds. Default: 300.\").optional(),\n restart_policy_type: z.enum([\"ON_FAILURE\", \"ALWAYS\", \"NEVER\"]).describe(\"Restart policy types for service instances.\").optional(),\n restart_policy_max_retries: z.number().int().describe(\"Maximum restart retries. Default: 10.\").optional(),\n}).describe(\"The update configuration for the service instance.\"),\n service_id: z.string().describe(\"The unique identifier of the service to update.\"),\n environment_id: z.string().describe(\"The unique identifier of the environment.\"),\n}).describe(\"Request parameters for updating a Railway service instance.\");\nexport const RailwayUpdateServiceInstanceOutput = z.object({\n service_instance_update: z.boolean().describe(\"Returns true if the update was successful, null if there was an error.\").nullable().optional(),\n}).passthrough().describe(\"Response from the service instance update mutation.\");\n\nexport const railwayUpdateServiceInstance: AppAction<\n typeof RailwayUpdateServiceInstanceInput,\n typeof RailwayUpdateServiceInstanceOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_SERVICE_INSTANCE\", {\n slug: \"railway-update-service-instance\",\n name: \"Update Service Instance\",\n description: \"Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent operation. The following fields can be updated: - startCommand: Custom start command for the service - buildCommand: Custom build command - rootDirectory: Root directory for monorepo setups - healthcheckPath: Health check endpoint path - healthcheckTimeout: Health check timeout in seconds - region: Deployment region - numReplicas: Number of service replicas - restartPolicyType: Restart policy (ON_FAILURE, ALWAYS, NEVER) - restartPolicyMaxRetries: Maximum restart retries - cronSchedule: Cron expression for scheduled deployments - sleepApplication: Enable/disable sleep when idle - dockerfilePath: Custom Dockerfile path - watchPatterns: File patterns for automatic redeployment\",\n input: RailwayUpdateServiceInstanceInput,\n output: RailwayUpdateServiceInstanceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO;EAChB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC9G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC9E,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC9E,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACrG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC1G,qBAAqBA,IAAAA,EAAE,KAAK;GAAC;GAAc;GAAU;EAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChI,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACjF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { railway } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-service-instance.d.ts
|
|
@@ -27,37 +29,7 @@ declare const RailwayUpdateServiceInstanceInput: z.ZodObject<{
|
|
|
27
29
|
declare const RailwayUpdateServiceInstanceOutput: z.ZodObject<{
|
|
28
30
|
service_instance_update: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const railwayUpdateServiceInstance:
|
|
31
|
-
input: {
|
|
32
|
-
region?: string | undefined;
|
|
33
|
-
num_replicas?: number | undefined;
|
|
34
|
-
build_command?: string | undefined;
|
|
35
|
-
cron_schedule?: string | undefined;
|
|
36
|
-
start_command?: string | undefined;
|
|
37
|
-
root_directory?: string | undefined;
|
|
38
|
-
watch_patterns?: string[] | undefined;
|
|
39
|
-
dockerfile_path?: string | undefined;
|
|
40
|
-
healthcheck_path?: string | undefined;
|
|
41
|
-
sleep_application?: boolean | undefined;
|
|
42
|
-
healthcheck_timeout?: number | undefined;
|
|
43
|
-
restart_policy_type?: "ON_FAILURE" | "ALWAYS" | "NEVER" | undefined;
|
|
44
|
-
restart_policy_max_retries?: number | undefined;
|
|
45
|
-
};
|
|
46
|
-
service_id: string;
|
|
47
|
-
environment_id: string;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const railwayUpdateServiceInstance: AppAction<typeof RailwayUpdateServiceInstanceInput, typeof RailwayUpdateServiceInstanceOutput, typeof railway.credential>;
|
|
61
33
|
//#endregion
|
|
62
34
|
export { railwayUpdateServiceInstance };
|
|
63
35
|
//# sourceMappingURL=update-service-instance.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-instance.d.cts","names":[],"sources":["../../src/actions/update-service-instance.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-service-instance.d.cts","names":[],"sources":["../../src/actions/update-service-instance.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { railway } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-service-instance.d.ts
|
|
@@ -27,37 +29,7 @@ declare const RailwayUpdateServiceInstanceInput: z.ZodObject<{
|
|
|
27
29
|
declare const RailwayUpdateServiceInstanceOutput: z.ZodObject<{
|
|
28
30
|
service_instance_update: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const railwayUpdateServiceInstance:
|
|
31
|
-
input: {
|
|
32
|
-
region?: string | undefined;
|
|
33
|
-
num_replicas?: number | undefined;
|
|
34
|
-
build_command?: string | undefined;
|
|
35
|
-
cron_schedule?: string | undefined;
|
|
36
|
-
start_command?: string | undefined;
|
|
37
|
-
root_directory?: string | undefined;
|
|
38
|
-
watch_patterns?: string[] | undefined;
|
|
39
|
-
dockerfile_path?: string | undefined;
|
|
40
|
-
healthcheck_path?: string | undefined;
|
|
41
|
-
sleep_application?: boolean | undefined;
|
|
42
|
-
healthcheck_timeout?: number | undefined;
|
|
43
|
-
restart_policy_type?: "ON_FAILURE" | "ALWAYS" | "NEVER" | undefined;
|
|
44
|
-
restart_policy_max_retries?: number | undefined;
|
|
45
|
-
};
|
|
46
|
-
service_id: string;
|
|
47
|
-
environment_id: string;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"railway", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const railwayUpdateServiceInstance: AppAction<typeof RailwayUpdateServiceInstanceInput, typeof RailwayUpdateServiceInstanceOutput, typeof railway.credential>;
|
|
61
33
|
//#endregion
|
|
62
34
|
export { railwayUpdateServiceInstance };
|
|
63
35
|
//# sourceMappingURL=update-service-instance.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-instance.d.mts","names":[],"sources":["../../src/actions/update-service-instance.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-service-instance.d.mts","names":[],"sources":["../../src/actions/update-service-instance.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAmBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-service-instance.mjs","names":[],"sources":["../../src/actions/update-service-instance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RailwayUpdateServiceInstanceInput = z.object({\n input: z.object({\n region: z.string().describe(\"Deployment region (e.g., 'us-west1', 'eu-west1').\").optional(),\n num_replicas: z.number().int().describe(\"Number of replicas. Default: 1.\").optional(),\n build_command: z.string().describe(\"Custom build command.\").optional(),\n cron_schedule: z.string().describe(\"Cron expression for scheduled deployments (e.g., '0 0 * * *').\").optional(),\n start_command: z.string().describe(\"Custom start command (e.g., 'npm run start').\").optional(),\n root_directory: z.string().describe(\"Root directory for monorepos.\").optional(),\n watch_patterns: z.array(z.string()).describe(\"File patterns to watch for automatic redeployments.\").optional(),\n dockerfile_path: z.string().describe(\"Custom Dockerfile path.\").optional(),\n healthcheck_path: z.string().describe(\"Health check endpoint path.\").optional(),\n sleep_application: z.boolean().describe(\"Enable sleep when idle to reduce resource usage.\").optional(),\n healthcheck_timeout: z.number().int().describe(\"Health check timeout in seconds. Default: 300.\").optional(),\n restart_policy_type: z.enum([\"ON_FAILURE\", \"ALWAYS\", \"NEVER\"]).describe(\"Restart policy types for service instances.\").optional(),\n restart_policy_max_retries: z.number().int().describe(\"Maximum restart retries. Default: 10.\").optional(),\n}).describe(\"The update configuration for the service instance.\"),\n service_id: z.string().describe(\"The unique identifier of the service to update.\"),\n environment_id: z.string().describe(\"The unique identifier of the environment.\"),\n}).describe(\"Request parameters for updating a Railway service instance.\");\nexport const RailwayUpdateServiceInstanceOutput = z.object({\n service_instance_update: z.boolean().describe(\"Returns true if the update was successful, null if there was an error.\").nullable().optional(),\n}).passthrough().describe(\"Response from the service instance update mutation.\");\n\nexport const railwayUpdateServiceInstance = action(\"RAILWAY_UPDATE_SERVICE_INSTANCE\", {\n slug: \"railway-update-service-instance\",\n name: \"Update Service Instance\",\n description: \"Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent operation. The following fields can be updated: - startCommand: Custom start command for the service - buildCommand: Custom build command - rootDirectory: Root directory for monorepo setups - healthcheckPath: Health check endpoint path - healthcheckTimeout: Health check timeout in seconds - region: Deployment region - numReplicas: Number of service replicas - restartPolicyType: Restart policy (ON_FAILURE, ALWAYS, NEVER) - restartPolicyMaxRetries: Maximum restart retries - cronSchedule: Cron expression for scheduled deployments - sleepApplication: Enable/disable sleep when idle - dockerfilePath: Custom Dockerfile path - watchPatterns: File patterns for automatic redeployment\",\n input: RailwayUpdateServiceInstanceInput,\n output: RailwayUpdateServiceInstanceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-service-instance.mjs","names":[],"sources":["../../src/actions/update-service-instance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { railway } from \"../app\";\n\nexport const RailwayUpdateServiceInstanceInput = z.object({\n input: z.object({\n region: z.string().describe(\"Deployment region (e.g., 'us-west1', 'eu-west1').\").optional(),\n num_replicas: z.number().int().describe(\"Number of replicas. Default: 1.\").optional(),\n build_command: z.string().describe(\"Custom build command.\").optional(),\n cron_schedule: z.string().describe(\"Cron expression for scheduled deployments (e.g., '0 0 * * *').\").optional(),\n start_command: z.string().describe(\"Custom start command (e.g., 'npm run start').\").optional(),\n root_directory: z.string().describe(\"Root directory for monorepos.\").optional(),\n watch_patterns: z.array(z.string()).describe(\"File patterns to watch for automatic redeployments.\").optional(),\n dockerfile_path: z.string().describe(\"Custom Dockerfile path.\").optional(),\n healthcheck_path: z.string().describe(\"Health check endpoint path.\").optional(),\n sleep_application: z.boolean().describe(\"Enable sleep when idle to reduce resource usage.\").optional(),\n healthcheck_timeout: z.number().int().describe(\"Health check timeout in seconds. Default: 300.\").optional(),\n restart_policy_type: z.enum([\"ON_FAILURE\", \"ALWAYS\", \"NEVER\"]).describe(\"Restart policy types for service instances.\").optional(),\n restart_policy_max_retries: z.number().int().describe(\"Maximum restart retries. Default: 10.\").optional(),\n}).describe(\"The update configuration for the service instance.\"),\n service_id: z.string().describe(\"The unique identifier of the service to update.\"),\n environment_id: z.string().describe(\"The unique identifier of the environment.\"),\n}).describe(\"Request parameters for updating a Railway service instance.\");\nexport const RailwayUpdateServiceInstanceOutput = z.object({\n service_instance_update: z.boolean().describe(\"Returns true if the update was successful, null if there was an error.\").nullable().optional(),\n}).passthrough().describe(\"Response from the service instance update mutation.\");\n\nexport const railwayUpdateServiceInstance: AppAction<\n typeof RailwayUpdateServiceInstanceInput,\n typeof RailwayUpdateServiceInstanceOutput,\n typeof railway.credential\n> = action(\"RAILWAY_UPDATE_SERVICE_INSTANCE\", {\n slug: \"railway-update-service-instance\",\n name: \"Update Service Instance\",\n description: \"Update build/deploy settings for a service in a specific environment on Railway. Use this action when you need to modify service configuration including commands, healthcheck, replicas, region, and cron schedule. This is an idempotent operation. The following fields can be updated: - startCommand: Custom start command for the service - buildCommand: Custom build command - rootDirectory: Root directory for monorepo setups - healthcheckPath: Health check endpoint path - healthcheckTimeout: Health check timeout in seconds - region: Deployment region - numReplicas: Number of service replicas - restartPolicyType: Restart policy (ON_FAILURE, ALWAYS, NEVER) - restartPolicyMaxRetries: Maximum restart retries - cronSchedule: Cron expression for scheduled deployments - sleepApplication: Enable/disable sleep when idle - dockerfilePath: Custom Dockerfile path - watchPatterns: File patterns for automatic redeployment\",\n input: RailwayUpdateServiceInstanceInput,\n output: RailwayUpdateServiceInstanceOutput,\n});\n"],"mappings":";;;AA6BA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/B+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO;GAChB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;GAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;GACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;GAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;GAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GAC9E,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;GAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACzE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GAC9E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GACrG,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;GAC1G,qBAAqB,EAAE,KAAK;IAAC;IAAc;IAAU;GAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;GAChI,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1G,CAAC,CAAC,CAAC,SAAS,oDAAoD;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACjF,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbgD,EAAE,OAAO,EACzD,yBAAyB,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const railway = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "railway",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.railway = railway;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const railway = defineApp({\n slug: \"railway\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const railway: KeystrokeApp<\"railway\", typeof credential> = defineApp({\n slug: \"railway\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const railway: KeystrokeApp<"railway", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { railway };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const railway: KeystrokeApp<"railway", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { railway };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const railway = defineApp({\n slug: \"railway\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const railway: KeystrokeApp<\"railway\", typeof credential> = defineApp({\n slug: \"railway\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { railway } from "./app.cjs";
|
|
1
2
|
import { railwayCreatePlugin } from "./actions/create-plugin.cjs";
|
|
2
3
|
import { railwayDeleteVariable } from "./actions/delete-variable.cjs";
|
|
3
4
|
import { railwayDeleteVolume } from "./actions/delete-volume.cjs";
|
|
@@ -16,6 +17,5 @@ import { railwayListNotificationDeliveries } from "./actions/list-notification-d
|
|
|
16
17
|
import { railwayListTrustedDomains } from "./actions/list-trusted-domains.cjs";
|
|
17
18
|
import { railwayUpdateProject } from "./actions/update-project.cjs";
|
|
18
19
|
import { railwayUpdateServiceInstance } from "./actions/update-service-instance.cjs";
|
|
19
|
-
import { railway } from "./app.cjs";
|
|
20
20
|
import { railwayCatalog } from "./catalog.cjs";
|
|
21
21
|
export { railway, railwayCatalog, railwayCreatePlugin, railwayDeleteVariable, railwayDeleteVolume, railwayDeleteWorkspace, railwayDisconnectUserDiscord, railwayGetDeploymentLogs, railwayGetEnvironment, railwayGetGitHubPrInfo, railwayGetUserKickbackEarnings, railwayListApiTokens, railwayListEnvironmentPatches, railwayListGitHubRepos, railwayListGitHubWritableScopes, railwayListIntegrationAuths, railwayListNotificationDeliveries, railwayListTrustedDomains, railwayUpdateProject, railwayUpdateServiceInstance };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { railway } from "./app.mjs";
|
|
1
2
|
import { railwayCreatePlugin } from "./actions/create-plugin.mjs";
|
|
2
3
|
import { railwayDeleteVariable } from "./actions/delete-variable.mjs";
|
|
3
4
|
import { railwayDeleteVolume } from "./actions/delete-volume.mjs";
|
|
@@ -16,6 +17,5 @@ import { railwayListNotificationDeliveries } from "./actions/list-notification-d
|
|
|
16
17
|
import { railwayListTrustedDomains } from "./actions/list-trusted-domains.mjs";
|
|
17
18
|
import { railwayUpdateProject } from "./actions/update-project.mjs";
|
|
18
19
|
import { railwayUpdateServiceInstance } from "./actions/update-service-instance.mjs";
|
|
19
|
-
import { railway } from "./app.mjs";
|
|
20
20
|
import { railwayCatalog } from "./catalog.mjs";
|
|
21
21
|
export { railway, railwayCatalog, railwayCreatePlugin, railwayDeleteVariable, railwayDeleteVolume, railwayDeleteWorkspace, railwayDisconnectUserDiscord, railwayGetDeploymentLogs, railwayGetEnvironment, railwayGetGitHubPrInfo, railwayGetUserKickbackEarnings, railwayListApiTokens, railwayListEnvironmentPatches, railwayListGitHubRepos, railwayListGitHubWritableScopes, railwayListIntegrationAuths, railwayListNotificationDeliveries, railwayListTrustedDomains, railwayUpdateProject, railwayUpdateServiceInstance };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/railway",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|