UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

40 lines 1.21 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; /** * This object contains information related to a Vercel Sandbox Drive. */ export type Drive = { /** * The unique drive name within the project. */ name: string; /** * The project that owns the drive. */ projectId: string; /** * The maximum drive size in bytes. */ maxSizeBytes: number; /** * Current session ID the drive is attached to, if any. */ currentSessionId?: string | undefined; /** * Current sandbox name the drive is attached to, if any. */ currentSandboxName?: string | undefined; /** * The time when the drive was created, in milliseconds since the epoch. */ createdAt: number; /** * The last time the drive was updated, in milliseconds since the epoch. */ updatedAt: number; }; /** @internal */ export declare const Drive$inboundSchema: z.ZodType<Drive, z.ZodTypeDef, unknown>; export declare function driveFromJSON(jsonString: string): SafeParseResult<Drive, SDKValidationError>; //# sourceMappingURL=drive.d.ts.map