Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
editorconfig added (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring authored Dec 6, 2019
1 parent 5855827 commit a903b28
Show file tree
Hide file tree
Showing 12 changed files with 740 additions and 725 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120

[*.html]
indent_size = 4
tab_width = 4
max_line_length = off
32 changes: 16 additions & 16 deletions types/api/backlog.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { Callback } from "types";

export class Backlog {
moveIssuesToBacklog(
opts?: {
issues?: string[];
},
callback?: Callback<void>
): Promise<void>;
moveIssuesToBacklog(
opts?: {
issues?: string[];
},
callback?: Callback<void>
): Promise<void>;

moveIssuesToBacklogForBoard(
opts: {
boardId: number;
issues?: string[];
rankBeforeIssue?: string;
rankAfterIssue?: string;
rankCustomFieldId?: number;
},
callback?: Callback<void>
): Promise<void>;
moveIssuesToBacklogForBoard(
opts: {
boardId: number;
issues?: string[];
rankBeforeIssue?: string;
rankAfterIssue?: string;
rankCustomFieldId?: number;
},
callback?: Callback<void>
): Promise<void>;
}
318 changes: 159 additions & 159 deletions types/api/board.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,163 +2,163 @@ import { Callback } from "types";
import { Board as BoardModel } from "types/models";

export class Board {
getAllBoards(
opts?: {
startAt?: number;
maxResults?: number;
type?: string;
name?: string;
projectKeyOrId?: string | number;
accountIdLocation?: string;
userkeyLocation?: string;
usernameLocation?: string;
projectLocation?: string;
includePrivate?: boolean;
negateLocationFiltering?: boolean;
orderBy?: string;
expand?: string;
},
callback?: Callback
): Promise<any>;
createBoard(
name: string,
type: string,
filterId: number,
location: {
type: string;
projectKeyOrId: string;
},
callback?: Callback
): Promise<any>;
getBoardByFilterId(opts: {
filterId: number;
startAt?: number;
maxResults?: number;
}, callback?: Callback): Promise<any>;
getBoard(opts: {
boardId: number | string;
}, callback?: Callback<BoardModel>): Promise<BoardModel>;
deleteBoard(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getIssuesForBacklog(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getConfiguration(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getEpics(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
done?: string;
}, callback?: Callback): Promise<any>;
getIssuesWithoutEpic(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getIssuesForEpic(opts: {
boardId: number | string;
epicId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getFeaturesForBoard(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
toggleFeatures(opts: {
boardId: number | string;
boardIdBody?: number | string;
feature?: string;
enabling?: boolean;
}, callback?: Callback): Promise<any>;
getIssuesForBoard(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
moveIssuesToBoard(opts: {
boardId: number | string;
issues?: string[];
rankBeforeIssue?: string;
rankAfterIssue?: string;
rankCustomFieldId?: number | string;
}, callback?: Callback): Promise<any>;
getProjects(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
}, callback?: Callback): Promise<any>;
getProjectsFull(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getBoardPropertyKeys(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getBoardProperty(opts: {
boardId: number | string;
propertyKey: string;
}, callback?: Callback): Promise<any>;
setBoardProperty(opts: {
boardId: number | string;
propertyKey: string;
property: any;
}, callback?: Callback): Promise<any>;
deleteBoardProperty(opts: {
boardId: number | string;
propertyKey: string;
}, callback?: Callback): Promise<any>;
getAllQuickFilters(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
}, callback?: Callback): Promise<any>;
getQuickFilter(opts: {
boardId: number | string;
quickFilterId: number | string;
}, callback?: Callback): Promise<any>;
getReportsForBoard(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getAllSprints(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
state?: string;
}, callback?: Callback): Promise<any>;
getIssuesForSprint(opts: {
boardId: number | string;
sprintId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getAllVersions(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
released?: string;
}, callback?: Callback): Promise<any>;
getAllBoards(
opts?: {
startAt?: number;
maxResults?: number;
type?: string;
name?: string;
projectKeyOrId?: string | number;
accountIdLocation?: string;
userkeyLocation?: string;
usernameLocation?: string;
projectLocation?: string;
includePrivate?: boolean;
negateLocationFiltering?: boolean;
orderBy?: string;
expand?: string;
},
callback?: Callback
): Promise<any>;
createBoard(
name: string,
type: string,
filterId: number,
location: {
type: string;
projectKeyOrId: string;
},
callback?: Callback
): Promise<any>;
getBoardByFilterId(opts: {
filterId: number;
startAt?: number;
maxResults?: number;
}, callback?: Callback): Promise<any>;
getBoard(opts: {
boardId: number | string;
}, callback?: Callback<BoardModel>): Promise<BoardModel>;
deleteBoard(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getIssuesForBacklog(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getConfiguration(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getEpics(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
done?: string;
}, callback?: Callback): Promise<any>;
getIssuesWithoutEpic(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getIssuesForEpic(opts: {
boardId: number | string;
epicId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getFeaturesForBoard(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
toggleFeatures(opts: {
boardId: number | string;
boardIdBody?: number | string;
feature?: string;
enabling?: boolean;
}, callback?: Callback): Promise<any>;
getIssuesForBoard(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
moveIssuesToBoard(opts: {
boardId: number | string;
issues?: string[];
rankBeforeIssue?: string;
rankAfterIssue?: string;
rankCustomFieldId?: number | string;
}, callback?: Callback): Promise<any>;
getProjects(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
}, callback?: Callback): Promise<any>;
getProjectsFull(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getBoardPropertyKeys(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getBoardProperty(opts: {
boardId: number | string;
propertyKey: string;
}, callback?: Callback): Promise<any>;
setBoardProperty(opts: {
boardId: number | string;
propertyKey: string;
property: any;
}, callback?: Callback): Promise<any>;
deleteBoardProperty(opts: {
boardId: number | string;
propertyKey: string;
}, callback?: Callback): Promise<any>;
getAllQuickFilters(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
}, callback?: Callback): Promise<any>;
getQuickFilter(opts: {
boardId: number | string;
quickFilterId: number | string;
}, callback?: Callback): Promise<any>;
getReportsForBoard(opts: {
boardId: number | string;
}, callback?: Callback): Promise<any>;
getAllSprints(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
state?: string;
}, callback?: Callback): Promise<any>;
getIssuesForSprint(opts: {
boardId: number | string;
sprintId: number | string;
startAt?: number;
maxResults?: number;
jql?: string;
validateQuery?: boolean;
fields?: string[];
expand?: string;
}, callback?: Callback): Promise<any>;
getAllVersions(opts: {
boardId: number | string;
startAt?: number;
maxResults?: number;
released?: string;
}, callback?: Callback): Promise<any>;
}
Loading

0 comments on commit a903b28

Please sign in to comment.