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>

59 lines 2.91 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type UpdateMicrofrontendsGroupRequestBody = { /** * The new name for the existing microfrontends group. */ name?: string | undefined; /** * The new fallback environment for the microfrontends group. Must be "SAME_ENV", "PRODUCTION", or a valid custom environment slug from the default app. */ fallbackEnvironment?: string | undefined; }; export type UpdateMicrofrontendsGroupRequest = { groupId: string; /** * The Team identifier to perform the request on behalf of. */ teamId: string; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; requestBody?: UpdateMicrofrontendsGroupRequestBody | undefined; }; export type UpdatedMicrofrontendsGroup = { name?: string | undefined; slug?: string | undefined; id: string; fallbackEnvironment?: string | undefined; }; export type UpdateMicrofrontendsGroupResponseBody = { updatedMicrofrontendsGroup: UpdatedMicrofrontendsGroup; }; /** @internal */ export type UpdateMicrofrontendsGroupRequestBody$Outbound = { name?: string | undefined; fallbackEnvironment?: string | undefined; }; /** @internal */ export declare const UpdateMicrofrontendsGroupRequestBody$outboundSchema: z.ZodType<UpdateMicrofrontendsGroupRequestBody$Outbound, z.ZodTypeDef, UpdateMicrofrontendsGroupRequestBody>; export declare function updateMicrofrontendsGroupRequestBodyToJSON(updateMicrofrontendsGroupRequestBody: UpdateMicrofrontendsGroupRequestBody): string; /** @internal */ export type UpdateMicrofrontendsGroupRequest$Outbound = { groupId: string; teamId: string; slug?: string | undefined; RequestBody?: UpdateMicrofrontendsGroupRequestBody$Outbound | undefined; }; /** @internal */ export declare const UpdateMicrofrontendsGroupRequest$outboundSchema: z.ZodType<UpdateMicrofrontendsGroupRequest$Outbound, z.ZodTypeDef, UpdateMicrofrontendsGroupRequest>; export declare function updateMicrofrontendsGroupRequestToJSON(updateMicrofrontendsGroupRequest: UpdateMicrofrontendsGroupRequest): string; /** @internal */ export declare const UpdatedMicrofrontendsGroup$inboundSchema: z.ZodType<UpdatedMicrofrontendsGroup, z.ZodTypeDef, unknown>; export declare function updatedMicrofrontendsGroupFromJSON(jsonString: string): SafeParseResult<UpdatedMicrofrontendsGroup, SDKValidationError>; /** @internal */ export declare const UpdateMicrofrontendsGroupResponseBody$inboundSchema: z.ZodType<UpdateMicrofrontendsGroupResponseBody, z.ZodTypeDef, unknown>; export declare function updateMicrofrontendsGroupResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateMicrofrontendsGroupResponseBody, SDKValidationError>; //# sourceMappingURL=updatemicrofrontendsgroupop.d.ts.map