import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { BuildStatus } from "./buildstatus.js"; /** * A build represents a game server artifact and its associated metadata. */ export type BuildV3 = { /** * When the build expired */ expiredAt?: Date | undefined; /** * Url to view details, like build logs, of the build. */ shareUrl?: string | undefined; contentHash?: string | undefined; /** * Tag to associate an external version with a build. It is accessible via [`GetBuild()`](https://hathora.dev/api#tag/BuildsV3/operation/GetBuild). */ buildTag?: string | undefined; /** * The size (in bytes) of the Docker image built by Hathora. */ imageSize: number; status: BuildStatus; /** * When the build was deleted. */ deletedAt: Date | null; /** * When [`RunBuild()`](https://hathora.dev/api#tag/BuildV2/operation/RunBuild) finished executing. */ finishedAt: Date | null; /** * When [`RunBuild()`](https://hathora.dev/api#tag/BuildV2/operation/RunBuild) is called. */ startedAt: Date | null; /** * When [`CreateBuild()`](https://hathora.dev/api#tag/BuildV2/operation/CreateBuild) is called. */ createdAt: Date; createdBy: string; /** * System generated id for a build. Can also be user defined when creating a build. */ buildId: string; /** * System generated unique identifier for an organization. Not guaranteed to have a specific format. */ orgId: string; }; /** @internal */ export declare const BuildV3$inboundSchema: z.ZodType; export declare function buildV3FromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=buildv3.d.ts.map