mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
refactor: adjust code to new TSLint rules
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// tslint:disable:completed-docs
|
||||
|
||||
/**
|
||||
* Scope of membership
|
||||
*/
|
||||
@@ -160,7 +162,7 @@ export interface Project {
|
||||
public_jobs: boolean;
|
||||
request_access_enabled: boolean;
|
||||
shared_runners_enabled: boolean;
|
||||
shared_with_groups: any[];
|
||||
shared_with_groups: unknown[];
|
||||
snippets_enabled: boolean;
|
||||
ssh_url_to_repo: string;
|
||||
star_count: number;
|
||||
@@ -307,7 +309,7 @@ export interface MergeRequest extends ThingWithTimeStats {
|
||||
export interface MergeRequestApproval {
|
||||
approvals_left: number;
|
||||
approvals_required: number;
|
||||
approved_by: Array<{ user: User }>;
|
||||
approved_by: Array<{ user: User; }>;
|
||||
approver_groups: Group[];
|
||||
approvers: User[];
|
||||
created_at: string;
|
||||
@@ -381,7 +383,7 @@ export interface Note {
|
||||
new_path: string;
|
||||
old_line: number | null;
|
||||
old_path: string;
|
||||
position_type: string,
|
||||
position_type: string;
|
||||
start_sha: string;
|
||||
};
|
||||
resolvable: boolean;
|
||||
|
||||
Reference in New Issue
Block a user