Browse Source
fix(deps): Update `@nextcloud/event-bus` to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/45538/head
Ferdinand Thiessen
1 year ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
9 changed files with
20 additions and
8 deletions
-
apps/files/src/actions/deleteAction.spec.ts
-
apps/files/src/actions/favoriteAction.spec.ts
-
apps/files/src/actions/renameAction.spec.ts
-
apps/files/src/eventbus.d.ts
-
apps/files/src/views/favorites.spec.ts
-
apps/files_sharing/src/actions/acceptShareAction.spec.ts
-
apps/files_sharing/src/actions/rejectShareAction.spec.ts
-
apps/files_sharing/src/actions/restoreShareAction.spec.ts
-
package.json
|
|
@ -5,7 +5,7 @@ |
|
|
|
import { action } from './deleteAction' |
|
|
|
import { expect } from '@jest/globals' |
|
|
|
import { File, Folder, Permission, View, FileAction } from '@nextcloud/files' |
|
|
|
import * as eventBus from '@nextcloud/event-bus' |
|
|
|
import eventBus from '@nextcloud/event-bus' |
|
|
|
import axios from '@nextcloud/axios' |
|
|
|
|
|
|
|
import logger from '../logger' |
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
import { action } from './favoriteAction' |
|
|
|
import { expect } from '@jest/globals' |
|
|
|
import { File, Permission, View, FileAction } from '@nextcloud/files' |
|
|
|
import * as eventBus from '@nextcloud/event-bus' |
|
|
|
import eventBus from '@nextcloud/event-bus' |
|
|
|
import * as favoriteAction from './favoriteAction' |
|
|
|
import axios from '@nextcloud/axios' |
|
|
|
import logger from '../logger' |
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
import { action } from './renameAction' |
|
|
|
import { expect } from '@jest/globals' |
|
|
|
import { File, Permission, View, FileAction } from '@nextcloud/files' |
|
|
|
import * as eventBus from '@nextcloud/event-bus' |
|
|
|
import eventBus from '@nextcloud/event-bus' |
|
|
|
|
|
|
|
const view = { |
|
|
|
id: 'files', |
|
|
|
|
|
@ -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 {} |
|
|
@ -1,3 +1,4 @@ |
|
|
|
/* eslint-disable import/no-named-as-default-member */ |
|
|
|
/** |
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors |
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later |
|
|
@ -5,7 +6,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' |
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
import { action } from './acceptShareAction' |
|
|
|
import { expect } from '@jest/globals' |
|
|
|
import { File, Permission, View, FileAction } from '@nextcloud/files' |
|
|
|
import * as eventBus from '@nextcloud/event-bus' |
|
|
|
import eventBus from '@nextcloud/event-bus' |
|
|
|
import axios from '@nextcloud/axios' |
|
|
|
import '../main' |
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
import { action } from './rejectShareAction' |
|
|
|
import { expect } from '@jest/globals' |
|
|
|
import { File, Folder, Permission, View, FileAction } from '@nextcloud/files' |
|
|
|
import * as eventBus from '@nextcloud/event-bus' |
|
|
|
import eventBus from '@nextcloud/event-bus' |
|
|
|
import axios from '@nextcloud/axios' |
|
|
|
import '../main' |
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
import { action } from './restoreShareAction' |
|
|
|
import { expect } from '@jest/globals' |
|
|
|
import { File, Permission, View, FileAction } from '@nextcloud/files' |
|
|
|
import * as eventBus from '@nextcloud/event-bus' |
|
|
|
import eventBus from '@nextcloud/event-bus' |
|
|
|
import axios from '@nextcloud/axios' |
|
|
|
import '../main' |
|
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ |
|
|
|
"@nextcloud/calendar-availability-vue": "^2.2.0", |
|
|
|
"@nextcloud/capabilities": "^1.0.4", |
|
|
|
"@nextcloud/dialogs": "^5.3.1", |
|
|
|
"@nextcloud/event-bus": "^3.1.0", |
|
|
|
"@nextcloud/event-bus": "^3.3.1", |
|
|
|
"@nextcloud/files": "^3.4.0", |
|
|
|
"@nextcloud/initial-state": "^2.0.0", |
|
|
|
"@nextcloud/l10n": "^2.1.0", |
|
|
|