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>

188 lines 8.33 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetStorageStoresByIdRequest = { id: string; skipMetadata?: boolean | undefined; includeGuides?: boolean | undefined; }; export declare const GetStorageStoresByIdFramework: { readonly ActixWeb: "actix-web"; readonly Angular: "angular"; readonly Ash: "ash"; readonly Astro: "astro"; readonly Axum: "axum"; readonly Blitzjs: "blitzjs"; readonly Brunch: "brunch"; readonly Bun: "bun"; readonly Container: "container"; readonly CreateReactApp: "create-react-app"; readonly Django: "django"; readonly Docusaurus: "docusaurus"; readonly Docusaurus2: "docusaurus-2"; readonly Dojo: "dojo"; readonly Eleventy: "eleventy"; readonly Elysia: "elysia"; readonly Ember: "ember"; readonly Eve: "eve"; readonly Express: "express"; readonly FactoryEve: "factory-eve"; readonly Fastapi: "fastapi"; readonly Fasthtml: "fasthtml"; readonly Fastify: "fastify"; readonly Flask: "flask"; readonly Gatsby: "gatsby"; readonly Go: "go"; readonly Gridsome: "gridsome"; readonly H3: "h3"; readonly Hexo: "hexo"; readonly Hono: "hono"; readonly Hugo: "hugo"; readonly Hydrogen: "hydrogen"; readonly IonicAngular: "ionic-angular"; readonly IonicReact: "ionic-react"; readonly Jekyll: "jekyll"; readonly Koa: "koa"; readonly Mastra: "mastra"; readonly Middleman: "middleman"; readonly Nestjs: "nestjs"; readonly Nextjs: "nextjs"; readonly Nitro: "nitro"; readonly Node: "node"; readonly Nuxtjs: "nuxtjs"; readonly Parcel: "parcel"; readonly Polymer: "polymer"; readonly Preact: "preact"; readonly Python: "python"; readonly ReactRouter: "react-router"; readonly Redwoodjs: "redwoodjs"; readonly Remix: "remix"; readonly Ruby: "ruby"; readonly Rust: "rust"; readonly Saber: "saber"; readonly Sanity: "sanity"; readonly SanityV2: "sanity-v2"; readonly Sapper: "sapper"; readonly Scully: "scully"; readonly Services: "services"; readonly Solidstart: "solidstart"; readonly Solidstart1: "solidstart-1"; readonly Stencil: "stencil"; readonly Storybook: "storybook"; readonly Svelte: "svelte"; readonly Sveltekit: "sveltekit"; readonly Sveltekit1: "sveltekit-1"; readonly TanstackStart: "tanstack-start"; readonly TanstackStartLovable: "tanstack-start-lovable"; readonly Umijs: "umijs"; readonly Vite: "vite"; readonly Vitepress: "vitepress"; readonly Vue: "vue"; readonly Vuepress: "vuepress"; readonly Xmcp: "xmcp"; readonly Zola: "zola"; }; export type GetStorageStoresByIdFramework = ClosedEnum<typeof GetStorageStoresByIdFramework>; export type GetStorageStoresByIdActions = { slug: string; environments: Array<string>; }; export type GetStorageStoresByIdDeployments = { required: boolean; actions: Array<GetStorageStoresByIdActions>; }; export type GetStorageStoresByIdProjectsMetadata = { id: string; projectId: string; name: string; framework?: GetStorageStoresByIdFramework | null | undefined; latestDeployment?: string | undefined; environments: Array<string>; envVarPrefix: string | null; environmentVariables: Array<string>; deployments?: GetStorageStoresByIdDeployments | undefined; makeEnvVarsSensitive?: boolean | undefined; }; export declare const Providers2: { readonly Wildcard: "*"; }; export type Providers2 = ClosedEnum<typeof Providers2>; export declare const Providers1: { readonly Bitbucket: "bitbucket"; readonly Github: "github"; readonly Gitlab: "gitlab"; }; export type Providers1 = ClosedEnum<typeof Providers1>; export type GetStorageStoresByIdProviders = Array<Providers1> | Providers2; export type Git = { providers: Array<Providers1> | Providers2; owners?: Array<string> | undefined; repos?: Array<string> | undefined; }; export type ProjectFilter = { git?: Git | undefined; }; export declare const GetStorageStoresByIdStatus: { readonly Available: "available"; readonly Error: "error"; readonly Initializing: "initializing"; readonly LimitsExceededSuspended: "limits-exceeded-suspended"; readonly LimitsExceededSuspendedStoreCount: "limits-exceeded-suspended-store-count"; readonly Onboarding: "onboarding"; readonly Suspended: "suspended"; readonly Uninstalled: "uninstalled"; }; export type GetStorageStoresByIdStatus = ClosedEnum<typeof GetStorageStoresByIdStatus>; export type GetStorageStoresByIdStore = { projectsMetadata: Array<GetStorageStoresByIdProjectsMetadata>; projectFilter?: ProjectFilter | undefined; totalConnectedProjects?: number | undefined; usageQuotaExceeded: boolean; status: GetStorageStoresByIdStatus | null; }; export type GetStorageStoresByIdResponseBody = { store: GetStorageStoresByIdStore; }; /** @internal */ export type GetStorageStoresByIdRequest$Outbound = { id: string; "skip-metadata"?: boolean | undefined; "include-guides"?: boolean | undefined; }; /** @internal */ export declare const GetStorageStoresByIdRequest$outboundSchema: z.ZodType<GetStorageStoresByIdRequest$Outbound, z.ZodTypeDef, GetStorageStoresByIdRequest>; export declare function getStorageStoresByIdRequestToJSON(getStorageStoresByIdRequest: GetStorageStoresByIdRequest): string; /** @internal */ export declare const GetStorageStoresByIdFramework$inboundSchema: z.ZodNativeEnum<typeof GetStorageStoresByIdFramework>; /** @internal */ export declare const GetStorageStoresByIdActions$inboundSchema: z.ZodType<GetStorageStoresByIdActions, z.ZodTypeDef, unknown>; export declare function getStorageStoresByIdActionsFromJSON(jsonString: string): SafeParseResult<GetStorageStoresByIdActions, SDKValidationError>; /** @internal */ export declare const GetStorageStoresByIdDeployments$inboundSchema: z.ZodType<GetStorageStoresByIdDeployments, z.ZodTypeDef, unknown>; export declare function getStorageStoresByIdDeploymentsFromJSON(jsonString: string): SafeParseResult<GetStorageStoresByIdDeployments, SDKValidationError>; /** @internal */ export declare const GetStorageStoresByIdProjectsMetadata$inboundSchema: z.ZodType<GetStorageStoresByIdProjectsMetadata, z.ZodTypeDef, unknown>; export declare function getStorageStoresByIdProjectsMetadataFromJSON(jsonString: string): SafeParseResult<GetStorageStoresByIdProjectsMetadata, SDKValidationError>; /** @internal */ export declare const Providers2$inboundSchema: z.ZodNativeEnum<typeof Providers2>; /** @internal */ export declare const Providers1$inboundSchema: z.ZodNativeEnum<typeof Providers1>; /** @internal */ export declare const GetStorageStoresByIdProviders$inboundSchema: z.ZodType<GetStorageStoresByIdProviders, z.ZodTypeDef, unknown>; export declare function getStorageStoresByIdProvidersFromJSON(jsonString: string): SafeParseResult<GetStorageStoresByIdProviders, SDKValidationError>; /** @internal */ export declare const Git$inboundSchema: z.ZodType<Git, z.ZodTypeDef, unknown>; export declare function gitFromJSON(jsonString: string): SafeParseResult<Git, SDKValidationError>; /** @internal */ export declare const ProjectFilter$inboundSchema: z.ZodType<ProjectFilter, z.ZodTypeDef, unknown>; export declare function projectFilterFromJSON(jsonString: string): SafeParseResult<ProjectFilter, SDKValidationError>; /** @internal */ export declare const GetStorageStoresByIdStatus$inboundSchema: z.ZodNativeEnum<typeof GetStorageStoresByIdStatus>; /** @internal */ export declare const GetStorageStoresByIdStore$inboundSchema: z.ZodType<GetStorageStoresByIdStore, z.ZodTypeDef, unknown>; export declare function getStorageStoresByIdStoreFromJSON(jsonString: string): SafeParseResult<GetStorageStoresByIdStore, SDKValidationError>; /** @internal */ export declare const GetStorageStoresByIdResponseBody$inboundSchema: z.ZodType<GetStorageStoresByIdResponseBody, z.ZodTypeDef, unknown>; export declare function getStorageStoresByIdResponseBodyFromJSON(jsonString: string): SafeParseResult<GetStorageStoresByIdResponseBody, SDKValidationError>; //# sourceMappingURL=getstoragestoresbyidop.d.ts.map