nextcloud/core/src/OCP/index.js
Christoph Wurst 01a70e5d0f
Use external Toast implementation and deprecate the OCP API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-06 17:00:58 +02:00

26 lines
602 B
JavaScript

import * as AppConfig from './appconfig'
import * as Comments from './comments'
import Loader from './loader'
import { loadState } from '@nextcloud/initial-state'
import Collaboration from './collaboration'
import * as WhatsNew from './whatsnew'
import Toast from './toast'
/** @namespace OCP */
export default {
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,
}