fix(deps): Update `@nextcloud/event-bus` to version 3.3.1

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/45538/head
Ferdinand Thiessen 11 months ago
parent 67d8277c49
commit 622bf30031
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  1. 2
      apps/files/src/actions/deleteAction.spec.ts
  2. 2
      apps/files/src/actions/favoriteAction.spec.ts
  3. 2
      apps/files/src/actions/renameAction.spec.ts
  4. 11
      apps/files/src/eventbus.d.ts
  5. 3
      apps/files/src/views/favorites.spec.ts
  6. 2
      apps/files_sharing/src/actions/acceptShareAction.spec.ts
  7. 2
      apps/files_sharing/src/actions/rejectShareAction.spec.ts
  8. 2
      apps/files_sharing/src/actions/restoreShareAction.spec.ts
  9. 2
      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",

Loading…
Cancel
Save