Skip to content

Commit

Permalink
[OpenAPI] Spec updates for vercel-api-js (#553)
Browse files Browse the repository at this point in the history
Co-authored-by: SferaDev <[email protected]>
  • Loading branch information
SferaDev and SferaDev authored Nov 19, 2024
1 parent 4ed8620 commit 64d934c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 55 deletions.
5 changes: 5 additions & 0 deletions .changeset/hdzmu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vercel-api-js": patch
---

[BREAKING] Change group to groupIds in project endpoints
65 changes: 10 additions & 55 deletions packages/vercel-api-js/src/api/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1873,18 +1873,9 @@ export type UpdateProjectDataCacheResponse = {
*/
updatedAt: number;
/**
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
group: {
/**
* A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
*/
id: string;
/**
* A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
*/
slug: string;
};
groupIds: string[];
/**
* Whether microfrontends are enabled for this project.
*/
Expand Down Expand Up @@ -9401,18 +9392,9 @@ export type GetProjectsResponse = {
*/
updatedAt: number;
/**
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
group: {
/**
* A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
*/
id: string;
/**
* A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
*/
slug: string;
};
groupIds: string[];
/**
* Whether microfrontends are enabled for this project.
*/
Expand Down Expand Up @@ -10288,18 +10270,9 @@ export type CreateProjectResponse = {
*/
updatedAt: number;
/**
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
group: {
/**
* A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
*/
id: string;
/**
* A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
*/
slug: string;
};
groupIds: string[];
/**
* Whether microfrontends are enabled for this project.
*/
Expand Down Expand Up @@ -11355,18 +11328,9 @@ export type GetProjectResponse = {
*/
updatedAt: number;
/**
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
group: {
/**
* A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
*/
id: string;
/**
* A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
*/
slug: string;
};
groupIds: string[];
/**
* Whether microfrontends are enabled for this project.
*/
Expand Down Expand Up @@ -12250,18 +12214,9 @@ export type UpdateProjectResponse = {
*/
updatedAt: number;
/**
* The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
group: {
/**
* A unique identifier for the group of microfrontends. All related microfrontend projects will share this group ID. Example: mfe_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
*/
id: string;
/**
* A human readable name for the microfrontends group. This will be used to display the microfrontends group in the UI.
*/
slug: string;
};
groupIds: string[];
/**
* Whether microfrontends are enabled for this project.
*/
Expand Down

0 comments on commit 64d934c

Please sign in to comment.