fix(plugins): make swagger-js wrapActions overridable (#7753)
Co-authored-by: John Bednarczyk <john.bednarczyk@singlewire.com> Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com> Refs #7730
This commit is contained in:
@@ -3,7 +3,7 @@ import { execute, buildRequest } from "swagger-client/es/execute"
|
|||||||
import Http, { makeHttp, serializeRes } from "swagger-client/es/http"
|
import Http, { makeHttp, serializeRes } from "swagger-client/es/http"
|
||||||
import resolveSubtree from "swagger-client/es/subtree-resolver"
|
import resolveSubtree from "swagger-client/es/subtree-resolver"
|
||||||
import { opId } from "swagger-client/es/helpers"
|
import { opId } from "swagger-client/es/helpers"
|
||||||
import * as configsWrapActions from "./configs-wrap-actions"
|
import { loaded } from "./configs-wrap-actions"
|
||||||
|
|
||||||
export default function({ configs, getConfigs }) {
|
export default function({ configs, getConfigs }) {
|
||||||
return {
|
return {
|
||||||
@@ -30,7 +30,9 @@ export default function({ configs, getConfigs }) {
|
|||||||
},
|
},
|
||||||
statePlugins: {
|
statePlugins: {
|
||||||
configs: {
|
configs: {
|
||||||
wrapActions: configsWrapActions
|
wrapActions: {
|
||||||
|
loaded,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user