зеркало из https://github.com/nextcloud/server.git
fix(deps): Update `@nextcloud/event-bus` to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Родитель
67d8277c49
Коммит
622bf30031
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче