From 5765c4a28d0256761d89847b86c23a5850a31d1a Mon Sep 17 00:00:00 2001 From: Alvaro Tinoco Date: Thu, 9 Jan 2025 12:51:12 +0100 Subject: [PATCH 1/7] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20Vue=20and=20V?= =?UTF-8?q?ueUse=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- yarn.lock | 192 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 115 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index 2b5f1ffb2..050bd8db7 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@mrmarble/djangoql-completion": "^0.8.3", "@popperjs/core": "^2.11.8", "@rollup/plugin-inject": "^5.0.5", - "@vueuse/core": "^10.4.1", + "@vueuse/core": "^12.3.0", "axios": "^1.7.4", "bootstrap": "^5.3.2", "bootstrap-icons": "^1.11.3", @@ -41,7 +41,7 @@ "pinia": "^2.1.4", "ramda": "^0.29.1", "sanitize-html": "^2.12.1", - "vue": "^3.4.19", + "vue": "^3.5.13", "vue-imask": "^7.1.2", "vue-router": "^4.2.4", "zod": "^3.21.4" diff --git a/yarn.lock b/yarn.lock index 68f63e96e..6ce95283e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -252,6 +252,13 @@ dependencies: "@babel/types" "^7.26.0" +"@babel/parser@^7.25.3": + version "7.26.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.3.tgz#8c51c5db6ddf08134af1ddbacf16aaab48bac234" + integrity sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA== + dependencies: + "@babel/types" "^7.26.3" + "@babel/runtime-corejs3@^7.24.4": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.24.7.tgz#65a99097e4c28e6c3a174825591700cc5abd710e" @@ -297,6 +304,14 @@ "@babel/helper-string-parser" "^7.25.9" "@babel/helper-validator-identifier" "^7.25.9" +"@babel/types@^7.26.3": + version "7.26.3" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.26.3.tgz#37e79830f04c2b5687acc77db97fbc75fb81f3c0" + integrity sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA== + dependencies: + "@babel/helper-string-parser" "^7.25.9" + "@babel/helper-validator-identifier" "^7.25.9" + "@bundled-es-modules/cookie@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@bundled-es-modules/cookie/-/cookie-2.0.1.tgz#b41376af6a06b3e32a15241d927b840a9b4de507" @@ -759,11 +774,6 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== -"@jridgewell/sourcemap-codec@^1.4.15": - version "1.4.15" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" - integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== - "@jridgewell/trace-mapping@^0.3.23", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" @@ -1543,7 +1553,26 @@ estree-walker "^2.0.2" source-map-js "^1.2.0" -"@vue/compiler-dom@3.4.29", "@vue/compiler-dom@^3.3.0": +"@vue/compiler-core@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.13.tgz#b0ae6c4347f60c03e849a05d34e5bf747c9bda05" + integrity sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q== + dependencies: + "@babel/parser" "^7.25.3" + "@vue/shared" "3.5.13" + entities "^4.5.0" + estree-walker "^2.0.2" + source-map-js "^1.2.0" + +"@vue/compiler-dom@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.13.tgz#bb1b8758dbc542b3658dda973b98a1c9311a8a58" + integrity sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA== + dependencies: + "@vue/compiler-core" "3.5.13" + "@vue/shared" "3.5.13" + +"@vue/compiler-dom@^3.3.0": version "3.4.29" resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.4.29.tgz#c8f55528c8d8c8c36687d56a19e53b268c7d6c56" integrity sha512-A6+iZ2fKIEGnfPJejdB7b1FlJzgiD+Y/sxxKwJWg1EbJu6ZPgzaPQQ51ESGNv0CP6jm6Z7/pO6Ia8Ze6IKrX7w== @@ -1551,28 +1580,28 @@ "@vue/compiler-core" "3.4.29" "@vue/shared" "3.4.29" -"@vue/compiler-sfc@3.4.29": - version "3.4.29" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.4.29.tgz#da7927c5c736048995fe9c6604288633e0ac161a" - integrity sha512-zygDcEtn8ZimDlrEQyLUovoWgKQic6aEQqRXce2WXBvSeHbEbcAsXyCk9oG33ZkyWH4sl9D3tkYc1idoOkdqZQ== +"@vue/compiler-sfc@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.13.tgz#461f8bd343b5c06fac4189c4fef8af32dea82b46" + integrity sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ== dependencies: - "@babel/parser" "^7.24.7" - "@vue/compiler-core" "3.4.29" - "@vue/compiler-dom" "3.4.29" - "@vue/compiler-ssr" "3.4.29" - "@vue/shared" "3.4.29" + "@babel/parser" "^7.25.3" + "@vue/compiler-core" "3.5.13" + "@vue/compiler-dom" "3.5.13" + "@vue/compiler-ssr" "3.5.13" + "@vue/shared" "3.5.13" estree-walker "^2.0.2" - magic-string "^0.30.10" - postcss "^8.4.38" + magic-string "^0.30.11" + postcss "^8.4.48" source-map-js "^1.2.0" -"@vue/compiler-ssr@3.4.29": - version "3.4.29" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.4.29.tgz#210b0267667fe1e5ec69ca4e3c473f94da6ac37f" - integrity sha512-rFbwCmxJ16tDp3N8XCx5xSQzjhidYjXllvEcqX/lopkoznlNPz3jyy0WGJCyhAaVQK677WWFt3YO/WUEkMMUFQ== +"@vue/compiler-ssr@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.13.tgz#e771adcca6d3d000f91a4277c972a996d07f43ba" + integrity sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA== dependencies: - "@vue/compiler-dom" "3.4.29" - "@vue/shared" "3.4.29" + "@vue/compiler-dom" "3.5.13" + "@vue/shared" "3.5.13" "@vue/devtools-api@^6.5.0", "@vue/devtools-api@^6.5.1": version "6.6.3" @@ -1594,44 +1623,49 @@ path-browserify "^1.0.1" vue-template-compiler "^2.7.14" -"@vue/reactivity@3.4.29": - version "3.4.29" - resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.4.29.tgz#a821b12b765ecb9a1923a401d6c0979dc668f7af" - integrity sha512-w8+KV+mb1a8ornnGQitnMdLfE0kXmteaxLdccm2XwdFxXst4q/Z7SEboCV5SqJNpZbKFeaRBBJBhW24aJyGINg== +"@vue/reactivity@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.13.tgz#b41ff2bb865e093899a22219f5b25f97b6fe155f" + integrity sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg== dependencies: - "@vue/shared" "3.4.29" + "@vue/shared" "3.5.13" -"@vue/runtime-core@3.4.29": - version "3.4.29" - resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.4.29.tgz#3c7d5ef00aa8ab1e1de9de0a8656f21db3cd8367" - integrity sha512-s8fmX3YVR/Rk5ig0ic0NuzTNjK2M7iLuVSZyMmCzN/+Mjuqqif1JasCtEtmtoJWF32pAtUjyuT2ljNKNLeOmnQ== +"@vue/runtime-core@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.13.tgz#1fafa4bf0b97af0ebdd9dbfe98cd630da363a455" + integrity sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw== dependencies: - "@vue/reactivity" "3.4.29" - "@vue/shared" "3.4.29" + "@vue/reactivity" "3.5.13" + "@vue/shared" "3.5.13" -"@vue/runtime-dom@3.4.29": - version "3.4.29" - resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.4.29.tgz#02d4199e8280b3f1332ec35e03bfcc244ce2bfdb" - integrity sha512-gI10atCrtOLf/2MPPMM+dpz3NGulo9ZZR9d1dWo4fYvm+xkfvRrw1ZmJ7mkWtiJVXSsdmPbcK1p5dZzOCKDN0g== +"@vue/runtime-dom@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.13.tgz#610fc795de9246300e8ae8865930d534e1246215" + integrity sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog== dependencies: - "@vue/reactivity" "3.4.29" - "@vue/runtime-core" "3.4.29" - "@vue/shared" "3.4.29" + "@vue/reactivity" "3.5.13" + "@vue/runtime-core" "3.5.13" + "@vue/shared" "3.5.13" csstype "^3.1.3" -"@vue/server-renderer@3.4.29": - version "3.4.29" - resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.4.29.tgz#7a6d322837d836dd3affa69553f9fba140f91723" - integrity sha512-HMLCmPI2j/k8PVkSBysrA2RxcxC5DgBiCdj7n7H2QtR8bQQPqKAe8qoaxLcInzouBmzwJ+J0x20ygN/B5mYBng== +"@vue/server-renderer@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.13.tgz#429ead62ee51de789646c22efe908e489aad46f7" + integrity sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA== dependencies: - "@vue/compiler-ssr" "3.4.29" - "@vue/shared" "3.4.29" + "@vue/compiler-ssr" "3.5.13" + "@vue/shared" "3.5.13" "@vue/shared@3.4.29", "@vue/shared@^3.3.0": version "3.4.29" resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.4.29.tgz#84908c284e88a269f8bceee59707b14eb4b2d284" integrity sha512-hQ2gAQcBO/CDpC82DCrinJNgOHI2v+FA7BDW4lMSPeBpQ7sRe2OLHWe5cph1s7D8DUQAwRt18dBDfJJ220APEA== +"@vue/shared@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.13.tgz#87b309a6379c22b926e696893237826f64339b6f" + integrity sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ== + "@vue/test-utils@^2.4.1": version "2.4.6" resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.4.6.tgz#7d534e70c4319d2a587d6a3b45a39e9695ade03c" @@ -1645,27 +1679,27 @@ resolved "https://registry.yarnpkg.com/@vue/tsconfig/-/tsconfig-0.4.0.tgz#f01e2f6089b5098136fb084a0dd0cdd4533b72b0" integrity sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg== -"@vueuse/core@^10.4.1": - version "10.11.0" - resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-10.11.0.tgz#b042585a8bf98bb29c177b33999bd0e3fcd9e65d" - integrity sha512-x3sD4Mkm7PJ+pcq3HX8PLPBadXCAlSDR/waK87dz0gQE+qJnaaFhc/dZVfJz+IUYzTMVGum2QlR7ImiJQN4s6g== +"@vueuse/core@^12.3.0": + version "12.3.0" + resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-12.3.0.tgz#c502cad93412f80588c1ca7fcbc8be88e279c793" + integrity sha512-cnV8QDKZrsyKC7tWjPbeEUz2cD9sa9faxF2YkR8QqNwfofgbOhmfIgvSYmkp+ttSvfOw4E6hLcQx15mRPr0yBA== dependencies: "@types/web-bluetooth" "^0.0.20" - "@vueuse/metadata" "10.11.0" - "@vueuse/shared" "10.11.0" - vue-demi ">=0.14.8" + "@vueuse/metadata" "12.3.0" + "@vueuse/shared" "12.3.0" + vue "^3.5.13" -"@vueuse/metadata@10.11.0": - version "10.11.0" - resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-10.11.0.tgz#27be47cf115ee98e947a1bfcd0b1b5b35d785fb6" - integrity sha512-kQX7l6l8dVWNqlqyN3ePW3KmjCQO3ZMgXuBMddIu83CmucrsBfXlH+JoviYyRBws/yLTQO8g3Pbw+bdIoVm4oQ== +"@vueuse/metadata@12.3.0": + version "12.3.0" + resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-12.3.0.tgz#ced4a05df89c6cc10154f6f7412745df928c18c2" + integrity sha512-M/iQHHjMffOv2npsw2ihlUx1CTiBwPEgb7DzByLq7zpg1+Ke8r7s9p5ybUWc5OIeGewtpY4Xy0R2cKqFqM8hFg== -"@vueuse/shared@10.11.0": - version "10.11.0" - resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-10.11.0.tgz#be09262b2c5857069ed3dadd1680f22c4cb6f984" - integrity sha512-fyNoIXEq3PfX1L3NkNhtVQUSRtqYwJtJg+Bp9rIzculIZWHTkKSysujrOk2J+NrRulLTQH9+3gGSfYLWSEWU1A== +"@vueuse/shared@12.3.0": + version "12.3.0" + resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-12.3.0.tgz#c1a1fecad6731ec3924ed532a3ddb0d715d9bf56" + integrity sha512-X3YD35GUeW0d5Gajcwv9jdLAJTV2Jdb/Ll6Ii2JIYcKLYZqv5wxyLeKtiQkqWmHg3v0J0ZWjDUMVOw2E7RCXfA== dependencies: - vue-demi ">=0.14.8" + vue "^3.5.13" abab@^2.0.6: version "2.0.6" @@ -4007,12 +4041,12 @@ luxon@^3.4.3: resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.4.4.tgz#cf20dc27dc532ba41a169c43fdcc0063601577af" integrity sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA== -magic-string@^0.30.10: - version "0.30.10" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.10.tgz#123d9c41a0cb5640c892b041d4cfb3bd0aa4b39e" - integrity sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ== +magic-string@^0.30.11: + version "0.30.17" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453" + integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA== dependencies: - "@jridgewell/sourcemap-codec" "^1.4.15" + "@jridgewell/sourcemap-codec" "^1.5.0" magic-string@^0.30.12: version "0.30.14" @@ -4745,7 +4779,7 @@ postcss@^8.3.11, postcss@^8.4.0, postcss@^8.4.4: picocolors "^1.0.1" source-map-js "^1.2.0" -postcss@^8.4.27, postcss@^8.4.38, postcss@^8.4.49: +postcss@^8.4.27, postcss@^8.4.38, postcss@^8.4.48, postcss@^8.4.49: version "8.4.49" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.49.tgz#4ea479048ab059ab3ae61d082190fabfd994fe19" integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA== @@ -5990,7 +6024,7 @@ vue-component-type-helpers@^2.0.0: resolved "https://registry.yarnpkg.com/vue-component-type-helpers/-/vue-component-type-helpers-2.0.21.tgz#f2cb9ce72da78b5974122ec168379be146760ae8" integrity sha512-3NaicyZ7N4B6cft4bfb7dOnPbE9CjLcx+6wZWAg5zwszfO4qXRh+U52dN5r5ZZfc6iMaxKCEcoH9CmxxoFZHLg== -vue-demi@>=0.14.5, vue-demi@>=0.14.8, vue-demi@^0.14.7: +vue-demi@>=0.14.5, vue-demi@^0.14.7: version "0.14.8" resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.14.8.tgz#00335e9317b45e4a68d3528aaf58e0cec3d5640a" integrity sha512-Uuqnk9YE9SsWeReYqK2alDI5YzciATE0r2SkA6iMAtuXvNTMNACJLJEXNXaEy94ECuBe4Sk6RzRU80kjdbIo1Q== @@ -6040,16 +6074,16 @@ vue-tsc@^1.8.11: "@vue/language-core" "1.8.27" semver "^7.5.4" -vue@^3.4.19: - version "3.4.29" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.4.29.tgz#fad5a0fe6dfa5c4a2cfbbc48c489e7989616a15b" - integrity sha512-8QUYfRcYzNlYuzKPfge1UWC6nF9ym0lx7mpGVPJYNhddxEf3DD0+kU07NTL0sXuiT2HuJuKr/iEO8WvXvT0RSQ== +vue@^3.5.13: + version "3.5.13" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.13.tgz#9f760a1a982b09c0c04a867903fc339c9f29ec0a" + integrity sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ== dependencies: - "@vue/compiler-dom" "3.4.29" - "@vue/compiler-sfc" "3.4.29" - "@vue/runtime-dom" "3.4.29" - "@vue/server-renderer" "3.4.29" - "@vue/shared" "3.4.29" + "@vue/compiler-dom" "3.5.13" + "@vue/compiler-sfc" "3.5.13" + "@vue/runtime-dom" "3.5.13" + "@vue/server-renderer" "3.5.13" + "@vue/shared" "3.5.13" w3c-xmlserializer@^4.0.0: version "4.0.0" From 980cc3e3374ed29b1d7d56aabd43e8087945eac5 Mon Sep 17 00:00:00 2001 From: Alvaro Tinoco Date: Thu, 9 Jan 2025 12:52:03 +0100 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20Update=20generated?= =?UTF-8?q?=20client=20to=20include=20FlawCollaborator=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi.yml | 47 +++++++++++-- src/generated-client/api.ts | 95 +++++++++++++++++++++++++-- src/generated-client/base.ts | 2 +- src/generated-client/common.ts | 2 +- src/generated-client/configuration.ts | 2 +- src/generated-client/index.ts | 2 +- 6 files changed, 137 insertions(+), 13 deletions(-) diff --git a/openapi.yml b/openapi.yml index 55b16a720..95eaea1cc 100644 --- a/openapi.yml +++ b/openapi.yml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: OSIDB API - version: 4.5.6 + version: 4.6.1 description: REST API autogenerated docs for the OSIDB and its components paths: /auth/token: @@ -7022,6 +7022,7 @@ components: readOnly: true ps_component: type: string + nullable: true maxLength: 255 impact: oneOf: @@ -7040,6 +7041,9 @@ components: items: $ref: '#/components/schemas/AffectCVSS' readOnly: true + purl: + type: string + nullable: true embargoed: type: boolean description: The embargoed boolean attribute is technically read-only as @@ -7066,7 +7070,6 @@ components: - delegated_resolution - embargoed - flaw - - ps_component - ps_module - ps_product - trackers @@ -7108,6 +7111,7 @@ components: readOnly: true ps_component: type: string + nullable: true maxLength: 255 impact: oneOf: @@ -7126,6 +7130,9 @@ components: items: $ref: '#/components/schemas/AffectCVSS' readOnly: true + purl: + type: string + nullable: true embargoed: type: boolean description: The embargoed boolean attribute is technically read-only as @@ -7152,7 +7159,6 @@ components: - delegated_resolution - embargoed - flaw - - ps_component - ps_module - ps_product - trackers @@ -7336,6 +7342,7 @@ components: readOnly: true ps_component: type: string + nullable: true maxLength: 255 impact: oneOf: @@ -7354,6 +7361,9 @@ components: items: $ref: '#/components/schemas/AffectCVSS' readOnly: true + purl: + type: string + nullable: true embargoed: type: boolean description: The embargoed boolean attribute is technically read-only as @@ -7375,7 +7385,6 @@ components: - delegated_resolution - embargoed - flaw - - ps_component - ps_module - ps_product - trackers @@ -7707,6 +7716,11 @@ components: items: $ref: '#/components/schemas/FlawCVSS' readOnly: true + labels: + type: array + items: + $ref: '#/components/schemas/FlawCollaborator' + nullable: true embargoed: type: boolean description: The embargoed boolean attribute is technically read-only as @@ -8050,6 +8064,19 @@ components: - updated_dt - uuid - vector + FlawCollaborator: + type: object + description: FlawCollaborator serializer + properties: + label: + type: string + state: + $ref: '#/components/schemas/StateEnum' + contributor: + type: string + maxLength: 255 + required: + - label FlawComment: type: object description: FlawComment serializer for use by flaw_comments endpoint @@ -8339,6 +8366,11 @@ components: items: $ref: '#/components/schemas/FlawCVSS' readOnly: true + labels: + type: array + items: + $ref: '#/components/schemas/FlawCollaborator' + nullable: true embargoed: type: boolean description: The embargoed boolean attribute is technically read-only as @@ -9132,6 +9164,13 @@ components: - XEN - XPDF type: string + StateEnum: + enum: + - NEW + - REQ + - SKIP + - DONE + type: string SupportedProducts: type: object properties: diff --git a/src/generated-client/api.ts b/src/generated-client/api.ts index a1b052b7c..c7e93fa69 100644 --- a/src/generated-client/api.ts +++ b/src/generated-client/api.ts @@ -4,7 +4,7 @@ * OSIDB API * REST API autogenerated docs for the OSIDB and its components * - * The version of the OpenAPI document: 4.5.6 + * The version of the OpenAPI document: 4.6.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -70,7 +70,7 @@ export interface Affect { * @type {string} * @memberof Affect */ - 'ps_component': string; + 'ps_component'?: string | null; /** * * @type {AffectImpact} @@ -95,6 +95,12 @@ export interface Affect { * @memberof Affect */ 'cvss_scores': Array; + /** + * + * @type {string} + * @memberof Affect + */ + 'purl'?: string | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -186,7 +192,7 @@ export interface AffectBulkPut { * @type {string} * @memberof AffectBulkPut */ - 'ps_component': string; + 'ps_component'?: string | null; /** * * @type {AffectImpact} @@ -211,6 +217,12 @@ export interface AffectBulkPut { * @memberof AffectBulkPut */ 'cvss_scores': Array; + /** + * + * @type {string} + * @memberof AffectBulkPut + */ + 'purl'?: string | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -496,7 +508,7 @@ export interface AffectPost { * @type {string} * @memberof AffectPost */ - 'ps_component': string; + 'ps_component'?: string | null; /** * * @type {AffectImpact} @@ -521,6 +533,12 @@ export interface AffectPost { * @memberof AffectPost */ 'cvss_scores': Array; + /** + * + * @type {string} + * @memberof AffectPost + */ + 'purl'?: string | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -1924,6 +1942,12 @@ export interface Flaw { * @memberof Flaw */ 'cvss_scores': Array; + /** + * + * @type {Array} + * @memberof Flaw + */ + 'labels'?: Array | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -2383,6 +2407,33 @@ export const FlawClassificationStateEnum = { export type FlawClassificationStateEnum = typeof FlawClassificationStateEnum[keyof typeof FlawClassificationStateEnum]; +/** + * FlawCollaborator serializer + * @export + * @interface FlawCollaborator + */ +export interface FlawCollaborator { + /** + * + * @type {string} + * @memberof FlawCollaborator + */ + 'label': string; + /** + * + * @type {StateEnum} + * @memberof FlawCollaborator + */ + 'state'?: StateEnum; + /** + * + * @type {string} + * @memberof FlawCollaborator + */ + 'contributor'?: string; +} + + /** * FlawComment serializer for use by flaw_comments endpoint * @export @@ -2797,6 +2848,12 @@ export interface FlawPost { * @memberof FlawPost */ 'cvss_scores': Array; + /** + * + * @type {Array} + * @memberof FlawPost + */ + 'labels'?: Array | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -3293,7 +3350,7 @@ export interface OsidbApiV1AffectsCreate201Response { * @type {string} * @memberof OsidbApiV1AffectsCreate201Response */ - 'ps_component': string; + 'ps_component'?: string | null; /** * * @type {AffectImpact} @@ -3318,6 +3375,12 @@ export interface OsidbApiV1AffectsCreate201Response { * @memberof OsidbApiV1AffectsCreate201Response */ 'cvss_scores': Array; + /** + * + * @type {string} + * @memberof OsidbApiV1AffectsCreate201Response + */ + 'purl'?: string | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -4283,6 +4346,12 @@ export interface OsidbApiV1FlawsCreate201Response { * @memberof OsidbApiV1FlawsCreate201Response */ 'cvss_scores': Array; + /** + * + * @type {Array} + * @memberof OsidbApiV1FlawsCreate201Response + */ + 'labels'?: Array | null; /** * The embargoed boolean attribute is technically read-only as it just indirectly modifies the ACLs but is mandatory as it controls the access to the resource. * @type {boolean} @@ -5965,6 +6034,22 @@ export const SourceBe0Enum = { export type SourceBe0Enum = typeof SourceBe0Enum[keyof typeof SourceBe0Enum]; +/** + * + * @export + * @enum {string} + */ + +export const StateEnum = { + New: 'NEW', + Req: 'REQ', + Skip: 'SKIP', + Done: 'DONE' +} as const; + +export type StateEnum = typeof StateEnum[keyof typeof StateEnum]; + + /** * * @export diff --git a/src/generated-client/base.ts b/src/generated-client/base.ts index a2f3a239b..8035c6b0d 100644 --- a/src/generated-client/base.ts +++ b/src/generated-client/base.ts @@ -4,7 +4,7 @@ * OSIDB API * REST API autogenerated docs for the OSIDB and its components * - * The version of the OpenAPI document: 4.5.6 + * The version of the OpenAPI document: 4.6.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/generated-client/common.ts b/src/generated-client/common.ts index 9765a83fd..7925b8321 100644 --- a/src/generated-client/common.ts +++ b/src/generated-client/common.ts @@ -4,7 +4,7 @@ * OSIDB API * REST API autogenerated docs for the OSIDB and its components * - * The version of the OpenAPI document: 4.5.6 + * The version of the OpenAPI document: 4.6.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/generated-client/configuration.ts b/src/generated-client/configuration.ts index e11eca259..0d72fdb10 100644 --- a/src/generated-client/configuration.ts +++ b/src/generated-client/configuration.ts @@ -4,7 +4,7 @@ * OSIDB API * REST API autogenerated docs for the OSIDB and its components * - * The version of the OpenAPI document: 4.5.6 + * The version of the OpenAPI document: 4.6.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/generated-client/index.ts b/src/generated-client/index.ts index f1ddd7435..13b3427e9 100644 --- a/src/generated-client/index.ts +++ b/src/generated-client/index.ts @@ -4,7 +4,7 @@ * OSIDB API * REST API autogenerated docs for the OSIDB and its components * - * The version of the OpenAPI document: 4.5.6 + * The version of the OpenAPI document: 4.6.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). From a1441e0ae134ed87d47b24f9d98f178d64311ef3 Mon Sep 17 00:00:00 2001 From: Alvaro Tinoco Date: Thu, 9 Jan 2025 12:53:16 +0100 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=9A=A8=20Fix=20invalid=20HTML=20warni?= =?UTF-8?q?ng=20when=20running=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QueryFilterGuide/QueryFilterGuide.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/QueryFilterGuide/QueryFilterGuide.vue b/src/components/QueryFilterGuide/QueryFilterGuide.vue index 6f58554de..5527aef87 100644 --- a/src/components/QueryFilterGuide/QueryFilterGuide.vue +++ b/src/components/QueryFilterGuide/QueryFilterGuide.vue @@ -176,7 +176,8 @@ -

Notes: +

+ Notes:
  1. ~ and !~ operators can be applied only to @@ -198,7 +199,7 @@ will cause an error.
-

+

Values

@@ -330,19 +331,19 @@ code { font-size: 1.5ch; } -p.info, -p.warn { +.info, +.warn { border: 0.1rem solid $redhat-teal-30; border-radius: 0.25rem; padding: 0.75ch; } -p.info { +.info { background-color: $redhat-teal-10; border: 0.1rem solid $redhat-teal-30; } -p.warn { +.warn { background-color: $redhat-yellow-10; border: 0.1rem solid $redhat-yellow-30; } From 04da9ecd32cc56acc092ebdca3dcfb0af0c0342f Mon Sep 17 00:00:00 2001 From: Alvaro Tinoco Date: Thu, 9 Jan 2025 12:53:56 +0100 Subject: [PATCH 4/7] =?UTF-8?q?=E2=9C=A8=20Show=20flaw=20labels=20on=20iss?= =?UTF-8?q?ue=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/IssueQueue/IssueQueue.vue | 72 ++++------ src/components/IssueQueue/IssueQueueItem.vue | 136 ++++++++++++++++++ .../IssueQueueItem/IssueQueueItem.vue | 69 --------- src/components/__tests__/IssueQueue.spec.ts | 5 +- .../__snapshots__/IssueQueue.spec.ts.snap | 96 +++++++++++++ src/composables/useFlawsFetching.ts | 3 +- src/services/FlawService.ts | 1 + src/types/zodFlaw.ts | 7 + tsconfig.vitest.json | 2 +- 9 files changed, 278 insertions(+), 113 deletions(-) create mode 100644 src/components/IssueQueue/IssueQueueItem.vue delete mode 100644 src/components/IssueQueueItem/IssueQueueItem.vue create mode 100644 src/components/__tests__/__snapshots__/IssueQueue.spec.ts.snap diff --git a/src/components/IssueQueue/IssueQueue.vue b/src/components/IssueQueue/IssueQueue.vue index 0836519d5..ec3f3fefa 100644 --- a/src/components/IssueQueue/IssueQueue.vue +++ b/src/components/IssueQueue/IssueQueue.vue @@ -1,39 +1,43 @@ @@ -189,9 +178,9 @@ watch(params, () => { -