-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Update
@nextcloud/event-bus
to version 3.3.1
Signed-off-by: Ferdinand Thiessen <[email protected]> [skip ci]
- Loading branch information
1 parent
ce12b10
commit a689c7b
Showing
8 changed files
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { Node } from '@nextcloud/files' | ||
|
||
declare module '@nextcloud/event-bus' { | ||
export interface NextcloudEvents { | ||
// mapping of 'event name' => 'event type' | ||
'files:favorites:removed': Node | ||
'files:favorites:added': Node | ||
} | ||
} | ||
|
||
export {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable import/no-named-as-default-member */ | ||
/** | ||
* @copyright Copyright (c) 2023 John Molakvoæ <[email protected]> | ||
* | ||
|
@@ -22,7 +23,7 @@ | |
import { basename } from 'path' | ||
import { expect } from '@jest/globals' | ||
import { Folder, Navigation, getNavigation } from '@nextcloud/files' | ||
import * as eventBus from '@nextcloud/event-bus' | ||
import eventBus from '@nextcloud/event-bus' | ||
import * as initialState from '@nextcloud/initial-state' | ||
|
||
import { action } from '../actions/favoriteAction' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters