@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>
58 lines • 2.41 kB
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import { microfrontendsCreateMicrofrontendsGroupWithApplications } from "../funcs/microfrontendsCreateMicrofrontendsGroupWithApplications.js";
import { microfrontendsGetMicrofrontendsConfig } from "../funcs/microfrontendsGetMicrofrontendsConfig.js";
import { microfrontendsGetMicrofrontendsConfigForProject } from "../funcs/microfrontendsGetMicrofrontendsConfigForProject.js";
import { microfrontendsGetMicrofrontendsGroups } from "../funcs/microfrontendsGetMicrofrontendsGroups.js";
import { microfrontendsGetMicrofrontendsInGroup } from "../funcs/microfrontendsGetMicrofrontendsInGroup.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class Microfrontends extends ClientSDK {
/**
* List microfrontends groups
*
* @remarks
* Get the microfrontends group IDs for a team.
*/
async getMicrofrontendsGroups(request, options) {
return unwrapAsync(microfrontendsGetMicrofrontendsGroups(this, request, options));
}
/**
* List projects in a microfrontends group
*
* @remarks
* Get the microfrontends for a given group ID.
*/
async getMicrofrontendsInGroup(request, options) {
return unwrapAsync(microfrontendsGetMicrofrontendsInGroup(this, request, options));
}
/**
* Get microfrontends config for a deployment
*
* @remarks
* Get the microfrontends config for a deployment.
*/
async getMicrofrontendsConfig(request, options) {
return unwrapAsync(microfrontendsGetMicrofrontendsConfig(this, request, options));
}
/**
* Get microfrontends config for a project
*
* @remarks
* Get the microfrontends config for a project by ID or name.
*/
async getMicrofrontendsConfigForProject(request, options) {
return unwrapAsync(microfrontendsGetMicrofrontendsConfigForProject(this, request, options));
}
/**
* Create a microfrontends group with applications
*
* @remarks
* Creates a microfrontends group and attaches multiple projects in a single request.
*/
async createMicrofrontendsGroupWithApplications(request, options) {
return unwrapAsync(microfrontendsCreateMicrofrontendsGroupWithApplications(this, request, options));
}
}
//# sourceMappingURL=microfrontends.js.map