From aeeb89fb424a259b47cd17aaa658dbdf77f3e96f Mon Sep 17 00:00:00 2001 From: Makoto Motohashi Date: Fri, 25 Jun 2021 16:26:04 +0900 Subject: [PATCH 1/2] 'keyword' parameter is not necessary for getting issue list #40 --- dist/backlog.d.ts | 2 +- src/option.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/backlog.d.ts b/dist/backlog.d.ts index 7c723e7..deeec85 100644 --- a/dist/backlog.d.ts +++ b/dist/backlog.d.ts @@ -603,7 +603,7 @@ declare module 'backlog-js' { dueDateUntil?: string; id?: number[]; parentIssueId?: number[]; - keyword: string; + keyword?: string; [customField_: string]: any; } export enum ParentChildType { diff --git a/src/option.ts b/src/option.ts index acac728..325756a 100644 --- a/src/option.ts +++ b/src/option.ts @@ -429,7 +429,7 @@ dueDateUntil?: string; id?: number[]; parentIssueId?: number[]; - keyword: string; + keyword?: string; [customField_: string]: any; } From 1f77d51483255339d2fa8eb40403bfe2b3e0fd09 Mon Sep 17 00:00:00 2001 From: Makoto Motohashi Date: Fri, 25 Jun 2021 16:34:16 +0900 Subject: [PATCH 2/2] Parameters of getting wikis is wrong #41 --- dist/backlog.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dist/backlog.d.ts b/dist/backlog.d.ts index deeec85..531f16a 100644 --- a/dist/backlog.d.ts +++ b/dist/backlog.d.ts @@ -137,7 +137,7 @@ declare module 'backlog-js' { getIssueSharedFiles(issueIdOrKey: string): Promise; linkIssueSharedFiles(issueIdOrKey: string, params: Option.Issue.LinkIssueSharedFilesParams): Promise; unlinkIssueSharedFile(issueIdOrKey: string, id: number): Promise; - getWikis(projectIdOrKey: number): Promise; + getWikis(params: Option.Wiki.GetWikiParams): Promise; getWikisCount(projectIdOrKey: number): Promise; getWikisTags(projectIdOrKey: number): Promise; postWiki(params: Option.Wiki.PostWikiParams): Promise; @@ -677,6 +677,10 @@ declare module 'backlog-js' { } } export namespace Wiki { + export interface GetWikiParams { + projectIdOrKey: number; + keyword?: string; + } export interface PostWikiParams { projectId: number; name: string;