feat(core): Override arguments in all template children (#597)

This commit is contained in:
Justin 2020-03-22 18:25:59 +01:00
parent dbd53496ba
commit d9c97d44d1
32 changed files with 970 additions and 192 deletions

View File

@ -9,23 +9,23 @@
"url": "https://github.com/jdalrymple/gitbeaker/issues"
},
"dependencies": {
"@gitbeaker/core": "^15.0.3",
"@gitbeaker/requester-utils": "^15.0.3",
"ky": "^0.16.2"
"@gitbeaker/core": "^15.1.0",
"@gitbeaker/requester-utils": "^15.1.0",
"ky": "^0.19.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
"@rollup/plugin-replace": "^2.3.0",
"@types/node": "^13.7.0",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@types/node": "^13.9.3",
"node-fetch": "^2.6.0",
"rollup": "^1.31.0",
"rollup": "^2.1.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.26.0",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.0.0"

View File

@ -12,21 +12,21 @@
"url": "https://github.com/jdalrymple/gitbeaker/issues"
},
"dependencies": {
"@gitbeaker/core": "^15.0.3",
"@gitbeaker/node": "^15.0.3",
"@gitbeaker/core": "^15.1.0",
"@gitbeaker/node": "^15.1.0",
"chalk": "^3.0.0",
"ora": "^4.0.3",
"sywac": "^1.2.2",
"xcase": "^2.0.1"
},
"devDependencies": {
"@rollup/plugin-json": "^4.0.1",
"rollup": "^1.31.0",
"@rollup/plugin-json": "^4.0.2",
"rollup": "^2.1.0",
"rollup-plugin-preserve-shebangs": "^0.1.2",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.26.0",
"strip-ansi": "^6.0.0",
"typescript": "^3.7.5"
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.0.0"

View File

@ -9,21 +9,21 @@
"url": "https://github.com/jdalrymple/gitbeaker/issues"
},
"dependencies": {
"@gitbeaker/requester-utils": "^15.0.3",
"@gitbeaker/requester-utils": "^15.1.0",
"form-data": "^3.0.0",
"li": "^1.3.0",
"xcase": "^2.0.1"
},
"devDependencies": {
"@types/node": "^13.7.0",
"@types/node": "^13.9.3",
"esm": "^3.2.25",
"fs-extra": "^8.1.0",
"fs-extra": "^9.0.0",
"get-param-names": "github:jdalrymple/get-param-names#1-improve-functionality",
"rollup": "^1.31.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
"rollup": "^2.1.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.26.0",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.0.0"

View File

@ -1,5 +1,54 @@
import { ResourceDiscussions } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface CommitDiscussions extends ResourceDiscussions {
addNote(
projectId: string | number,
commitId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
all(projectId: string | number, commitId: string | number, options?: PaginatedRequestOptions);
create(
projectId: string | number,
commitId: string | number,
content: string,
options?: BaseRequestOptions,
);
editNote(
projectId: string | number,
commitId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
removeNote(
projectId: string | number,
commitId: string | number,
discussionId: string | number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
commitId: string | number,
discussionId: string | number,
options?: Sudo,
);
}
export class CommitDiscussions extends ResourceDiscussions {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,54 @@
import { ResourceDiscussions } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface EpicDiscussions extends ResourceDiscussions {
addNote(
groupId: string | number,
epicId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
all(groupId: string | number, epicId: string | number, options?: PaginatedRequestOptions);
create(
groupId: string | number,
epicId: string | number,
content: string,
options?: BaseRequestOptions,
);
editNote(
groupId: string | number,
epicId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
removeNote(
groupId: string | number,
epicId: string | number,
discussionId: string | number,
noteId: number,
options?: Sudo,
);
show(
groupId: string | number,
epicId: string | number,
discussionId: string | number,
options?: Sudo,
);
}
export class EpicDiscussions extends ResourceDiscussions {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,48 @@
import { ResourceNotes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { GetResponse } from '../infrastructure/RequestHelper';
import {
BaseServiceOptions,
PaginatedRequestOptions,
BaseRequestOptions,
Sudo,
} from '../infrastructure';
export interface EpicNotes extends ResourceNotes {
all(
groupId: string | number,
epicId: string | number,
options: PaginatedRequestOptions,
): Promise<GetResponse>;
create(
groupId: string | number,
epicId: string | number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
edit(
groupId: string | number,
epicId: string | number,
noteId: number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
remove(
groupId: string | number,
epicId: string | number,
noteId: number,
options?: Sudo,
): Promise<object>;
show(
groupId: string | number,
epicId: string | number,
noteId: number,
options?: Sudo,
): Promise<GetResponse>;
}
export class EpicNotes extends ResourceNotes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,24 @@
import { ResourceBadges } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface GroupBadges extends ResourceBadges {
add(groupId: string | number, options?: BaseRequestOptions);
all(groupId: string | number, options?: PaginatedRequestOptions);
edit(groupId: string | number, badgeId: number, options?: BaseRequestOptions);
preview(groupId: string | number, linkUrl: string, imageUrl: string, options?: Sudo);
remove(groupId: string | number, badgeId: number, options?: Sudo);
show(groupId: string | number, badgeId: number, options?: Sudo);
}
export class GroupBadges extends ResourceBadges {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,15 @@
import { ResourceCustomAttributes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface GroupCustomAttributes extends ResourceCustomAttributes {
all(groupId: string | number, options?: PaginatedRequestOptions);
set(groupId: string | number, customAttributeId: number, value: string, options?: Sudo);
remove(groupId: string | number, customAttributeId: number, options?: Sudo);
show(groupId: string | number, customAttributeId: number, options?: Sudo);
}
export class GroupCustomAttributes extends ResourceCustomAttributes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,38 @@
import { ResourceIssueBoards } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseServiceOptions,
BaseRequestOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface GroupIssueBoards extends ResourceIssueBoards {
all(groupId: string | number, options?: PaginatedRequestOptions);
create(groupId: string | number, name: string, options?: Sudo);
createList(groupId: string | number, boardId: number, labelId: number, options?: Sudo);
edit(groupId: string | number, boardId: number, options?: BaseRequestOptions);
editList(
groupId: string | number,
boardId: number,
listId: number,
position: number,
options?: Sudo,
);
lists(groupId: string | number, boardId: number, options?: Sudo);
remove(groupId: string | number, boardId: number, options?: Sudo);
removeList(groupId: string | number, boardId: number, listId: number, options?: Sudo);
show(groupId: string | number, boardId: number, options?: Sudo);
showList(groupId: string | number, boardId: number, listId: number, options?: Sudo);
}
export class GroupIssueBoards extends ResourceIssueBoards {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,6 +1,25 @@
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
import { ResourceLabels } from '../templates';
export interface GroupLabels extends ResourceLabels {
all(groupId: string | number, options?: PaginatedRequestOptions);
create(groupId: string | number, labelName: string, color: string, options?: BaseRequestOptions);
edit(groupId: string | number, labelName: string, options?: BaseRequestOptions);
remove(groupId: string | number, labelName: string, options?: Sudo);
subscribe(groupId: string | number, labelId: number, options?: Sudo);
unsubscribe(groupId: string | number, labelId: number, options?: Sudo);
}
export class GroupLabels extends ResourceLabels {
constructor(options: BaseServiceOptions = {}) {
super('groups', options);

View File

@ -1,5 +1,24 @@
import { ResourceMilestones } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseServiceOptions,
PaginatedRequestOptions,
BaseRequestOptions,
Sudo,
} from '../infrastructure';
export interface GroupMilestones extends ResourceMilestones {
all(groupId: string | number, options?: PaginatedRequestOptions);
create(groupId: string | number, title: string, options?: BaseRequestOptions);
edit(groupId: string | number, milestoneId: number, options?: BaseRequestOptions);
issues(groupId: string | number, milestoneId: number, options?: Sudo);
mergeRequests(groupId: string | number, milestoneId: number, options?: Sudo);
show(groupId: string | number, milestoneId: number, options?: Sudo);
}
export class GroupMilestones extends ResourceMilestones {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,24 @@
import { ResourceVariables } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { ResourceVariables, ResourceVariableSchema } from '../templates';
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure';
export interface GroupVariables extends ResourceVariables {
all(
groupId: string | number,
options?: PaginatedRequestOptions,
): Promise<ResourceVariableSchema[]>;
create(groupId: string | number, options?: BaseRequestOptions);
edit(groupId: string | number, keyId: string, options?: BaseRequestOptions);
show(
groupId: string | number,
keyId: string,
options?: PaginatedRequestOptions,
): Promise<ResourceVariableSchema>;
remove(groupId: string | number, keyId: string, options?: PaginatedRequestOptions);
}
export class GroupVariables extends ResourceVariables {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,38 @@
import { ResourceAwardEmojis } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface IssueAwardEmojis extends ResourceAwardEmojis {
all(
projectId: string | number,
issueId: string | number,
noteId: number,
options?: PaginatedRequestOptions,
);
award(
projectId: string | number,
issueId: string | number,
noteId: number,
name: string,
options?: Sudo,
);
remove(
projectId: string | number,
issueId: string | number,
awardId: number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
issueId: string | number,
awardId: number,
noteId: number,
options?: Sudo,
);
}
export class IssueAwardEmojis extends ResourceAwardEmojis {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,54 @@
import { ResourceDiscussions } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface IssueDiscussions extends ResourceDiscussions {
addNote(
projectId: string | number,
issueId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
all(projectId: string | number, issueId: string | number, options?: PaginatedRequestOptions);
create(
projectId: string | number,
issueId: string | number,
content: string,
options?: BaseRequestOptions,
);
editNote(
projectId: string | number,
issueId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
removeNote(
projectId: string | number,
issueId: string | number,
discussionId: string | number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
issueId: string | number,
discussionId: string | number,
options?: Sudo,
);
}
export class IssueDiscussions extends ResourceDiscussions {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,48 @@
import { ResourceNotes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { GetResponse } from '../infrastructure/RequestHelper';
import {
BaseServiceOptions,
PaginatedRequestOptions,
BaseRequestOptions,
Sudo,
} from '../infrastructure';
export interface IssueNotes extends ResourceNotes {
all(
projectId: string | number,
issueId: string | number,
options: PaginatedRequestOptions,
): Promise<GetResponse>;
create(
projectId: string | number,
issueId: string | number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
edit(
projectId: string | number,
issueId: string | number,
noteId: number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
remove(
projectId: string | number,
issueId: string | number,
noteId: number,
options?: Sudo,
): Promise<object>;
show(
projectId: string | number,
issueId: string | number,
noteId: number,
options?: Sudo,
): Promise<GetResponse>;
}
export class IssueNotes extends ResourceNotes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,6 +1,30 @@
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
import { ResourceLabels } from '../templates';
export interface Labels extends ResourceLabels {
all(projectId: string | number, options?: PaginatedRequestOptions);
create(
projectId: string | number,
labelName: string,
color: string,
options?: BaseRequestOptions,
);
edit(projectId: string | number, labelName: string, options?: BaseRequestOptions);
remove(projectId: string | number, labelName: string, options?: Sudo);
subscribe(projectId: string | number, labelId: number, options?: Sudo);
unsubscribe(projectId: string | number, labelId: number, options?: Sudo);
}
export class Labels extends ResourceLabels {
constructor(options: BaseServiceOptions = {}) {
super('projects', options);

View File

@ -1,5 +1,38 @@
import { ResourceAwardEmojis } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface MergeRequestAwardEmojis extends ResourceAwardEmojis {
all(
projectId: string | number,
mergerequestId: string | number,
noteId: number,
options?: PaginatedRequestOptions,
);
award(
projectId: string | number,
mergerequestId: string | number,
noteId: number,
name: string,
options?: Sudo,
);
remove(
projectId: string | number,
mergerequestId: string | number,
awardId: number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
mergerequestId: string | number,
awardId: number,
noteId: number,
options?: Sudo,
);
}
export class MergeRequestAwardEmojis extends ResourceAwardEmojis {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,58 @@
import { ResourceDiscussions } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface MergeRequestDiscussions extends ResourceDiscussions {
addNote(
projectId: string | number,
mergerequestId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
all(
projectId: string | number,
mergerequestId: string | number,
options?: PaginatedRequestOptions,
);
create(
projectId: string | number,
mergerequestId: string | number,
content: string,
options?: BaseRequestOptions,
);
editNote(
projectId: string | number,
mergerequestId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
removeNote(
projectId: string | number,
mergerequestId: string | number,
discussionId: string | number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
mergerequestId: string | number,
discussionId: string | number,
options?: Sudo,
);
}
export class MergeRequestDiscussions extends ResourceDiscussions {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,48 @@
import { ResourceNotes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { GetResponse } from '../infrastructure/RequestHelper';
import {
BaseServiceOptions,
PaginatedRequestOptions,
BaseRequestOptions,
Sudo,
} from '../infrastructure';
export interface MergeRequestNotes extends ResourceNotes {
all(
projectId: string | number,
mergerequestIId: string | number,
options: PaginatedRequestOptions,
): Promise<GetResponse>;
create(
projectId: string | number,
mergerequestIId: string | number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
edit(
projectId: string | number,
mergerequestIId: string | number,
noteId: number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
remove(
projectId: string | number,
mergerequestIId: string | number,
noteId: number,
options?: Sudo,
): Promise<object>;
show(
projectId: string | number,
mergerequestIId: string | number,
noteId: number,
options?: Sudo,
): Promise<GetResponse>;
}
export class MergeRequestNotes extends ResourceNotes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,24 @@
import { ResourceBadges } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface ProjectBadges extends ResourceBadges {
add(projectId: string | number, options?: BaseRequestOptions);
all(projectId: string | number, options?: PaginatedRequestOptions);
edit(projectId: string | number, badgeId: number, options?: BaseRequestOptions);
preview(projectId: string | number, linkUrl: string, imageUrl: string, options?: Sudo);
remove(projectId: string | number, badgeId: number, options?: Sudo);
show(projectId: string | number, badgeId: number, options?: Sudo);
}
export class ProjectBadges extends ResourceBadges {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,15 @@
import { ResourceCustomAttributes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface ProjectCustomAttributes extends ResourceCustomAttributes {
all(projectId: string | number, options?: PaginatedRequestOptions);
set(projectId: string | number, customAttributeId: number, value: string, options?: Sudo);
remove(projectId: string | number, customAttributeId: number, options?: Sudo);
show(projectId: string | number, customAttributeId: number, options?: Sudo);
}
export class ProjectCustomAttributes extends ResourceCustomAttributes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,38 @@
import { ResourceIssueBoards } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseServiceOptions,
BaseRequestOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface ProjectIssueBoards extends ResourceIssueBoards {
all(projectId: string | number, options?: PaginatedRequestOptions);
create(projectId: string | number, name: string, options?: Sudo);
createList(projectId: string | number, boardId: number, labelId: number, options?: Sudo);
edit(projectId: string | number, boardId: number, options?: BaseRequestOptions);
editList(
projectId: string | number,
boardId: number,
listId: number,
position: number,
options?: Sudo,
);
lists(projectId: string | number, boardId: number, options?: Sudo);
remove(projectId: string | number, boardId: number, options?: Sudo);
removeList(projectId: string | number, boardId: number, listId: number, options?: Sudo);
show(projectId: string | number, boardId: number, options?: Sudo);
showList(projectId: string | number, boardId: number, listId: number, options?: Sudo);
}
export class ProjectIssueBoards extends ResourceIssueBoards {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,24 @@
import { ResourceMilestones } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseServiceOptions,
PaginatedRequestOptions,
BaseRequestOptions,
Sudo,
} from '../infrastructure';
export interface ProjectMilestones extends ResourceMilestones {
all(projectId: string | number, options?: PaginatedRequestOptions);
create(projectId: string | number, title: string, options?: BaseRequestOptions);
edit(projectId: string | number, milestoneId: number, options?: BaseRequestOptions);
issues(projectId: string | number, milestoneId: number, options?: Sudo);
mergeRequests(projectId: string | number, milestoneId: number, options?: Sudo);
show(projectId: string | number, milestoneId: number, options?: Sudo);
}
export class ProjectMilestones extends ResourceMilestones {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,38 @@
import { ResourceAwardEmojis } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface ProjectSnippetAwardEmojis extends ResourceAwardEmojis {
all(
projectId: string | number,
issueId: string | number,
noteId: number,
options?: PaginatedRequestOptions,
);
award(
projectId: string | number,
issueId: string | number,
noteId: number,
name: string,
options?: Sudo,
);
remove(
projectId: string | number,
issueId: string | number,
awardId: number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
issueId: string | number,
awardId: number,
noteId: number,
options?: Sudo,
);
}
export class ProjectSnippetAwardEmojis extends ResourceAwardEmojis {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,54 @@
import { ResourceDiscussions } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import {
BaseRequestOptions,
BaseServiceOptions,
PaginatedRequestOptions,
Sudo,
} from '../infrastructure';
export interface ProjectSnippetDiscussions extends ResourceDiscussions {
addNote(
projectId: string | number,
snippetId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
all(projectId: string | number, snippetId: string | number, options?: PaginatedRequestOptions);
create(
projectId: string | number,
snippetId: string | number,
content: string,
options?: BaseRequestOptions,
);
editNote(
projectId: string | number,
snippetId: string | number,
discussionId: string | number,
noteId: number,
content: string,
options?: BaseRequestOptions,
);
removeNote(
projectId: string | number,
snippetId: string | number,
discussionId: string | number,
noteId: number,
options?: Sudo,
);
show(
projectId: string | number,
snippetId: string | number,
discussionId: string | number,
options?: Sudo,
);
}
export class ProjectSnippetDiscussions extends ResourceDiscussions {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,48 @@
import { ResourceNotes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { GetResponse } from '../infrastructure/RequestHelper';
import {
BaseServiceOptions,
PaginatedRequestOptions,
BaseRequestOptions,
Sudo,
} from '../infrastructure';
export interface ProjectSnippetNotes extends ResourceNotes {
all(
projectId: string | number,
snippetId: string | number,
options: PaginatedRequestOptions,
): Promise<GetResponse>;
create(
projectId: string | number,
snippetId: string | number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
edit(
projectId: string | number,
snippetId: string | number,
noteId: number,
body: string,
options?: BaseRequestOptions,
): Promise<object>;
remove(
projectId: string | number,
snippetId: string | number,
noteId: number,
options?: Sudo,
): Promise<object>;
show(
projectId: string | number,
snippetId: string | number,
noteId: number,
options?: Sudo,
): Promise<GetResponse>;
}
export class ProjectSnippetNotes extends ResourceNotes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,7 +1,24 @@
import { ResourceVariables } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { ResourceVariables, ResourceVariableSchema } from '../templates';
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure';
export { ResourceVariableSchema } from '../templates';
export interface ProjectVariables extends ResourceVariables {
all(
projectId: string | number,
options?: PaginatedRequestOptions,
): Promise<ResourceVariableSchema[]>;
create(projectId: string | number, options?: BaseRequestOptions);
edit(projectId: string | number, keyId: string, options?: BaseRequestOptions);
show(
projectId: string | number,
keyId: string,
options?: PaginatedRequestOptions,
): Promise<ResourceVariableSchema>;
remove(projectId: string | number, keyId: string, options?: PaginatedRequestOptions);
}
export class ProjectVariables extends ResourceVariables {
constructor(options: BaseServiceOptions = {}) {

View File

@ -1,5 +1,15 @@
import { ResourceCustomAttributes } from '../templates';
import { BaseServiceOptions } from '../infrastructure';
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure';
export interface UserCustomAttributes extends ResourceCustomAttributes {
all(userId: string | number, options?: PaginatedRequestOptions);
set(userId: string | number, customAttributeId: number, value: string, options?: Sudo);
remove(userId: string | number, customAttributeId: number, options?: Sudo);
show(userId: string | number, customAttributeId: number, options?: Sudo);
}
export class UserCustomAttributes extends ResourceCustomAttributes {
constructor(options: BaseServiceOptions = {}) {

View File

@ -9,19 +9,19 @@
"url": "https://github.com/jdalrymple/gitbeaker/issues"
},
"dependencies": {
"@gitbeaker/core": "^15.0.3",
"@gitbeaker/requester-utils": "^15.0.3",
"@gitbeaker/core": "^15.1.0",
"@gitbeaker/requester-utils": "^15.1.0",
"form-data": "^3.0.0",
"got": "^10.4.0",
"got": "^10.6.0",
"xcase": "^2.0.1"
},
"devDependencies": {
"@types/node": "^13.7.0",
"rollup": "^1.31.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
"@types/node": "^13.9.3",
"rollup": "^2.1.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.26.0",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.0.0"

View File

@ -10,16 +10,16 @@
},
"dependencies": {
"form-data": "^3.0.0",
"query-string": "^6.10.1",
"query-string": "^6.11.1",
"xcase": "^2.0.1"
},
"devDependencies": {
"@types/node": "^13.7.0",
"rollup": "^1.31.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
"@types/node": "^13.9.3",
"rollup": "^2.1.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.26.0",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=10.0.0"

View File

@ -6,7 +6,6 @@
"module": "es6",
"noEmit": true,
"pretty": true,
"incremental": true,
"lib": ["es2015", "es2016", "es2017", "dom"],
"sourceMap": true,
"inlineSources": true,

248
yarn.lock
View File

@ -1490,42 +1490,42 @@
dependencies:
"@types/node" ">= 8"
"@rollup/plugin-commonjs@^11.0.1":
version "11.0.1"
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.1.tgz#6056a6757286901cc6c1599123e6680a78cad6c2"
integrity sha512-SaVUoaLDg3KnIXC5IBNIspr1APTYDzk05VaYcI6qz+0XX3ZlSCwAkfAhNSOxfd5GAdcm/63Noi4TowOY9MpcDg==
"@rollup/plugin-commonjs@^11.0.2":
version "11.0.2"
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.2.tgz#837cc6950752327cb90177b608f0928a4e60b582"
integrity sha512-MPYGZr0qdbV5zZj8/2AuomVpnRVXRU5XKXb3HVniwRoRCreGlf5kOE081isNWeiLIi6IYkwTX9zE0/c7V8g81g==
dependencies:
"@rollup/pluginutils" "^3.0.0"
estree-walker "^0.6.1"
estree-walker "^1.0.1"
is-reference "^1.1.2"
magic-string "^0.25.2"
resolve "^1.11.0"
"@rollup/plugin-json@^4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.0.1.tgz#223898c6c37993886da06989b0e93ceef52aa3ce"
integrity sha512-soxllkhOGgchswBAAaTe7X9G80U2tjjHvXv0sBrriLJcC/89PkP59iTrKPOfbz3SjX088mKDmMhAscuyLz8ZSg==
"@rollup/plugin-json@^4.0.2":
version "4.0.2"
resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.0.2.tgz#482185ee36ac7dd21c346e2dbcc22ffed0c6f2d6"
integrity sha512-t4zJMc98BdH42mBuzjhQA7dKh0t4vMJlUka6Fz0c+iO5IVnWaEMiYBy1uBj9ruHZzXBW23IPDGL9oCzBkQ9Udg==
dependencies:
rollup-pluginutils "^2.5.0"
"@rollup/pluginutils" "^3.0.4"
"@rollup/plugin-node-resolve@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.0.0.tgz#cce3826df801538b001972fbf9b6b1c22b69fdf8"
integrity sha512-+vOx2+WMBMFotYKM3yYeDGZxIvcQ7yO4g+SuKDFsjKaq8Lw3EPgfB6qNlp8Z/3ceDCEhHvC9/b+PgBGwDQGbzQ==
"@rollup/plugin-node-resolve@^7.1.1":
version "7.1.1"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.1.tgz#8c6e59c4b28baf9d223028d0e450e06a485bb2b7"
integrity sha512-14ddhD7TnemeHE97a4rLOhobfYvUVcaYuqTnL8Ti7Jxi9V9Jr5LY7Gko4HZ5k4h4vqQM0gBQt6tsp9xXW94WPA==
dependencies:
"@rollup/pluginutils" "^3.0.0"
"@rollup/pluginutils" "^3.0.6"
"@types/resolve" "0.0.8"
builtin-modules "^3.1.0"
is-module "^1.0.0"
resolve "^1.11.1"
resolve "^1.14.2"
"@rollup/plugin-replace@^2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.3.0.tgz#86d88746383e40dd81cffb5216449cc51a734eb9"
integrity sha512-rzWAMqXAHC1w3eKpK6LxRqiF4f3qVFaa1sGii6Bp3rluKcwHNOpPt+hWRCmAH6SDEPtbPiLFf0pfNQyHs6Btlg==
"@rollup/plugin-replace@^2.3.1":
version "2.3.1"
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.3.1.tgz#16fb0563628f9e6c6ef9e05d48d3608916d466f5"
integrity sha512-qDcXj2VOa5+j0iudjb+LiwZHvBRRgWbHPhRmo1qde2KItTjuxDVQO21rp9/jOlzKR5YO0EsgRQoyox7fnL7y/A==
dependencies:
magic-string "^0.25.2"
rollup-pluginutils "^2.6.0"
"@rollup/pluginutils" "^3.0.4"
magic-string "^0.25.5"
"@rollup/pluginutils@^3.0.0":
version "3.0.4"
@ -1534,6 +1534,13 @@
dependencies:
estree-walker "^0.6.1"
"@rollup/pluginutils@^3.0.4", "@rollup/pluginutils@^3.0.6":
version "3.0.8"
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.0.8.tgz#4e94d128d94b90699e517ef045422960d18c8fde"
integrity sha512-rYGeAc4sxcZ+kPG/Tw4/fwJODC3IXHYDH4qusdN/b6aLw5LPUbzpecYbEJh4sVQGPFJxd2dBU4kc1H3oy9/bnw==
dependencies:
estree-walker "^1.0.1"
"@samverschueren/stream-to-observable@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f"
@ -1640,11 +1647,6 @@
lodash "^4.17.4"
read-pkg-up "^7.0.0"
"@sindresorhus/is@^1.0.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-1.2.0.tgz#63ce3638cb85231f3704164c90a18ef816da3fb7"
integrity sha512-mwhXGkRV5dlvQc4EgPDxDxO6WuMBVymGFd1CA+2Y+z5dG9MNspoQ+AWjl/Ld1MnpCL8AKbosZlDVohqcIwuWsw==
"@sindresorhus/is@^2.0.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-2.1.0.tgz#6ad4ca610f696098e92954ab431ff83bea0ce13f"
@ -1717,11 +1719,6 @@
resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==
"@types/estree@*":
version "0.0.42"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.42.tgz#8d0c1f480339efedb3e46070e22dd63e0430dd11"
integrity sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ==
"@types/estree@0.0.39":
version "0.0.39"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
@ -1796,10 +1793,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.8.tgz#1d590429fe8187a02707720ecf38a6fe46ce294b"
integrity sha512-6XzyyNM9EKQW4HKuzbo/CkOIjn/evtCmsU+MUM1xDfJ+3/rNjBttM1NgN7AOQvN6tP1Sl1D1PIKMreTArnxM9A==
"@types/node@^13.7.0":
version "13.7.0"
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.0.tgz#b417deda18cf8400f278733499ad5547ed1abec4"
integrity sha512-GnZbirvmqZUzMgkFn70c74OQpTTUcCzlhQliTzYjQMqg+hVKcDnxdL19Ne3UdYzdMA/+W3eb646FWn/ZaT1NfQ==
"@types/node@^13.9.3":
version "13.9.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.9.3.tgz#6356df2647de9eac569f9a52eda3480fa9e70b4d"
integrity sha512-01s+ac4qerwd6RHD+mVbOEsraDHSgUaefQlEdBbUolnQFjKwCr7luvAlEwW1RFojh67u0z4OUTjPn9LEl4zIkA==
"@types/normalize-package-data@^2.4.0":
version "2.4.0"
@ -2297,6 +2294,11 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
at-least-node@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==
atob-lite@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696"
@ -2650,13 +2652,6 @@ cache-base@^1.0.1:
union-value "^1.0.0"
unset-value "^1.0.0"
cacheable-lookup@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-1.0.0.tgz#ae877296b7b43b720e4a4554c47ec85e74d0932a"
integrity sha512-Te7MkBWBEPUdLjFWLoIu61osWKjrvBdBrSxEso6T9iGLTDPhcA2PI6J++lF/Hmqi5HtZmkKN3q/C7gwa+U/EUg==
dependencies:
keyv "^4.0.0"
cacheable-lookup@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz#87be64a18b925234875e10a9bb1ebca4adce6b38"
@ -4136,6 +4131,11 @@ estree-walker@^0.6.1:
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"
integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==
estree-walker@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==
esutils@^2.0.2:
version "2.0.3"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
@ -4426,13 +4426,13 @@ fill-range@^7.0.1:
dependencies:
to-regex-range "^5.0.1"
find-cache-dir@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.2.0.tgz#e7fe44c1abc1299f516146e563108fd1006c1874"
integrity sha512-1JKclkYYsf1q9WIJKLZa9S9muC+08RIjzAlLrK4QcYLJMS6mk9yombQ9qf+zJ7H9LS800k0s44L4sDq9VYzqyg==
find-cache-dir@^3.2.0:
version "3.3.1"
resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.1.tgz#89b33fad4a4670daa94f855f7fbe31d6d84fe880"
integrity sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==
dependencies:
commondir "^1.0.1"
make-dir "^3.0.0"
make-dir "^3.0.2"
pkg-dir "^4.1.0"
find-node-modules@2.0.0:
@ -4587,6 +4587,16 @@ fs-extra@8.1.0, fs-extra@^8.0.0, fs-extra@^8.1.0:
jsonfile "^4.0.0"
universalify "^0.1.0"
fs-extra@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.0.tgz#b6afc31036e247b2466dc99c29ae797d5d4580a3"
integrity sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g==
dependencies:
at-least-node "^1.0.0"
graceful-fs "^4.2.0"
jsonfile "^6.0.1"
universalify "^1.0.0"
fs-minipass@^1.2.5:
version "1.2.7"
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7"
@ -4618,7 +4628,7 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
fsevents@^2.1.2:
fsevents@^2.1.2, fsevents@~2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805"
integrity sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==
@ -4945,26 +4955,6 @@ globby@^9.2.0:
pify "^4.0.1"
slash "^2.0.0"
got@^10.4.0:
version "10.4.0"
resolved "https://registry.yarnpkg.com/got/-/got-10.4.0.tgz#2bd869d3d965716a43bee89d6fc3d16b565109c4"
integrity sha512-yHxq0LgdLFmJcrl27wEOIvZaHbgtn1DYpYUUX/kovLZoQ8q+QwJH+i9zkldDxGUawu1cUsgNMp8Xxm5yKT2UyQ==
dependencies:
"@sindresorhus/is" "^1.0.0"
"@szmarczak/http-timer" "^4.0.0"
"@types/cacheable-request" "^6.0.1"
cacheable-lookup "^1.0.0"
cacheable-request "^7.0.1"
decompress-response "^5.0.0"
duplexer3 "^0.1.4"
get-stream "^5.0.0"
lowercase-keys "^2.0.0"
mimic-response "^2.0.0"
p-cancelable "^2.0.0"
responselike "^2.0.0"
to-readable-stream "^2.0.0"
type-fest "^0.9.0"
got@^10.6.0:
version "10.6.0"
resolved "https://registry.yarnpkg.com/got/-/got-10.6.0.tgz#ac3876261a4d8e5fc4f81186f79955ce7b0501dc"
@ -6428,6 +6418,15 @@ jsonfile@^4.0.0:
optionalDependencies:
graceful-fs "^4.1.6"
jsonfile@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.0.1.tgz#98966cba214378c8c84b82e085907b40bf614179"
integrity sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==
dependencies:
universalify "^1.0.0"
optionalDependencies:
graceful-fs "^4.1.6"
jsonparse@^1.2.0:
version "1.3.1"
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
@ -6479,10 +6478,10 @@ kleur@^3.0.3:
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
ky@^0.16.2:
version "0.16.2"
resolved "https://registry.yarnpkg.com/ky/-/ky-0.16.2.tgz#e3652262ab659b27780dd025d1524e40572034a8"
integrity sha512-4/Xcb0hqeueNX9sa+G2jREiam9yb+I2Y3p3J42lIeitAenHXUZwpyejEgeQcQsaGl+hbuA0s7c3u+nlcIYFtog==
ky@^0.19.0:
version "0.19.0"
resolved "https://registry.yarnpkg.com/ky/-/ky-0.19.0.tgz#d6ad117e89efe2d85a1c2e91462d48ca1cda1f7a"
integrity sha512-RkDgbg5ahMv1MjHfJI2WJA2+Qbxq0iNSLWhreYiCHeHry9Q12sedCnP5KYGPt7sydDvsyH+8UcG6Kanq5mpsyw==
latest-version@^3.0.0:
version "3.1.0"
@ -7135,6 +7134,13 @@ magic-string@^0.25.2:
dependencies:
sourcemap-codec "^1.4.4"
magic-string@^0.25.5:
version "0.25.7"
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"
integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==
dependencies:
sourcemap-codec "^1.4.4"
make-dir@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
@ -7157,6 +7163,13 @@ make-dir@^3.0.0:
dependencies:
semver "^6.0.0"
make-dir@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.0.2.tgz#04a1acbf22221e1d6ef43559f43e05a90dbb4392"
integrity sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w==
dependencies:
semver "^6.0.0"
make-error@1.x, make-error@^1.1.1:
version "1.3.5"
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8"
@ -8820,7 +8833,16 @@ qs@~6.5.2:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
query-string@^6.10.1, query-string@^6.8.2:
query-string@^6.11.1:
version "6.11.1"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.11.1.tgz#ab021f275d463ce1b61e88f0ce6988b3e8fe7c2c"
integrity sha512-1ZvJOUl8ifkkBxu2ByVM/8GijMIPx+cef7u3yroO3Ogm4DOdZcF5dcrWTIlSHe3Pg/mtlt6/eFjObDfJureZZA==
dependencies:
decode-uri-component "^0.2.0"
split-on-first "^1.0.0"
strict-uri-encode "^2.0.0"
query-string@^6.8.2:
version "6.10.1"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.10.1.tgz#30b3505f6fca741d5ae541964d1b3ae9dc2a0de8"
integrity sha512-SHTUV6gDlgMXg/AQUuLpTiBtW/etZ9JT6k6RCtCyqADquApLX0Aq5oK/s5UeTUAWBG50IExjIr587GqfXRfM4A==
@ -9272,14 +9294,14 @@ resolve@1.1.7:
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
resolve@1.12.0:
version "1.12.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w==
resolve@1.15.1, resolve@^1.14.2:
version "1.15.1"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8"
integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==
dependencies:
path-parse "^1.0.6"
resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2:
resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.3.2:
version "1.15.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.0.tgz#1b7ca96073ebb52e741ffd799f6b39ea462c67f5"
integrity sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==
@ -9390,10 +9412,10 @@ rollup-plugin-preserve-shebangs@^0.1.2:
resolved "https://registry.yarnpkg.com/rollup-plugin-preserve-shebangs/-/rollup-plugin-preserve-shebangs-0.1.2.tgz#f80aacb7726dc4a57ccf365001ea0c31fb82d6f3"
integrity sha512-7683RR5AkyN2Ftg8qUZw9v25th46vJsEjgIW7g1rRSno9CEfXy8IQ03wV+tXwDAl5DBbHHYIzn3T/wc/l8FD1w==
rollup-plugin-terser@^5.2.0:
version "5.2.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.2.0.tgz#ba758adf769347b7f1eaf9ef35978d2e207dccc7"
integrity sha512-jQI+nYhtDBc9HFRBz8iGttQg7li9klmzR62RG2W2nN6hJ/FI2K2ItYQ7kJ7/zn+vs+BP1AEccmVRjRN989I+Nw==
rollup-plugin-terser@^5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.3.0.tgz#9c0dd33d5771df9630cd027d6a2559187f65885e"
integrity sha512-XGMJihTIO3eIBsVGq7jiNYOdDMb3pVxuzY0uhOE/FM4x/u9nQgr3+McsjzqBn3QfHIpNSZmFnpoKAwHBEcsT7g==
dependencies:
"@babel/code-frame" "^7.5.5"
jest-worker "^24.9.0"
@ -9401,39 +9423,30 @@ rollup-plugin-terser@^5.2.0:
serialize-javascript "^2.1.2"
terser "^4.6.2"
rollup-plugin-typescript2@^0.25.3:
version "0.25.3"
resolved "https://registry.yarnpkg.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.25.3.tgz#a5fb2f0f85488789334ce540abe6c7011cbdf40f"
integrity sha512-ADkSaidKBovJmf5VBnZBZe+WzaZwofuvYdzGAKTN/J4hN7QJCFYAq7IrH9caxlru6T5qhX41PNFS1S4HqhsGQg==
rollup-plugin-typescript2@^0.26.0:
version "0.26.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.26.0.tgz#cee2b44d51d9623686656d76dc30a73c4de91672"
integrity sha512-lUK7XZVG77tu8dmv1L/0LZFlavED/5Yo6e4iMMl6fdox/yKdj4IFRRPPJEXNdmEaT1nDQQeCi7b5IwKHffMNeg==
dependencies:
find-cache-dir "^3.0.0"
find-cache-dir "^3.2.0"
fs-extra "8.1.0"
resolve "1.12.0"
rollup-pluginutils "2.8.1"
resolve "1.15.1"
rollup-pluginutils "2.8.2"
tslib "1.10.0"
rollup-pluginutils@2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.1.tgz#8fa6dd0697344938ef26c2c09d2488ce9e33ce97"
integrity sha512-J5oAoysWar6GuZo0s+3bZ6sVZAC0pfqKz68De7ZgDi5z63jOVZn1uJL/+z1jeKHNbGII8kAyHF5q8LnxSX5lQg==
dependencies:
estree-walker "^0.6.1"
rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.5.0, rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.2:
rollup-pluginutils@2.8.2, rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.2:
version "2.8.2"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
dependencies:
estree-walker "^0.6.1"
rollup@^1.31.0:
version "1.31.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.31.0.tgz#e2a87212e96aa7850f3eb53fdd02cf89f2d2fe9a"
integrity sha512-9C6ovSyNeEwvuRuUUmsTpJcXac1AwSL1a3x+O5lpmQKZqi5mmrjauLeqIjvREC+yNRR8fPdzByojDng+af3nVw==
dependencies:
"@types/estree" "*"
"@types/node" "*"
acorn "^7.1.0"
rollup@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.1.0.tgz#552e248e397a06b9c6db878c0564ca4ee06729c9"
integrity sha512-gfE1455AEazVVTJoeQtcOq/U6GSxwoj4XPSWVsuWmgIxj7sBQNLDOSA82PbdMe+cP8ql8fR1jogPFe8Wg8g4SQ==
optionalDependencies:
fsevents "~2.1.2"
rsvp@^4.8.4:
version "4.8.5"
@ -10540,10 +10553,10 @@ ts-jest@^25.2.1:
semver "^5.5"
yargs-parser "^16.1.0"
ts-node@^8.6.2:
version "8.6.2"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.6.2.tgz#7419a01391a818fbafa6f826a33c1a13e9464e35"
integrity sha512-4mZEbofxGqLL2RImpe3zMJukvEvcO1XP8bj8ozBPySdCUXEcU5cIRwR0aM3R+VoZq7iXc8N86NC0FspGRqP4gg==
ts-node@^8.8.1:
version "8.8.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-8.8.1.tgz#7c4d3e9ed33aa703b64b28d7f9d194768be5064d"
integrity sha512-10DE9ONho06QORKAaCBpPiFCdW+tZJuY/84tyypGtl6r+/C7Asq0dhqbRZURuUlLQtZxxDvT8eoj8cGW0ha6Bg==
dependencies:
arg "^4.1.0"
diff "^4.0.1"
@ -10612,11 +10625,6 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
type-fest@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.9.0.tgz#3b7904821e42b26377831a6e9b5d2930ab19c99a"
integrity sha512-j55pzONIdg7rdtJTRZPKIbV0FosUqYdhHK1aAYJIrUvejv1VVyBokrILE8KQDT4emW/1Ev9tx+yZG+AxuSBMmA==
typedarray-to-buffer@^3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
@ -10634,11 +10642,6 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
typescript@^3.7.5:
version "3.7.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==
typescript@^3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
@ -10712,6 +10715,11 @@ universalify@^0.1.0:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
universalify@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-1.0.0.tgz#b61a1da173e8435b2fe3c67d29b9adf8594bd16d"
integrity sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==
unpipe@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"