@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>
36 lines • 1.71 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
export declare const Environments1: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
export type Environments1 = ClosedEnum<typeof Environments1>;
/**
* A built-in environment name or the stable env_* ID of a custom environment.
*/
export type Environments = Environments1 | string;
/**
* Environments enabled for a connector project connection.
*/
export type ConnectUpsertProjectConnectionRequest = {
/**
* One or more built-in environment names or stable custom environment IDs that belong to the project. Duplicate values are accepted and removed.
*/
environments: Array<Environments1 | string>;
};
/** @internal */
export declare const Environments1$outboundSchema: z.ZodNativeEnum<typeof Environments1>;
/** @internal */
export type Environments$Outbound = string | string;
/** @internal */
export declare const Environments$outboundSchema: z.ZodType<Environments$Outbound, z.ZodTypeDef, Environments>;
export declare function environmentsToJSON(environments: Environments): string;
/** @internal */
export type ConnectUpsertProjectConnectionRequest$Outbound = {
environments: Array<string | string>;
};
/** @internal */
export declare const ConnectUpsertProjectConnectionRequest$outboundSchema: z.ZodType<ConnectUpsertProjectConnectionRequest$Outbound, z.ZodTypeDef, ConnectUpsertProjectConnectionRequest>;
export declare function connectUpsertProjectConnectionRequestToJSON(connectUpsertProjectConnectionRequest: ConnectUpsertProjectConnectionRequest): string;
//# sourceMappingURL=connectupsertprojectconnectionrequest.d.ts.map