added 'addFeaturedLinkMetaDecorator' method to the plugin api (#10232)
* added 'addFeaturedLinkMetaDecorator' method to the plugin api * fixed formatting * Fixed quotes around import
This commit is contained in:
parent
3d65678a13
commit
9917b9cb21
|
@ -58,9 +58,10 @@ import Composer from "discourse/models/composer";
|
|||
import { on } from "@ember/object/evented";
|
||||
import { addQuickAccessProfileItem } from "discourse/widgets/quick-access-profile";
|
||||
import KeyboardShortcuts from "discourse/lib/keyboard-shortcuts";
|
||||
import { addFeaturedLinkMetaDecorator } from "discourse/lib/render-topic-featured-link";
|
||||
|
||||
// If you add any methods to the API ensure you bump up this number
|
||||
const PLUGIN_API_VERSION = "0.10.1";
|
||||
const PLUGIN_API_VERSION = "0.10.2";
|
||||
|
||||
class PluginApi {
|
||||
constructor(version, container) {
|
||||
|
@ -1174,6 +1175,10 @@ class PluginApi {
|
|||
addQuickAccessProfileItem(item) {
|
||||
addQuickAccessProfileItem(item);
|
||||
}
|
||||
|
||||
addFeaturedLinkMetaDecorator(decorator) {
|
||||
addFeaturedLinkMetaDecorator(decorator);
|
||||
}
|
||||
}
|
||||
|
||||
let _pluginv01;
|
||||
|
|
Loading…
Reference in New Issue