@railway/mcp-server
Version:
Official Railway MCP server
47 lines • 1.13 kB
TypeScript
//#region src/api/deploy-template.d.ts
type ServiceConfig = {
[key: string]: unknown;
};
type SerializedTemplateConfig = {
services: Record<string, ServiceConfig>;
};
type TemplateDeployResponse = {
projectId: string;
workflowId: string;
};
type Template = {
id: string;
name: string;
description: string;
category: string;
serializedConfig: SerializedTemplateConfig;
activeProjects: number;
health: number;
totalPayout: number;
isVerified: boolean;
};
declare const searchAndListTemplates: ({
searchQuery
}: {
searchQuery?: string;
}) => Promise<{
templates: Template[];
filteredCount: number;
totalCount: number;
}>;
declare const deployTemplate: ({
environmentId,
projectId,
serializedConfig,
templateId,
teamId
}: {
environmentId: string;
projectId: string;
serializedConfig: SerializedTemplateConfig;
templateId: string;
teamId?: string;
}) => Promise<TemplateDeployResponse>;
//#endregion
export { SerializedTemplateConfig, ServiceConfig, Template, TemplateDeployResponse, deployTemplate, searchAndListTemplates };
//# sourceMappingURL=deploy-template-CmD14A5g.d.ts.map