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>

57 lines (51 loc) 1.59 kB
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest = { /** * Single Docker repository team slug component. */ teamSlug: string; /** * Single Docker repository project slug component. */ projectSlug: string; /** * Single Docker repository name component. */ repositoryName: string; /** * Content-addressable digest (algorithm:hex). */ digest: string; }; /** @internal */ export type HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$Outbound = { teamSlug: string; projectSlug: string; repositoryName: string; digest: string; }; /** @internal */ export const HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$outboundSchema: z.ZodType< HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$Outbound, z.ZodTypeDef, HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest > = z.object({ teamSlug: z.string(), projectSlug: z.string(), repositoryName: z.string(), digest: z.string(), }); export function headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequestToJSON( headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest: HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest, ): string { return JSON.stringify( HeadByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest$outboundSchema .parse(headByTeamSlugByProjectSlugByRepositoryNameBlobsByDigestRequest), ); }