import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ContainerPort } from "./containerport.js"; export type DeploymentV2Env = { value: string; name: string; }; export type DeploymentV2 = { /** * Option to shut down processes that have had no new connections or rooms * * @remarks * for five minutes. */ idleTimeoutEnabled: boolean; /** * The environment variable that our process will have access to at runtime. */ env: Array; /** * Governs how many [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) can be scheduled in a process. */ roomsPerProcess: number; /** * Additional ports your server listens on. */ additionalContainerPorts: Array; /** * A container port object represents the transport configruations for how your server will listen. */ defaultContainerPort: ContainerPort; /** * When the deployment was created. */ createdAt: Date; createdBy: string; /** * The amount of memory allocated to your process. */ requestedMemoryMB: number; /** * The number of cores allocated to your process. */ requestedCPU: number; /** * System generated id for a deployment. Increments by 1. */ deploymentId: number; /** * System generated id for a build. Increments by 1. */ buildId: number; /** * System generated unique identifier for an application. */ appId: string; }; /** @internal */ export declare const DeploymentV2Env$inboundSchema: z.ZodType; export declare function deploymentV2EnvFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentV2$inboundSchema: z.ZodType; export declare function deploymentV2FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deploymentv2.d.ts.map