feat: expose plugins and presets on SwaggerUI global symbol (#9189)

Part of this commit is also:
- complete plugins consolidation
- complete presets consolidation
- build system consolidation

Refs #9188
This commit is contained in:
Vladimír Gorej
2023-09-05 09:56:51 +02:00
committed by GitHub
parent 8137a8b337
commit edd1153723
118 changed files with 28137 additions and 853 deletions

View File

@@ -7,7 +7,7 @@ import {
authorizeOauth2WithPersistOption,
logoutWithPersistOption,
persistAuthorizationIfNeeded
} from "corePlugins/auth/actions"
} from "core/plugins/auth/actions"
import {authorizeAccessCodeWithBasicAuthentication, authPopup} from "../../../../../src/core/plugins/auth/actions"
describe("auth plugin - actions", () => {

View File

@@ -1,4 +1,4 @@
import { loaded } from "corePlugins/auth/configs-extensions/wrap-actions"
import { loaded } from "core/plugins/auth/configs-extensions/wrap-actions"
describe("loaded hook", () => {
describe("authorization data restoration", () => {

View File

@@ -1,7 +1,7 @@
import { fromJS } from "immutable"
import { preauthorizeBasic, preauthorizeApiKey } from "corePlugins/auth"
import { authorize } from "corePlugins/auth/actions"
import { preauthorizeBasic, preauthorizeApiKey } from "core/plugins/auth"
import { authorize } from "core/plugins/auth/actions"
const S2_SYSTEM = {
authActions: {

View File

@@ -1,6 +1,6 @@
import { fromJS } from "immutable"
import { definitionsToAuthorize, definitionsForRequirements } from "corePlugins/auth/selectors"
import { definitionsToAuthorize, definitionsForRequirements } from "core/plugins/auth/selectors"
describe("auth plugin - selectors", () => {
describe("definitionsToAuthorize", () => {

View File

@@ -1,4 +1,4 @@
import { execute } from "corePlugins/auth/spec-extensions/wrap-actions"
import { execute } from "core/plugins/auth/spec-extensions/wrap-actions"
describe("spec plugin - actions", function(){

View File

@@ -2,7 +2,7 @@
* @prettier
*/
import { fromJS } from "immutable"
import { authorize, logout } from "corePlugins/auth/wrap-actions"
import { authorize, logout } from "core/plugins/auth/wrap-actions"
describe("Cookie based apiKey persistence in document.cookie", () => {
beforeEach(() => {