summaryrefslogtreecommitdiffstats
path: root/core/src/OCP/index.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-02-07 10:47:59 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-06 17:00:58 +0200
commit01a70e5d0f6f369fefd510379994e7f465289421 (patch)
tree56139424174b1d66587aec8c2323df836a288f2d /core/src/OCP/index.js
parent1d62b9786f07474bd6910b04aa905ccf3745690b (diff)
downloadnextcloud-server-01a70e5d0f6f369fefd510379994e7f465289421.tar.gz
nextcloud-server-01a70e5d0f6f369fefd510379994e7f465289421.zip
Use external Toast implementation and deprecate the OCP API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OCP/index.js')
-rw-r--r--core/src/OCP/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/OCP/index.js b/core/src/OCP/index.js
index d8640b1ff0c..4f2c47f1fa4 100644
--- a/core/src/OCP/index.js
+++ b/core/src/OCP/index.js
@@ -1,13 +1,10 @@
-/**
- *
- */
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 Toast from './toast'
import * as WhatsNew from './whatsnew'
+import Toast from './toast'
/** @namespace OCP */
export default {
@@ -21,6 +18,9 @@ export default {
loadState,
},
Loader,
+ /**
+ * @deprecated 19.0.0 use the `@nextcloud/dialogs` package instead
+ */
Toast,
WhatsNew,
}