2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00

DEV: move select-kit plugin-api file to lib directory (#32507)

Lift and shift, this file ceased to be a mixin as of
https://github.com/discourse/discourse/pull/28467.
This commit is contained in:
Kelv 2025-04-29 15:50:15 +08:00 committed by GitHub
parent 0d461c4c9d
commit 19626bc75a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 3 deletions

View file

@ -157,7 +157,7 @@ import {
} from "discourse/widgets/widget";
import { addImageWrapperButton } from "discourse-markdown-it/features/image-controls";
import { CUSTOM_USER_SEARCH_OPTIONS } from "select-kit/components/user-chooser";
import { modifySelectKit } from "select-kit/mixins/plugin-api";
import { modifySelectKit } from "select-kit/lib/plugin-api";

const DEPRECATED_POST_STREAM_WIDGETS = [
"actions-summary",

View file

@ -8,7 +8,7 @@ import selectKit, {
} from "discourse/tests/helpers/select-kit-helper";
import ComboBox from "select-kit/components/combo-box";
import SingleSelect from "select-kit/components/single-select";
import { clearCallbacks } from "select-kit/mixins/plugin-api";
import { clearCallbacks } from "select-kit/lib/plugin-api";

module("Integration | Component | select-kit/api", function (hooks) {
setupRenderingTest(hooks);

View file

@ -21,7 +21,7 @@ import { i18n } from "discourse-i18n";
import {
applyContentPluginApiCallbacks,
applyOnChangePluginApiCallbacks,
} from "select-kit/mixins/plugin-api";
} from "select-kit/lib/plugin-api";
import UtilsMixin from "select-kit/mixins/utils";

export const MAIN_COLLECTION = "MAIN_COLLECTION";