diff --git a/src/Umbraco.Web.UI.Client/package-lock.json b/src/Umbraco.Web.UI.Client/package-lock.json index b89682ef29..c75b83054a 100644 --- a/src/Umbraco.Web.UI.Client/package-lock.json +++ b/src/Umbraco.Web.UI.Client/package-lock.json @@ -24,9 +24,9 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@babel/core": "^7.19.6", + "@babel/core": "^7.20.2", "@mdx-js/react": "^2.1.5", - "@open-wc/testing": "^3.1.6", + "@open-wc/testing": "^3.1.7", "@playwright/test": "^1.27.1", "@storybook/addon-a11y": "^6.5.13", "@storybook/addon-actions": "^6.5.13", @@ -35,7 +35,7 @@ "@storybook/builder-vite": "^0.2.5", "@storybook/mdx2-csf": "^0.0.3", "@storybook/web-components": "^6.5.13", - "@types/chai": "^4.3.1", + "@types/chai": "^4.3.4", "@types/lodash-es": "^4.17.6", "@types/mocha": "^9.1.1", "@types/uuid": "^8.3.4", @@ -46,7 +46,7 @@ "@web/test-runner": "^0.15.0", "@web/test-runner-playwright": "^0.9.0", "babel-loader": "^9.1.0", - "eslint": "^8.25.0", + "eslint": "^8.27.0", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", @@ -64,7 +64,7 @@ "tiny-glob": "^0.2.9", "typescript": "^4.8.4", "vite": "^3.2.3", - "vite-plugin-static-copy": "^0.9.0", + "vite-plugin-static-copy": "^0.12.0", "vite-tsconfig-paths": "^3.5.2", "web-component-analyzer": "^2.0.0-next.4" }, @@ -129,30 +129,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.3.tgz", - "integrity": "sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw==", + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.20.1.tgz", + "integrity": "sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.6.tgz", - "integrity": "sha512-D2Ue4KHpc6Ys2+AxpIx1BZ8+UegLLLE2p3KJEuJRKmokHOtl49jQ5ny1773KsGLZs8MQvBidAF6yWUJxRqtKtg==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.2.tgz", + "integrity": "sha512-w7DbG8DtMrJcFOi4VrLm+8QM4az8Mo+PuLBKLp2zrYRCow8W/f9xiXm5sN53C8HksCyDQwCKha9JiDoIyPjT2g==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helpers": "^7.19.4", - "@babel/parser": "^7.19.6", + "@babel/generator": "^7.20.2", + "@babel/helper-compilation-targets": "^7.20.0", + "@babel/helper-module-transforms": "^7.20.2", + "@babel/helpers": "^7.20.1", + "@babel/parser": "^7.20.2", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4", + "@babel/traverse": "^7.20.1", + "@babel/types": "^7.20.2", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -168,12 +168,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.6.tgz", - "integrity": "sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==", + "version": "7.20.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.4.tgz", + "integrity": "sha512-luCf7yk/cm7yab6CAW1aiFnmEfBJplb/JojV56MYEK7ziWfGmFlTfmL9Ehwfy4gFhbjBfWO1wj7/TuSbVNEEtA==", "dev": true, "dependencies": { - "@babel/types": "^7.19.4", + "@babel/types": "^7.20.2", "@jridgewell/gen-mapping": "^0.3.2", "jsesc": "^2.5.1" }, @@ -221,12 +221,12 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz", - "integrity": "sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.0.tgz", + "integrity": "sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.19.3", + "@babel/compat-data": "^7.20.0", "@babel/helper-validator-option": "^7.18.6", "browserslist": "^4.21.3", "semver": "^6.3.0" @@ -363,19 +363,19 @@ } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.6.tgz", - "integrity": "sha512-fCmcfQo/KYr/VXXDIyd3CBGZ6AFhPFy1TfSEJ+PilGVlQT6jcbqtHAM4C1EciRqMza7/TpOUZliuSH+U6HAhJw==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.2.tgz", + "integrity": "sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.19.4", + "@babel/helper-simple-access": "^7.20.2", "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.19.1", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4" + "@babel/traverse": "^7.20.1", + "@babel/types": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -437,12 +437,12 @@ } }, "node_modules/@babel/helper-simple-access": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz", - "integrity": "sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", + "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", "dev": true, "dependencies": { - "@babel/types": "^7.19.4" + "@babel/types": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -515,14 +515,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz", - "integrity": "sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw==", + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.1.tgz", + "integrity": "sha512-J77mUVaDTUJFZ5BpP6mMn6OIl3rEWymk2ZxDBQJUG3P+PbmyMcF3bYWvz0ma69Af1oobDqT/iAsvzhB58xhQUg==", "dev": true, "dependencies": { "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.4", - "@babel/types": "^7.19.4" + "@babel/traverse": "^7.20.1", + "@babel/types": "^7.20.0" }, "engines": { "node": ">=6.9.0" @@ -543,9 +543,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz", - "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "version": "7.20.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.3.tgz", + "integrity": "sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -1956,19 +1956,19 @@ } }, "node_modules/@babel/traverse": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.6.tgz", - "integrity": "sha512-6l5HrUCzFM04mfbG09AagtYyR2P0B71B1wN7PfSPiksDPz2k5H9CBC1tcZpz2M8OxbKTPccByoOJ22rUKbpmQQ==", + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.1.tgz", + "integrity": "sha512-d3tN8fkVJwFLkHkBN479SOsw4DMZnz8cdbL/gvuDuzy3TS6Nfw80HuQqhw1pITbIruHyh7d1fMA47kWzmcUEGA==", "dev": true, "dependencies": { "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", + "@babel/generator": "^7.20.1", "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-function-name": "^7.19.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.19.6", - "@babel/types": "^7.19.4", + "@babel/parser": "^7.20.1", + "@babel/types": "^7.20.0", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -1977,9 +1977,9 @@ } }, "node_modules/@babel/types": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz", - "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.2.tgz", + "integrity": "sha512-FnnvsNWgZCr232sqtXggapvlkk/tuwR/qhGzcmxI0GXLCjmPYQPzio2FbdlWuY6y1sHFfQKk+rRbUZ9VStQMog==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.19.4", @@ -2141,14 +2141,14 @@ "dev": true }, "node_modules/@humanwhocodes/config-array": { - "version": "0.10.7", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.7.tgz", - "integrity": "sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==", + "version": "0.11.7", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", + "integrity": "sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", - "minimatch": "^3.0.4" + "minimatch": "^3.0.5" }, "engines": { "node": ">=10.10.0" @@ -2845,15 +2845,15 @@ } }, "node_modules/@open-wc/testing": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/@open-wc/testing/-/testing-3.1.6.tgz", - "integrity": "sha512-MIf9cBtac4/UBE5a+R5cXiRhOGfzetsV+ZPFc188AfkPDPbmffHqjrRoCyk4B/qS6fLEulSBMLSaQ+6ze971gQ==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@open-wc/testing/-/testing-3.1.7.tgz", + "integrity": "sha512-HCS2LuY6hXtEwjqmad+eanId5H7E+3mUi9Z3rjAhH+1DCJ53lUnjzWF1lbCYbREqrdCpmzZvW1t5R3e9gJZSCA==", "dev": true, "dependencies": { "@esm-bundle/chai": "^4.3.4-fix.0", "@open-wc/chai-dom-equals": "^0.12.36", "@open-wc/semantic-dom-diff": "^0.19.7", - "@open-wc/testing-helpers": "^2.1.2", + "@open-wc/testing-helpers": "^2.1.4", "@types/chai": "^4.2.11", "@types/chai-dom": "^0.0.12", "@types/sinon-chai": "^3.2.3", @@ -2861,9 +2861,9 @@ } }, "node_modules/@open-wc/testing-helpers": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@open-wc/testing-helpers/-/testing-helpers-2.1.3.tgz", - "integrity": "sha512-hQujGaWncmWLx/974jq5yf2jydBNNTwnkISw2wLGiYgX34+3R6/ns301Oi9S3Il96Kzd8B7avdExp/gDgqcF5w==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@open-wc/testing-helpers/-/testing-helpers-2.1.4.tgz", + "integrity": "sha512-iZJxxKI9jRgnPczm8p2jpuvBZ3DHYSLrBmhDfzs7ol8vXMNt+HluzM1j1TSU95MFVGnfaspvvt9fMbXKA7cNcA==", "dev": true, "dependencies": { "@open-wc/scoped-elements": "^2.1.3", @@ -5816,9 +5816,9 @@ } }, "node_modules/@types/chai": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.3.tgz", - "integrity": "sha512-hC7OMnszpxhZPduX+m+nrx+uFoLkWOMiR4oa/AZF3MuSETYTZmFfJAHqZEM8MVlvfG7BEUcgvtwoCTxBp6hm3g==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.4.tgz", + "integrity": "sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==", "dev": true }, "node_modules/@types/chai-dom": { @@ -11483,9 +11483,9 @@ } }, "node_modules/css-loader/node_modules/loader-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.1.tgz", - "integrity": "sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -12736,14 +12736,15 @@ } }, "node_modules/eslint": { - "version": "8.25.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz", - "integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==", + "version": "8.27.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz", + "integrity": "sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.3.3", - "@humanwhocodes/config-array": "^0.10.5", + "@humanwhocodes/config-array": "^0.11.6", "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -12759,14 +12760,14 @@ "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "find-up": "^5.0.0", - "glob-parent": "^6.0.1", + "glob-parent": "^6.0.2", "globals": "^13.15.0", - "globby": "^11.1.0", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", @@ -15623,9 +15624,9 @@ } }, "node_modules/html-webpack-plugin/node_modules/loader-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.1.tgz", - "integrity": "sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -17603,9 +17604,9 @@ } }, "node_modules/loader-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.3.tgz", - "integrity": "sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -26711,9 +26712,9 @@ } }, "node_modules/vite-plugin-static-copy": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-0.9.0.tgz", - "integrity": "sha512-0h8esPoZn6zdTK8KoDbiZPJum7+Nw2t4oLTpu2i2haP2HmgysRH+Xy6FaE6lLyCpgODYR5RiRjbLH0UKUZpIPw==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-0.12.0.tgz", + "integrity": "sha512-5a8hCjYJdf/rl8s7ct/YWt97gXdGPGNSOoJtkY5IYhbnSq04X1gTt5GpFHKfAxhHoed1Grfw3Ed13t7AjJi7gw==", "dev": true, "dependencies": { "chokidar": "^3.5.3", @@ -28132,9 +28133,9 @@ } }, "node_modules/webpack/node_modules/loader-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.1.tgz", - "integrity": "sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "dependencies": { "big.js": "^5.2.2", @@ -28728,27 +28729,27 @@ } }, "@babel/compat-data": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.3.tgz", - "integrity": "sha512-prBHMK4JYYK+wDjJF1q99KK4JLL+egWS4nmNqdlMUgCExMZ+iZW0hGhyC3VEbsPjvaN0TBhW//VIFwBrk8sEiw==", + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.20.1.tgz", + "integrity": "sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ==", "dev": true }, "@babel/core": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.6.tgz", - "integrity": "sha512-D2Ue4KHpc6Ys2+AxpIx1BZ8+UegLLLE2p3KJEuJRKmokHOtl49jQ5ny1773KsGLZs8MQvBidAF6yWUJxRqtKtg==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.2.tgz", + "integrity": "sha512-w7DbG8DtMrJcFOi4VrLm+8QM4az8Mo+PuLBKLp2zrYRCow8W/f9xiXm5sN53C8HksCyDQwCKha9JiDoIyPjT2g==", "dev": true, "requires": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helpers": "^7.19.4", - "@babel/parser": "^7.19.6", + "@babel/generator": "^7.20.2", + "@babel/helper-compilation-targets": "^7.20.0", + "@babel/helper-module-transforms": "^7.20.2", + "@babel/helpers": "^7.20.1", + "@babel/parser": "^7.20.2", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4", + "@babel/traverse": "^7.20.1", + "@babel/types": "^7.20.2", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -28757,12 +28758,12 @@ } }, "@babel/generator": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.6.tgz", - "integrity": "sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==", + "version": "7.20.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.4.tgz", + "integrity": "sha512-luCf7yk/cm7yab6CAW1aiFnmEfBJplb/JojV56MYEK7ziWfGmFlTfmL9Ehwfy4gFhbjBfWO1wj7/TuSbVNEEtA==", "dev": true, "requires": { - "@babel/types": "^7.19.4", + "@babel/types": "^7.20.2", "@jridgewell/gen-mapping": "^0.3.2", "jsesc": "^2.5.1" }, @@ -28800,12 +28801,12 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz", - "integrity": "sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.0.tgz", + "integrity": "sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==", "dev": true, "requires": { - "@babel/compat-data": "^7.19.3", + "@babel/compat-data": "^7.20.0", "@babel/helper-validator-option": "^7.18.6", "browserslist": "^4.21.3", "semver": "^6.3.0" @@ -28903,19 +28904,19 @@ } }, "@babel/helper-module-transforms": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.6.tgz", - "integrity": "sha512-fCmcfQo/KYr/VXXDIyd3CBGZ6AFhPFy1TfSEJ+PilGVlQT6jcbqtHAM4C1EciRqMza7/TpOUZliuSH+U6HAhJw==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.2.tgz", + "integrity": "sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA==", "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.19.4", + "@babel/helper-simple-access": "^7.20.2", "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.19.1", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4" + "@babel/traverse": "^7.20.1", + "@babel/types": "^7.20.2" } }, "@babel/helper-optimise-call-expression": { @@ -28959,12 +28960,12 @@ } }, "@babel/helper-simple-access": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz", - "integrity": "sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", + "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", "dev": true, "requires": { - "@babel/types": "^7.19.4" + "@babel/types": "^7.20.2" } }, "@babel/helper-skip-transparent-expression-wrappers": { @@ -29016,14 +29017,14 @@ } }, "@babel/helpers": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz", - "integrity": "sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw==", + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.1.tgz", + "integrity": "sha512-J77mUVaDTUJFZ5BpP6mMn6OIl3rEWymk2ZxDBQJUG3P+PbmyMcF3bYWvz0ma69Af1oobDqT/iAsvzhB58xhQUg==", "dev": true, "requires": { "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.4", - "@babel/types": "^7.19.4" + "@babel/traverse": "^7.20.1", + "@babel/types": "^7.20.0" } }, "@babel/highlight": { @@ -29038,9 +29039,9 @@ } }, "@babel/parser": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz", - "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "version": "7.20.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.3.tgz", + "integrity": "sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg==", "dev": true }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { @@ -29977,27 +29978,27 @@ } }, "@babel/traverse": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.6.tgz", - "integrity": "sha512-6l5HrUCzFM04mfbG09AagtYyR2P0B71B1wN7PfSPiksDPz2k5H9CBC1tcZpz2M8OxbKTPccByoOJ22rUKbpmQQ==", + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.1.tgz", + "integrity": "sha512-d3tN8fkVJwFLkHkBN479SOsw4DMZnz8cdbL/gvuDuzy3TS6Nfw80HuQqhw1pITbIruHyh7d1fMA47kWzmcUEGA==", "dev": true, "requires": { "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", + "@babel/generator": "^7.20.1", "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-function-name": "^7.19.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.19.6", - "@babel/types": "^7.19.4", + "@babel/parser": "^7.20.1", + "@babel/types": "^7.20.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz", - "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.2.tgz", + "integrity": "sha512-FnnvsNWgZCr232sqtXggapvlkk/tuwR/qhGzcmxI0GXLCjmPYQPzio2FbdlWuY6y1sHFfQKk+rRbUZ9VStQMog==", "dev": true, "requires": { "@babel/helper-string-parser": "^7.19.4", @@ -30113,14 +30114,14 @@ "dev": true }, "@humanwhocodes/config-array": { - "version": "0.10.7", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.10.7.tgz", - "integrity": "sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==", + "version": "0.11.7", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", + "integrity": "sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==", "dev": true, "requires": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", - "minimatch": "^3.0.4" + "minimatch": "^3.0.5" } }, "@humanwhocodes/module-importer": { @@ -30676,15 +30677,15 @@ } }, "@open-wc/testing": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/@open-wc/testing/-/testing-3.1.6.tgz", - "integrity": "sha512-MIf9cBtac4/UBE5a+R5cXiRhOGfzetsV+ZPFc188AfkPDPbmffHqjrRoCyk4B/qS6fLEulSBMLSaQ+6ze971gQ==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/@open-wc/testing/-/testing-3.1.7.tgz", + "integrity": "sha512-HCS2LuY6hXtEwjqmad+eanId5H7E+3mUi9Z3rjAhH+1DCJ53lUnjzWF1lbCYbREqrdCpmzZvW1t5R3e9gJZSCA==", "dev": true, "requires": { "@esm-bundle/chai": "^4.3.4-fix.0", "@open-wc/chai-dom-equals": "^0.12.36", "@open-wc/semantic-dom-diff": "^0.19.7", - "@open-wc/testing-helpers": "^2.1.2", + "@open-wc/testing-helpers": "^2.1.4", "@types/chai": "^4.2.11", "@types/chai-dom": "^0.0.12", "@types/sinon-chai": "^3.2.3", @@ -30692,9 +30693,9 @@ } }, "@open-wc/testing-helpers": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@open-wc/testing-helpers/-/testing-helpers-2.1.3.tgz", - "integrity": "sha512-hQujGaWncmWLx/974jq5yf2jydBNNTwnkISw2wLGiYgX34+3R6/ns301Oi9S3Il96Kzd8B7avdExp/gDgqcF5w==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@open-wc/testing-helpers/-/testing-helpers-2.1.4.tgz", + "integrity": "sha512-iZJxxKI9jRgnPczm8p2jpuvBZ3DHYSLrBmhDfzs7ol8vXMNt+HluzM1j1TSU95MFVGnfaspvvt9fMbXKA7cNcA==", "dev": true, "requires": { "@open-wc/scoped-elements": "^2.1.3", @@ -32775,9 +32776,9 @@ } }, "@types/chai": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.3.tgz", - "integrity": "sha512-hC7OMnszpxhZPduX+m+nrx+uFoLkWOMiR4oa/AZF3MuSETYTZmFfJAHqZEM8MVlvfG7BEUcgvtwoCTxBp6hm3g==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.4.tgz", + "integrity": "sha512-KnRanxnpfpjUTqTCXslZSEdLfXExwgNxYPdiO2WGUj8+HDjFi8R3k5RVKPeSCzLjCcshCAtVO2QBbVuAV4kTnw==", "dev": true }, "@types/chai-dom": { @@ -37415,9 +37416,9 @@ } }, "loader-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.1.tgz", - "integrity": "sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -38310,14 +38311,15 @@ "dev": true }, "eslint": { - "version": "8.25.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz", - "integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==", + "version": "8.27.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.27.0.tgz", + "integrity": "sha512-0y1bfG2ho7mty+SiILVf9PfuRA49ek4Nc60Wmmu62QlobNR+CeXa4xXIJgcuwSQgZiWaPH+5BDsctpIW0PR/wQ==", "dev": true, "requires": { "@eslint/eslintrc": "^1.3.3", - "@humanwhocodes/config-array": "^0.10.5", + "@humanwhocodes/config-array": "^0.11.6", "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -38333,14 +38335,14 @@ "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", "find-up": "^5.0.0", - "glob-parent": "^6.0.1", + "glob-parent": "^6.0.2", "globals": "^13.15.0", - "globby": "^11.1.0", "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", "js-sdsl": "^4.1.4", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", @@ -40552,9 +40554,9 @@ } }, "loader-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.1.tgz", - "integrity": "sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -42041,9 +42043,9 @@ "dev": true }, "loader-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.3.tgz", - "integrity": "sha512-THWqIsn8QRnvLl0shHYVBN9syumU8pYWEHPTmkiVGd+7K5eFNVSY6AJhRvgGF70gg1Dz+l/k8WicvFCxdEs60A==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "requires": { "big.js": "^5.2.2", @@ -49175,9 +49177,9 @@ } }, "vite-plugin-static-copy": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-0.9.0.tgz", - "integrity": "sha512-0h8esPoZn6zdTK8KoDbiZPJum7+Nw2t4oLTpu2i2haP2HmgysRH+Xy6FaE6lLyCpgODYR5RiRjbLH0UKUZpIPw==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-0.12.0.tgz", + "integrity": "sha512-5a8hCjYJdf/rl8s7ct/YWt97gXdGPGNSOoJtkY5IYhbnSq04X1gTt5GpFHKfAxhHoed1Grfw3Ed13t7AjJi7gw==", "dev": true, "requires": { "chokidar": "^3.5.3", @@ -49912,9 +49914,9 @@ } }, "loader-utils": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.1.tgz", - "integrity": "sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", + "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", "dev": true, "requires": { "big.js": "^5.2.2", diff --git a/src/Umbraco.Web.UI.Client/package.json b/src/Umbraco.Web.UI.Client/package.json index ce75cbf5cb..eaafdafb10 100644 --- a/src/Umbraco.Web.UI.Client/package.json +++ b/src/Umbraco.Web.UI.Client/package.json @@ -56,9 +56,9 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@babel/core": "^7.19.6", + "@babel/core": "^7.20.2", "@mdx-js/react": "^2.1.5", - "@open-wc/testing": "^3.1.6", + "@open-wc/testing": "^3.1.7", "@playwright/test": "^1.27.1", "@storybook/addon-a11y": "^6.5.13", "@storybook/addon-actions": "^6.5.13", @@ -67,7 +67,7 @@ "@storybook/builder-vite": "^0.2.5", "@storybook/mdx2-csf": "^0.0.3", "@storybook/web-components": "^6.5.13", - "@types/chai": "^4.3.1", + "@types/chai": "^4.3.4", "@types/lodash-es": "^4.17.6", "@types/mocha": "^9.1.1", "@types/uuid": "^8.3.4", @@ -78,7 +78,7 @@ "@web/test-runner": "^0.15.0", "@web/test-runner-playwright": "^0.9.0", "babel-loader": "^9.1.0", - "eslint": "^8.25.0", + "eslint": "^8.27.0", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", @@ -96,7 +96,7 @@ "tiny-glob": "^0.2.9", "typescript": "^4.8.4", "vite": "^3.2.3", - "vite-plugin-static-copy": "^0.9.0", + "vite-plugin-static-copy": "^0.12.0", "vite-tsconfig-paths": "^3.5.2", "web-component-analyzer": "^2.0.0-next.4" }, diff --git a/src/Umbraco.Web.UI.Client/schemas/README.md b/src/Umbraco.Web.UI.Client/schemas/README.md deleted file mode 100644 index 3d2ba6c6f3..0000000000 --- a/src/Umbraco.Web.UI.Client/schemas/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Schemas - -These schemas are auto-generated by certain processes and are not to be touched. \ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/schemas/api/api.yml b/src/Umbraco.Web.UI.Client/schemas/api/api.yml deleted file mode 100644 index 14c13f74b8..0000000000 --- a/src/Umbraco.Web.UI.Client/schemas/api/api.yml +++ /dev/null @@ -1,863 +0,0 @@ -openapi: 3.0.2 -info: - title: umbraco-backoffice-api - version: 1.0.0 -paths: - /install/settings: - get: - operationId: GetInstallSettings - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/InstallSettingsResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /install/setup: - post: - operationId: PostInstallSetup - parameters: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InstallSetupRequest' - required: true - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /install/validateDatabase: - post: - operationId: PostInstallValidateDatabase - parameters: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/InstallSetupDatabaseConfiguration' - required: true - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /manifests: - get: - operationId: Manifests - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/ManifestsResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /manifests/packages: - get: - operationId: ManifestsPackages - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: object - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /manifests/packages/installed: - get: - operationId: ManifestsPackagesInstalled - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/ManifestsPackagesInstalledResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /published-cache/status: - get: - operationId: PublishedCacheStatus - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: string - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /published-cache/reload: - post: - operationId: PublishedCacheReload - parameters: [] - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /published-cache/rebuild: - post: - operationId: PublishedCacheRebuild - parameters: [] - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /published-cache/collect: - get: - operationId: PublishedCacheCollect - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: string - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /server/status: - get: - operationId: GetStatus - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/StatusResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /server/version: - get: - operationId: GetVersion - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/VersionResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /upgrade/settings: - get: - operationId: GetUpgradeSettings - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/UpgradeSettingsResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /upgrade/authorize: - post: - operationId: PostUpgradeAuthorize - parameters: [] - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /user: - get: - operationId: GetUser - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/UserResponse' - '403': - description: 403 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /user/login: - post: - operationId: PostUserLogin - parameters: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UserLoginRequest' - required: true - responses: - '201': - description: 201 response - '403': - description: 403 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /user/logout: - post: - operationId: PostUserLogout - responses: - '201': - description: 201 response - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /user/sections: - get: - operationId: GetAllowedSections - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/AllowedSectionsResponse' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /telemetry/ConsentLevel: - get: - operationId: GetConsentLevel - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/ConsentLevelSettings' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - post: - operationId: PostConsentLevel - parameters: [] - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ConsentLevelSettings' - required: true - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /telemetry/ConsentLevels: - get: - operationId: ConsentLevels - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: array - items: - type: string - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /search/index: - get: - operationId: getIndexers - parameters: - - name: skip - in: query - required: true - schema: - type: number - format: float - - name: take - in: query - required: true - schema: - type: number - format: float - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/IndexModel' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /search/index/{indexName}: - get: - operationId: getIndex - parameters: - - name: indexName - in: path - required: true - schema: - type: string - responses: - '200': - description: 200 response - content: - application/json: - schema: - $ref: '#/components/schemas/IndexModel' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /search/index/{indexName}/rebuild: - post: - operationId: postIndexRebuild - parameters: - - name: indexName - in: path - required: true - schema: - type: string - responses: - '201': - description: 201 response - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /search/searcher: - get: - operationId: getSearchers - parameters: - - name: skip - in: query - required: true - schema: - type: number - format: float - - name: take - in: query - required: true - schema: - type: number - format: float - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/SearcherModel' - default: - description: default response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' - /search/searcher/{searcherName}: - get: - operationId: getSearchSearchers - parameters: - - name: searcherName - in: path - required: true - schema: - type: string - - name: query - in: query - required: true - schema: - type: string - - name: take - in: query - required: true - schema: - type: number - format: float - responses: - '200': - description: 200 response - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/SearchResultsModel' - '400': - description: 400 response - content: - application/json: - schema: - $ref: '#/components/schemas/ProblemDetails' -components: - schemas: - ConsentLevel: - type: string - enum: - - Minimal - - Basic - - Detailed - TelemetryModel: - type: object - properties: - level: - $ref: '#/components/schemas/ConsentLevel' - description: - type: string - required: - - level - - description - InstallUserModel: - type: object - properties: - minCharLength: - type: number - format: float - minNonAlphaNumericLength: - type: number - format: float - consentLevels: - type: array - items: - $ref: '#/components/schemas/TelemetryModel' - required: - - minCharLength - - minNonAlphaNumericLength - - consentLevels - InstallDatabaseModel: - type: object - properties: - id: - type: string - sortOrder: - type: number - format: float - displayName: - type: string - defaultDatabaseName: - type: string - providerName: - type: string - nullable: true - isConfigured: - type: boolean - requiresServer: - type: boolean - serverPlaceholder: - type: string - nullable: true - requiresCredentials: - type: boolean - supportsIntegratedAuthentication: - type: boolean - requiresConnectionTest: - type: boolean - required: - - id - - sortOrder - - displayName - - defaultDatabaseName - - providerName - - isConfigured - - requiresServer - - serverPlaceholder - - requiresCredentials - - supportsIntegratedAuthentication - - requiresConnectionTest - InstallSettingsResponse: - type: object - properties: - user: - $ref: '#/components/schemas/InstallUserModel' - databases: - type: array - items: - $ref: '#/components/schemas/InstallDatabaseModel' - required: - - user - - databases - ProblemDetails: - type: object - properties: - type: - type: string - status: - type: number - format: float - title: - type: string - detail: - type: string - instance: - type: string - errors: - type: object - required: - - type - - status - InstallSetupUserConfiguration: - type: object - properties: - name: - type: string - email: - type: string - password: - type: string - subscribeToNewsletter: - type: boolean - required: - - name - - email - - password - - subscribeToNewsletter - InstallSetupDatabaseConfiguration: - type: object - properties: - id: - type: string - server: - type: string - nullable: true - password: - type: string - nullable: true - username: - type: string - nullable: true - name: - type: string - nullable: true - providerName: - type: string - nullable: true - useIntegratedAuthentication: - type: boolean - nullable: true - connectionString: - type: string - nullable: true - InstallSetupRequest: - type: object - properties: - user: - $ref: '#/components/schemas/InstallSetupUserConfiguration' - telemetryLevel: - $ref: '#/components/schemas/ConsentLevel' - database: - $ref: '#/components/schemas/InstallSetupDatabaseConfiguration' - required: - - user - - telemetryLevel - ManifestsResponse: - type: object - properties: - manifests: - type: array - items: - type: object - required: - - manifests - PackageInstalled: - type: object - properties: - id: - type: string - name: - type: string - alias: - type: string - version: - type: string - hasMigrations: - type: boolean - hasPendingMigrations: - type: boolean - plans: - type: array - items: - type: object - required: - - id - - name - - alias - - version - - hasMigrations - - hasPendingMigrations - - plans - ManifestsPackagesInstalledResponse: - type: object - properties: - packages: - type: array - items: - $ref: '#/components/schemas/PackageInstalled' - required: - - packages - ServerStatus: - type: string - enum: - - running - - must-install - - must-upgrade - StatusResponse: - type: object - properties: - serverStatus: - $ref: '#/components/schemas/ServerStatus' - required: - - serverStatus - VersionResponse: - type: object - properties: - version: - type: string - required: - - version - UpgradeSettingsResponse: - type: object - properties: - currentState: - type: string - newState: - type: string - newVersion: - type: string - oldVersion: - type: string - reportUrl: - type: string - required: - - currentState - - newState - - newVersion - - oldVersion - - reportUrl - UserResponse: - type: object - properties: - username: - type: string - role: - type: string - required: - - username - - role - UserLoginRequest: - type: object - properties: - username: - type: string - password: - type: string - persist: - type: boolean - required: - - username - - password - - persist - AllowedSectionsResponse: - type: object - properties: - sections: - type: array - items: - type: string - required: - - sections - ConsentLevelSettings: - type: object - properties: - telemetryLevel: - $ref: '#/components/schemas/ConsentLevel' - required: - - telemetryLevel - ProviderPropertiesModel: - type: object - properties: - CommitCount: - type: number - format: float - DefaultAnalyzer: - type: string - DocumentCount: - type: number - format: float - FieldCount: - type: number - format: float - LuceneDirectory: - type: string - LuceneIndexFolder: - type: string - DirectoryFactory: - type: string - EnableDefaultEventHandler: - type: boolean - PublishedValuesOnly: - type: boolean - SupportProtectedContent: - type: boolean - IncludeFields: - type: array - items: - type: string - required: - - CommitCount - - DefaultAnalyzer - - DocumentCount - - FieldCount - - LuceneDirectory - - LuceneIndexFolder - - DirectoryFactory - - EnableDefaultEventHandler - - PublishedValuesOnly - - SupportProtectedContent - IndexModel: - type: object - properties: - name: - type: string - canRebuild: - type: boolean - healthStatus: - type: string - isHealthy: - type: boolean - providerProperties: - $ref: '#/components/schemas/ProviderPropertiesModel' - required: - - name - - canRebuild - - healthStatus - - isHealthy - - providerProperties - SearcherModel: - type: object - properties: - name: - type: string - providerProperties: - $ref: '#/components/schemas/ProviderPropertiesModel' - required: - - name - - providerProperties - FieldViewModel: - type: object - properties: - name: - type: string - values: - type: array - items: - type: string - required: - - name - - values - SearchResultsModel: - type: object - properties: - id: - type: number - format: float - name: - type: string - fields: - type: array - items: - $ref: '#/components/schemas/FieldViewModel' - score: - type: number - format: float - required: - - id - - name - - fields - - score diff --git a/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts b/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts deleted file mode 100644 index 201f7928d1..0000000000 --- a/src/Umbraco.Web.UI.Client/schemas/generated-schema.ts +++ /dev/null @@ -1,676 +0,0 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -export interface paths { - "/install/settings": { - get: operations["GetInstallSettings"]; - }; - "/install/setup": { - post: operations["PostInstallSetup"]; - }; - "/install/validateDatabase": { - post: operations["PostInstallValidateDatabase"]; - }; - "/manifests": { - get: operations["Manifests"]; - }; - "/manifests/packages": { - get: operations["ManifestsPackages"]; - }; - "/manifests/packages/installed": { - get: operations["ManifestsPackagesInstalled"]; - }; - "/published-cache/status": { - get: operations["PublishedCacheStatus"]; - }; - "/published-cache/reload": { - post: operations["PublishedCacheReload"]; - }; - "/published-cache/rebuild": { - post: operations["PublishedCacheRebuild"]; - }; - "/published-cache/collect": { - get: operations["PublishedCacheCollect"]; - }; - "/server/status": { - get: operations["GetStatus"]; - }; - "/server/version": { - get: operations["GetVersion"]; - }; - "/upgrade/settings": { - get: operations["GetUpgradeSettings"]; - }; - "/upgrade/authorize": { - post: operations["PostUpgradeAuthorize"]; - }; - "/user": { - get: operations["GetUser"]; - }; - "/user/login": { - post: operations["PostUserLogin"]; - }; - "/user/logout": { - post: operations["PostUserLogout"]; - }; - "/user/sections": { - get: operations["GetAllowedSections"]; - }; - "/telemetry/ConsentLevel": { - get: operations["GetConsentLevel"]; - post: operations["PostConsentLevel"]; - }; - "/telemetry/ConsentLevels": { - get: operations["ConsentLevels"]; - }; - "/search/index": { - get: operations["getIndexers"]; - }; - "/search/index/{indexName}": { - get: operations["getIndex"]; - }; - "/search/index/{indexName}/rebuild": { - post: operations["postIndexRebuild"]; - }; - "/search/searcher": { - get: operations["getSearchers"]; - }; - "/search/searcher/{searcherName}": { - get: operations["getSearchSearchers"]; - }; -} - -export interface components { - schemas: { - /** @enum {string} */ - ConsentLevel: "Minimal" | "Basic" | "Detailed"; - TelemetryModel: { - level: components["schemas"]["ConsentLevel"]; - description: string; - }; - InstallUserModel: { - /** Format: float */ - minCharLength: number; - /** Format: float */ - minNonAlphaNumericLength: number; - consentLevels: components["schemas"]["TelemetryModel"][]; - }; - InstallDatabaseModel: { - id: string; - /** Format: float */ - sortOrder: number; - displayName: string; - defaultDatabaseName: string; - providerName: string | null; - isConfigured: boolean; - requiresServer: boolean; - serverPlaceholder: string | null; - requiresCredentials: boolean; - supportsIntegratedAuthentication: boolean; - requiresConnectionTest: boolean; - }; - InstallSettingsResponse: { - user: components["schemas"]["InstallUserModel"]; - databases: components["schemas"]["InstallDatabaseModel"][]; - }; - ProblemDetails: { - type: string; - /** Format: float */ - status: number; - title?: string; - detail?: string; - instance?: string; - errors?: { [key: string]: unknown }; - }; - InstallSetupUserConfiguration: { - name: string; - email: string; - password: string; - subscribeToNewsletter: boolean; - }; - InstallSetupDatabaseConfiguration: { - id?: string; - server?: string | null; - password?: string | null; - username?: string | null; - name?: string | null; - providerName?: string | null; - useIntegratedAuthentication?: boolean | null; - connectionString?: string | null; - }; - InstallSetupRequest: { - user: components["schemas"]["InstallSetupUserConfiguration"]; - telemetryLevel: components["schemas"]["ConsentLevel"]; - database?: components["schemas"]["InstallSetupDatabaseConfiguration"]; - }; - ManifestsResponse: { - manifests: { [key: string]: unknown }[]; - }; - PackageInstalled: { - id: string; - name: string; - alias: string; - version: string; - hasMigrations: boolean; - hasPendingMigrations: boolean; - plans: { [key: string]: unknown }[]; - }; - ManifestsPackagesInstalledResponse: { - packages: components["schemas"]["PackageInstalled"][]; - }; - /** @enum {string} */ - ServerStatus: "running" | "must-install" | "must-upgrade"; - StatusResponse: { - serverStatus: components["schemas"]["ServerStatus"]; - }; - VersionResponse: { - version: string; - }; - UpgradeSettingsResponse: { - currentState: string; - newState: string; - newVersion: string; - oldVersion: string; - reportUrl: string; - }; - UserResponse: { - username: string; - role: string; - }; - UserLoginRequest: { - username: string; - password: string; - persist: boolean; - }; - AllowedSectionsResponse: { - sections: string[]; - }; - ConsentLevelSettings: { - telemetryLevel: components["schemas"]["ConsentLevel"]; - }; - ProviderPropertiesModel: { - /** Format: float */ - CommitCount: number; - DefaultAnalyzer: string; - /** Format: float */ - DocumentCount: number; - /** Format: float */ - FieldCount: number; - LuceneDirectory: string; - LuceneIndexFolder: string; - DirectoryFactory: string; - EnableDefaultEventHandler: boolean; - PublishedValuesOnly: boolean; - SupportProtectedContent: boolean; - IncludeFields?: string[]; - }; - IndexModel: { - name: string; - canRebuild: boolean; - healthStatus: string; - isHealthy: boolean; - providerProperties: components["schemas"]["ProviderPropertiesModel"]; - }; - SearcherModel: { - name: string; - providerProperties: components["schemas"]["ProviderPropertiesModel"]; - }; - FieldViewModel: { - name: string; - values: string[]; - }; - SearchResultsModel: { - /** Format: float */ - id: number; - name: string; - fields: components["schemas"]["FieldViewModel"][]; - /** Format: float */ - score: number; - }; - }; -} - -export interface operations { - GetInstallSettings: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["InstallSettingsResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PostInstallSetup: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["InstallSetupRequest"]; - }; - }; - }; - PostInstallValidateDatabase: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["InstallSetupDatabaseConfiguration"]; - }; - }; - }; - Manifests: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["ManifestsResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - ManifestsPackages: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": { [key: string]: unknown }; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - ManifestsPackagesInstalled: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["ManifestsPackagesInstalledResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PublishedCacheStatus: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": string; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PublishedCacheReload: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PublishedCacheRebuild: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PublishedCacheCollect: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": string; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - GetStatus: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["StatusResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - GetVersion: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["VersionResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - GetUpgradeSettings: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["UpgradeSettingsResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PostUpgradeAuthorize: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - GetUser: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["UserResponse"]; - }; - }; - /** 403 response */ - 403: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PostUserLogin: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 403 response */ - 403: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["UserLoginRequest"]; - }; - }; - }; - PostUserLogout: { - responses: { - /** 201 response */ - 201: unknown; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - GetAllowedSections: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["AllowedSectionsResponse"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - GetConsentLevel: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["ConsentLevelSettings"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - PostConsentLevel: { - parameters: {}; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - requestBody: { - content: { - "application/json": components["schemas"]["ConsentLevelSettings"]; - }; - }; - }; - ConsentLevels: { - responses: { - /** 200 response */ - 200: { - content: { - "application/json": string[]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - getIndexers: { - parameters: { - query: { - skip: number; - take: number; - }; - }; - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["IndexModel"][]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - getIndex: { - parameters: { - path: { - indexName: string; - }; - }; - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["IndexModel"]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - postIndexRebuild: { - parameters: { - path: { - indexName: string; - }; - }; - responses: { - /** 201 response */ - 201: unknown; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - getSearchers: { - parameters: { - query: { - skip: number; - take: number; - }; - }; - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["SearcherModel"][]; - }; - }; - /** default response */ - default: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; - getSearchSearchers: { - parameters: { - path: { - searcherName: string; - }; - query: { - query: string; - take: number; - }; - }; - responses: { - /** 200 response */ - 200: { - content: { - "application/json": components["schemas"]["SearchResultsModel"][]; - }; - }; - /** 400 response */ - 400: { - content: { - "application/json": components["schemas"]["ProblemDetails"]; - }; - }; - }; - }; -} - -export interface external {} diff --git a/src/Umbraco.Web.UI.Client/src/core/backend-api/index.ts b/src/Umbraco.Web.UI.Client/src/core/backend-api/index.ts index 5d9551c365..4343829655 100644 --- a/src/Umbraco.Web.UI.Client/src/core/backend-api/index.ts +++ b/src/Umbraco.Web.UI.Client/src/core/backend-api/index.ts @@ -79,7 +79,6 @@ export type { PagedFolderTreeItem } from './models/PagedFolderTreeItem'; export type { PagedHelpPage } from './models/PagedHelpPage'; export type { PagedIndex } from './models/PagedIndex'; export type { PagedLanguage } from './models/PagedLanguage'; -export type { PagedPaged } from './models/PagedPaged'; export type { PagedRecycleBinItem } from './models/PagedRecycleBinItem'; export type { PagedRelation } from './models/PagedRelation'; export type { PagedRelationItem } from './models/PagedRelationItem'; diff --git a/src/Umbraco.Web.UI.Client/src/core/backend-api/models/Index.ts b/src/Umbraco.Web.UI.Client/src/core/backend-api/models/Index.ts index ea5ef39272..c34fc480b8 100644 --- a/src/Umbraco.Web.UI.Client/src/core/backend-api/models/Index.ts +++ b/src/Umbraco.Web.UI.Client/src/core/backend-api/models/Index.ts @@ -3,12 +3,13 @@ /* eslint-disable */ export type Index = { - name?: string | null; + name: string; healthStatus?: string | null; - readonly isHealthy?: boolean; - canRebuild?: boolean; + readonly isHealthy: boolean; + canRebuild: boolean; searcherName?: string | null; - documentCount?: number; - fieldCount?: number; + documentCount: number; + fieldCount: number; + providerProperties?: Record | null; }; diff --git a/src/Umbraco.Web.UI.Client/src/core/backend-api/models/PagedPaged.ts b/src/Umbraco.Web.UI.Client/src/core/backend-api/models/PagedPaged.ts deleted file mode 100644 index febfc99bc5..0000000000 --- a/src/Umbraco.Web.UI.Client/src/core/backend-api/models/PagedPaged.ts +++ /dev/null @@ -1,11 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ - -import type { PagedSearchResult } from './PagedSearchResult'; - -export type PagedPaged = { - total: number; - items: Array; -}; - diff --git a/src/Umbraco.Web.UI.Client/src/core/backend-api/services/SearchResource.ts b/src/Umbraco.Web.UI.Client/src/core/backend-api/services/SearchResource.ts index f0ecf38561..0619d367b9 100644 --- a/src/Umbraco.Web.UI.Client/src/core/backend-api/services/SearchResource.ts +++ b/src/Umbraco.Web.UI.Client/src/core/backend-api/services/SearchResource.ts @@ -4,8 +4,8 @@ import type { Index } from '../models/Index'; import type { OkResult } from '../models/OkResult'; import type { PagedIndex } from '../models/PagedIndex'; -import type { PagedPaged } from '../models/PagedPaged'; import type { PagedSearcher } from '../models/PagedSearcher'; +import type { PagedSearchResult } from '../models/PagedSearchResult'; import type { CancelablePromise } from '../core/CancelablePromise'; import { OpenAPI } from '../core/OpenAPI'; @@ -98,7 +98,7 @@ export class SearchResource { } /** - * @returns PagedPaged Success + * @returns PagedSearchResult Success * @throws ApiError */ public static getSearchSearcherBySearcherNameSearch({ @@ -111,7 +111,7 @@ export class SearchResource { query?: string, skip?: number, take?: number, - }): CancelablePromise { + }): CancelablePromise { return __request(OpenAPI, { method: 'GET', url: '/umbraco/management/api/v1/search/searcher/{searcherName}/search',