diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fe911803c6..4a034615d3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,19 +4,21 @@ updates: directory: "/" schedule: interval: "daily" - target-branch: daily + open-pull-requests-limit: 0 + target-branch: "daily" versioning-strategy: increase allow: - - dependency-type: all + # Allow both direct and indirect updates for all packages + - dependency-type: "all" ignore: - dependency-name: "@types/mime" - versions: ["2.*", "3.*"] + versions: ["2.x", "3.x"] - dependency-name: "@types/node" - versions: ["20.*"] + versions: ["20.x"] - dependency-name: "fast-check" - versions: ["3.*"] + versions: ["3.x"] - dependency-name: "query-string" - versions: ["8.*"] + versions: ["8.x"] groups: types: patterns: diff --git a/.github/workflows/dependabot-validate.yml b/.github/workflows/dependabot-validate.yml new file mode 100644 index 0000000000..3dc8d197f3 --- /dev/null +++ b/.github/workflows/dependabot-validate.yml @@ -0,0 +1,19 @@ +name: dependabot validate + +on: + pull_request: + paths: + - '.github/dependabot.yml' + - '.github/workflows/dependabot-validate.yml' +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: marocchino/validate-dependabot@v2 + id: validate + - uses: marocchino/sticky-pull-request-comment@v2 + if: always() + with: + header: validate-dependabot + message: ${{ steps.validate.outputs.markdown }} \ No newline at end of file diff --git a/.yarn/cache/@aws-sdk-client-s3-npm-3.433.0-78fe360eb3-0974b71e65.zip b/.yarn/cache/@aws-sdk-client-s3-npm-3.436.0-a331c3c696-edc0fc9269.zip similarity index 96% rename from .yarn/cache/@aws-sdk-client-s3-npm-3.433.0-78fe360eb3-0974b71e65.zip rename to .yarn/cache/@aws-sdk-client-s3-npm-3.436.0-a331c3c696-edc0fc9269.zip index 0eca78940b..1bbf02692f 100644 Binary files a/.yarn/cache/@aws-sdk-client-s3-npm-3.433.0-78fe360eb3-0974b71e65.zip and b/.yarn/cache/@aws-sdk-client-s3-npm-3.436.0-a331c3c696-edc0fc9269.zip differ diff --git a/.yarn/cache/@aws-sdk-client-sso-npm-3.433.0-3d6f03e859-c8cc2e0e69.zip b/.yarn/cache/@aws-sdk-client-sso-npm-3.436.0-2f42b0c619-a392578c08.zip similarity index 84% rename from .yarn/cache/@aws-sdk-client-sso-npm-3.433.0-3d6f03e859-c8cc2e0e69.zip rename to .yarn/cache/@aws-sdk-client-sso-npm-3.436.0-2f42b0c619-a392578c08.zip index d158e9a9ef..4241202d42 100644 Binary files a/.yarn/cache/@aws-sdk-client-sso-npm-3.433.0-3d6f03e859-c8cc2e0e69.zip and b/.yarn/cache/@aws-sdk-client-sso-npm-3.436.0-2f42b0c619-a392578c08.zip differ diff --git a/.yarn/cache/@aws-sdk-client-sts-npm-3.433.0-525815b1df-2c87fa62bf.zip b/.yarn/cache/@aws-sdk-client-sts-npm-3.436.0-786b336276-ce8499427e.zip similarity index 89% rename from .yarn/cache/@aws-sdk-client-sts-npm-3.433.0-525815b1df-2c87fa62bf.zip rename to .yarn/cache/@aws-sdk-client-sts-npm-3.436.0-786b336276-ce8499427e.zip index 141179ae36..40f52abb4c 100644 Binary files a/.yarn/cache/@aws-sdk-client-sts-npm-3.433.0-525815b1df-2c87fa62bf.zip and b/.yarn/cache/@aws-sdk-client-sts-npm-3.436.0-786b336276-ce8499427e.zip differ diff --git a/.yarn/cache/@aws-sdk-core-npm-3.436.0-be88f730d0-fc72492450.zip b/.yarn/cache/@aws-sdk-core-npm-3.436.0-be88f730d0-fc72492450.zip new file mode 100644 index 0000000000..891f6d8eca Binary files /dev/null and b/.yarn/cache/@aws-sdk-core-npm-3.436.0-be88f730d0-fc72492450.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.433.0-a7c154c952-ce02cf8e04.zip b/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.436.0-1ce3c9f0a4-f940338951.zip similarity index 90% rename from .yarn/cache/@aws-sdk-credential-provider-ini-npm-3.433.0-a7c154c952-ce02cf8e04.zip rename to .yarn/cache/@aws-sdk-credential-provider-ini-npm-3.436.0-1ce3c9f0a4-f940338951.zip index 63091b27c5..d8a605f32f 100644 Binary files a/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.433.0-a7c154c952-ce02cf8e04.zip and b/.yarn/cache/@aws-sdk-credential-provider-ini-npm-3.436.0-1ce3c9f0a4-f940338951.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.433.0-be62b53139-30abdb8868.zip b/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.436.0-8f22cb5059-55744ac064.zip similarity index 88% rename from .yarn/cache/@aws-sdk-credential-provider-node-npm-3.433.0-be62b53139-30abdb8868.zip rename to .yarn/cache/@aws-sdk-credential-provider-node-npm-3.436.0-8f22cb5059-55744ac064.zip index d959ba18ef..f02c30b5e4 100644 Binary files a/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.433.0-be62b53139-30abdb8868.zip and b/.yarn/cache/@aws-sdk-credential-provider-node-npm-3.436.0-8f22cb5059-55744ac064.zip differ diff --git a/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.433.0-767057b8ee-ec4c97402b.zip b/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.436.0-228505fbe4-0b464c7a1b.zip similarity index 88% rename from .yarn/cache/@aws-sdk-credential-provider-sso-npm-3.433.0-767057b8ee-ec4c97402b.zip rename to .yarn/cache/@aws-sdk-credential-provider-sso-npm-3.436.0-228505fbe4-0b464c7a1b.zip index 043509cbca..e02eea74da 100644 Binary files a/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.433.0-767057b8ee-ec4c97402b.zip and b/.yarn/cache/@aws-sdk-credential-provider-sso-npm-3.436.0-228505fbe4-0b464c7a1b.zip differ diff --git a/.yarn/cache/@aws-sdk-lib-storage-npm-3.433.0-80db261996-5b266063c1.zip b/.yarn/cache/@aws-sdk-lib-storage-npm-3.436.0-c2530803eb-f4e397160f.zip similarity index 90% rename from .yarn/cache/@aws-sdk-lib-storage-npm-3.433.0-80db261996-5b266063c1.zip rename to .yarn/cache/@aws-sdk-lib-storage-npm-3.436.0-c2530803eb-f4e397160f.zip index e44e3e9364..88d3a08aff 100644 Binary files a/.yarn/cache/@aws-sdk-lib-storage-npm-3.433.0-80db261996-5b266063c1.zip and b/.yarn/cache/@aws-sdk-lib-storage-npm-3.436.0-c2530803eb-f4e397160f.zip differ diff --git a/.yarn/cache/@aws-sdk-s3-request-presigner-npm-3.433.0-4189ef2e80-897f653de1.zip b/.yarn/cache/@aws-sdk-s3-request-presigner-npm-3.436.0-dcf5fc10c0-fa15264281.zip similarity index 87% rename from .yarn/cache/@aws-sdk-s3-request-presigner-npm-3.433.0-4189ef2e80-897f653de1.zip rename to .yarn/cache/@aws-sdk-s3-request-presigner-npm-3.436.0-dcf5fc10c0-fa15264281.zip index f13a022abf..b934dbdcc3 100644 Binary files a/.yarn/cache/@aws-sdk-s3-request-presigner-npm-3.433.0-4189ef2e80-897f653de1.zip and b/.yarn/cache/@aws-sdk-s3-request-presigner-npm-3.436.0-dcf5fc10c0-fa15264281.zip differ diff --git a/.yarn/cache/@aws-sdk-token-providers-npm-3.433.0-7d30ca6c2e-1ac166b742.zip b/.yarn/cache/@aws-sdk-token-providers-npm-3.435.0-7777daee2b-f2b9bd49d0.zip similarity index 94% rename from .yarn/cache/@aws-sdk-token-providers-npm-3.433.0-7d30ca6c2e-1ac166b742.zip rename to .yarn/cache/@aws-sdk-token-providers-npm-3.435.0-7777daee2b-f2b9bd49d0.zip index 67f0dfcc5f..9a4344b345 100644 Binary files a/.yarn/cache/@aws-sdk-token-providers-npm-3.433.0-7d30ca6c2e-1ac166b742.zip and b/.yarn/cache/@aws-sdk-token-providers-npm-3.435.0-7777daee2b-f2b9bd49d0.zip differ diff --git a/.yarn/cache/@cypress-request-npm-3.0.1-7528f5a10a-7175522ebd.zip b/.yarn/cache/@cypress-request-npm-3.0.1-7528f5a10a-7175522ebd.zip new file mode 100644 index 0000000000..5fcd437d41 Binary files /dev/null and b/.yarn/cache/@cypress-request-npm-3.0.1-7528f5a10a-7175522ebd.zip differ diff --git a/.yarn/cache/@cypress-request-promise-npm-5.0.0-68acc79aaf-72d17a3dd5.zip b/.yarn/cache/@cypress-request-promise-npm-5.0.0-68acc79aaf-72d17a3dd5.zip new file mode 100644 index 0000000000..38134888c2 Binary files /dev/null and b/.yarn/cache/@cypress-request-promise-npm-5.0.0-68acc79aaf-72d17a3dd5.zip differ diff --git a/.yarn/cache/@eslint-js-npm-8.51.0-51f088b88b-0228bf1e1e.zip b/.yarn/cache/@eslint-js-npm-8.52.0-801dbdf7b0-490893b809.zip similarity index 89% rename from .yarn/cache/@eslint-js-npm-8.51.0-51f088b88b-0228bf1e1e.zip rename to .yarn/cache/@eslint-js-npm-8.52.0-801dbdf7b0-490893b809.zip index 0cae34e698..1c059425f2 100644 Binary files a/.yarn/cache/@eslint-js-npm-8.51.0-51f088b88b-0228bf1e1e.zip and b/.yarn/cache/@eslint-js-npm-8.52.0-801dbdf7b0-490893b809.zip differ diff --git a/.yarn/cache/@humanwhocodes-config-array-npm-0.11.11-e3582554ee-db84507375.zip b/.yarn/cache/@humanwhocodes-config-array-npm-0.11.13-12314014f2-f8ea57b0d7.zip similarity index 83% rename from .yarn/cache/@humanwhocodes-config-array-npm-0.11.11-e3582554ee-db84507375.zip rename to .yarn/cache/@humanwhocodes-config-array-npm-0.11.13-12314014f2-f8ea57b0d7.zip index 2409a83fb2..4a8665e835 100644 Binary files a/.yarn/cache/@humanwhocodes-config-array-npm-0.11.11-e3582554ee-db84507375.zip and b/.yarn/cache/@humanwhocodes-config-array-npm-0.11.13-12314014f2-f8ea57b0d7.zip differ diff --git a/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip b/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip deleted file mode 100644 index 2b79104af5..0000000000 Binary files a/.yarn/cache/@humanwhocodes-object-schema-npm-1.2.1-eb622b5d0e-a824a1ec31.zip and /dev/null differ diff --git a/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.1-c23364bbfc-24929487b1.zip b/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.1-c23364bbfc-24929487b1.zip new file mode 100644 index 0000000000..ddd36cec8c Binary files /dev/null and b/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.1-c23364bbfc-24929487b1.zip differ diff --git a/.yarn/cache/@mui-base-npm-5.0.0-beta.20-4f0109d088-a9a27b15b0.zip b/.yarn/cache/@mui-base-npm-5.0.0-beta.21-c44a762dec-c33de1a4f8.zip similarity index 59% rename from .yarn/cache/@mui-base-npm-5.0.0-beta.20-4f0109d088-a9a27b15b0.zip rename to .yarn/cache/@mui-base-npm-5.0.0-beta.21-c44a762dec-c33de1a4f8.zip index 7406f7241d..6db18ebee1 100644 Binary files a/.yarn/cache/@mui-base-npm-5.0.0-beta.20-4f0109d088-a9a27b15b0.zip and b/.yarn/cache/@mui-base-npm-5.0.0-beta.21-c44a762dec-c33de1a4f8.zip differ diff --git a/.yarn/cache/@mui-core-downloads-tracker-npm-5.14.14-bec8c16552-93a1f16141.zip b/.yarn/cache/@mui-core-downloads-tracker-npm-5.14.14-bec8c16552-93a1f16141.zip deleted file mode 100644 index a7240d3074..0000000000 Binary files a/.yarn/cache/@mui-core-downloads-tracker-npm-5.14.14-bec8c16552-93a1f16141.zip and /dev/null differ diff --git a/.yarn/cache/@mui-core-downloads-tracker-npm-5.14.15-7ef2f31067-2538bb7a62.zip b/.yarn/cache/@mui-core-downloads-tracker-npm-5.14.15-7ef2f31067-2538bb7a62.zip new file mode 100644 index 0000000000..5f3c38c75c Binary files /dev/null and b/.yarn/cache/@mui-core-downloads-tracker-npm-5.14.15-7ef2f31067-2538bb7a62.zip differ diff --git a/.yarn/cache/@mui-icons-material-npm-5.14.14-89cef08b5f-f69689a2c4.zip b/.yarn/cache/@mui-icons-material-npm-5.14.15-95dc0524b8-a1063ef362.zip similarity index 90% rename from .yarn/cache/@mui-icons-material-npm-5.14.14-89cef08b5f-f69689a2c4.zip rename to .yarn/cache/@mui-icons-material-npm-5.14.15-95dc0524b8-a1063ef362.zip index 62a83864a7..07348d38eb 100644 Binary files a/.yarn/cache/@mui-icons-material-npm-5.14.14-89cef08b5f-f69689a2c4.zip and b/.yarn/cache/@mui-icons-material-npm-5.14.15-95dc0524b8-a1063ef362.zip differ diff --git a/.yarn/cache/@mui-lab-npm-5.0.0-alpha.149-14629035fd-0b6c3abb47.zip b/.yarn/cache/@mui-lab-npm-5.0.0-alpha.149-14629035fd-0b6c3abb47.zip deleted file mode 100644 index d39733c719..0000000000 Binary files a/.yarn/cache/@mui-lab-npm-5.0.0-alpha.149-14629035fd-0b6c3abb47.zip and /dev/null differ diff --git a/.yarn/cache/@mui-lab-npm-5.0.0-alpha.150-747871b47f-69cb6cd1d9.zip b/.yarn/cache/@mui-lab-npm-5.0.0-alpha.150-747871b47f-69cb6cd1d9.zip new file mode 100644 index 0000000000..1cb19bfe0b Binary files /dev/null and b/.yarn/cache/@mui-lab-npm-5.0.0-alpha.150-747871b47f-69cb6cd1d9.zip differ diff --git a/.yarn/cache/@mui-material-npm-5.14.14-cc4d6ca8e5-b7e30db2b8.zip b/.yarn/cache/@mui-material-npm-5.14.15-0f70cd4cc2-e5c7a49c16.zip similarity index 61% rename from .yarn/cache/@mui-material-npm-5.14.14-cc4d6ca8e5-b7e30db2b8.zip rename to .yarn/cache/@mui-material-npm-5.14.15-0f70cd4cc2-e5c7a49c16.zip index 047d354006..af6423d5ba 100644 Binary files a/.yarn/cache/@mui-material-npm-5.14.14-cc4d6ca8e5-b7e30db2b8.zip and b/.yarn/cache/@mui-material-npm-5.14.15-0f70cd4cc2-e5c7a49c16.zip differ diff --git a/.yarn/cache/@mui-private-theming-npm-5.14.14-57951f488f-c6ed9b757f.zip b/.yarn/cache/@mui-private-theming-npm-5.14.14-57951f488f-c6ed9b757f.zip deleted file mode 100644 index a8fbe2e92f..0000000000 Binary files a/.yarn/cache/@mui-private-theming-npm-5.14.14-57951f488f-c6ed9b757f.zip and /dev/null differ diff --git a/.yarn/cache/@mui-private-theming-npm-5.14.15-47df1c9ccd-e4f1365d06.zip b/.yarn/cache/@mui-private-theming-npm-5.14.15-47df1c9ccd-e4f1365d06.zip new file mode 100644 index 0000000000..a36cf74b37 Binary files /dev/null and b/.yarn/cache/@mui-private-theming-npm-5.14.15-47df1c9ccd-e4f1365d06.zip differ diff --git a/.yarn/cache/@mui-styled-engine-npm-5.14.13-723b3b6a33-b927fffbfb.zip b/.yarn/cache/@mui-styled-engine-npm-5.14.13-723b3b6a33-b927fffbfb.zip deleted file mode 100644 index af54d4f25d..0000000000 Binary files a/.yarn/cache/@mui-styled-engine-npm-5.14.13-723b3b6a33-b927fffbfb.zip and /dev/null differ diff --git a/.yarn/cache/@mui-styled-engine-npm-5.14.15-0f80ded664-fb991d3bef.zip b/.yarn/cache/@mui-styled-engine-npm-5.14.15-0f80ded664-fb991d3bef.zip new file mode 100644 index 0000000000..0d05c379dc Binary files /dev/null and b/.yarn/cache/@mui-styled-engine-npm-5.14.15-0f80ded664-fb991d3bef.zip differ diff --git a/.yarn/cache/@mui-styles-npm-5.14.14-baac86db4d-354bdc6335.zip b/.yarn/cache/@mui-styles-npm-5.14.14-baac86db4d-354bdc6335.zip deleted file mode 100644 index bef81b6195..0000000000 Binary files a/.yarn/cache/@mui-styles-npm-5.14.14-baac86db4d-354bdc6335.zip and /dev/null differ diff --git a/.yarn/cache/@mui-styles-npm-5.14.15-a22e44f633-d6674528b8.zip b/.yarn/cache/@mui-styles-npm-5.14.15-a22e44f633-d6674528b8.zip new file mode 100644 index 0000000000..5c573df13b Binary files /dev/null and b/.yarn/cache/@mui-styles-npm-5.14.15-a22e44f633-d6674528b8.zip differ diff --git a/.yarn/cache/@mui-system-npm-5.14.14-8436456bad-e5f41d52be.zip b/.yarn/cache/@mui-system-npm-5.14.15-4d35ce3df7-39a451d138.zip similarity index 52% rename from .yarn/cache/@mui-system-npm-5.14.14-8436456bad-e5f41d52be.zip rename to .yarn/cache/@mui-system-npm-5.14.15-4d35ce3df7-39a451d138.zip index a605ee48e9..24e15d5071 100644 Binary files a/.yarn/cache/@mui-system-npm-5.14.14-8436456bad-e5f41d52be.zip and b/.yarn/cache/@mui-system-npm-5.14.15-4d35ce3df7-39a451d138.zip differ diff --git a/.yarn/cache/@mui-types-npm-7.2.6-a0b7e412f5-eb92f9c2fa.zip b/.yarn/cache/@mui-types-npm-7.2.7-16b0e034cb-cf6a770f6f.zip similarity index 84% rename from .yarn/cache/@mui-types-npm-7.2.6-a0b7e412f5-eb92f9c2fa.zip rename to .yarn/cache/@mui-types-npm-7.2.7-16b0e034cb-cf6a770f6f.zip index d8780dacd8..0b390aad37 100644 Binary files a/.yarn/cache/@mui-types-npm-7.2.6-a0b7e412f5-eb92f9c2fa.zip and b/.yarn/cache/@mui-types-npm-7.2.7-16b0e034cb-cf6a770f6f.zip differ diff --git a/.yarn/cache/@mui-utils-npm-5.14.14-3351ceaf83-b13afa9fd7.zip b/.yarn/cache/@mui-utils-npm-5.14.14-3351ceaf83-b13afa9fd7.zip deleted file mode 100644 index 24eeb5e07c..0000000000 Binary files a/.yarn/cache/@mui-utils-npm-5.14.14-3351ceaf83-b13afa9fd7.zip and /dev/null differ diff --git a/.yarn/cache/@mui-utils-npm-5.14.15-2aa4e1a6b1-6c4270110e.zip b/.yarn/cache/@mui-utils-npm-5.14.15-2aa4e1a6b1-6c4270110e.zip new file mode 100644 index 0000000000..8b1517dcc8 Binary files /dev/null and b/.yarn/cache/@mui-utils-npm-5.14.15-2aa4e1a6b1-6c4270110e.zip differ diff --git a/.yarn/cache/@types-node-npm-18.18.6-67880ca2e3-a847639b84.zip b/.yarn/cache/@types-node-npm-18.18.7-c7916bed57-972f8b214f.zip similarity index 97% rename from .yarn/cache/@types-node-npm-18.18.6-67880ca2e3-a847639b84.zip rename to .yarn/cache/@types-node-npm-18.18.7-c7916bed57-972f8b214f.zip index 38d4b1f2b9..176d63002e 100644 Binary files a/.yarn/cache/@types-node-npm-18.18.6-67880ca2e3-a847639b84.zip and b/.yarn/cache/@types-node-npm-18.18.7-c7916bed57-972f8b214f.zip differ diff --git a/.yarn/cache/@types-prop-types-npm-15.7.8-ea3873ebfb-61dfad79da.zip b/.yarn/cache/@types-prop-types-npm-15.7.8-ea3873ebfb-61dfad79da.zip deleted file mode 100644 index ffb88a0a77..0000000000 Binary files a/.yarn/cache/@types-prop-types-npm-15.7.8-ea3873ebfb-61dfad79da.zip and /dev/null differ diff --git a/.yarn/cache/@types-prop-types-npm-15.7.9-6ec0dd0ab3-c7591d3ff7.zip b/.yarn/cache/@types-prop-types-npm-15.7.9-6ec0dd0ab3-c7591d3ff7.zip new file mode 100644 index 0000000000..dec241c943 Binary files /dev/null and b/.yarn/cache/@types-prop-types-npm-15.7.9-6ec0dd0ab3-c7591d3ff7.zip differ diff --git a/.yarn/cache/@types-react-npm-18.2.31-6e2d07ce27-b11be8e391.zip b/.yarn/cache/@types-react-npm-18.2.33-aad7d56562-75903c4d53.zip similarity index 96% rename from .yarn/cache/@types-react-npm-18.2.31-6e2d07ce27-b11be8e391.zip rename to .yarn/cache/@types-react-npm-18.2.33-aad7d56562-75903c4d53.zip index 5c052d6951..89721c0a24 100644 Binary files a/.yarn/cache/@types-react-npm-18.2.31-6e2d07ce27-b11be8e391.zip and b/.yarn/cache/@types-react-npm-18.2.33-aad7d56562-75903c4d53.zip differ diff --git a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.8.0-49e1186395-c36ccf606e.zip b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.9.0-39fe91e7a8-51d7afc18b.zip similarity index 70% rename from .yarn/cache/@typescript-eslint-eslint-plugin-npm-6.8.0-49e1186395-c36ccf606e.zip rename to .yarn/cache/@typescript-eslint-eslint-plugin-npm-6.9.0-39fe91e7a8-51d7afc18b.zip index 61923f8b14..453e191aad 100644 Binary files a/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.8.0-49e1186395-c36ccf606e.zip and b/.yarn/cache/@typescript-eslint-eslint-plugin-npm-6.9.0-39fe91e7a8-51d7afc18b.zip differ diff --git a/.yarn/cache/@typescript-eslint-parser-npm-6.8.0-3051c57675-10d7a3ae38.zip b/.yarn/cache/@typescript-eslint-parser-npm-6.9.0-99436b8528-d8ff69d236.zip similarity index 82% rename from .yarn/cache/@typescript-eslint-parser-npm-6.8.0-3051c57675-10d7a3ae38.zip rename to .yarn/cache/@typescript-eslint-parser-npm-6.9.0-99436b8528-d8ff69d236.zip index bf67a76e3c..81d708cd16 100644 Binary files a/.yarn/cache/@typescript-eslint-parser-npm-6.8.0-3051c57675-10d7a3ae38.zip and b/.yarn/cache/@typescript-eslint-parser-npm-6.9.0-99436b8528-d8ff69d236.zip differ diff --git a/.yarn/cache/@typescript-eslint-scope-manager-npm-6.8.0-152705b93d-b6cf280353.zip b/.yarn/cache/@typescript-eslint-scope-manager-npm-6.9.0-e5e0d76fde-b7ddcea11b.zip similarity index 90% rename from .yarn/cache/@typescript-eslint-scope-manager-npm-6.8.0-152705b93d-b6cf280353.zip rename to .yarn/cache/@typescript-eslint-scope-manager-npm-6.9.0-e5e0d76fde-b7ddcea11b.zip index 15e656dde0..a2b1e62d39 100644 Binary files a/.yarn/cache/@typescript-eslint-scope-manager-npm-6.8.0-152705b93d-b6cf280353.zip and b/.yarn/cache/@typescript-eslint-scope-manager-npm-6.9.0-e5e0d76fde-b7ddcea11b.zip differ diff --git a/.yarn/cache/@typescript-eslint-type-utils-npm-6.8.0-a462e775d1-9b7d56904d.zip b/.yarn/cache/@typescript-eslint-type-utils-npm-6.9.0-12331a809c-279b0000cd.zip similarity index 78% rename from .yarn/cache/@typescript-eslint-type-utils-npm-6.8.0-a462e775d1-9b7d56904d.zip rename to .yarn/cache/@typescript-eslint-type-utils-npm-6.9.0-12331a809c-279b0000cd.zip index 5d76f84484..b5a2c3381f 100644 Binary files a/.yarn/cache/@typescript-eslint-type-utils-npm-6.8.0-a462e775d1-9b7d56904d.zip and b/.yarn/cache/@typescript-eslint-type-utils-npm-6.9.0-12331a809c-279b0000cd.zip differ diff --git a/.yarn/cache/@typescript-eslint-types-npm-6.8.0-5ce871780b-1fcd85f6d5.zip b/.yarn/cache/@typescript-eslint-types-npm-6.9.0-db89157e4b-e0444afa1f.zip similarity index 95% rename from .yarn/cache/@typescript-eslint-types-npm-6.8.0-5ce871780b-1fcd85f6d5.zip rename to .yarn/cache/@typescript-eslint-types-npm-6.9.0-db89157e4b-e0444afa1f.zip index df80d8ee25..2b4a46b9f5 100644 Binary files a/.yarn/cache/@typescript-eslint-types-npm-6.8.0-5ce871780b-1fcd85f6d5.zip and b/.yarn/cache/@typescript-eslint-types-npm-6.9.0-db89157e4b-e0444afa1f.zip differ diff --git a/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.8.0-bcf7db6c6c-388db7f33e.zip b/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.9.0-59e8bd395a-51088c23cc.zip similarity index 76% rename from .yarn/cache/@typescript-eslint-typescript-estree-npm-6.8.0-bcf7db6c6c-388db7f33e.zip rename to .yarn/cache/@typescript-eslint-typescript-estree-npm-6.9.0-59e8bd395a-51088c23cc.zip index ca8528c00e..232e2b149a 100644 Binary files a/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.8.0-bcf7db6c6c-388db7f33e.zip and b/.yarn/cache/@typescript-eslint-typescript-estree-npm-6.9.0-59e8bd395a-51088c23cc.zip differ diff --git a/.yarn/cache/@typescript-eslint-utils-npm-6.8.0-89c44a6a2b-6d9f90db50.zip b/.yarn/cache/@typescript-eslint-utils-npm-6.9.0-dc48500126-973c24d785.zip similarity index 86% rename from .yarn/cache/@typescript-eslint-utils-npm-6.8.0-89c44a6a2b-6d9f90db50.zip rename to .yarn/cache/@typescript-eslint-utils-npm-6.9.0-dc48500126-973c24d785.zip index 3337f8c616..64eaae74cf 100644 Binary files a/.yarn/cache/@typescript-eslint-utils-npm-6.8.0-89c44a6a2b-6d9f90db50.zip and b/.yarn/cache/@typescript-eslint-utils-npm-6.9.0-dc48500126-973c24d785.zip differ diff --git a/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.8.0-10ac2dfcbb-710d9067b8.zip b/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.9.0-a104a00e86-de8e2e363d.zip similarity index 83% rename from .yarn/cache/@typescript-eslint-visitor-keys-npm-6.8.0-10ac2dfcbb-710d9067b8.zip rename to .yarn/cache/@typescript-eslint-visitor-keys-npm-6.9.0-a104a00e86-de8e2e363d.zip index 11afebf517..46183aee7a 100644 Binary files a/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.8.0-10ac2dfcbb-710d9067b8.zip and b/.yarn/cache/@typescript-eslint-visitor-keys-npm-6.9.0-a104a00e86-de8e2e363d.zip differ diff --git a/.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip b/.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip new file mode 100644 index 0000000000..598a36e085 Binary files /dev/null and b/.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip differ diff --git a/.yarn/cache/array.prototype.flat-npm-1.3.1-e9a9e389c0-5a8415949d.zip b/.yarn/cache/array.prototype.flat-npm-1.3.2-350729f7f4-5d6b4bf102.zip similarity index 55% rename from .yarn/cache/array.prototype.flat-npm-1.3.1-e9a9e389c0-5a8415949d.zip rename to .yarn/cache/array.prototype.flat-npm-1.3.2-350729f7f4-5d6b4bf102.zip index f3e42570b9..7720137d70 100644 Binary files a/.yarn/cache/array.prototype.flat-npm-1.3.1-e9a9e389c0-5a8415949d.zip and b/.yarn/cache/array.prototype.flat-npm-1.3.2-350729f7f4-5d6b4bf102.zip differ diff --git a/.yarn/cache/array.prototype.flatmap-npm-1.3.1-c65186ca34-8c1c43a499.zip b/.yarn/cache/array.prototype.flatmap-npm-1.3.2-5c6a4af226-ce09fe21dc.zip similarity index 61% rename from .yarn/cache/array.prototype.flatmap-npm-1.3.1-c65186ca34-8c1c43a499.zip rename to .yarn/cache/array.prototype.flatmap-npm-1.3.2-5c6a4af226-ce09fe21dc.zip index a791d28dca..2553a317f1 100644 Binary files a/.yarn/cache/array.prototype.flatmap-npm-1.3.1-c65186ca34-8c1c43a499.zip and b/.yarn/cache/array.prototype.flatmap-npm-1.3.2-5c6a4af226-ce09fe21dc.zip differ diff --git a/.yarn/cache/eslint-npm-8.51.0-77fce3ec74-214fa5d1fc.zip b/.yarn/cache/eslint-npm-8.52.0-e7f048a439-fd22d1e9bd.zip similarity index 93% rename from .yarn/cache/eslint-npm-8.51.0-77fce3ec74-214fa5d1fc.zip rename to .yarn/cache/eslint-npm-8.52.0-e7f048a439-fd22d1e9bd.zip index 997dda7f1a..625d3a60da 100644 Binary files a/.yarn/cache/eslint-npm-8.51.0-77fce3ec74-214fa5d1fc.zip and b/.yarn/cache/eslint-npm-8.52.0-e7f048a439-fd22d1e9bd.zip differ diff --git a/.yarn/cache/eslint-plugin-import-npm-2.28.1-2056ddf35c-e8ae6dd8f0.zip b/.yarn/cache/eslint-plugin-import-npm-2.29.0-9cd6da0b0a-19ee541fb9.zip similarity index 88% rename from .yarn/cache/eslint-plugin-import-npm-2.28.1-2056ddf35c-e8ae6dd8f0.zip rename to .yarn/cache/eslint-plugin-import-npm-2.29.0-9cd6da0b0a-19ee541fb9.zip index 694db7307d..ed15139635 100644 Binary files a/.yarn/cache/eslint-plugin-import-npm-2.28.1-2056ddf35c-e8ae6dd8f0.zip and b/.yarn/cache/eslint-plugin-import-npm-2.29.0-9cd6da0b0a-19ee541fb9.zip differ diff --git a/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip b/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip deleted file mode 100644 index c22a184eba..0000000000 Binary files a/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip and /dev/null differ diff --git a/.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-2b0ff4ce70.zip b/.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-2b0ff4ce70.zip new file mode 100644 index 0000000000..55fbdad3a3 Binary files /dev/null and b/.yarn/cache/function-bind-npm-1.1.2-7a55be9b03-2b0ff4ce70.zip differ diff --git a/.yarn/cache/hasown-npm-2.0.0-78b794ceef-6151c75ca1.zip b/.yarn/cache/hasown-npm-2.0.0-78b794ceef-6151c75ca1.zip new file mode 100644 index 0000000000..5454406288 Binary files /dev/null and b/.yarn/cache/hasown-npm-2.0.0-78b794ceef-6151c75ca1.zip differ diff --git a/.yarn/cache/http-signature-npm-1.3.6-5b2eff4373-10be2af476.zip b/.yarn/cache/http-signature-npm-1.3.6-5b2eff4373-10be2af476.zip new file mode 100644 index 0000000000..44966300c2 Binary files /dev/null and b/.yarn/cache/http-signature-npm-1.3.6-5b2eff4373-10be2af476.zip differ diff --git a/.yarn/cache/is-core-module-npm-2.13.0-e444c50225-053ab101fb.zip b/.yarn/cache/is-core-module-npm-2.13.0-e444c50225-053ab101fb.zip deleted file mode 100644 index 636775cb5e..0000000000 Binary files a/.yarn/cache/is-core-module-npm-2.13.0-e444c50225-053ab101fb.zip and /dev/null differ diff --git a/.yarn/cache/is-core-module-npm-2.13.1-36e17434f9-256559ee8a.zip b/.yarn/cache/is-core-module-npm-2.13.1-36e17434f9-256559ee8a.zip new file mode 100644 index 0000000000..897f505685 Binary files /dev/null and b/.yarn/cache/is-core-module-npm-2.13.1-36e17434f9-256559ee8a.zip differ diff --git a/.yarn/cache/jsprim-npm-2.0.2-8c40f3719c-d175f6b199.zip b/.yarn/cache/jsprim-npm-2.0.2-8c40f3719c-d175f6b199.zip new file mode 100644 index 0000000000..6a0140011f Binary files /dev/null and b/.yarn/cache/jsprim-npm-2.0.2-8c40f3719c-d175f6b199.zip differ diff --git a/.yarn/cache/node-telegram-bot-api-npm-0.63.0-7711761a18-f13d96d689.zip b/.yarn/cache/node-telegram-bot-api-npm-0.63.0-7711761a18-f13d96d689.zip deleted file mode 100644 index cfb3971d2b..0000000000 Binary files a/.yarn/cache/node-telegram-bot-api-npm-0.63.0-7711761a18-f13d96d689.zip and /dev/null differ diff --git a/.yarn/cache/node-telegram-bot-api-npm-0.64.0-4fee54a13e-371a5fc1ca.zip b/.yarn/cache/node-telegram-bot-api-npm-0.64.0-4fee54a13e-371a5fc1ca.zip new file mode 100644 index 0000000000..3537c5e2a5 Binary files /dev/null and b/.yarn/cache/node-telegram-bot-api-npm-0.64.0-4fee54a13e-371a5fc1ca.zip differ diff --git a/.yarn/cache/qs-npm-6.10.4-9b6a538d57-31e4fedd75.zip b/.yarn/cache/qs-npm-6.10.4-9b6a538d57-31e4fedd75.zip new file mode 100644 index 0000000000..4752f236d6 Binary files /dev/null and b/.yarn/cache/qs-npm-6.10.4-9b6a538d57-31e4fedd75.zip differ diff --git a/.yarn/cache/querystringify-npm-2.2.0-4e77c9f606-5641ea231b.zip b/.yarn/cache/querystringify-npm-2.2.0-4e77c9f606-5641ea231b.zip new file mode 100644 index 0000000000..492bf88efc Binary files /dev/null and b/.yarn/cache/querystringify-npm-2.2.0-4e77c9f606-5641ea231b.zip differ diff --git a/.yarn/cache/ra-core-npm-4.15.1-d2df3cde7b-7641fe7b73.zip b/.yarn/cache/ra-core-npm-4.15.2-1256ab3765-92ca36884d.zip similarity index 91% rename from .yarn/cache/ra-core-npm-4.15.1-d2df3cde7b-7641fe7b73.zip rename to .yarn/cache/ra-core-npm-4.15.2-1256ab3765-92ca36884d.zip index 3355ad8559..3c27755cef 100644 Binary files a/.yarn/cache/ra-core-npm-4.15.1-d2df3cde7b-7641fe7b73.zip and b/.yarn/cache/ra-core-npm-4.15.2-1256ab3765-92ca36884d.zip differ diff --git a/.yarn/cache/ra-i18n-polyglot-npm-4.15.1-d3c6dee6fb-890faec407.zip b/.yarn/cache/ra-i18n-polyglot-npm-4.15.2-c27744affa-84c075564e.zip similarity index 61% rename from .yarn/cache/ra-i18n-polyglot-npm-4.15.1-d3c6dee6fb-890faec407.zip rename to .yarn/cache/ra-i18n-polyglot-npm-4.15.2-c27744affa-84c075564e.zip index c3f2fd3b4a..747bc330ba 100644 Binary files a/.yarn/cache/ra-i18n-polyglot-npm-4.15.1-d3c6dee6fb-890faec407.zip and b/.yarn/cache/ra-i18n-polyglot-npm-4.15.2-c27744affa-84c075564e.zip differ diff --git a/.yarn/cache/ra-input-rich-text-npm-4.15.1-f8ad05493f-a43a01e196.zip b/.yarn/cache/ra-input-rich-text-npm-4.15.2-204797e698-f36ece349d.zip similarity index 79% rename from .yarn/cache/ra-input-rich-text-npm-4.15.1-f8ad05493f-a43a01e196.zip rename to .yarn/cache/ra-input-rich-text-npm-4.15.2-204797e698-f36ece349d.zip index 6025c65e2b..18f92a2fdd 100644 Binary files a/.yarn/cache/ra-input-rich-text-npm-4.15.1-f8ad05493f-a43a01e196.zip and b/.yarn/cache/ra-input-rich-text-npm-4.15.2-204797e698-f36ece349d.zip differ diff --git a/.yarn/cache/ra-language-english-npm-4.15.1-8a44e7f62e-fa70e58c23.zip b/.yarn/cache/ra-language-english-npm-4.15.2-ab8f77117c-41d43dbfe1.zip similarity index 59% rename from .yarn/cache/ra-language-english-npm-4.15.1-8a44e7f62e-fa70e58c23.zip rename to .yarn/cache/ra-language-english-npm-4.15.2-ab8f77117c-41d43dbfe1.zip index d59b2270df..b50f9ff767 100644 Binary files a/.yarn/cache/ra-language-english-npm-4.15.1-8a44e7f62e-fa70e58c23.zip and b/.yarn/cache/ra-language-english-npm-4.15.2-ab8f77117c-41d43dbfe1.zip differ diff --git a/.yarn/cache/ra-ui-materialui-npm-4.15.1-f0a077b796-5880c6f056.zip b/.yarn/cache/ra-ui-materialui-npm-4.15.2-dd49e51eff-a324eb43b6.zip similarity index 81% rename from .yarn/cache/ra-ui-materialui-npm-4.15.1-f0a077b796-5880c6f056.zip rename to .yarn/cache/ra-ui-materialui-npm-4.15.2-dd49e51eff-a324eb43b6.zip index 95f24af9c3..7a38a65d11 100644 Binary files a/.yarn/cache/ra-ui-materialui-npm-4.15.1-f0a077b796-5880c6f056.zip and b/.yarn/cache/ra-ui-materialui-npm-4.15.2-dd49e51eff-a324eb43b6.zip differ diff --git a/.yarn/cache/react-admin-npm-4.15.1-d01645ef5e-093dd96762.zip b/.yarn/cache/react-admin-npm-4.15.2-8515b7b234-c4687a0da1.zip similarity index 80% rename from .yarn/cache/react-admin-npm-4.15.1-d01645ef5e-093dd96762.zip rename to .yarn/cache/react-admin-npm-4.15.2-8515b7b234-c4687a0da1.zip index e10b3dfe40..8badabdd94 100644 Binary files a/.yarn/cache/react-admin-npm-4.15.1-d01645ef5e-093dd96762.zip and b/.yarn/cache/react-admin-npm-4.15.2-8515b7b234-c4687a0da1.zip differ diff --git a/.yarn/cache/request-promise-core-npm-1.1.3-1b898b5c44-8572b5dd21.zip b/.yarn/cache/request-promise-core-npm-1.1.3-1b898b5c44-8572b5dd21.zip new file mode 100644 index 0000000000..34a419018d Binary files /dev/null and b/.yarn/cache/request-promise-core-npm-1.1.3-1b898b5c44-8572b5dd21.zip differ diff --git a/.yarn/cache/sshpk-npm-1.17.0-95f17f597f-ba109f65c8.zip b/.yarn/cache/sshpk-npm-1.18.0-e75427668c-01d43374ee.zip similarity index 87% rename from .yarn/cache/sshpk-npm-1.17.0-95f17f597f-ba109f65c8.zip rename to .yarn/cache/sshpk-npm-1.18.0-e75427668c-01d43374ee.zip index f3b155f79a..cbbced240d 100644 Binary files a/.yarn/cache/sshpk-npm-1.17.0-95f17f597f-ba109f65c8.zip and b/.yarn/cache/sshpk-npm-1.18.0-e75427668c-01d43374ee.zip differ diff --git a/.yarn/cache/tough-cookie-npm-4.1.3-08285e2518-c9226afff3.zip b/.yarn/cache/tough-cookie-npm-4.1.3-08285e2518-c9226afff3.zip new file mode 100644 index 0000000000..d20af08461 Binary files /dev/null and b/.yarn/cache/tough-cookie-npm-4.1.3-08285e2518-c9226afff3.zip differ diff --git a/.yarn/cache/undici-types-npm-5.26.5-de4f7c7bb9-3192ef6f3f.zip b/.yarn/cache/undici-types-npm-5.26.5-de4f7c7bb9-3192ef6f3f.zip new file mode 100644 index 0000000000..6ab5ae67e3 Binary files /dev/null and b/.yarn/cache/undici-types-npm-5.26.5-de4f7c7bb9-3192ef6f3f.zip differ diff --git a/.yarn/cache/universalify-npm-0.2.0-9984e61c10-e86134cb12.zip b/.yarn/cache/universalify-npm-0.2.0-9984e61c10-e86134cb12.zip new file mode 100644 index 0000000000..7f1d80c194 Binary files /dev/null and b/.yarn/cache/universalify-npm-0.2.0-9984e61c10-e86134cb12.zip differ diff --git a/.yarn/cache/url-parse-npm-1.5.10-64fa2bcd6d-fbdba6b1d8.zip b/.yarn/cache/url-parse-npm-1.5.10-64fa2bcd6d-fbdba6b1d8.zip new file mode 100644 index 0000000000..a0666e4f89 Binary files /dev/null and b/.yarn/cache/url-parse-npm-1.5.10-64fa2bcd6d-fbdba6b1d8.zip differ diff --git a/package.json b/package.json index b4f2f91f8e..d464c1dcfd 100644 --- a/package.json +++ b/package.json @@ -47,15 +47,15 @@ "@commitlint/cli": "^17.8.1", "@commitlint/config-conventional": "^17.8.1", "@types/prettier": "^3.0.0", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", + "@typescript-eslint/eslint-plugin": "^6.9.0", + "@typescript-eslint/parser": "^6.9.0", "@vitest/coverage-v8": "^0.34.6", - "eslint": "^8.51.0", + "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^39.1.1", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-fp-ts": "^0.3.2", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-n": "^16.2.0", "eslint-plugin-promise": "^6.1.1", "eslint-webpack-plugin": "^4.0.1", diff --git a/packages/@liexp/backend/package.json b/packages/@liexp/backend/package.json index 6924f3f1e2..661fdcc7b1 100644 --- a/packages/@liexp/backend/package.json +++ b/packages/@liexp/backend/package.json @@ -63,7 +63,7 @@ "react-admin": "^4.13.2", "react-dom": "^18", "typeorm": "^0.3.15", - "uuid": "^9", + "uuid": "^9.0.1", "wikipedia": "^2.0.0", "wink-nlp": "^1", "wink-nlp-utils": "^2.1.0" diff --git a/packages/@liexp/backend/src/providers/fs/fs.provider.ts b/packages/@liexp/backend/src/providers/fs/fs.provider.ts index 71f5ffb776..141cd7a486 100644 --- a/packages/@liexp/backend/src/providers/fs/fs.provider.ts +++ b/packages/@liexp/backend/src/providers/fs/fs.provider.ts @@ -49,7 +49,10 @@ export interface FSClient { ) => TE.TaskEither; getObject: (filePath: string) => TE.TaskEither; writeObject: (filePath: string, data: string) => TE.TaskEither; - deleteObject: (filePath: string) => TE.TaskEither; + deleteObject: ( + filePath: string, + throwIfNoExists?: boolean, + ) => TE.TaskEither; getOlderThanOr: ( filePath: string, time?: number, @@ -124,11 +127,23 @@ export const GetFSClient = (): FSClient => { olderThan, writeObject, getObject, - deleteObject: (filePath) => { + deleteObject: (filePath, throwIfNoExists) => { fsLogger.debug.log("Deleting object at path %s", filePath); return pipe( - TE.fromIO(() => { - fs.rmSync(filePath); + objectExists(filePath), + TE.chain((exists) => { + if (exists) { + return TE.fromIO(() => { + fs.rmSync(filePath); + }); + } else { + if (throwIfNoExists) { + return TE.left( + toFSError(new Error(`File ${filePath} don't exists.`)), + ); + } + return TE.right(undefined); + } }), ); }, diff --git a/packages/@liexp/core/package.json b/packages/@liexp/core/package.json index e4c60fef22..b240a76c1f 100644 --- a/packages/@liexp/core/package.json +++ b/packages/@liexp/core/package.json @@ -27,15 +27,15 @@ "@types/mime": "^1.3.4", "@types/mini-css-extract-plugin": "^2.5.1", "@types/prettier": "^3.0.0", - "@types/react": "^18.2.31", + "@types/react": "^18.2.33", "@types/webpack-bundle-analyzer": "^4.6.2", "@types/webpack-node-externals": "^3.0.3", "copy-webpack-plugin": "^11.0.0", "css-loader": "^6.8.1", "css-minimizer-webpack-plugin": "^5.0.1", "dotenv-webpack": "^8.0.1", - "eslint": "^8.51.0", - "eslint-plugin-import": "^2.28.1", + "eslint": "^8.52.0", + "eslint-plugin-import": "^2.29.0", "express": "^4.18.2", "file-loader": "^6.2.0", "filemanager-webpack-plugin": "^8.0.0", @@ -61,7 +61,7 @@ "peerDependencies": { "debug": "^4.3.1", "query-string": "^7.0.0", - "uuid": "^9.0.0" + "uuid": "^9.0.1" }, "_moduleAlias": { "@http": "lib/http", diff --git a/packages/@liexp/core/src/fp/index.ts b/packages/@liexp/core/src/fp/index.ts index f582ff126c..22eda013ee 100644 --- a/packages/@liexp/core/src/fp/index.ts +++ b/packages/@liexp/core/src/fp/index.ts @@ -1,5 +1,6 @@ import * as A from "fp-ts/Array"; import * as E from "fp-ts/Either"; +import * as Eq from 'fp-ts/Eq' import * as IOE from "fp-ts/IOEither"; import * as Json from "fp-ts/Json"; import * as Map from "fp-ts/Map"; @@ -27,6 +28,7 @@ export const fp = { N, Ord, Json, + Eq }; export { pipe, flow }; diff --git a/packages/@liexp/shared/.eslintrc b/packages/@liexp/shared/.eslintrc index 58f5836350..31f922f7e3 100644 --- a/packages/@liexp/shared/.eslintrc +++ b/packages/@liexp/shared/.eslintrc @@ -3,5 +3,8 @@ "parserOptions": { "tsconfigRootDir": "./", "project": ["./tsconfig.json"] + }, + "settings": { + "import/ignore": ["uuid"] } } diff --git a/packages/@liexp/shared/package.json b/packages/@liexp/shared/package.json index fd2a515327..3073b44b20 100644 --- a/packages/@liexp/shared/package.json +++ b/packages/@liexp/shared/package.json @@ -18,9 +18,9 @@ "test": "vitest" }, "dependencies": { - "@aws-sdk/client-s3": "^3.433.0", - "@aws-sdk/lib-storage": "^3.433.0", - "@aws-sdk/s3-request-presigner": "^3.433.0", + "@aws-sdk/client-s3": "^3.436.0", + "@aws-sdk/lib-storage": "^3.436.0", + "@aws-sdk/s3-request-presigner": "^3.436.0", "@databases/escape-identifier": "^1.0.3", "@databases/sql": "^3.3.0", "@liexp/core": "0.1.0", @@ -44,7 +44,7 @@ "@liexp/test": "0.1.0", "@types/bs58": "^4.0.3", "@types/prettier": "^3.0.0", - "@types/react": "^18.2.31", + "@types/react": "^18.2.33", "@types/react-dom": "^18.2.14", "@types/throttle-debounce": "^5.0.1", "@types/uuid": "^9.0.6", diff --git a/packages/@liexp/shared/src/endpoints/Network.endpoints.ts b/packages/@liexp/shared/src/endpoints/Network.endpoints.ts index ad1f9d109c..827cc3a1e7 100644 --- a/packages/@liexp/shared/src/endpoints/Network.endpoints.ts +++ b/packages/@liexp/shared/src/endpoints/Network.endpoints.ts @@ -1,5 +1,6 @@ import * as t from "io-ts"; import { UUID } from "io-ts-types/UUID"; +import { optionFromNullable } from "io-ts-types/lib/optionFromNullable"; import { Endpoint } from "ts-endpoint"; import { ListOutput, Output } from "../io/http/Common/Output"; import { @@ -49,11 +50,10 @@ export const Get = Endpoint({ export const Edit = Endpoint({ Method: "PUT", - getPath: ({ id }) => `/networks/${id}`, + getPath: ({ type, id }) => `/networks/${type}/${id}`, Input: { - Query: undefined, - Params: t.type({ id: UUID }), - Body: t.unknown, + Params: t.type({...GetNetworkParams.props, id: UUID }), + Body: t.strict({ regenerate: optionFromNullable(t.boolean) }), }, Output: SingleOutput, }); diff --git a/packages/@liexp/shared/src/endpoints/graph.endpoints.ts b/packages/@liexp/shared/src/endpoints/graph.endpoints.ts index 4860bb9d7a..a70523a94f 100644 --- a/packages/@liexp/shared/src/endpoints/graph.endpoints.ts +++ b/packages/@liexp/shared/src/endpoints/graph.endpoints.ts @@ -28,6 +28,18 @@ export const GetFlowGraph = Endpoint({ Output: t.strict({ data: FlowGraphOutput }), }); +export const EditFlowGraph = Endpoint({ + Method: "PUT", + getPath: ({ id, type }) => `/graphs/flows/${type}/${id}`, + Input: { + Params: GetFlowGraphParams, + Body: t.strict({ + regenerate: t.boolean + }) + }, + Output: t.strict({ data: FlowGraphOutput }), +}); + export const ListGraphs = Endpoint({ Method: "GET", getPath: () => `/graphs`, @@ -78,5 +90,6 @@ export const graphs = ResourceEndpoints({ Delete: DeleteGraph, Custom: { GetGraphByType: GetFlowGraph, + EditFlowGraph, }, }); diff --git a/packages/@liexp/shared/src/helpers/event/event.ts b/packages/@liexp/shared/src/helpers/event/event.ts index cbf675ee2f..1c19919ac2 100644 --- a/packages/@liexp/shared/src/helpers/event/event.ts +++ b/packages/@liexp/shared/src/helpers/event/event.ts @@ -1,21 +1,24 @@ +import { fp, pipe } from "@liexp/core/lib/fp"; import { format, subWeeks } from "date-fns"; import { sequenceS } from "fp-ts/Apply"; -import * as A from "fp-ts/Array"; -import * as Eq from "fp-ts/Eq"; -import * as Map from "fp-ts/Map"; import { type Monoid } from "fp-ts/Monoid"; -import * as O from "fp-ts/Option"; -import * as Ord from "fp-ts/Ord"; -import { pipe } from "fp-ts/function"; -import * as N from "fp-ts/number"; -import * as S from "fp-ts/string"; +import { type NonEmptyArray } from "fp-ts/NonEmptyArray"; +import type * as O from "fp-ts/Option"; import { UUID } from "io-ts-types/lib/UUID"; -import { Events, type Actor, type Common, type Group } from "../../io/http"; +import { + Events, + type Actor, + type Common, + type Group, + type Network, +} from "../../io/http"; import { type BySubject } from "../../io/http/Common"; +import { type EventRelationIds } from "../../io/http/Events"; import { type SearchEvent } from "../../io/http/Events/SearchEvent"; import { getTextContents } from "../../slate"; import { type EventCommonProps } from "./getCommonProps.helper"; -import { type EventRelationIds } from "@io/http/Events"; + +const { Ord, Eq, S, N } = fp; type EventsByYearMap = Map>; @@ -33,7 +36,7 @@ interface NavigationItem { export const eventsDataToNavigatorItems = ( events: Events.Event[], ): NavigationItem[] => { - const initial: EventsByYearMap = Map.empty; + const initial: EventsByYearMap = new Map(); const yearItems = events.reduce((acc, e) => { const frontmatter = e; @@ -41,16 +44,16 @@ export const eventsDataToNavigatorItems = ( const month = frontmatter.date.getUTCMonth(); const value = pipe( - Map.lookup(N.Eq)(year, acc), - O.fold( - () => Map.singleton(month, [e]), + fp.Map.lookup(N.Eq)(year, acc), + fp.O.fold( + () => fp.Map.singleton(month, [e]), (monthMap) => pipe( - Map.lookupWithKey(N.Eq)(month, monthMap), - O.fold( - () => Map.upsertAt(N.Eq)(month, [e])(monthMap), + fp.Map.lookupWithKey(N.Eq)(month, monthMap), + fp.O.fold( + () => fp.Map.upsertAt(N.Eq)(month, [e])(monthMap), ([monthKey, eventsInMonth]) => { - return Map.upsertAt(N.Eq)(monthKey, eventsInMonth.concat(e))( + return fp.Map.upsertAt(N.Eq)(monthKey, eventsInMonth.concat(e))( monthMap, ); }, @@ -59,13 +62,13 @@ export const eventsDataToNavigatorItems = ( ), ); - return Map.upsertAt(N.Eq)(year, value)(acc); + return fp.Map.upsertAt(N.Eq)(year, value)(acc); }, initial); const initialData: NavigationItem[] = []; - return Map.toArray(Ord.reverse(N.Ord))(yearItems).reduce( + return fp.Map.toArray(Ord.reverse(N.Ord))(yearItems).reduce( (acc, [year, monthMap]) => { - const months = Map.toArray(Ord.reverse(N.Ord))(monthMap).reduce< + const months = fp.Map.toArray(Ord.reverse(N.Ord))(monthMap).reduce< NavigationItem[] >((monthAcc, [month, events]) => { return monthAcc.concat({ @@ -119,28 +122,28 @@ export const eventsInDateRange = (events: Events.Event[]): Events.Event[] => { return pipe( events, - A.sort(Ord.getDualOrd(ordEventDate)), + fp.A.sort(fp.Ord.reverse(ordEventDate)), (orderedEvents) => { const minDate = pipe( props.minDate, - O.alt(() => + fp.O.alt(() => pipe( - A.last(orderedEvents), - O.map((e) => e.date), + fp.A.last(orderedEvents), + fp.O.map((e) => e.date), ), ), - O.getOrElse(() => subWeeks(new Date(), 1)), + fp.O.getOrElse(() => subWeeks(new Date(), 1)), ); const maxDate = pipe( props.maxDate, - O.alt(() => + fp.O.alt(() => pipe( - A.head(orderedEvents), - O.map((e) => e.date), + fp.A.head(orderedEvents), + fp.O.map((e) => e.date), ), ), - O.getOrElse(() => new Date()), + fp.O.getOrElse(() => new Date()), ); return { events: orderedEvents, minDate, maxDate }; @@ -148,7 +151,9 @@ export const eventsInDateRange = ({ events, minDate, maxDate }) => { return pipe( events, - A.filter((e) => Ord.between(Ord.ordDate)(minDate, maxDate)(e.date)), + fp.A.filter((e) => + Ord.between(Ord.ordDate)(minDate, maxDate)(e.date), + ), ); }, ); @@ -256,6 +261,40 @@ export const getRelationIds = (e: Events.Event): Events.EventRelationIds => { } }; +const nonEmptyArrayOrNull = (x: A[]): NonEmptyArray | null => { + const z = pipe(fp.NEA.fromArray(x ?? []), fp.O.toNullable); + return z; +}; + +// const concatToNEAOrNull = (x: A[], y: A[]): NonEmptyArray | null => { +// console.log({ x, y }); +// const z = pipe( +// fp.NEA.fromArray(x ?? []), +// fp.O.map((kk) => fp.NEA.concat(kk)(y ?? [])), +// fp.O.getOrElse(() => nonEmptyArrayOrNull(y)), +// ); +// console.log({ z }); +// return z; +// }; + +export const toGetNetworkQuery = ({ + keywords, + links, + actors, + groups, +}: Events.EventRelationIds): Network.GetNetworkQuerySerialized => { + return { + relations: null, + ids: null, + startDate: null, + endDate: null, + emptyRelations: null, + keywords: nonEmptyArrayOrNull(keywords), + actors: nonEmptyArrayOrNull(actors), + groups: nonEmptyArrayOrNull(groups), + }; +}; + const eventRelationIdsMonoid: Monoid = { empty: { keywords: [], @@ -389,8 +428,8 @@ export const transform = ( case Events.EventTypes.DEATH.value: { return pipe( props.actors.at(0), - O.fromNullable, - O.map((v) => ({ + fp.O.fromNullable, + fp.O.map((v) => ({ ...e, type: Events.EventTypes.DEATH.value, payload: { @@ -403,38 +442,38 @@ export const transform = ( case Events.EventTypes.TRANSACTION.value: { const from = pipe( props.actors, - A.head, - O.map((id): BySubject => ({ type: "Actor", id })), - O.alt(() => + fp.A.head, + fp.O.map((id): BySubject => ({ type: "Actor", id })), + fp.O.alt(() => pipe( props.groups, - A.head, - O.map((id): BySubject => ({ type: "Group", id })), + fp.A.head, + fp.O.map((id): BySubject => ({ type: "Group", id })), ), ), ); const to = pipe( props.actors, - A.takeLeft(2), - A.head, - O.map((id): BySubject => ({ type: "Actor" as const, id })), - O.alt(() => + fp.A.takeLeft(2), + fp.A.head, + fp.O.map((id): BySubject => ({ type: "Actor" as const, id })), + fp.O.alt(() => pipe( props.groups, - A.takeLeft(2), - A.head, - O.map((id): BySubject => ({ type: "Group" as const, id })), + fp.A.takeLeft(2), + fp.A.head, + fp.O.map((id): BySubject => ({ type: "Group" as const, id })), ), ), ); return pipe( - sequenceS(O.Applicative)({ + sequenceS(fp.O.Applicative)({ to, from, }), - O.map(({ to, from }) => ({ + fp.O.map(({ to, from }) => ({ ...e, type: Events.EventTypes.TRANSACTION.value, payload: { @@ -450,9 +489,9 @@ export const transform = ( case Events.EventTypes.PATENT.value: { return pipe( props.url, - O.fromNullable, - O.chainNullableK((url) => props.links.at(0)), - O.map((source: any) => ({ + fp.O.fromNullable, + fp.O.chainNullableK((url) => props.links.at(0)), + fp.O.map((source: any) => ({ ...e, type: Events.EventTypes.PATENT.value, payload: { @@ -469,11 +508,11 @@ export const transform = ( case Events.EventTypes.DOCUMENTARY.value: { return pipe( - sequenceS(O.Applicative)({ - media: pipe(props.media, A.head), - website: pipe(props.links, A.head), + sequenceS(fp.O.Applicative)({ + media: pipe(props.media, fp.A.head), + website: pipe(props.links, fp.A.head), }), - O.map(({ media, website }) => ({ + fp.O.map(({ media, website }) => ({ ...e, type: Events.EventTypes.DOCUMENTARY.value, payload: { @@ -496,8 +535,8 @@ export const transform = ( case Events.EventTypes.SCIENTIFIC_STUDY.value: { return pipe( props.links, - A.head, - O.map((url) => ({ + fp.A.head, + fp.O.map((url) => ({ ...e, type: Events.EventTypes.SCIENTIFIC_STUDY.value, payload: { @@ -514,20 +553,20 @@ export const transform = ( case Events.EventTypes.QUOTE.value: { const subjectOpt = pipe( props.actors, - A.head, - O.map((id): BySubject => ({ type: "Actor", id })), - O.alt(() => + fp.A.head, + fp.O.map((id): BySubject => ({ type: "Actor", id })), + fp.O.alt(() => pipe( props.groups, - A.head, - O.map((id): BySubject => ({ type: "Group", id })), + fp.A.head, + fp.O.map((id): BySubject => ({ type: "Group", id })), ), ), ); return pipe( subjectOpt, - O.map((subject) => ({ + fp.O.map((subject) => ({ ...e, type: Events.EventTypes.QUOTE.value, payload: { @@ -541,7 +580,7 @@ export const transform = ( } default: { - return O.some({ + return fp.O.some({ ...e, type: Events.EventTypes.UNCATEGORIZED.value, payload: { @@ -557,6 +596,17 @@ export const transform = ( } }; +export const eventsEmptyTotals: Events.SearchEvent.SearchEventsQuery.EventTotals = + { + uncategorized: 0, + documentaries: 0, + scientificStudies: 0, + quotes: 0, + patents: 0, + transactions: 0, + deaths: 0, + }; + export const getTotals = ( acc: Events.SearchEvent.SearchEventsQuery.EventTotals, e: Events.Event | Events.SearchEvent.SearchEvent, diff --git a/packages/@liexp/shared/src/io/http/Network.ts b/packages/@liexp/shared/src/io/http/Network.ts index db5c8ac0b0..bcef083b28 100644 --- a/packages/@liexp/shared/src/io/http/Network.ts +++ b/packages/@liexp/shared/src/io/http/Network.ts @@ -4,6 +4,7 @@ import { DateFromISOString } from "io-ts-types/DateFromISOString"; import { UUID } from "io-ts-types/UUID"; import { nonEmptyArray } from "io-ts-types/nonEmptyArray"; import { optionFromNullable } from "io-ts-types/optionFromNullable"; +import { type serializedType } from 'ts-io-error/lib/Codec'; import { Actor, ACTORS } from "./Actor"; import { EVENTS } from "./Events"; import { EventTotals } from "./Events/SearchEventsQuery"; @@ -38,6 +39,7 @@ export const GetNetworkQuery = t.type( ); export type GetNetworkQuery = t.TypeOf; +export type GetNetworkQuerySerialized = serializedType export const GetNetworkParams = t.type( { diff --git a/packages/@liexp/shared/src/io/http/Networks.ts b/packages/@liexp/shared/src/io/http/Networks.ts deleted file mode 100644 index b98bdf07d9..0000000000 --- a/packages/@liexp/shared/src/io/http/Networks.ts +++ /dev/null @@ -1,21 +0,0 @@ -import * as t from "io-ts"; -import { DateFromISOString } from "io-ts-types/lib/DateFromISOString"; -import { optionFromNullable } from "io-ts-types/lib/optionFromNullable"; -import { markdownRemark } from "./Common/Markdown"; - -export const NetworkPageFrontmatter = t.type( - { - title: t.string, - date: DateFromISOString, - slug: t.string, - cover: optionFromNullable(t.string), - }, - "NetworkPageContentFileNodeFrontmatter", -); - -export const NetworkPageMD = markdownRemark( - NetworkPageFrontmatter, - "NetworkPageMD", -); - -export type NetworkPageMD = t.TypeOf; diff --git a/packages/@liexp/shared/src/io/http/graphs/FlowGraph.ts b/packages/@liexp/shared/src/io/http/graphs/FlowGraph.ts index e97e2e073e..0c846b55e9 100644 --- a/packages/@liexp/shared/src/io/http/graphs/FlowGraph.ts +++ b/packages/@liexp/shared/src/io/http/graphs/FlowGraph.ts @@ -28,4 +28,4 @@ export const FlowGraphOutput = t.strict( "FlowGraphData", ); -export type FlowGraphOutput = t.TypeOf; +export type FlowGraphOutput = t.TypeOf; \ No newline at end of file diff --git a/packages/@liexp/shared/src/io/http/index.ts b/packages/@liexp/shared/src/io/http/index.ts index 672571e2f8..7193e12c91 100644 --- a/packages/@liexp/shared/src/io/http/index.ts +++ b/packages/@liexp/shared/src/io/http/index.ts @@ -11,7 +11,7 @@ import * as GroupMember from "./GroupMember"; import * as Keyword from "./Keyword"; import * as Link from "./Link"; import * as Media from "./Media"; -import * as Network from "./Networks"; +import * as Network from "./Network"; import * as Page from "./Page"; import * as Project from "./Project"; import * as ProjectImage from "./ProjectImage"; diff --git a/packages/@liexp/ui/package.json b/packages/@liexp/ui/package.json index a61b9a5e1e..e3b011491f 100644 --- a/packages/@liexp/ui/package.json +++ b/packages/@liexp/ui/package.json @@ -27,11 +27,11 @@ "@fortawesome/react-fontawesome": "^0.2.0", "@liexp/core": "0.1.0", "@liexp/shared": "0.1.0", - "@mui/icons-material": "^5.14.14", - "@mui/lab": "5.0.0-alpha.149", - "@mui/material": "^5.14.14", - "@mui/styles": "^5.14.14", - "@mui/system": "^5.14.14", + "@mui/icons-material": "^5.14.15", + "@mui/lab": "5.0.0-alpha.150", + "@mui/material": "^5.14.15", + "@mui/styles": "^5.14.15", + "@mui/system": "^5.14.15", "@mui/x-data-grid": "^6.16.3", "@reach/router": "^1.3.4", "@react-page/editor": "^5.4.4", @@ -80,12 +80,12 @@ "lodash": "^4.17.21", "ol": "^8.1.0", "query-string": "^7.1.3", - "ra-core": "^4.15.1", - "ra-i18n-polyglot": "^4.15.1", - "ra-input-rich-text": "^4.15.1", - "ra-ui-materialui": "^4.15.1", + "ra-core": "^4.15.2", + "ra-i18n-polyglot": "^4.15.2", + "ra-input-rich-text": "^4.15.2", + "ra-ui-materialui": "^4.15.2", "react": "^18.2.0", - "react-admin": "^4.15.1", + "react-admin": "^4.15.2", "react-audio-player": "^0.17.0", "react-dom": "^18.2.0", "react-dropzone": "^12.1.0", @@ -112,15 +112,15 @@ "@types/eslint": "^8.44.6", "@types/prettier": "^3.0.0", "@types/reach__router": "^1.3.13", - "@types/react": "^18.2.31", + "@types/react": "^18.2.33", "@types/react-helmet": "^6.1.8", "@types/react-slick": "^0.23.11", "@types/react-virtualized": "^9.21.26", "@types/throttle-debounce": "^5.0.1", "@types/topojson-client": "^3.1.3", "@types/topojson-specification": "^1.0.4", - "eslint": "^8.51.0", - "eslint-plugin-import": "^2.28.1", + "eslint": "^8.52.0", + "eslint-plugin-import": "^2.29.0", "prettier": "^3.0.3", "reactflow": "^11.9.4", "typescript": "^5.2.2" diff --git a/packages/@liexp/ui/src/components/admin/events/EditEventForm.tsx b/packages/@liexp/ui/src/components/admin/events/EditEventForm.tsx index b9f57ef95f..33aa21e39c 100644 --- a/packages/@liexp/ui/src/components/admin/events/EditEventForm.tsx +++ b/packages/@liexp/ui/src/components/admin/events/EditEventForm.tsx @@ -7,10 +7,13 @@ import { ImportMediaButton } from "../media/button/ImportMediaButton"; import EventPreview from "../previews/EventPreview"; import { type EditProps, FormTab, TabbedForm } from "../react-admin"; import { EventGeneralTab } from "../tabs/EventGeneralTab"; +import { LazyFormTabContent } from "../tabs/LazyFormTabContent"; import { ReferenceLinkTab } from "../tabs/ReferenceLinkTab"; import { ReferenceMediaTab } from "../tabs/ReferenceMediaTab"; import { transformEvent } from "../transform.utils"; import { EventEditActions } from "./EditEventActions"; +import { EventsFlowGraphFormTab } from "./tabs/EventsFlowGraphFormTab"; +import { EventsNetworkGraphFormTab } from "./tabs/EventsNetworkGraphFormTab"; import { EventTitle } from "./titles/EventTitle"; export const EditEventForm: React.FC> = ({ @@ -47,6 +50,16 @@ export const EditEventForm: React.FC> = ({ + + + + + + + + + + ); diff --git a/packages/@liexp/ui/src/components/admin/events/tabs/EventsFlowGraphFormTab.tsx b/packages/@liexp/ui/src/components/admin/events/tabs/EventsFlowGraphFormTab.tsx new file mode 100644 index 0000000000..e38e21b844 --- /dev/null +++ b/packages/@liexp/ui/src/components/admin/events/tabs/EventsFlowGraphFormTab.tsx @@ -0,0 +1,69 @@ +import { + getRelationIds, + toGetNetworkQuery, +} from "@liexp/shared/lib/helpers/event/event"; +import { type Network } from "@liexp/shared/lib/io/http"; +import { type FlowGraphType } from "@liexp/shared/lib/io/http/graphs/FlowGraph"; +import { useRecordContext, useRefresh } from "ra-core"; +import { Button, LoadingIndicator } from "ra-ui-materialui"; +import * as React from "react"; +import { apiProvider } from "../../../../client/api"; +import { EventsFlowGraphBox } from "../../../../containers/graphs/EventsFlowGraphBox"; +import { Grid } from "../../../mui"; + +export const EventsFlowGraphFormTab: React.FC<{ type: FlowGraphType }> = ({ + type, +}) => { + const record = useRecordContext(); + const refresh = useRefresh(); + + const handleRegenerateFlow = (): void => { + void apiProvider + .put(`graphs/flows/${type}/${id}`, { regenerate: true }) + .then(() => { + refresh(); + }); + }; + + if (!record?.id) { + return ; + } + + const id: any = record.id; + + const query: Network.GetNetworkQuerySerialized = + type === "events" + ? toGetNetworkQuery(getRelationIds(record as any)) + : { + ids: null, + keywords: null, + groups: null, + actors: null, + relations: ["actors", "groups", "keywords"], + startDate: null, + endDate: null, + emptyRelations: null, + }; + + return ( +
+ + + {}} + /> + + +
+ ); +}; diff --git a/packages/@liexp/ui/src/components/admin/events/tabs/EventsNetworkGraphFormTab.tsx b/packages/@liexp/ui/src/components/admin/events/tabs/EventsNetworkGraphFormTab.tsx new file mode 100644 index 0000000000..65601442d0 --- /dev/null +++ b/packages/@liexp/ui/src/components/admin/events/tabs/EventsNetworkGraphFormTab.tsx @@ -0,0 +1,55 @@ +import { getRelationIds } from "@liexp/shared/lib/helpers/event/event"; +import { type NetworkType } from "@liexp/shared/lib/io/http/Network"; +import { useRecordContext, useRefresh } from "ra-core"; +import { Button, LoadingIndicator } from "ra-ui-materialui"; +import * as React from "react"; +import { apiProvider } from "../../../../client/api"; +import { EventsNetworkGraphBox } from "../../../../containers/graphs/EventsNetworkGraphBox"; +import { Grid } from "../../../mui"; + +export const EventsNetworkGraphFormTab: React.FC<{ + type: NetworkType; +}> = ({ type }) => { + const record = useRecordContext(); + const refresh = useRefresh(); + + if (!record?.id) { + return ; + } + + const handleRegenerateFlow = (): void => { + void apiProvider + .put(`networks/${type}/${id}`, { regenerate: true }) + .then(() => { + refresh(); + }); + }; + + const id: any = record.id; + const query = getRelationIds(record as any); + + return ( +
+ + + {}} + /> + + +
+ ); +}; diff --git a/packages/@liexp/ui/src/components/admin/tabs/LazyFormTabContent.tsx b/packages/@liexp/ui/src/components/admin/tabs/LazyFormTabContent.tsx new file mode 100644 index 0000000000..6c6c245131 --- /dev/null +++ b/packages/@liexp/ui/src/components/admin/tabs/LazyFormTabContent.tsx @@ -0,0 +1,35 @@ +import { fp, pipe } from "@liexp/core/lib/fp"; +import { toError } from "fp-ts/Either"; +import { NumberFromString } from "io-ts-types/lib/NumberFromString"; +import * as React from "react"; +import { useLocation } from "react-router"; + +export const LazyFormTabContent: React.FC< + React.PropsWithChildren<{ + tab: number; + }> +> = ({ tab, children }) => { + const path = useLocation(); + + const enabled = React.useMemo(() => { + return pipe( + path.pathname.split("/"), + fp.A.last, + fp.O.filter((n) => { + return pipe( + NumberFromString.decode(n), + fp.E.mapLeft(toError), + fp.E.filterOrElse((n) => n === tab, toError), + fp.E.isRight, + ); + }), + fp.O.isSome, + ); + }, [path.pathname]); + + if (!enabled) { + return null; + } + + return children; +}; diff --git a/packages/@liexp/ui/src/containers/graphs/EventsNetworkGraphBox.tsx b/packages/@liexp/ui/src/containers/graphs/EventsNetworkGraphBox.tsx index b839adbcbd..bcae09fce8 100644 --- a/packages/@liexp/ui/src/containers/graphs/EventsNetworkGraphBox.tsx +++ b/packages/@liexp/ui/src/containers/graphs/EventsNetworkGraphBox.tsx @@ -47,11 +47,8 @@ export interface EventNetworkGraphBoxProps selectedKeywordIds?: string[]; query: Omit< SearchEventsQueryInputNoPagination, - "hash" | "startDate" | "endDate" - > & { - startDate: string; - endDate: string; - }; + "hash" + >; onRelationsChange?: (relations: NetworkGroupBy[]) => void; } @@ -243,8 +240,8 @@ const transformNetworkOutput = ( ...otherProps } = props; - const startDate = parseISO(query.startDate); - const endDate = parseISO(query.endDate); + const startDate = parseISO(query.startDate ?? graph.startDate.toISOString()); + const endDate = parseISO(query.endDate ?? graph.endDate.toISOString()); // console.log({ startDate, endDate }); const { diff --git a/services/admin-web/package.json b/services/admin-web/package.json index 5d302e5d73..c87b875acd 100644 --- a/services/admin-web/package.json +++ b/services/admin-web/package.json @@ -30,18 +30,18 @@ "@liexp/core": "0.1.0", "@liexp/shared": "0.1.0", "@liexp/ui": "0.1.0", - "@mui/material": "^5.14.14", + "@mui/material": "^5.14.15", "debug": "^4.3.4", "final-form": "^4.20.10", "fp-ts": "^2.16.1", "history": "^5.3.0", "mini-create-react-context": "^0.4.1", - "ra-core": "^4.15.1", - "ra-i18n-polyglot": "^4.15.1", - "ra-input-rich-text": "^4.15.1", - "ra-ui-materialui": "^4.15.1", + "ra-core": "^4.15.2", + "ra-i18n-polyglot": "^4.15.2", + "ra-input-rich-text": "^4.15.2", + "ra-ui-materialui": "^4.15.2", "react": "^18.2.0", - "react-admin": "^4.15.1", + "react-admin": "^4.15.2", "react-dom": "^18.2.0", "react-final-form": "^6.5.9", "react-final-form-arrays": "^3.1.4", @@ -57,19 +57,19 @@ "@testing-library/user-event": "^14.5.1", "@types/debug": "^4.1.10", "@types/lodash": "^4.14.200", - "@types/node": "^18.18.6", + "@types/node": "^18.18.7", "@types/prettier": "^3.0.0", - "@types/react": "^18.2.31", + "@types/react": "^18.2.33", "@types/react-dom": "^18.2.14", "@types/webpack-bundle-analyzer": "^4.6.2", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", + "@typescript-eslint/eslint-plugin": "^6.9.0", + "@typescript-eslint/parser": "^6.9.0", "dotenv": "^16.3.1", - "eslint": "^8.51.0", + "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^39.1.1", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-n": "^16.2.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.33.2", diff --git a/services/admin-web/src/pages/AdminActors.tsx b/services/admin-web/src/pages/AdminActors.tsx index 28a0bc1048..5c737915df 100644 --- a/services/admin-web/src/pages/AdminActors.tsx +++ b/services/admin-web/src/pages/AdminActors.tsx @@ -11,6 +11,8 @@ import { WebPreviewButton } from "@liexp/ui/lib/components/admin/common/WebPrevi import { ColorInput } from "@liexp/ui/lib/components/admin/common/inputs/ColorInput"; import { CreateEventButton } from "@liexp/ui/lib/components/admin/events/CreateEventButton"; import ReferenceManyEventField from "@liexp/ui/lib/components/admin/events/ReferenceManyEventField"; +import {EventsFlowGraphFormTab} from '@liexp/ui/lib/components/admin/events/tabs/EventsFlowGraphFormTab' +import { EventsNetworkGraphFormTab } from "@liexp/ui/lib/components/admin/events/tabs/EventsNetworkGraphFormTab"; import ReferenceGroupInput from "@liexp/ui/lib/components/admin/groups/ReferenceGroupInput"; import { SearchLinksButton } from "@liexp/ui/lib/components/admin/links/SearchLinksButton"; import { MediaField } from "@liexp/ui/lib/components/admin/media/MediaField"; @@ -40,6 +42,7 @@ import { type EditProps, type RaRecord, } from "@liexp/ui/lib/components/admin/react-admin"; +import { LazyFormTabContent } from "@liexp/ui/lib/components/admin/tabs/LazyFormTabContent"; import { Grid } from "@liexp/ui/lib/components/mui"; import * as O from "fp-ts/Option"; import * as TE from "fp-ts/TaskEither"; @@ -191,6 +194,16 @@ export const ActorEdit: React.FC = (props) => { }} /> + + + + + + + + + + ); diff --git a/services/admin-web/src/pages/AdminGroups.tsx b/services/admin-web/src/pages/AdminGroups.tsx index ff8dae3f21..41f008c787 100644 --- a/services/admin-web/src/pages/AdminGroups.tsx +++ b/services/admin-web/src/pages/AdminGroups.tsx @@ -11,6 +11,7 @@ import { EditForm } from "@liexp/ui/lib/components/admin/common/EditForm"; import { WebPreviewButton } from "@liexp/ui/lib/components/admin/common/WebPreviewButton"; import { ColorInput } from "@liexp/ui/lib/components/admin/common/inputs/ColorInput"; import ReferenceManyEventField from "@liexp/ui/lib/components/admin/events/ReferenceManyEventField"; +import { EventsNetworkGraphFormTab } from "@liexp/ui/lib/components/admin/events/tabs/EventsNetworkGraphFormTab"; import { GroupDataGrid } from "@liexp/ui/lib/components/admin/groups/GroupDataGrid"; import { MediaField } from "@liexp/ui/lib/components/admin/media/MediaField"; import GroupPreview from "@liexp/ui/lib/components/admin/previews/GroupPreview"; @@ -43,6 +44,7 @@ import { type RaRecord, type SelectInputProps, } from "@liexp/ui/lib/components/admin/react-admin"; +import { LazyFormTabContent } from "@liexp/ui/lib/components/admin/tabs/LazyFormTabContent"; import { Box, Grid, Typography } from "@liexp/ui/lib/components/mui"; import * as TE from "fp-ts/TaskEither"; import { pipe } from "fp-ts/function"; @@ -229,6 +231,11 @@ export const GroupEdit: React.FC = (props: EditProps) => { + + + + + ); diff --git a/services/api/package.json b/services/api/package.json index 5d63914647..a1706685c4 100644 --- a/services/api/package.json +++ b/services/api/package.json @@ -40,9 +40,9 @@ "import-from-kmz": "yarn ts:node:build ./bin/import-from-kmz.ts" }, "dependencies": { - "@aws-sdk/client-s3": "^3.433.0", - "@aws-sdk/lib-storage": "^3.433.0", - "@aws-sdk/s3-request-presigner": "^3.433.0", + "@aws-sdk/client-s3": "^3.436.0", + "@aws-sdk/lib-storage": "^3.436.0", + "@aws-sdk/s3-request-presigner": "^3.436.0", "@databases/escape-identifier": "^1.0.3", "@liexp/backend": "0.1.0", "@liexp/core": "0.1.0", @@ -69,7 +69,7 @@ "module-alias": "^2.2.3", "multer": "^1.4.5-lts.1", "node-cron": "^3.0.2", - "node-telegram-bot-api": "^0.63.0", + "node-telegram-bot-api": "^0.64.0", "nodemon": "^3.0.1", "page-metadata-parser": "^1.1.4", "parse2-kmz": "^1.0.7", @@ -104,7 +104,7 @@ "@types/lodash": "^4.14.200", "@types/module-alias": "^2.0.3", "@types/multer": "^1.4.9", - "@types/node": "^18.18.6", + "@types/node": "^18.18.7", "@types/node-cron": "^3.0.10", "@types/node-telegram-bot-api": "^0.61.11", "@types/pg": "^8.10.7", @@ -112,10 +112,10 @@ "@types/prompts": "^2.4.7", "@types/supertest": "^2.0.15", "@types/uuid": "^9.0.6", - "eslint": "^8.51.0", + "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "prettier": "^3.0.3", "prompts": "^2.4.2", "supertest": "^6.3.3", diff --git a/services/api/src/flows/graphs/createFlowGraph.flow.ts b/services/api/src/flows/graphs/createFlowGraph.flow.ts index 1f9ae818f4..31c0c5fb85 100644 --- a/services/api/src/flows/graphs/createFlowGraph.flow.ts +++ b/services/api/src/flows/graphs/createFlowGraph.flow.ts @@ -2,6 +2,7 @@ import path from "path"; import { fp } from "@liexp/core/lib/fp"; import { type Logger } from "@liexp/core/lib/logger"; import { + eventsEmptyTotals, getRelationIds, getTotals, } from "@liexp/shared/lib/helpers/event/event"; @@ -28,7 +29,7 @@ import { toEventV2IO } from "../../routes/events/eventV2.io"; import { cleanItemsFromSlateFields } from "../../utils/clean.utils"; import { fetchEventsByRelation } from "../events/fetchByRelations.flow"; import { fetchEventsRelations } from "../events/fetchEventsRelations.flow"; -import { type TEFlow } from "../flow.types"; +import { type Flow, type TEFlow } from "../flow.types"; const ordByDate = pipe( fp.N.Ord, @@ -120,15 +121,7 @@ export const getFlowGraph = actorLinks: new Map(), groupLinks: new Map(), keywordLinks: new Map(), - totals: { - uncategorized: 0, - documentaries: 0, - scientificStudies: 0, - quotes: 0, - patents: 0, - transactions: 0, - deaths: 0, - }, + totals: eventsEmptyTotals, }; const graph = pipe( @@ -202,17 +195,21 @@ export const getFlowGraph = }; }; +export const getFilePath: Flow<[FlowGraphType, UUID], string> = + (ctx) => (type, id) => { + return path.resolve( + ctx.config.dirs.cwd, + `temp/graphs/flows/${type}/${id}.json`, + ); + }; + export const createFlowGraph: TEFlow< - [UUID, FlowGraphType, GetNetworkQuery], + [FlowGraphType, UUID, GetNetworkQuery], FlowGraphOutput > = (ctx) => - (id, type, { relations, emptyRelations, ...query }) => { + (type, id, { relations, emptyRelations, ...query }) => { ctx.logger.debug.log(`Flow graph for %s (%s) %O`, type, id, query); - const filePath = path.resolve( - ctx.config.dirs.cwd, - `temp/graphs/flows/${type}/${id}.json`, - ); const createFlowGraphTask = pipe( fetchEventsByRelation(ctx)(type, [id], { @@ -227,5 +224,10 @@ export const createFlowGraph: TEFlow< fp.TE.map(getFlowGraph(ctx.logger)), ); - return pipe(createFlowGraphTask, ctx.fs.getOlderThanOr(filePath, 6)); + return pipe( + createFlowGraphTask, + ctx.fs.getOlderThanOr(getFilePath(ctx)(type, id), 6), + ); }; + + diff --git a/services/api/src/flows/graphs/regenerateFlowGraph.flow.ts b/services/api/src/flows/graphs/regenerateFlowGraph.flow.ts new file mode 100644 index 0000000000..76a92fe140 --- /dev/null +++ b/services/api/src/flows/graphs/regenerateFlowGraph.flow.ts @@ -0,0 +1,34 @@ +import { fp } from "@liexp/core/lib/fp"; +import { + type FlowGraphOutput, + type FlowGraphType +} from "@liexp/shared/lib/io/http/graphs/FlowGraph"; +import { pipe } from "fp-ts/function"; +import { type UUID } from "io-ts-types/lib/UUID"; +import { type TEFlow } from "../flow.types"; +import { createFlowGraph, getFilePath } from './createFlowGraph.flow'; + + +const deleteFlowGraph: TEFlow<[FlowGraphType, UUID], void> = + (ctx) => (type, id) => { + return pipe(getFilePath(ctx)(type, id), ctx.fs.deleteObject); + }; + + + +export const regenerateFlowGraph: TEFlow<[FlowGraphType, UUID], FlowGraphOutput> = (ctx) => (type, id) => { + return pipe( + deleteFlowGraph(ctx)(type, id), + fp.TE.chain(() => createFlowGraph(ctx)(type, id, { + ids: fp.O.none, + startDate: fp.O.none, + endDate: fp.O.none, + relations: fp.O.some(["actors", "groups", "keywords"]), + groups: fp.O.none, + actors: fp.O.none, + keywords: fp.O.none, + emptyRelations: fp.O.none, + }) + ) + ); +}; diff --git a/services/api/src/flows/networks/createEventNetworkGraph.flow.ts b/services/api/src/flows/networks/createEventNetworkGraph.flow.ts index b9b83d611f..5bb589938e 100644 --- a/services/api/src/flows/networks/createEventNetworkGraph.flow.ts +++ b/services/api/src/flows/networks/createEventNetworkGraph.flow.ts @@ -2,6 +2,7 @@ import * as fs from "fs"; import path from "path"; import { fp } from "@liexp/core/lib/fp"; import { + eventsEmptyTotals, getColorByEventType, getEventMetadata, getRelationIds, @@ -22,7 +23,6 @@ import { GROUPS } from "@liexp/shared/lib/io/http/Group"; import { KEYWORDS } from "@liexp/shared/lib/io/http/Keyword"; import { type NetworkLink, - type GetNetworkQuery, type NetworkGraphOutput, type NetworkGroupBy, } from "@liexp/shared/lib/io/http/Network"; @@ -325,23 +325,15 @@ const initialResult: Result = { actorLinks: [], groupLinks: [], keywordLinks: [], - totals: { - uncategorized: 0, - documentaries: 0, - scientificStudies: 0, - quotes: 0, - patents: 0, - transactions: 0, - deaths: 0, - }, + totals: eventsEmptyTotals, }; export const createEventNetworkGraph: TEFlow< - [UUID, GetNetworkQuery], + [UUID], NetworkGraphOutput > = (ctx) => - (id, { relations: relation }) => { + (id) => { const filePath = path.resolve( ctx.config.dirs.temp.root, `networks/events/${id}.json`, diff --git a/services/api/src/flows/networks/createNetworkGraph.flow.ts b/services/api/src/flows/networks/createNetworkGraph.flow.ts index 76891a7d22..10517518e8 100644 --- a/services/api/src/flows/networks/createNetworkGraph.flow.ts +++ b/services/api/src/flows/networks/createNetworkGraph.flow.ts @@ -1,5 +1,6 @@ import { fp } from "@liexp/core/lib/fp"; import { + eventsEmptyTotals, getColorByEventType, getEventMetadata, getTotals, @@ -60,6 +61,17 @@ const uniqueId = GetEncodeUtils< keywords: keywords.join("-"), })); +export const emptyGetNetworkQuery: GetNetworkQuery = { + ids: fp.O.none, + startDate: fp.O.none, + endDate: fp.O.none, + relations: fp.O.some(["actors", "groups", "keywords"]), + groups: fp.O.none, + actors: fp.O.none, + keywords: fp.O.none, + emptyRelations: fp.O.none, +}; + type ItemType = Group.Group | Keyword.Keyword | Actor.Actor; export const getRelationLinks = @@ -302,15 +314,7 @@ const initialResult: Result = { actorLinks: new Map(), groupLinks: new Map(), keywordLinks: new Map(), - totals: { - uncategorized: 0, - documentaries: 0, - scientificStudies: 0, - quotes: 0, - patents: 0, - transactions: 0, - deaths: 0, - }, + totals: eventsEmptyTotals, }; export interface Graph { diff --git a/services/api/src/routes/graphs/editFlowGraph.controller.ts b/services/api/src/routes/graphs/editFlowGraph.controller.ts new file mode 100644 index 0000000000..b21111cc59 --- /dev/null +++ b/services/api/src/routes/graphs/editFlowGraph.controller.ts @@ -0,0 +1,31 @@ +import { AddEndpoint, Endpoints } from "@liexp/shared/lib/endpoints"; +import { type Router } from "express"; +import * as TE from "fp-ts/TaskEither"; +import { pipe } from "fp-ts/function"; +import { + createFlowGraph, +} from "@flows/graphs/createFlowGraph.flow"; +import { regenerateFlowGraph } from '@flows/graphs/regenerateFlowGraph.flow'; +import { emptyGetNetworkQuery } from '@flows/networks/createNetworkGraph.flow'; +import { type RouteContext } from "@routes/route.types"; + +export const MakeEditFlowGraphRoute = (r: Router, ctx: RouteContext): void => { + AddEndpoint(r)( + Endpoints.Graph.Custom.EditFlowGraph, + ({ params: { type, id }, body: { regenerate } }) => { + + return pipe( + regenerate + ? regenerateFlowGraph(ctx)(type, id) + : createFlowGraph(ctx)(type, id, emptyGetNetworkQuery), + + TE.map((data) => ({ + body: { + data, + }, + statusCode: 200, + })), + ); + }, + ); +}; diff --git a/services/api/src/routes/graphs/getFlowGraph.controller.ts b/services/api/src/routes/graphs/getFlowGraph.controller.ts index 02a9dd181a..669649baed 100644 --- a/services/api/src/routes/graphs/getFlowGraph.controller.ts +++ b/services/api/src/routes/graphs/getFlowGraph.controller.ts @@ -10,7 +10,7 @@ export const MakeGetFlowGraphRoute = (r: Router, ctx: RouteContext): void => { Endpoints.Graph.Custom.GetGraphByType, ({ params: { id, type }, query }) => { return pipe( - createFlowGraph(ctx)(id, type, query), + createFlowGraph(ctx)(type, id, query), TE.map((data) => ({ body: { data, diff --git a/services/api/src/routes/graphs/graphs.routes.ts b/services/api/src/routes/graphs/graphs.routes.ts index 0c9a2209f4..65a6206f0d 100644 --- a/services/api/src/routes/graphs/graphs.routes.ts +++ b/services/api/src/routes/graphs/graphs.routes.ts @@ -1,4 +1,5 @@ import { type Router } from "express"; +import { MakeEditFlowGraphRoute } from './editFlowGraph.controller'; import { MakeGetFlowGraphRoute } from "./getFlowGraph.controller"; import { MakeGetGraphsRoute } from "./getGraph.controller"; import { type RouteContext } from "@routes/route.types"; @@ -6,4 +7,5 @@ import { type RouteContext } from "@routes/route.types"; export const MakeGraphsRoutes = (router: Router, ctx: RouteContext): void => { MakeGetFlowGraphRoute(router, ctx); MakeGetGraphsRoute(router, ctx); + MakeEditFlowGraphRoute(router, ctx); }; diff --git a/services/api/src/routes/media/editMedia.controller.ts b/services/api/src/routes/media/editMedia.controller.ts index 6109304390..c72e63242c 100644 --- a/services/api/src/routes/media/editMedia.controller.ts +++ b/services/api/src/routes/media/editMedia.controller.ts @@ -1,5 +1,6 @@ import { AddEndpoint, Endpoints } from "@liexp/shared/lib/endpoints"; import { MP4Type } from "@liexp/shared/lib/io/http/Media"; +import { ensureHTTPS } from '@liexp/shared/lib/utils/media.utils'; import { type Router } from "express"; import * as O from "fp-ts/Option"; import * as TE from "fp-ts/TaskEither"; @@ -113,7 +114,7 @@ export const MakeEditMediaRoute = (r: Router, ctx: RouteContext): void => { description, extra, thumbnail, - location, + location: ensureHTTPS(location), id, }, ]), diff --git a/services/api/src/routes/networks/editNetwork.controller.ts b/services/api/src/routes/networks/editNetwork.controller.ts new file mode 100644 index 0000000000..e2d4c702bb --- /dev/null +++ b/services/api/src/routes/networks/editNetwork.controller.ts @@ -0,0 +1,38 @@ +import { AddEndpoint, Endpoints } from "@liexp/shared/lib/endpoints"; +import { + type NetworkGraphOutput, + type NetworkType, +} from "@liexp/shared/lib/io/http/Network"; +import { type Router } from "express"; +import * as TE from "fp-ts/TaskEither"; +import { pipe } from "fp-ts/function"; +import { createEventNetworkGraph } from "@flows/networks/createEventNetworkGraph.flow"; +import { createNetworkGraph, emptyGetNetworkQuery } from "@flows/networks/createNetworkGraph.flow"; +import { type ControllerError } from "@io/ControllerError"; +import { type RouteContext } from "@routes/route.types"; + +export const MakeEditNetworkRoute = (r: Router, ctx: RouteContext): void => { + AddEndpoint(r)(Endpoints.Networks.Edit, ({ params: { type, id }, query }) => { + const getCreateNetworkT = ( + type: NetworkType, + ): TE.TaskEither => { + switch (type) { + case "events": { + return createEventNetworkGraph(ctx)(id); + } + } + + return createNetworkGraph(ctx)(type, [id], emptyGetNetworkQuery); + }; + + return pipe( + getCreateNetworkT(type), + TE.map((data) => ({ + body: { + data, + }, + statusCode: 200, + })), + ); + }); +}; diff --git a/services/api/src/routes/networks/getNetwork.controller.ts b/services/api/src/routes/networks/getNetwork.controller.ts index 5ddb3112eb..6c2f011c9f 100644 --- a/services/api/src/routes/networks/getNetwork.controller.ts +++ b/services/api/src/routes/networks/getNetwork.controller.ts @@ -23,7 +23,7 @@ export const MakeGetNetworkRoute = (r: Router, ctx: RouteContext): void => { const ids = pipe(query.ids, fp.O.filter(fp.A.isNonEmpty)); if (fp.O.isSome(ids)) { if (ids.value[0]) { - return createEventNetworkGraph(ctx)(ids.value[0], query); + return createEventNetworkGraph(ctx)(ids.value[0]); } } break; diff --git a/services/api/src/routes/networks/networks.routes.ts b/services/api/src/routes/networks/networks.routes.ts index 5c9616f4ce..ce0950f566 100644 --- a/services/api/src/routes/networks/networks.routes.ts +++ b/services/api/src/routes/networks/networks.routes.ts @@ -1,7 +1,9 @@ import { type Router } from "express"; +import { MakeEditNetworkRoute } from './editNetwork.controller'; import { MakeGetNetworkRoute } from "./getNetwork.controller"; import { type RouteContext } from "@routes/route.types"; export const MakeNetworksRoutes = (router: Router, ctx: RouteContext): void => { MakeGetNetworkRoute(router, ctx); + MakeEditNetworkRoute(router, ctx); }; diff --git a/services/api/src/utils/orm.utils.ts b/services/api/src/utils/orm.utils.ts index 71a3a15fef..0d86de7ac6 100644 --- a/services/api/src/utils/orm.utils.ts +++ b/services/api/src/utils/orm.utils.ts @@ -116,11 +116,11 @@ export const getOrder = ( pipe( fp.N.Ord, contramap(([k, e]: [string, { value: any; index: number }]) => e.index), + fp.Ord.reverse, ), ), - fp.A.reverse, fp.A.reduce({} as any, (acc, v) => { - acc[v[0]] = v[1].value + acc[v[0]] = v[1].value; return acc; }), ); diff --git a/services/storybook/package.json b/services/storybook/package.json index 89ce4647a1..8cd13f511d 100644 --- a/services/storybook/package.json +++ b/services/storybook/package.json @@ -47,7 +47,7 @@ "@types/babel__preset-env": "^7.9.4", "@types/eslint": "^8.44.6", "@types/prettier": "^3.0.0", - "eslint": "^8.51.0", + "eslint": "^8.52.0", "prettier": "^3.0.3", "typescript": "^5.2.2", "webpack": "^5.89.0" diff --git a/services/web/package.json b/services/web/package.json index 24353a4cde..da01eb11fb 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -33,8 +33,8 @@ "@liexp/core": "0.1.0", "@liexp/shared": "0.1.0", "@liexp/ui": "0.1.0", - "@mui/icons-material": "^5.14.14", - "@mui/material": "^5.14.14", + "@mui/icons-material": "^5.14.15", + "@mui/material": "^5.14.15", "@visx/axis": "^3.4.0", "@visx/gradient": "^3.3.0", "@visx/legend": "^3.3.0", @@ -57,12 +57,12 @@ "page-metadata-parser": "^1.1.4", "prop-types": "^15.8.1", "query-string": "^7.1.3", - "ra-core": "^4.15.1", - "ra-i18n-polyglot": "^4.15.1", - "ra-input-rich-text": "^4.15.1", - "ra-ui-materialui": "^4.15.1", + "ra-core": "^4.15.2", + "ra-i18n-polyglot": "^4.15.2", + "ra-input-rich-text": "^4.15.2", + "ra-ui-materialui": "^4.15.2", "react": "^18.2.0", - "react-admin": "^4.15.1", + "react-admin": "^4.15.2", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-helmet": "^6.1.0", @@ -85,8 +85,8 @@ "@types/debug": "^4.1.10", "@types/express": "^4.17.20", "@types/mime": "^1.3.4", - "@types/node": "^18.18.6", - "@types/react": "^18.2.31", + "@types/node": "^18.18.7", + "@types/react": "^18.2.33", "@types/react-calendar-heatmap": "^1.6.5", "@types/react-dom": "^18.2.14", "@types/react-helmet": "^6.1.8", @@ -98,14 +98,14 @@ "@types/uuid": "^9.0.6", "@types/webpack-bundle-analyzer": "^4.6.2", "@types/webpack-node-externals": "^3.0.3", - "@typescript-eslint/eslint-plugin": "^6.8.0", - "@typescript-eslint/parser": "^6.8.0", + "@typescript-eslint/eslint-plugin": "^6.9.0", + "@typescript-eslint/parser": "^6.9.0", "dotenv": "^16.3.1", - "eslint": "^8.51.0", + "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard-with-typescript": "^39.1.1", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.28.1", + "eslint-plugin-import": "^2.29.0", "eslint-plugin-n": "^16.2.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.33.2", diff --git a/yarn.lock b/yarn.lock index ea4a4d9453..cbd272fdd7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -126,15 +126,16 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-s3@npm:^3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/client-s3@npm:3.433.0" +"@aws-sdk/client-s3@npm:^3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/client-s3@npm:3.436.0" dependencies: "@aws-crypto/sha1-browser": 3.0.0 "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.433.0 - "@aws-sdk/credential-provider-node": 3.433.0 + "@aws-sdk/client-sts": 3.436.0 + "@aws-sdk/core": 3.436.0 + "@aws-sdk/credential-provider-node": 3.436.0 "@aws-sdk/middleware-bucket-endpoint": 3.433.0 "@aws-sdk/middleware-expect-continue": 3.433.0 "@aws-sdk/middleware-flexible-checksums": 3.433.0 @@ -185,16 +186,17 @@ __metadata: "@smithy/util-waiter": ^2.0.12 fast-xml-parser: 4.2.5 tslib: ^2.5.0 - checksum: 0974b71e65ab8bef0229cd3c4ae896fd74596385231df1c5a3f884cfafbb1b2b8a4e570a1ef873323cb3f277807855555eeaa8fcd61ba96f7235c4f76bca94e1 + checksum: edc0fc92694a21e03f0a2c9f38074143d946563cfe528a2c8934a27fdddc9476421f4879c55efe5fddf2b59e04b9a5288a3cc2df439291d0c5de8c8b6565731a languageName: node linkType: hard -"@aws-sdk/client-sso@npm:3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/client-sso@npm:3.433.0" +"@aws-sdk/client-sso@npm:3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/client-sso@npm:3.436.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 + "@aws-sdk/core": 3.436.0 "@aws-sdk/middleware-host-header": 3.433.0 "@aws-sdk/middleware-logger": 3.433.0 "@aws-sdk/middleware-recursion-detection": 3.433.0 @@ -227,17 +229,18 @@ __metadata: "@smithy/util-retry": ^2.0.5 "@smithy/util-utf8": ^2.0.0 tslib: ^2.5.0 - checksum: c8cc2e0e691394e0b70dfb556f52546646da70d692209402ab44ef5cefb2f5a6cf819bf6fefd4f91d756c5a81d5d2a825f9dee9faadf8eb1a634940b34511bc6 + checksum: a392578c08ce2867d320c1031c5ba5d0719da8999ddacad2c75acc8198d67697c164db2e03efc04565d0914c68e8b18b0cf57ffc58a785fbe6eeb0a738596539 languageName: node linkType: hard -"@aws-sdk/client-sts@npm:3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/client-sts@npm:3.433.0" +"@aws-sdk/client-sts@npm:3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/client-sts@npm:3.436.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/credential-provider-node": 3.433.0 + "@aws-sdk/core": 3.436.0 + "@aws-sdk/credential-provider-node": 3.436.0 "@aws-sdk/middleware-host-header": 3.433.0 "@aws-sdk/middleware-logger": 3.433.0 "@aws-sdk/middleware-recursion-detection": 3.433.0 @@ -273,7 +276,16 @@ __metadata: "@smithy/util-utf8": ^2.0.0 fast-xml-parser: 4.2.5 tslib: ^2.5.0 - checksum: 2c87fa62bf0491bef6ece8acb6fa496b329a77b9368dbf6187dc55192207c25570b8d5be5e01d62a8b5fd0776cb4a3c620ada2aa9819cf43d0c3dcde8c8f7427 + checksum: ce8499427e9c8538fef6f1e8bfbbd2dabd738e2ae48607ff1437bef60849d4accb9a9de620f70f15ca9014846209d90dc4ac6bf62455f882b02321a13f19046e + languageName: node + linkType: hard + +"@aws-sdk/core@npm:3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/core@npm:3.436.0" + dependencies: + "@smithy/smithy-client": ^2.1.12 + checksum: fc72492450c61e2cc1fa991735594592264d1faa87da7228b72e2978f66135f31cf739432491b58df34a53a55613cb60a8959f55aeda1c5cc6a26c3084739a85 languageName: node linkType: hard @@ -289,13 +301,13 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-ini@npm:3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/credential-provider-ini@npm:3.433.0" +"@aws-sdk/credential-provider-ini@npm:3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/credential-provider-ini@npm:3.436.0" dependencies: "@aws-sdk/credential-provider-env": 3.433.0 "@aws-sdk/credential-provider-process": 3.433.0 - "@aws-sdk/credential-provider-sso": 3.433.0 + "@aws-sdk/credential-provider-sso": 3.436.0 "@aws-sdk/credential-provider-web-identity": 3.433.0 "@aws-sdk/types": 3.433.0 "@smithy/credential-provider-imds": ^2.0.0 @@ -303,18 +315,18 @@ __metadata: "@smithy/shared-ini-file-loader": ^2.0.6 "@smithy/types": ^2.4.0 tslib: ^2.5.0 - checksum: ce02cf8e0469f23a0573647a6d36e34b82c823b6f68c95b165762e60da1ea5bf05b0abcd42cbec4b3f67074480fe0670ba19b4fb615bc7d3d202a1161aade50c + checksum: f940338951cfffaa38af1309a357202d496e29e52a30f258d7e4688d688d5c954a30ffde9d457286c65c4065953989002e2d848e9c2013d616106f35b7ba59d2 languageName: node linkType: hard -"@aws-sdk/credential-provider-node@npm:3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/credential-provider-node@npm:3.433.0" +"@aws-sdk/credential-provider-node@npm:3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/credential-provider-node@npm:3.436.0" dependencies: "@aws-sdk/credential-provider-env": 3.433.0 - "@aws-sdk/credential-provider-ini": 3.433.0 + "@aws-sdk/credential-provider-ini": 3.436.0 "@aws-sdk/credential-provider-process": 3.433.0 - "@aws-sdk/credential-provider-sso": 3.433.0 + "@aws-sdk/credential-provider-sso": 3.436.0 "@aws-sdk/credential-provider-web-identity": 3.433.0 "@aws-sdk/types": 3.433.0 "@smithy/credential-provider-imds": ^2.0.0 @@ -322,7 +334,7 @@ __metadata: "@smithy/shared-ini-file-loader": ^2.0.6 "@smithy/types": ^2.4.0 tslib: ^2.5.0 - checksum: 30abdb886861d0b2874bb66fe0d31a66cd90a64c0aa545fa54ea99926128be0c52544b748ee1ba3fda3391e8d967dbe8bda01afdacb4b32e3776eb79c4ebf41e + checksum: 55744ac0645b191e49422fd3f60589c72a9a470781d261cb86f4128191e012a046269d74adffd166124925db0648d9b808dd0c53f48712a22f7203ba8eda3ef0 languageName: node linkType: hard @@ -339,18 +351,18 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-sso@npm:3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/credential-provider-sso@npm:3.433.0" +"@aws-sdk/credential-provider-sso@npm:3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/credential-provider-sso@npm:3.436.0" dependencies: - "@aws-sdk/client-sso": 3.433.0 - "@aws-sdk/token-providers": 3.433.0 + "@aws-sdk/client-sso": 3.436.0 + "@aws-sdk/token-providers": 3.435.0 "@aws-sdk/types": 3.433.0 "@smithy/property-provider": ^2.0.0 "@smithy/shared-ini-file-loader": ^2.0.6 "@smithy/types": ^2.4.0 tslib: ^2.5.0 - checksum: ec4c97402b03722e8c2fc1a6a648d576e04291edc0320908d5f3fb799731451b0aa6618d03edc50eb0e6dfabc529c1a80f723b76095d1bb1874236b643f34739 + checksum: 0b464c7a1b0935dcb2234e9c29f6f51b6303ec2d57b85ea69eab06dd9b2f77be4884f32d539bfaad1a305a139f9ec902e86d39f25a1a36aa38e8810b2066f9b9 languageName: node linkType: hard @@ -366,9 +378,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/lib-storage@npm:^3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/lib-storage@npm:3.433.0" +"@aws-sdk/lib-storage@npm:^3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/lib-storage@npm:3.436.0" dependencies: "@smithy/abort-controller": ^2.0.1 "@smithy/middleware-endpoint": ^2.1.3 @@ -379,7 +391,7 @@ __metadata: tslib: ^2.5.0 peerDependencies: "@aws-sdk/client-s3": ^3.0.0 - checksum: 5b266063c14636bc43ab529afef073ce84ba6e6a5934a9a166b5ab5fa1dea43511947627477586972544f82be00a0e9aa771cf00364b49536186c077e1c6b37c + checksum: f4e397160f35bae6ee5dd4b5cbab2e5c99d584f62a789e44e96bf7bbecd8a5183460258e56a01963874640dfd26b8e4cde71ee7576d28857a1695dfd9a3b6483 languageName: node linkType: hard @@ -550,9 +562,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/s3-request-presigner@npm:^3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/s3-request-presigner@npm:3.433.0" +"@aws-sdk/s3-request-presigner@npm:^3.436.0": + version: 3.436.0 + resolution: "@aws-sdk/s3-request-presigner@npm:3.436.0" dependencies: "@aws-sdk/signature-v4-multi-region": 3.433.0 "@aws-sdk/types": 3.433.0 @@ -562,7 +574,7 @@ __metadata: "@smithy/smithy-client": ^2.1.12 "@smithy/types": ^2.4.0 tslib: ^2.5.0 - checksum: 897f653de1596725aa326ee62dd61d9088b4fba01cbce7fd49137809a5375daa66af7b1c83eb6919138bf1fa5b3a80bc147e9ba43fb5bda552216fde6b0ac506 + checksum: fa15264281827c4d0eb01cdc1adf975dcc29ef725e4429d528b8a6a38947a86ea877436d3838c3e1374e524c0ad2385bed90d62915974cdf5dc2dd8c7673382f languageName: node linkType: hard @@ -579,9 +591,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/token-providers@npm:3.433.0": - version: 3.433.0 - resolution: "@aws-sdk/token-providers@npm:3.433.0" +"@aws-sdk/token-providers@npm:3.435.0": + version: 3.435.0 + resolution: "@aws-sdk/token-providers@npm:3.435.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 @@ -589,6 +601,7 @@ __metadata: "@aws-sdk/middleware-logger": 3.433.0 "@aws-sdk/middleware-recursion-detection": 3.433.0 "@aws-sdk/middleware-user-agent": 3.433.0 + "@aws-sdk/region-config-resolver": 3.433.0 "@aws-sdk/types": 3.433.0 "@aws-sdk/util-endpoints": 3.433.0 "@aws-sdk/util-user-agent-browser": 3.433.0 @@ -618,7 +631,7 @@ __metadata: "@smithy/util-retry": ^2.0.5 "@smithy/util-utf8": ^2.0.0 tslib: ^2.5.0 - checksum: 1ac166b74249080f856a679c44244e758c333bd3325c4e6ead9e3b9638a531eed79ce561247de364372caf840788922cb633cb4f646cd4d333193544ec15ffc8 + checksum: f2b9bd49d0c5e37853dde6336c9f6f65f75b53f677b373b6599924b190dfc57dba06adebaacf210c7cfce21a5b58f1e87fa96845bac46ecd6a06587c37ffa907 languageName: node linkType: hard @@ -2166,7 +2179,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.0, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.19.4, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.1, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.3, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.0, @babel/runtime@npm:^7.12.1, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.19.4, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.21.0, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.3.1, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.6.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.7.6, @babel/runtime@npm:^7.8.3, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": version: 7.23.2 resolution: "@babel/runtime@npm:7.23.2" dependencies: @@ -2442,6 +2455,46 @@ __metadata: languageName: node linkType: hard +"@cypress/request-promise@npm:^5.0.0": + version: 5.0.0 + resolution: "@cypress/request-promise@npm:5.0.0" + dependencies: + bluebird: ^3.5.0 + request-promise-core: 1.1.3 + stealthy-require: ^1.1.1 + tough-cookie: ^4.1.3 + peerDependencies: + "@cypress/request": ^3.0.0 + checksum: 72d17a3dd512a7b616b4d2c23d9aa0008d9ca10a8cb0c5f3d945b62705c7f4b57b6c8dc595934931be826bb0adfe5d2073c18648ed67ddf5e936f33d6b37c7ad + languageName: node + linkType: hard + +"@cypress/request@npm:^3.0.1": + version: 3.0.1 + resolution: "@cypress/request@npm:3.0.1" + dependencies: + aws-sign2: ~0.7.0 + aws4: ^1.8.0 + caseless: ~0.12.0 + combined-stream: ~1.0.6 + extend: ~3.0.2 + forever-agent: ~0.6.1 + form-data: ~2.3.2 + http-signature: ~1.3.6 + is-typedarray: ~1.0.0 + isstream: ~0.1.2 + json-stringify-safe: ~5.0.1 + mime-types: ~2.1.19 + performance-now: ^2.1.0 + qs: 6.10.4 + safe-buffer: ^5.1.2 + tough-cookie: ^4.1.3 + tunnel-agent: ^0.6.0 + uuid: ^8.3.2 + checksum: 7175522ebdbe30e3c37973e204c437c23ce659e58d5939466615bddcd58d778f3a8ea40f087b965ae8b8138ea8d102b729c6eb18c6324f121f3778f4a2e8e727 + languageName: node + linkType: hard + "@databases/escape-identifier@npm:^1.0.3": version: 1.0.3 resolution: "@databases/escape-identifier@npm:1.0.3" @@ -2837,10 +2890,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.51.0": - version: 8.51.0 - resolution: "@eslint/js@npm:8.51.0" - checksum: 0228bf1e1e0414843e56d9ff362a2a72d579c078f93174666f29315690e9e30a8633ad72c923297f7fd7182381b5a476805ff04dac8debe638953eb1ded3ac73 +"@eslint/js@npm:8.52.0": + version: 8.52.0 + resolution: "@eslint/js@npm:8.52.0" + checksum: 490893b8091a66415f4ac98b963d23eb287264ea3bd6af7ec788f0570705cf64fd6ab84b717785980f55e39d08ff5c7fde6d8e4391ccb507169370ce3a6d091a languageName: node linkType: hard @@ -2973,14 +3026,14 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.11": - version: 0.11.11 - resolution: "@humanwhocodes/config-array@npm:0.11.11" +"@humanwhocodes/config-array@npm:^0.11.13": + version: 0.11.13 + resolution: "@humanwhocodes/config-array@npm:0.11.13" dependencies: - "@humanwhocodes/object-schema": ^1.2.1 + "@humanwhocodes/object-schema": ^2.0.1 debug: ^4.1.1 minimatch: ^3.0.5 - checksum: db84507375ab77b8ffdd24f498a5b49ad6b64391d30dd2ac56885501d03964d29637e05b1ed5aefa09d57ac667e28028bc22d2da872bfcd619652fbdb5f4ca19 + checksum: f8ea57b0d7ed7f2d64cd3944654976829d9da91c04d9c860e18804729a33f7681f78166ef4c761850b8c324d362f7d53f14c5c44907a6b38b32c703ff85e4805 languageName: node linkType: hard @@ -2991,10 +3044,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^1.2.1": - version: 1.2.1 - resolution: "@humanwhocodes/object-schema@npm:1.2.1" - checksum: a824a1ec31591231e4bad5787641f59e9633827d0a2eaae131a288d33c9ef0290bd16fda8da6f7c0fcb014147865d12118df10db57f27f41e20da92369fcb3f1 +"@humanwhocodes/object-schema@npm:^2.0.1": + version: 2.0.1 + resolution: "@humanwhocodes/object-schema@npm:2.0.1" + checksum: 24929487b1ed48795d2f08346a0116cc5ee4634848bce64161fb947109352c562310fd159fc64dda0e8b853307f5794605191a9547f7341158559ca3c8262a45 languageName: node linkType: hard @@ -3223,7 +3276,7 @@ __metadata: react-admin: ^4.13.2 react-dom: ^18 typeorm: ^0.3.15 - uuid: ^9 + uuid: ^9.0.1 wikipedia: ^2.0.0 wink-nlp: ^1 wink-nlp-utils: ^2.1.0 @@ -3244,15 +3297,15 @@ __metadata: "@types/mime": ^1.3.4 "@types/mini-css-extract-plugin": ^2.5.1 "@types/prettier": ^3.0.0 - "@types/react": ^18.2.31 + "@types/react": ^18.2.33 "@types/webpack-bundle-analyzer": ^4.6.2 "@types/webpack-node-externals": ^3.0.3 copy-webpack-plugin: ^11.0.0 css-loader: ^6.8.1 css-minimizer-webpack-plugin: ^5.0.1 dotenv-webpack: ^8.0.1 - eslint: ^8.51.0 - eslint-plugin-import: ^2.28.1 + eslint: ^8.52.0 + eslint-plugin-import: ^2.29.0 express: ^4.18.2 file-loader: ^6.2.0 filemanager-webpack-plugin: ^8.0.0 @@ -3280,7 +3333,7 @@ __metadata: peerDependencies: debug: ^4.3.1 query-string: ^7.0.0 - uuid: ^9.0.0 + uuid: ^9.0.1 languageName: unknown linkType: soft @@ -3288,16 +3341,16 @@ __metadata: version: 0.0.0-use.local resolution: "@liexp/shared@workspace:packages/@liexp/shared" dependencies: - "@aws-sdk/client-s3": ^3.433.0 - "@aws-sdk/lib-storage": ^3.433.0 - "@aws-sdk/s3-request-presigner": ^3.433.0 + "@aws-sdk/client-s3": ^3.436.0 + "@aws-sdk/lib-storage": ^3.436.0 + "@aws-sdk/s3-request-presigner": ^3.436.0 "@databases/escape-identifier": ^1.0.3 "@databases/sql": ^3.3.0 "@liexp/core": 0.1.0 "@liexp/test": 0.1.0 "@types/bs58": ^4.0.3 "@types/prettier": ^3.0.0 - "@types/react": ^18.2.31 + "@types/react": ^18.2.33 "@types/react-dom": ^18.2.14 "@types/throttle-debounce": ^5.0.1 "@types/uuid": ^9.0.6 @@ -3363,11 +3416,11 @@ __metadata: "@fortawesome/react-fontawesome": ^0.2.0 "@liexp/core": 0.1.0 "@liexp/shared": 0.1.0 - "@mui/icons-material": ^5.14.14 - "@mui/lab": 5.0.0-alpha.149 - "@mui/material": ^5.14.14 - "@mui/styles": ^5.14.14 - "@mui/system": ^5.14.14 + "@mui/icons-material": ^5.14.15 + "@mui/lab": 5.0.0-alpha.150 + "@mui/material": ^5.14.15 + "@mui/styles": ^5.14.15 + "@mui/system": ^5.14.15 "@mui/x-data-grid": ^6.16.3 "@reach/router": ^1.3.4 "@react-page/editor": ^5.4.4 @@ -3385,7 +3438,7 @@ __metadata: "@types/eslint": ^8.44.6 "@types/prettier": ^3.0.0 "@types/reach__router": ^1.3.13 - "@types/react": ^18.2.31 + "@types/react": ^18.2.33 "@types/react-helmet": ^6.1.8 "@types/react-slick": ^0.23.11 "@types/react-virtualized": ^9.21.26 @@ -3421,8 +3474,8 @@ __metadata: d3-sankey: ^0.12.3 d3-sankey-circular: ^0.34.0 date-fns: ^2.30.0 - eslint: ^8.51.0 - eslint-plugin-import: ^2.28.1 + eslint: ^8.52.0 + eslint-plugin-import: ^2.29.0 fp-ts: ^2.16.1 geotiff: ^2.0.7 io-ts: ^2.2.20 @@ -3432,12 +3485,12 @@ __metadata: ol: ^8.1.0 prettier: ^3.0.3 query-string: ^7.1.3 - ra-core: ^4.15.1 - ra-i18n-polyglot: ^4.15.1 - ra-input-rich-text: ^4.15.1 - ra-ui-materialui: ^4.15.1 + ra-core: ^4.15.2 + ra-i18n-polyglot: ^4.15.2 + ra-input-rich-text: ^4.15.2 + ra-ui-materialui: ^4.15.2 react: ^18.2.0 - react-admin: ^4.15.1 + react-admin: ^4.15.2 react-audio-player: ^0.17.0 react-dom: ^18.2.0 react-dropzone: ^12.1.0 @@ -3512,14 +3565,14 @@ __metadata: languageName: node linkType: hard -"@mui/base@npm:5.0.0-beta.20": - version: 5.0.0-beta.20 - resolution: "@mui/base@npm:5.0.0-beta.20" +"@mui/base@npm:5.0.0-beta.21": + version: 5.0.0-beta.21 + resolution: "@mui/base@npm:5.0.0-beta.21" dependencies: - "@babel/runtime": ^7.23.1 + "@babel/runtime": ^7.23.2 "@floating-ui/react-dom": ^2.0.2 - "@mui/types": ^7.2.6 - "@mui/utils": ^5.14.13 + "@mui/types": ^7.2.7 + "@mui/utils": ^5.14.15 "@popperjs/core": ^2.11.8 clsx: ^2.0.0 prop-types: ^15.8.1 @@ -3530,22 +3583,22 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: a9a27b15b0723dd91b4bb87ad3a76c4101535788387ee75bbf0798205bfa7e6343f5c6600b7beb112837f2e9ddaec714cead17d836377002429843739a4f277f + checksum: c33de1a4f865e6d1669a37e149ac78ebb744c152229b4c56839254514153e80baa501789f68852ac9c9dae7c9fc9645f16eecac07220c1981ab5f916de54090d languageName: node linkType: hard -"@mui/core-downloads-tracker@npm:^5.14.14": - version: 5.14.14 - resolution: "@mui/core-downloads-tracker@npm:5.14.14" - checksum: 93a1f16141e3ef4ef63985079dabf6b6196b8f7581f2d71338fca5c00e5834bcecb65ee0ad6a20fc61bbdce33a55b3f02d18c37e1c9937106d65d67b6fa25acd +"@mui/core-downloads-tracker@npm:^5.14.15": + version: 5.14.15 + resolution: "@mui/core-downloads-tracker@npm:5.14.15" + checksum: 2538bb7a62ca4eddfa2e5a1bdc589a665682092408e269019cfaedb2591aa76c4bdc8a90d0775c1614616c68546371a9723967c396af8a8b7a67c532fcfd1bc1 languageName: node linkType: hard -"@mui/icons-material@npm:^5.0.1, @mui/icons-material@npm:^5.14.14, @mui/icons-material@npm:^5.8.0": - version: 5.14.14 - resolution: "@mui/icons-material@npm:5.14.14" +"@mui/icons-material@npm:^5.0.1, @mui/icons-material@npm:^5.14.15, @mui/icons-material@npm:^5.8.0": + version: 5.14.15 + resolution: "@mui/icons-material@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 + "@babel/runtime": ^7.23.2 peerDependencies: "@mui/material": ^5.0.0 "@types/react": ^17.0.0 || ^18.0.0 @@ -3553,26 +3606,26 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: f69689a2c4ea26a8bf5602d3688922f867155c32393eff2b0722c84cd0dabac8d1fd5ed3d54cf2b8e35157967fb2f99c373ba663d5ca3bf741934e221b5227d8 + checksum: a1063ef362cbb37ee56f5188ab838d4fb555f7058fa53de855e03cad68f745a37d07d4b19aed3606f30e0e955979108e7c33dbdcbe5fe89f40e1ad1cdd40fec1 languageName: node linkType: hard -"@mui/lab@npm:5.0.0-alpha.149": - version: 5.0.0-alpha.149 - resolution: "@mui/lab@npm:5.0.0-alpha.149" +"@mui/lab@npm:5.0.0-alpha.150": + version: 5.0.0-alpha.150 + resolution: "@mui/lab@npm:5.0.0-alpha.150" dependencies: - "@babel/runtime": ^7.23.1 - "@mui/base": 5.0.0-beta.20 - "@mui/system": ^5.14.14 - "@mui/types": ^7.2.6 - "@mui/utils": ^5.14.13 + "@babel/runtime": ^7.23.2 + "@mui/base": 5.0.0-beta.21 + "@mui/system": ^5.14.15 + "@mui/types": ^7.2.7 + "@mui/utils": ^5.14.15 "@mui/x-tree-view": 6.0.0-alpha.1 clsx: ^2.0.0 prop-types: ^15.8.1 peerDependencies: "@emotion/react": ^11.5.0 "@emotion/styled": ^11.3.0 - "@mui/material": ^5.0.0 + "@mui/material": ">=5.10.11" "@types/react": ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 @@ -3583,20 +3636,20 @@ __metadata: optional: true "@types/react": optional: true - checksum: 0b6c3abb478d5b474bb3236dd983cf5c002a9fae8b0db79dab8db233b969225b52270773d2faf22fe2b47c41dbd90607fb160a1c0a19ce0492198f07ce712969 + checksum: 69cb6cd1d9cefccd99664e6ee25d1f2640b68a3c2d1c9eaeb662850102e83faef0ea48d5811a1d9e2b6eb88569b0fe55d0d4bdf93bfd2ad8eeaf03c9b8100996 languageName: node linkType: hard -"@mui/material@npm:^5.0.2, @mui/material@npm:^5.14.14, @mui/material@npm:^5.8.1": - version: 5.14.14 - resolution: "@mui/material@npm:5.14.14" +"@mui/material@npm:^5.0.2, @mui/material@npm:^5.14.15, @mui/material@npm:^5.8.1": + version: 5.14.15 + resolution: "@mui/material@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 - "@mui/base": 5.0.0-beta.20 - "@mui/core-downloads-tracker": ^5.14.14 - "@mui/system": ^5.14.14 - "@mui/types": ^7.2.6 - "@mui/utils": ^5.14.13 + "@babel/runtime": ^7.23.2 + "@mui/base": 5.0.0-beta.21 + "@mui/core-downloads-tracker": ^5.14.15 + "@mui/system": ^5.14.15 + "@mui/types": ^7.2.7 + "@mui/utils": ^5.14.15 "@types/react-transition-group": ^4.4.7 clsx: ^2.0.0 csstype: ^3.1.2 @@ -3616,16 +3669,16 @@ __metadata: optional: true "@types/react": optional: true - checksum: b7e30db2b82732d42940d702ede13e2298535e3dcf76fc841e1f2c7d1bafa30716ff5e05e3f51d326c3a870bf2f7c1de8559f27a43b30d7466f1b1a5a5287b76 + checksum: e5c7a49c167f737513a6817ed008a3b69bdab86fe5fb8c951e7ac4699e7bbf911888bf66f1ed41ac44e71d82258cdead315f35aa07e284ee7a899471620f76e5 languageName: node linkType: hard -"@mui/private-theming@npm:^5.14.14": - version: 5.14.14 - resolution: "@mui/private-theming@npm:5.14.14" +"@mui/private-theming@npm:^5.14.15": + version: 5.14.15 + resolution: "@mui/private-theming@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 - "@mui/utils": ^5.14.13 + "@babel/runtime": ^7.23.2 + "@mui/utils": ^5.14.15 prop-types: ^15.8.1 peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 @@ -3633,15 +3686,15 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: c6ed9b757f908c3d3e6d210e11afab35d67ba9d63278546568ae6b811a5f6703150a099edccc729933be17dd33c518bab1318b3cccc5c0c96bf6af00ecdbdb1d + checksum: e4f1365d0610abfd1fbbbd55a3c2454858a133c3c23513b55239c8785ac84d4041b7003d7a9685e9f04e44d11d133e7249a7cc777a59ae137d0565b7b1ca95e8 languageName: node linkType: hard -"@mui/styled-engine@npm:^5.14.13": - version: 5.14.13 - resolution: "@mui/styled-engine@npm:5.14.13" +"@mui/styled-engine@npm:^5.14.15": + version: 5.14.15 + resolution: "@mui/styled-engine@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 + "@babel/runtime": ^7.23.2 "@emotion/cache": ^11.11.0 csstype: ^3.1.2 prop-types: ^15.8.1 @@ -3654,19 +3707,19 @@ __metadata: optional: true "@emotion/styled": optional: true - checksum: b927fffbfb3a2c8d09f10b3770da610c94826312c2aa3e17791bd0355ef64056a842ede32f9d22225b952e3055aa2364c06f17620ae5203a0d4bb782ec90388f + checksum: fb991d3befc04d3be490957e2fe235313b77bb38cc8b85878efd8c98eafa0139d0f85d2127ce0b9b65c4462481e3c19ff260102ee46c6cc96a4a938ffcaa2766 languageName: node linkType: hard -"@mui/styles@npm:^5.14.14": - version: 5.14.14 - resolution: "@mui/styles@npm:5.14.14" +"@mui/styles@npm:^5.14.15": + version: 5.14.15 + resolution: "@mui/styles@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 + "@babel/runtime": ^7.23.2 "@emotion/hash": ^0.9.1 - "@mui/private-theming": ^5.14.14 - "@mui/types": ^7.2.6 - "@mui/utils": ^5.14.13 + "@mui/private-theming": ^5.14.15 + "@mui/types": ^7.2.7 + "@mui/utils": ^5.14.15 clsx: ^2.0.0 csstype: ^3.1.2 hoist-non-react-statics: ^3.3.2 @@ -3685,19 +3738,19 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 354bdc6335675035bd98095269d14b2bb2d7e51014818052fae50866c836c655bddff4887f9096bd4c6c41f4f76ff4c4747cf0d6de1bc103c46d24659d73233d + checksum: d6674528b841d0eeb06891b065954eb1a9c99fd482510d30c681e68efbca398de9e1d6294eaece0765903a69ac6b0f620540289911ab90cb924c1233319159d6 languageName: node linkType: hard -"@mui/system@npm:^5.14.14": - version: 5.14.14 - resolution: "@mui/system@npm:5.14.14" +"@mui/system@npm:^5.14.15": + version: 5.14.15 + resolution: "@mui/system@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 - "@mui/private-theming": ^5.14.14 - "@mui/styled-engine": ^5.14.13 - "@mui/types": ^7.2.6 - "@mui/utils": ^5.14.13 + "@babel/runtime": ^7.23.2 + "@mui/private-theming": ^5.14.15 + "@mui/styled-engine": ^5.14.15 + "@mui/types": ^7.2.7 + "@mui/utils": ^5.14.15 clsx: ^2.0.0 csstype: ^3.1.2 prop-types: ^15.8.1 @@ -3713,28 +3766,28 @@ __metadata: optional: true "@types/react": optional: true - checksum: e5f41d52bec630bd1549ad5c40cb8ced2beee6324a326ec587aab4716b5ffc2fc88327d148b4edb200ba0f2b12611af2207b54bd4aa745abb7fc1e9a653a9240 + checksum: 39a451d138433a2c4007e4e9b7c5ff60fa3c7ff4b9a0e3612b4024acce815a98ba2035a6b2aa28d457e40ee1e0613d096a50d7e2931294ec97df046957e0324b languageName: node linkType: hard -"@mui/types@npm:^7.2.6": - version: 7.2.6 - resolution: "@mui/types@npm:7.2.6" +"@mui/types@npm:^7.2.7": + version: 7.2.7 + resolution: "@mui/types@npm:7.2.7" peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: eb92f9c2fa5df048bcf182a611131bee2799ce1de64acfca12855f349d0b69f5f92c953b7e6c4e341e1df48f0e86f1329ed0251be4835ed194f53342827bd576 + checksum: cf6a770f6f62b662ba8049c830d9506a3a058b87255d33dcab47a70022496c6b82088ce9185558c4ce4744e369593d3c9b7734664ebb2e6e206fb5380b37e93f languageName: node linkType: hard -"@mui/utils@npm:^5.14.13, @mui/utils@npm:^5.14.14, @mui/utils@npm:^5.14.3": - version: 5.14.14 - resolution: "@mui/utils@npm:5.14.14" +"@mui/utils@npm:^5.14.14, @mui/utils@npm:^5.14.15, @mui/utils@npm:^5.14.3": + version: 5.14.15 + resolution: "@mui/utils@npm:5.14.15" dependencies: - "@babel/runtime": ^7.23.1 - "@types/prop-types": ^15.7.7 + "@babel/runtime": ^7.23.2 + "@types/prop-types": ^15.7.8 prop-types: ^15.8.1 react-is: ^18.2.0 peerDependencies: @@ -3743,7 +3796,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: b13afa9fd7503d9e22d68ab9d6bcaf38bcf02b8c18a8b175b5c0bf082a386b34a631abe4b22fd86f2cc55edf0173fec80953a4ebe810117167fd38d32c1d3d80 + checksum: 6c4270110eed03a2e9073111eed01555257073ec500f85f6656c9f67ff15019bf12ce632d537e71a2d5872598b62f2d31762a11e1e40ff9e985b7fe2beb6c066 languageName: node linkType: hard @@ -8179,10 +8232,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.0.0, @types/node@npm:^18.18.6": - version: 18.18.6 - resolution: "@types/node@npm:18.18.6" - checksum: a847639b8455fd3dfa6dbc2917274c82c9db789f1d41aaf69f94ac6c9e54c3c1dd29be6e1e1ccd7c17e54db3d78d7011bc4e70544c6447ceca253dccc0a187e1 +"@types/node@npm:^18.0.0, @types/node@npm:^18.18.7": + version: 18.18.7 + resolution: "@types/node@npm:18.18.7" + dependencies: + undici-types: ~5.26.4 + checksum: 972f8b214f961b6c8d99f84aab8bfadc656bb71fc7ad4a543ad3405286c95f27385ee0c3844f88d612f3cf225cd4d49ce8a7d9aea05a2aba9b2524ac525040aa languageName: node linkType: hard @@ -8251,10 +8306,10 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.7": - version: 15.7.8 - resolution: "@types/prop-types@npm:15.7.8" - checksum: 61dfad79da8b1081c450bab83b77935df487ae1cdd4660ec7df6be8e74725c15fa45cf486ce057addc956ca4ae78300b97091e2a25061133d1b9a1440bc896ae +"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.8": + version: 15.7.9 + resolution: "@types/prop-types@npm:15.7.9" + checksum: c7591d3ff7593e243908a07e1d3e2bb6e8879008af5800d8378115a90d0fdf669a1cae72a6d7f69e59c4fa7bb4c8ed61f6ebc1c520fe110c6f2b03ac02414072 languageName: node linkType: hard @@ -8369,14 +8424,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.2.31": - version: 18.2.31 - resolution: "@types/react@npm:18.2.31" +"@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.2.33": + version: 18.2.33 + resolution: "@types/react@npm:18.2.33" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: b11be8e39174d3303e308461400889e353e422d22b01d09795b2c35b7b99d5351716503d9ec5c58e4c2c871249603fa52840d45a34fb5901dd7a26e06129c716 + checksum: 75903c4d53898c69dd23d0b2730eac4676dc5ade15c25c793dec855f0d7c650cb823832bb1dd881efe8895724f15b06d4bf7081ea0b82391aa3059512ad49ccf languageName: node linkType: hard @@ -8680,15 +8735,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.8.0" +"@typescript-eslint/eslint-plugin@npm:^6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.9.0" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.8.0 - "@typescript-eslint/type-utils": 6.8.0 - "@typescript-eslint/utils": 6.8.0 - "@typescript-eslint/visitor-keys": 6.8.0 + "@typescript-eslint/scope-manager": 6.9.0 + "@typescript-eslint/type-utils": 6.9.0 + "@typescript-eslint/utils": 6.9.0 + "@typescript-eslint/visitor-keys": 6.9.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 @@ -8701,7 +8756,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: c36ccf606ebcaff8263c4ffa3b4cda58c6f93474b9eea9906e51be2fef8596977a245cc13770b21c6bfd38ccf45a3cf3613d5f4499429f62ec80afe15ae345bd + checksum: 51d7afc18bab711e20147f7163083f05435b6860174169eae56de217ed2cb1b3c08cba01b7d338315c2d8ecb982e83ce8f2ca7d2108c1c7c04faff2001b094d3 languageName: node linkType: hard @@ -8716,21 +8771,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.4.0, @typescript-eslint/parser@npm:^6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/parser@npm:6.8.0" +"@typescript-eslint/parser@npm:^6.4.0, @typescript-eslint/parser@npm:^6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/parser@npm:6.9.0" dependencies: - "@typescript-eslint/scope-manager": 6.8.0 - "@typescript-eslint/types": 6.8.0 - "@typescript-eslint/typescript-estree": 6.8.0 - "@typescript-eslint/visitor-keys": 6.8.0 + "@typescript-eslint/scope-manager": 6.9.0 + "@typescript-eslint/types": 6.9.0 + "@typescript-eslint/typescript-estree": 6.9.0 + "@typescript-eslint/visitor-keys": 6.9.0 debug: ^4.3.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 10d7a3ae383fee5a5cba9541c72e23d6ab01cca6b414a62b44dacb5ebc15c80b80aa6c105b6469d3795f2f8514ae2499c069cd2d9dcac61f3db9ef6c7a75e080 + checksum: d8ff69d236d6495474ab93c67e2785cc94bf9c098f25c33f1c5958a4b2b5af2b70edf1cdd0c23ee3436df454a769e80eb47d2d34df8382a826fcdb79bac4382d languageName: node linkType: hard @@ -8744,22 +8799,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/scope-manager@npm:6.8.0" +"@typescript-eslint/scope-manager@npm:6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/scope-manager@npm:6.9.0" dependencies: - "@typescript-eslint/types": 6.8.0 - "@typescript-eslint/visitor-keys": 6.8.0 - checksum: b6cf2803531d1c14b56c30fd3cd807b80e17fe48d0da8e5aa9ae50915407ed732c7e2a7ac8030b7cf8ed07b8e481a1138d76bf05b727837a0e016280c2f6873b + "@typescript-eslint/types": 6.9.0 + "@typescript-eslint/visitor-keys": 6.9.0 + checksum: b7ddcea11bdb95107659800bdf3b33eae22a4dc5c28dc0f8dc5507aa9affaae0e332b6d8c7d5286a7ec75e7c4abd211eb9fdf9647a9a796689cdcc11f6ab40c6 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/type-utils@npm:6.8.0" +"@typescript-eslint/type-utils@npm:6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/type-utils@npm:6.9.0" dependencies: - "@typescript-eslint/typescript-estree": 6.8.0 - "@typescript-eslint/utils": 6.8.0 + "@typescript-eslint/typescript-estree": 6.9.0 + "@typescript-eslint/utils": 6.9.0 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -8767,7 +8822,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 9b7d56904dc1a5719ef79eb1b7989d6fad10c71fb07ec3e66cf69b8c8dc5383d644ab122d4701bc4960fb7c99cc08aee4e645db3e4675d488d5779197e15dfda + checksum: 279b0000cd2fe7ccfbd2f311736b14c8bb9287081f553c9452c95966650c822e67442ba5a62d7fea3ee2f61ccc0fcb218f21e1ee7ccf3984c52e5942d2bbb065 languageName: node linkType: hard @@ -8778,10 +8833,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/types@npm:6.8.0" - checksum: 1fcd85f6d575116d51c6ee757ed37610ae5e7e4296a29f93c9c6949f6cd16d24550eb7fc5bae7a43119cc08e13836f69a7ae7c54ebba6c95aef96b34d3bfb7f7 +"@typescript-eslint/types@npm:6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/types@npm:6.9.0" + checksum: e0444afa1f2ebca746c72b3d0bf95982eb1e8b4fb91bcba465c1345c35fa13b36c589bfd91c776b864f223bc50817b2613df5892185c2e34332bf4cc57cc865d languageName: node linkType: hard @@ -8803,12 +8858,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.8.0" +"@typescript-eslint/typescript-estree@npm:6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.9.0" dependencies: - "@typescript-eslint/types": 6.8.0 - "@typescript-eslint/visitor-keys": 6.8.0 + "@typescript-eslint/types": 6.9.0 + "@typescript-eslint/visitor-keys": 6.9.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -8817,7 +8872,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 388db7f33ef1bc0e7b960c0bce9c744c2e32c66c7ab8dfae73d8533958202ad6f31663b0010f79c45b5ff93159c67f45b00693d73b9da2472b17156dfd26b4a8 + checksum: 51088c23cca608a6e5c195b0a2d8a17ad00ca47199ba4df0c1013912a80194bff9f5bd4d035d6ab2596788491e9a3e04bbf6cad6494a3b1bbd59fea442750268 languageName: node linkType: hard @@ -8839,20 +8894,20 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/utils@npm:6.8.0" +"@typescript-eslint/utils@npm:6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/utils@npm:6.9.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.8.0 - "@typescript-eslint/types": 6.8.0 - "@typescript-eslint/typescript-estree": 6.8.0 + "@typescript-eslint/scope-manager": 6.9.0 + "@typescript-eslint/types": 6.9.0 + "@typescript-eslint/typescript-estree": 6.9.0 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 6d9f90db504502a9aa10e834830c3ffa25483757414670acc6141a3ebef9171a57688a3a179febf35a0e1e0b322f37228d9537bf1b279f1af7fc97888b873bc3 + checksum: 973c24d7858f224934958ee58c21ff21dfe54dbb1d0e0c5f889298fadcd7ee2dbfd49cf86ccafab74d428c31de66cd9beee7c39d2b64f9edcc9e941573bac175 languageName: node linkType: hard @@ -8866,13 +8921,20 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.8.0": - version: 6.8.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.8.0" +"@typescript-eslint/visitor-keys@npm:6.9.0": + version: 6.9.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.9.0" dependencies: - "@typescript-eslint/types": 6.8.0 + "@typescript-eslint/types": 6.9.0 eslint-visitor-keys: ^3.4.1 - checksum: 710d9067b85d7715a400ae625c083c41733abb891d7b35108de083913980f9642e79d27689599fa39915f0fecae16dbfc30367007fccc838ccd917943660de22 + checksum: de8e2e363df41e5ae9774a5ebd1c49d29c771ea8b3869917f65a74cd4d14a67417c79916f456ee81ef5b0d947b7b8975385fc6eea3f1812d53a2eaaea832459e + languageName: node + linkType: hard + +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 languageName: node linkType: hard @@ -9674,26 +9736,26 @@ __metadata: "@liexp/core": 0.1.0 "@liexp/shared": 0.1.0 "@liexp/ui": 0.1.0 - "@mui/material": ^5.14.14 + "@mui/material": ^5.14.15 "@testing-library/dom": ^9.3.3 "@testing-library/react": ^14.0.0 "@testing-library/user-event": ^14.5.1 "@types/debug": ^4.1.10 "@types/lodash": ^4.14.200 - "@types/node": ^18.18.6 + "@types/node": ^18.18.7 "@types/prettier": ^3.0.0 - "@types/react": ^18.2.31 + "@types/react": ^18.2.33 "@types/react-dom": ^18.2.14 "@types/webpack-bundle-analyzer": ^4.6.2 - "@typescript-eslint/eslint-plugin": ^6.8.0 - "@typescript-eslint/parser": ^6.8.0 + "@typescript-eslint/eslint-plugin": ^6.9.0 + "@typescript-eslint/parser": ^6.9.0 debug: ^4.3.4 dotenv: ^16.3.1 - eslint: ^8.51.0 + eslint: ^8.52.0 eslint-config-prettier: ^9.0.0 eslint-config-standard-with-typescript: ^39.1.1 eslint-import-resolver-typescript: ^3.6.1 - eslint-plugin-import: ^2.28.1 + eslint-plugin-import: ^2.29.0 eslint-plugin-n: ^16.2.0 eslint-plugin-promise: ^6.1.1 eslint-plugin-react: ^7.33.2 @@ -9704,12 +9766,12 @@ __metadata: mini-create-react-context: ^0.4.1 page-metadata-parser: ^1.1.4 prettier: ^3.0.3 - ra-core: ^4.15.1 - ra-i18n-polyglot: ^4.15.1 - ra-input-rich-text: ^4.15.1 - ra-ui-materialui: ^4.15.1 + ra-core: ^4.15.2 + ra-i18n-polyglot: ^4.15.2 + ra-input-rich-text: ^4.15.2 + ra-ui-materialui: ^4.15.2 react: ^18.2.0 - react-admin: ^4.15.1 + react-admin: ^4.15.2 react-dom: ^18.2.0 react-final-form: ^6.5.9 react-final-form-arrays: ^3.1.4 @@ -9948,9 +10010,9 @@ __metadata: version: 0.0.0-use.local resolution: "api@workspace:services/api" dependencies: - "@aws-sdk/client-s3": ^3.433.0 - "@aws-sdk/lib-storage": ^3.433.0 - "@aws-sdk/s3-request-presigner": ^3.433.0 + "@aws-sdk/client-s3": ^3.436.0 + "@aws-sdk/lib-storage": ^3.436.0 + "@aws-sdk/s3-request-presigner": ^3.436.0 "@databases/escape-identifier": ^1.0.3 "@liexp/backend": 0.1.0 "@liexp/core": 0.1.0 @@ -9967,7 +10029,7 @@ __metadata: "@types/lodash": ^4.14.200 "@types/module-alias": ^2.0.3 "@types/multer": ^1.4.9 - "@types/node": ^18.18.6 + "@types/node": ^18.18.7 "@types/node-cron": ^3.0.10 "@types/node-telegram-bot-api": ^0.61.11 "@types/pg": ^8.10.7 @@ -9980,10 +10042,10 @@ __metadata: cors: 2.8.5 debug: ^4.3.4 domino: ^2.1.6 - eslint: ^8.51.0 + eslint: ^8.52.0 eslint-config-prettier: ^9.0.0 eslint-import-resolver-typescript: ^3.6.1 - eslint-plugin-import: ^2.28.1 + eslint-plugin-import: ^2.29.0 exifreader: ^4.14.1 express: ^4.18.2 express-jwt: ^8.4.1 @@ -10001,7 +10063,7 @@ __metadata: module-alias: ^2.2.3 multer: ^1.4.5-lts.1 node-cron: ^3.0.2 - node-telegram-bot-api: ^0.63.0 + node-telegram-bot-api: ^0.64.0 nodemon: ^3.0.1 page-metadata-parser: ^1.1.4 parse2-kmz: ^1.0.7 @@ -10211,7 +10273,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6": +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": version: 3.1.7 resolution: "array-includes@npm:3.1.7" dependencies: @@ -10243,7 +10305,7 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.2": +"array.prototype.findlastindex@npm:^1.2.3": version: 1.2.3 resolution: "array.prototype.findlastindex@npm:1.2.3" dependencies: @@ -10256,27 +10318,27 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flat@npm:1.3.1" +"array.prototype.flat@npm:^1.3.1, array.prototype.flat@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flat@npm:1.3.2" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - checksum: 5a8415949df79bf6e01afd7e8839bbde5a3581300e8ad5d8449dea52639e9e59b26a467665622783697917b43bf39940a6e621877c7dd9b3d1c1f97484b9b88b + checksum: 5d6b4bf102065fb3f43764bfff6feb3295d372ce89591e6005df3d0ce388527a9f03c909af6f2a973969a4d178ab232ffc9236654149173e0e187ec3a1a6b87b languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flatmap@npm:1.3.1" +"array.prototype.flatmap@npm:^1.3.1, array.prototype.flatmap@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" dependencies: call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 es-shim-unscopables: ^1.0.0 - checksum: 8c1c43a4995f12cf12523436da28515184c753807b3f0bc2ca6c075f71c470b099e2090cc67dba8e5280958fea401c1d0c59e1db0143272aef6cd1103921a987 + checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 languageName: node linkType: hard @@ -14048,7 +14110,7 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:^0.3.7": +"eslint-import-resolver-node@npm:^0.3.9": version: 0.3.9 resolution: "eslint-import-resolver-node@npm:0.3.9" dependencies: @@ -14116,30 +14178,30 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.28.1": - version: 2.28.1 - resolution: "eslint-plugin-import@npm:2.28.1" +"eslint-plugin-import@npm:^2.29.0": + version: 2.29.0 + resolution: "eslint-plugin-import@npm:2.29.0" dependencies: - array-includes: ^3.1.6 - array.prototype.findlastindex: ^1.2.2 - array.prototype.flat: ^1.3.1 - array.prototype.flatmap: ^1.3.1 + array-includes: ^3.1.7 + array.prototype.findlastindex: ^1.2.3 + array.prototype.flat: ^1.3.2 + array.prototype.flatmap: ^1.3.2 debug: ^3.2.7 doctrine: ^2.1.0 - eslint-import-resolver-node: ^0.3.7 + eslint-import-resolver-node: ^0.3.9 eslint-module-utils: ^2.8.0 - has: ^1.0.3 - is-core-module: ^2.13.0 + hasown: ^2.0.0 + is-core-module: ^2.13.1 is-glob: ^4.0.3 minimatch: ^3.1.2 - object.fromentries: ^2.0.6 - object.groupby: ^1.0.0 - object.values: ^1.1.6 + object.fromentries: ^2.0.7 + object.groupby: ^1.0.1 + object.values: ^1.1.7 semver: ^6.3.1 tsconfig-paths: ^3.14.2 peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: e8ae6dd8f06d8adf685f9c1cfd46ac9e053e344a05c4090767e83b63a85c8421ada389807a39e73c643b9bff156715c122e89778169110ed68d6428e12607edf + checksum: 19ee541fb95eb7a796f3daebe42387b8d8262bbbcc4fd8a6e92f63a12035f3d2c6cb8bc0b6a70864fa14b1b50ed6b8e6eed5833e625e16cb6bb98b665beff269 languageName: node linkType: hard @@ -14240,17 +14302,18 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.51.0": - version: 8.51.0 - resolution: "eslint@npm:8.51.0" +"eslint@npm:^8.52.0": + version: 8.52.0 + resolution: "eslint@npm:8.52.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 "@eslint/eslintrc": ^2.1.2 - "@eslint/js": 8.51.0 - "@humanwhocodes/config-array": ^0.11.11 + "@eslint/js": 8.52.0 + "@humanwhocodes/config-array": ^0.11.13 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 + "@ungap/structured-clone": ^1.2.0 ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 @@ -14283,7 +14346,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 214fa5d1fcb67af1b8992ce9584ccd85e1aa7a482f8b8ea5b96edc28fa838a18a3b69456db45fc1ed3ef95f1e9efa9714f737292dc681e572d471d02fda9649c + checksum: fd22d1e9bd7090e31b00cbc7a3b98f3b76020a4c4641f987ae7d0c8f52e1b88c3b268bdfdabac2e1a93513e5d11339b718ff45cbff48a44c35d7e52feba510ed languageName: node linkType: hard @@ -15354,10 +15417,10 @@ __metadata: languageName: node linkType: hard -"function-bind@npm:^1.1.1": - version: 1.1.1 - resolution: "function-bind@npm:1.1.1" - checksum: b32fbaebb3f8ec4969f033073b43f5c8befbb58f1a79e12f1d7490358150359ebd92f49e72ff0144f65f2c48ea2a605bff2d07965f548f6474fd8efd95bf361a +"function-bind@npm:^1.1.1, function-bind@npm:^1.1.2": + version: 1.1.2 + resolution: "function-bind@npm:1.1.2" + checksum: 2b0ff4ce708d99715ad14a6d1f894e2a83242e4a52ccfcefaee5e40050562e5f6dafc1adbb4ce2d4ab47279a45dc736ab91ea5042d843c3c092820dfe032efb1 languageName: node linkType: hard @@ -15925,6 +15988,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.0": + version: 2.0.0 + resolution: "hasown@npm:2.0.0" + dependencies: + function-bind: ^1.1.2 + checksum: 6151c75ca12554565098641c98a40f4cc86b85b0fd5b6fe92360967e4605a4f9610f7757260b4e8098dd1c2ce7f4b095f2006fe72a570e3b6d2d28de0298c176 + languageName: node + linkType: hard + "he@npm:^1.2.0": version: 1.2.0 resolution: "he@npm:1.2.0" @@ -16207,6 +16279,17 @@ __metadata: languageName: node linkType: hard +"http-signature@npm:~1.3.6": + version: 1.3.6 + resolution: "http-signature@npm:1.3.6" + dependencies: + assert-plus: ^1.0.0 + jsprim: ^2.0.2 + sshpk: ^1.14.1 + checksum: 10be2af4764e71fee0281392937050201ee576ac755c543f570d6d87134ce5e858663fe999a7adb3e4e368e1e356d0d7fec6b9542295b875726ff615188e7a0c + languageName: node + linkType: hard + "https-proxy-agent@npm:^4.0.0": version: 4.0.0 resolution: "https-proxy-agent@npm:4.0.0" @@ -16675,12 +16758,12 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.5.0, is-core-module@npm:^2.9.0": - version: 2.13.0 - resolution: "is-core-module@npm:2.13.0" +"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0, is-core-module@npm:^2.9.0": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" dependencies: - has: ^1.0.3 - checksum: 053ab101fb390bfeb2333360fd131387bed54e476b26860dc7f5a700bbf34a0ec4454f7c8c4d43e8a0030957e4b3db6e16d35e1890ea6fb654c833095e040355 + hasown: ^2.0.0 + checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c languageName: node linkType: hard @@ -17527,6 +17610,18 @@ __metadata: languageName: node linkType: hard +"jsprim@npm:^2.0.2": + version: 2.0.2 + resolution: "jsprim@npm:2.0.2" + dependencies: + assert-plus: 1.0.0 + extsprintf: 1.3.0 + json-schema: 0.4.0 + verror: 1.10.0 + checksum: d175f6b1991e160cb0aa39bc857da780e035611986b5492f32395411879fdaf4e513d98677f08f7352dac93a16b66b8361c674b86a3fa406e2e7af6b26321838 + languageName: node + linkType: hard + "jss-plugin-camel-case@npm:^10.10.0": version: 10.10.0 resolution: "jss-plugin-camel-case@npm:10.10.0" @@ -17769,15 +17864,15 @@ __metadata: "@commitlint/cli": ^17.8.1 "@commitlint/config-conventional": ^17.8.1 "@types/prettier": ^3.0.0 - "@typescript-eslint/eslint-plugin": ^6.8.0 - "@typescript-eslint/parser": ^6.8.0 + "@typescript-eslint/eslint-plugin": ^6.9.0 + "@typescript-eslint/parser": ^6.9.0 "@vitest/coverage-v8": ^0.34.6 - eslint: ^8.51.0 + eslint: ^8.52.0 eslint-config-prettier: ^9.0.0 eslint-config-standard-with-typescript: ^39.1.1 eslint-import-resolver-typescript: ^3.6.1 eslint-plugin-fp-ts: ^0.3.2 - eslint-plugin-import: ^2.28.1 + eslint-plugin-import: ^2.29.0 eslint-plugin-n: ^16.2.0 eslint-plugin-promise: ^6.1.1 eslint-webpack-plugin: ^4.0.1 @@ -19261,10 +19356,12 @@ __metadata: languageName: node linkType: hard -"node-telegram-bot-api@npm:^0.63.0": - version: 0.63.0 - resolution: "node-telegram-bot-api@npm:0.63.0" +"node-telegram-bot-api@npm:^0.64.0": + version: 0.64.0 + resolution: "node-telegram-bot-api@npm:0.64.0" dependencies: + "@cypress/request": ^3.0.1 + "@cypress/request-promise": ^5.0.0 array.prototype.findindex: ^2.0.2 bl: ^1.2.3 debug: ^3.2.7 @@ -19272,9 +19369,7 @@ __metadata: file-type: ^3.9.0 mime: ^1.6.0 pump: ^2.0.0 - request: ^2.83.0 - request-promise: ^4.2.2 - checksum: f13d96d68919402cdcb15eb47529703e6d97e1243293c6c409a936fca7f0f7f4543fc9d67c910a3fbc07eae152e11dc77a5313557fcf860ce7b3b4d7c90bedfa + checksum: 371a5fc1ca3505b7779a812d62474131694d730a5900220bb4bef68e1dc1ab38bfac236c11f1fc796db9affd6ddac35a5aa5758340ca3114d780f3cf11006131 languageName: node linkType: hard @@ -19491,7 +19586,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.6": +"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": version: 2.0.7 resolution: "object.fromentries@npm:2.0.7" dependencies: @@ -19502,7 +19597,7 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.0": +"object.groupby@npm:^1.0.1": version: 1.0.1 resolution: "object.groupby@npm:1.0.1" dependencies: @@ -19542,7 +19637,7 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6": +"object.values@npm:^1.1.6, object.values@npm:^1.1.7": version: 1.1.7 resolution: "object.values@npm:1.1.7" dependencies: @@ -21255,7 +21350,7 @@ __metadata: languageName: node linkType: hard -"psl@npm:^1.1.28": +"psl@npm:^1.1.28, psl@npm:^1.1.33": version: 1.9.0 resolution: "psl@npm:1.9.0" checksum: 20c4277f640c93d393130673f392618e9a8044c6c7bf61c53917a0fddb4952790f5f362c6c730a9c32b124813e173733f9895add8d26f566ed0ea0654b2e711d @@ -21460,6 +21555,15 @@ __metadata: languageName: node linkType: hard +"qs@npm:6.10.4": + version: 6.10.4 + resolution: "qs@npm:6.10.4" + dependencies: + side-channel: ^1.0.4 + checksum: 31e4fedd759d01eae52dde6692abab175f9af3e639993c5caaa513a2a3607b34d8058d3ae52ceeccf37c3025f22ed5e90e9ddd6c2537e19c0562ddd10dc5b1eb + languageName: node + linkType: hard + "qs@npm:6.11.0": version: 6.11.0 resolution: "qs@npm:6.11.0" @@ -21497,6 +21601,13 @@ __metadata: languageName: node linkType: hard +"querystringify@npm:^2.1.1": + version: 2.2.0 + resolution: "querystringify@npm:2.2.0" + checksum: 5641ea231bad7ef6d64d9998faca95611ed4b11c2591a8cae741e178a974f6a8e0ebde008475259abe1621cb15e692404e6b6626e927f7b849d5c09392604b15 + languageName: node + linkType: hard + "queue-microtask@npm:^1.2.2": version: 1.2.3 resolution: "queue-microtask@npm:1.2.3" @@ -21532,9 +21643,9 @@ __metadata: languageName: node linkType: hard -"ra-core@npm:^4.15.1": - version: 4.15.1 - resolution: "ra-core@npm:4.15.1" +"ra-core@npm:^4.15.2": + version: 4.15.2 + resolution: "ra-core@npm:4.15.2" dependencies: clsx: ^1.1.1 date-fns: ^2.19.0 @@ -21553,23 +21664,23 @@ __metadata: react-hook-form: ^7.43.9 react-router: ^6.1.0 react-router-dom: ^6.1.0 - checksum: 7641fe7b735d858d257611d65a269323dc5f6ae707ab3b598981bc75e79ecf4dc550504c650e279ca2504d05354103a14e9cd405f2ee753a9001620ee7c32f78 + checksum: 92ca36884deb92f60e77111c1eca166d8aadb6ca0b91b8c35250c765bc93b07c0448f717011cced827aa7268fb19eaa0c3bdac2d926142b61d583347bbe87b6d languageName: node linkType: hard -"ra-i18n-polyglot@npm:^4.15.1": - version: 4.15.1 - resolution: "ra-i18n-polyglot@npm:4.15.1" +"ra-i18n-polyglot@npm:^4.15.2": + version: 4.15.2 + resolution: "ra-i18n-polyglot@npm:4.15.2" dependencies: node-polyglot: ^2.2.2 - ra-core: ^4.15.1 - checksum: 890faec4076f3cf847df35ab91631a643d606430515aaa1544c35ae213d4e0de106de4294200b208c82e199c988cbf0be898ff4db067ca123410f4ed9d54c99d + ra-core: ^4.15.2 + checksum: 84c075564ea7c3e4fb97e8d636066ea99b528da71f34d6dac50e53a8dbcc044a27d4543bb2619ac01e52d718e6b9b92c88868210ac026f59de12c8f959ba3ae6 languageName: node linkType: hard -"ra-input-rich-text@npm:^4.15.1": - version: 4.15.1 - resolution: "ra-input-rich-text@npm:4.15.1" +"ra-input-rich-text@npm:^4.15.2": + version: 4.15.2 + resolution: "ra-input-rich-text@npm:4.15.2" dependencies: "@tiptap/core": ^2.0.3 "@tiptap/extension-color": ^2.0.3 @@ -21591,22 +21702,22 @@ __metadata: ra-ui-materialui: ^4.0.0 react: ^16.9.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 - checksum: a43a01e196c7ed1cfd22b4dadd9a609ac82a6280559d53363506a63eb6951444a6877381a00065c31d4d5335f1d4d671bbce9812549c061a4562a60355732125 + checksum: f36ece349d1482d8580fb5c2af8b1937f045946efe83c85104f4041a463fa514f79be9d4d591f4227d0f28daa4e077a5e0d3a47c3031ff6e69c07ead92532979 languageName: node linkType: hard -"ra-language-english@npm:^4.15.1": - version: 4.15.1 - resolution: "ra-language-english@npm:4.15.1" +"ra-language-english@npm:^4.15.2": + version: 4.15.2 + resolution: "ra-language-english@npm:4.15.2" dependencies: - ra-core: ^4.15.1 - checksum: fa70e58c23ef1cf73d4cc128fa34bb3c352b29ebbfb1089b2a603aeaaa48077b9e715980fcba9edd921e99c54a858187ec611fe304811060e63ffa7d6f68deae + ra-core: ^4.15.2 + checksum: 41d43dbfe1fb229e9ffc38d606e23284b5d2a38b5ba562e19b21801c80e4b528d85d3be115fcf3abac27cc00f3eb1a1ac1a83883a3597910b85d7b87925d6aba languageName: node linkType: hard -"ra-ui-materialui@npm:^4.15.1": - version: 4.15.1 - resolution: "ra-ui-materialui@npm:4.15.1" +"ra-ui-materialui@npm:^4.15.2": + version: 4.15.2 + resolution: "ra-ui-materialui@npm:4.15.2" dependencies: autosuggest-highlight: ^3.1.1 clsx: ^1.1.1 @@ -21632,7 +21743,7 @@ __metadata: react-is: ^16.9.0 || ^17.0.0 || ^18.0.0 react-router: ^6.1.0 react-router-dom: ^6.1.0 - checksum: 5880c6f056c91a70f9a625ccd5a1b2e3297e5eda1eb2ea31c383ea1a1005f6495fc8acbb656aa4da3b15d64807fc85e24c3ab41ca88a745016e86e87229e5e50 + checksum: a324eb43b6087344504a947775cba5f47d10cbcbd327cf759edd359a02989a7b58f9ed8aec436795c17383ebfbe666a45be1e2baba0a58d82665af9ee46e599a languageName: node linkType: hard @@ -21694,26 +21805,26 @@ __metadata: languageName: node linkType: hard -"react-admin@npm:^4.15.1": - version: 4.15.1 - resolution: "react-admin@npm:4.15.1" +"react-admin@npm:^4.15.2": + version: 4.15.2 + resolution: "react-admin@npm:4.15.2" dependencies: "@emotion/react": ^11.4.1 "@emotion/styled": ^11.3.0 "@mui/icons-material": ^5.0.1 "@mui/material": ^5.0.2 history: ^5.1.0 - ra-core: ^4.15.1 - ra-i18n-polyglot: ^4.15.1 - ra-language-english: ^4.15.1 - ra-ui-materialui: ^4.15.1 + ra-core: ^4.15.2 + ra-i18n-polyglot: ^4.15.2 + ra-language-english: ^4.15.2 + ra-ui-materialui: ^4.15.2 react-hook-form: ^7.43.9 react-router: ^6.1.0 react-router-dom: ^6.1.0 peerDependencies: react: ^16.9.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.9.0 || ^17.0.0 || ^18.0.0 - checksum: 093dd96762f043e89617dedcacfb5cdd53615ede91639e52eb5728254c66f85cc211e70c658f3e20f4adb8ca4f261889a77e9ff98c76b33c90e2d930d85e06d0 + checksum: c4687a0da15cfd6f734de17224d6fa848e6c5a2a028775242274400729398c44f9fc08b094ee29f884ea08289791c04e1d4f7cf6c215da2376eaaefac3cc9801 languageName: node linkType: hard @@ -22769,6 +22880,17 @@ __metadata: languageName: node linkType: hard +"request-promise-core@npm:1.1.3": + version: 1.1.3 + resolution: "request-promise-core@npm:1.1.3" + dependencies: + lodash: ^4.17.15 + peerDependencies: + request: ^2.34 + checksum: 8572b5dd21c8927b85d78c4d7ea8a3c9438b10100143372e0e6b90a55fb98f4119a6e57df6f7adc213432b50712b0a8039e32fb0673c0243cdd14ddef3f5ef68 + languageName: node + linkType: hard + "request-promise-core@npm:1.1.4": version: 1.1.4 resolution: "request-promise-core@npm:1.1.4" @@ -22780,7 +22902,7 @@ __metadata: languageName: node linkType: hard -"request-promise@npm:^4.2.2, request-promise@npm:^4.2.4": +"request-promise@npm:^4.2.4": version: 4.2.6 resolution: "request-promise@npm:4.2.6" dependencies: @@ -22794,7 +22916,7 @@ __metadata: languageName: node linkType: hard -"request@npm:^2.83.0, request@npm:^2.88.0, request@npm:^2.88.2": +"request@npm:^2.88.0, request@npm:^2.88.2": version: 2.88.2 resolution: "request@npm:2.88.2" dependencies: @@ -23882,9 +24004,9 @@ __metadata: languageName: node linkType: hard -"sshpk@npm:^1.7.0": - version: 1.17.0 - resolution: "sshpk@npm:1.17.0" +"sshpk@npm:^1.14.1, sshpk@npm:^1.7.0": + version: 1.18.0 + resolution: "sshpk@npm:1.18.0" dependencies: asn1: ~0.2.3 assert-plus: ^1.0.0 @@ -23899,7 +24021,7 @@ __metadata: sshpk-conv: bin/sshpk-conv sshpk-sign: bin/sshpk-sign sshpk-verify: bin/sshpk-verify - checksum: ba109f65c8e6c35133b8e6ed5576abeff8aa8d614824b7275ec3ca308f081fef483607c28d97780c1e235818b0f93ed8c8b56d0a5968d5a23fd6af57718c7597 + checksum: 01d43374eee3a7e37b3b82fdbecd5518cbb2e47ccbed27d2ae30f9753f22bd6ffad31225cb8ef013bc3fb7785e686cea619203ee1439a228f965558c367c3cfa languageName: node linkType: hard @@ -24034,7 +24156,7 @@ __metadata: "@types/eslint": ^8.44.6 "@types/prettier": ^3.0.0 d3: ^7.8.5 - eslint: ^8.51.0 + eslint: ^8.52.0 prettier: ^3.0.3 react: ^18.2.0 react-dom: ^18.2.0 @@ -24858,6 +24980,18 @@ __metadata: languageName: node linkType: hard +"tough-cookie@npm:^4.1.3": + version: 4.1.3 + resolution: "tough-cookie@npm:4.1.3" + dependencies: + psl: ^1.1.33 + punycode: ^2.1.1 + universalify: ^0.2.0 + url-parse: ^1.5.3 + checksum: c9226afff36492a52118432611af083d1d8493a53ff41ec4ea48e5b583aec744b989e4280bcf476c910ec1525a89a4a0f1cae81c08b18fb2ec3a9b3a72b91dcc + languageName: node + linkType: hard + "tr46@npm:~0.0.3": version: 0.0.3 resolution: "tr46@npm:0.0.3" @@ -25494,6 +25628,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~5.26.4": + version: 5.26.5 + resolution: "undici-types@npm:5.26.5" + checksum: 3192ef6f3fd5df652f2dc1cd782b49d6ff14dc98e5dced492aa8a8c65425227da5da6aafe22523c67f035a272c599bb89cfe803c1db6311e44bed3042fc25487 + languageName: node + linkType: hard + "unicode-canonical-property-names-ecmascript@npm:^2.0.0": version: 2.0.0 resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0" @@ -25612,6 +25753,13 @@ __metadata: languageName: node linkType: hard +"universalify@npm:^0.2.0": + version: 0.2.0 + resolution: "universalify@npm:0.2.0" + checksum: e86134cb12919d177c2353196a4cc09981524ee87abf621f7bc8d249dbbbebaec5e7d1314b96061497981350df786e4c5128dbf442eba104d6e765bc260678b5 + languageName: node + linkType: hard + "universalify@npm:^2.0.0": version: 2.0.0 resolution: "universalify@npm:2.0.0" @@ -25726,6 +25874,16 @@ __metadata: languageName: node linkType: hard +"url-parse@npm:^1.5.3": + version: 1.5.10 + resolution: "url-parse@npm:1.5.10" + dependencies: + querystringify: ^2.1.1 + requires-port: ^1.0.0 + checksum: fbdba6b1d83336aca2216bbdc38ba658d9cfb8fc7f665eb8b17852de638ff7d1a162c198a8e4ed66001ddbf6c9888d41e4798912c62b4fd777a31657989f7bdf + languageName: node + linkType: hard + "url-regex-safe@npm:^3.0.0": version: 3.0.0 resolution: "url-regex-safe@npm:3.0.0" @@ -26191,15 +26349,15 @@ __metadata: "@liexp/core": 0.1.0 "@liexp/shared": 0.1.0 "@liexp/ui": 0.1.0 - "@mui/icons-material": ^5.14.14 - "@mui/material": ^5.14.14 + "@mui/icons-material": ^5.14.15 + "@mui/material": ^5.14.15 "@types/bs58": ^4.0.3 "@types/d3": ^7.4.2 "@types/debug": ^4.1.10 "@types/express": ^4.17.20 "@types/mime": ^1.3.4 - "@types/node": ^18.18.6 - "@types/react": ^18.2.31 + "@types/node": ^18.18.7 + "@types/react": ^18.2.33 "@types/react-calendar-heatmap": ^1.6.5 "@types/react-dom": ^18.2.14 "@types/react-helmet": ^6.1.8 @@ -26211,8 +26369,8 @@ __metadata: "@types/uuid": ^9.0.6 "@types/webpack-bundle-analyzer": ^4.6.2 "@types/webpack-node-externals": ^3.0.3 - "@typescript-eslint/eslint-plugin": ^6.8.0 - "@typescript-eslint/parser": ^6.8.0 + "@typescript-eslint/eslint-plugin": ^6.9.0 + "@typescript-eslint/parser": ^6.9.0 "@visx/axis": ^3.4.0 "@visx/gradient": ^3.3.0 "@visx/legend": ^3.3.0 @@ -26225,11 +26383,11 @@ __metadata: d3: ^7.8.5 debug: ^4.3.4 dotenv: ^16.3.1 - eslint: ^8.51.0 + eslint: ^8.52.0 eslint-config-prettier: ^9.0.0 eslint-config-standard-with-typescript: ^39.1.1 eslint-import-resolver-typescript: ^3.6.1 - eslint-plugin-import: ^2.28.1 + eslint-plugin-import: ^2.29.0 eslint-plugin-n: ^16.2.0 eslint-plugin-promise: ^6.1.1 eslint-plugin-react: ^7.33.2 @@ -26246,12 +26404,12 @@ __metadata: prettier: ^3.0.3 prop-types: ^15.8.1 query-string: ^7.1.3 - ra-core: ^4.15.1 - ra-i18n-polyglot: ^4.15.1 - ra-input-rich-text: ^4.15.1 - ra-ui-materialui: ^4.15.1 + ra-core: ^4.15.2 + ra-i18n-polyglot: ^4.15.2 + ra-input-rich-text: ^4.15.2 + ra-ui-materialui: ^4.15.2 react: ^18.2.0 - react-admin: ^4.15.1 + react-admin: ^4.15.2 react-dom: ^18.2.0 react-error-boundary: ^4.0.11 react-helmet: ^6.1.0