@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
49 lines • 1.51 kB
TypeScript
import * as z from "zod/v3";
import { V2DeployGitCommit, V2DeployGitCommit$Outbound } from "./v2deploygitcommit.js";
/**
* Create a deployment from a pre-built Docker image
*/
export type V2DeployCreateDeploymentRequestBody = {
/**
* Project slug
*/
project: string;
/**
* App slug within the project
*/
app: string;
/**
* Optional keyspace ID for authentication context
*/
keyspaceId?: string | undefined;
/**
* Git branch name
*/
branch: string;
/**
* Environment slug (e.g., "production", "staging")
*/
environmentSlug: string;
/**
* Docker image reference to deploy
*/
dockerImage: string;
/**
* Optional git commit information
*/
gitCommit?: V2DeployGitCommit | undefined;
};
/** @internal */
export type V2DeployCreateDeploymentRequestBody$Outbound = {
project: string;
app: string;
keyspaceId?: string | undefined;
branch: string;
environmentSlug: string;
dockerImage: string;
gitCommit?: V2DeployGitCommit$Outbound | undefined;
};
/** @internal */
export declare const V2DeployCreateDeploymentRequestBody$outboundSchema: z.ZodType<V2DeployCreateDeploymentRequestBody$Outbound, z.ZodTypeDef, V2DeployCreateDeploymentRequestBody>;
export declare function v2DeployCreateDeploymentRequestBodyToJSON(v2DeployCreateDeploymentRequestBody: V2DeployCreateDeploymentRequestBody): string;
//# sourceMappingURL=v2deploycreatedeploymentrequestbody.d.ts.map