aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OCP/index.js
blob: 94f4e8e5eb35c5b650f084fbba6ce7855d9e0a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**
 * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

import { loadState } from '@nextcloud/initial-state'

import * as AppConfig from './appconfig.js'
import * as Comments from './comments.js'
import * as WhatsNew from './whatsnew.js'

import Accessibility from './accessibility.js'
import Collaboration from './collaboration.js'
import Loader from './loader.js'
import Toast from './toast.js'

/** @namespace OCP */
export default {
	Accessibility,
	AppConfig,
	Collaboration,
	Comments,
	InitialState: {
		/**
		 * @deprecated 18.0.0 add https://www.npmjs.com/package/@nextcloud/initial-state to your app
		 */
		loadState,
	},
	Loader,
	/**
	 * @deprecated 19.0.0 use the `@nextcloud/dialogs` package instead
	 */
	Toast,
	WhatsNew,
}