@excali-boards/boards-api-client 1.1.28 → 1.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/classes/boards.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare class APIBoards {
|
|
|
8
8
|
getBoard({ auth, categoryId, groupId, boardId }: BoardsFunctionsInput['getBoard']): Promise<import("..").WebResponse<GetBoardOutput>>;
|
|
9
9
|
updateBoard({ auth, categoryId, groupId, boardId, body }: BoardsFunctionsInput['updateBoard']): Promise<import("..").WebResponse<string>>;
|
|
10
10
|
scheduleBoardDeletion({ auth, categoryId, groupId, boardId }: BoardsFunctionsInput['scheduleBoardDeletion']): Promise<import("..").WebResponse<string>>;
|
|
11
|
+
forceDeleteBoard({ auth, categoryId, groupId, boardId }: BoardsFunctionsInput['scheduleBoardDeletion']): Promise<import("..").WebResponse<string>>;
|
|
11
12
|
cancelBoardDeletion({ auth, categoryId, groupId, boardId }: BoardsFunctionsInput['cancelBoardDeletion']): Promise<import("..").WebResponse<string>>;
|
|
12
13
|
getBoardRoomData({ auth, categoryId, groupId, boardId }: BoardsFunctionsInput['getRoomData']): Promise<import("..").WebResponse<AllRooms>>;
|
|
13
14
|
kickUserFromRoom({ auth, categoryId, groupId, boardId, userId }: BoardsFunctionsInput['kickUserFromRoom']): Promise<import("..").WebResponse<string>>;
|
package/dist/classes/boards.js
CHANGED
|
@@ -30,6 +30,12 @@ class APIBoards {
|
|
|
30
30
|
endpoint: this.web.qp(`/groups/${groupId}/categories/${categoryId}/boards/${boardId}`),
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
+
async forceDeleteBoard({ auth, categoryId, groupId, boardId }) {
|
|
34
|
+
return await this.web.request({
|
|
35
|
+
method: 'DELETE', auth,
|
|
36
|
+
endpoint: this.web.qp(`/groups/${groupId}/categories/${categoryId}/boards/${boardId}?force=true`),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
33
39
|
async cancelBoardDeletion({ auth, categoryId, groupId, boardId }) {
|
|
34
40
|
return await this.web.request({
|
|
35
41
|
method: 'POST', auth,
|
package/dist/classes/users.d.ts
CHANGED
package/package.json
CHANGED