Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
chore(deps): update Bitbucket Cloud schema and models ```sh yarn update-models ``` Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
This commit is contained in:
@@ -36,7 +36,6 @@ export namespace Models {
|
||||
created_on?: string;
|
||||
display_name?: string;
|
||||
links?: AccountLinks;
|
||||
username?: string;
|
||||
uuid?: string;
|
||||
}
|
||||
|
||||
@@ -67,6 +66,7 @@ export namespace Models {
|
||||
*/
|
||||
export interface BaseCommit extends ModelObject {
|
||||
author?: Author;
|
||||
committer?: Committer;
|
||||
date?: string;
|
||||
hash?: string;
|
||||
message?: string;
|
||||
@@ -139,6 +139,9 @@ export namespace Models {
|
||||
MergeCommit: 'merge_commit',
|
||||
Squash: 'squash',
|
||||
FastForward: 'fast_forward',
|
||||
SquashFastForward: 'squash_fast_forward',
|
||||
RebaseFastForward: 'rebase_fast_forward',
|
||||
RebaseMerge: 'rebase_merge',
|
||||
} as const;
|
||||
|
||||
/**
|
||||
@@ -193,6 +196,18 @@ export namespace Models {
|
||||
export type CommitFileAttributesEnum =
|
||||
(typeof CommitFileAttributesEnum)[keyof typeof CommitFileAttributesEnum];
|
||||
|
||||
/**
|
||||
* The committer of a change in a repository
|
||||
* @public
|
||||
*/
|
||||
export interface Committer extends ModelObject {
|
||||
/**
|
||||
* The raw committer value from the repository. This may be the only value available if the committer does not match a user in Bitbucket.
|
||||
*/
|
||||
raw?: string;
|
||||
user?: Account;
|
||||
}
|
||||
|
||||
/**
|
||||
* A link to a resource related to this object.
|
||||
* @public
|
||||
@@ -242,6 +257,28 @@ export namespace Models {
|
||||
values?: Array<TResultItem> | Set<TResultItem>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A paginated list of branches.
|
||||
* @public
|
||||
*/
|
||||
export interface PaginatedBranches extends Paginated<Branch> {
|
||||
/**
|
||||
* The values of the current page.
|
||||
*/
|
||||
values?: Set<Branch>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A paginated list of projects
|
||||
* @public
|
||||
*/
|
||||
export interface PaginatedProjects extends Paginated<Project> {
|
||||
/**
|
||||
* The values of the current page.
|
||||
*/
|
||||
values?: Set<Project>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A paginated list of repositories.
|
||||
* @public
|
||||
@@ -253,17 +290,6 @@ export namespace Models {
|
||||
values?: Set<Repository>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A paginated list of projects.
|
||||
* @public
|
||||
*/
|
||||
export interface PaginatedProjects extends Paginated<Project> {
|
||||
/**
|
||||
* The values of the current page.
|
||||
*/
|
||||
values?: Set<Project>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A paginated list of workspaces.
|
||||
* @public
|
||||
@@ -275,17 +301,6 @@ export namespace Models {
|
||||
values?: Set<Workspace>;
|
||||
}
|
||||
|
||||
/**
|
||||
* A paginated list of branches.
|
||||
* @public
|
||||
*/
|
||||
export interface PaginatedBranches extends Paginated<Branch> {
|
||||
/**
|
||||
* The values of the current page.
|
||||
*/
|
||||
values?: Set<Branch>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Object describing a user's role on resources like commits or pull requests.
|
||||
* @public
|
||||
@@ -571,6 +586,17 @@ export namespace Models {
|
||||
*/
|
||||
export interface Workspace extends ModelObject {
|
||||
created_on?: string;
|
||||
/**
|
||||
* Controls the rules for forking repositories within this workspace.
|
||||
*
|
||||
* * **allow_forks**: unrestricted forking
|
||||
* * **internal_only**: prevents forking of private repositories outside the workspace or to public repositories
|
||||
*/
|
||||
forking_mode?: WorkspaceForkingModeEnum;
|
||||
/**
|
||||
* Indicates whether the workspace enforces private content, or whether it allows public content.
|
||||
*/
|
||||
is_privacy_enforced?: boolean;
|
||||
/**
|
||||
* Indicates whether the workspace is publicly accessible, or whether it is
|
||||
* private to the members and consequently only visible to members.
|
||||
@@ -592,6 +618,28 @@ export namespace Models {
|
||||
uuid?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Controls the rules for forking repositories within this workspace.
|
||||
*
|
||||
* * **allow_forks**: unrestricted forking
|
||||
* * **internal_only**: prevents forking of private repositories outside the workspace or to public repositories
|
||||
* @public
|
||||
*/
|
||||
export const WorkspaceForkingModeEnum = {
|
||||
AllowForks: 'allow_forks',
|
||||
InternalOnly: 'internal_only',
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Controls the rules for forking repositories within this workspace.
|
||||
*
|
||||
* * **allow_forks**: unrestricted forking
|
||||
* * **internal_only**: prevents forking of private repositories outside the workspace or to public repositories
|
||||
* @public
|
||||
*/
|
||||
export type WorkspaceForkingModeEnum =
|
||||
(typeof WorkspaceForkingModeEnum)[keyof typeof WorkspaceForkingModeEnum];
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user