diff --git a/package-lock.json b/package-lock.json index 1003712cd2..fe0ea0df05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,6 @@ "@fortawesome/free-regular-svg-icons": "5.15.4", "@fortawesome/free-solid-svg-icons": "5.15.4", "@fortawesome/react-fontawesome": "0.2.0", - "@meilisearch/instant-meilisearch": "^0.17.0", "@openedx-plugins/course-app-calculator": "file:plugins/course-apps/calculator", "@openedx-plugins/course-app-edxnotes": "file:plugins/course-apps/edxnotes", "@openedx-plugins/course-app-learning_assistant": "file:plugins/course-apps/learning_assistant", @@ -4073,14 +4072,6 @@ "@lezer/lr": "^1.0.0" } }, - "node_modules/@meilisearch/instant-meilisearch": { - "version": "0.17.0", - "resolved": "https://registry.npmjs.org/@meilisearch/instant-meilisearch/-/instant-meilisearch-0.17.0.tgz", - "integrity": "sha512-6SDDivDWsmYjX33m2fAUCcBvatjutBbvqV8Eg+CEllz0l6piAiDK/WlukVpYrSmhYN2YGQsJSm62WbMGciPhUg==", - "dependencies": { - "meilisearch": "^0.38.0" - } - }, "node_modules/@newrelic/publish-sourcemap": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@newrelic/publish-sourcemap/-/publish-sourcemap-5.1.0.tgz", diff --git a/package.json b/package.json index 29a02287b0..47577ea3c2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build": "fedx-scripts webpack", "i18n_extract": "fedx-scripts formatjs extract", "stylelint": "stylelint \"plugins/**/*.scss\" \"src/**/*.scss\" \"scss/**/*.scss\" --config .stylelintrc.json", - "lint": "npm run stylelint && fedx-scripts eslint --ext .js --ext .jsx .", + "lint": "npm run stylelint && fedx-scripts eslint --ext .js --ext .jsx --ext .ts --ext .tsx .", "lint:fix": "npm run stylelint -- --fix && fedx-scripts eslint --fix --ext .js --ext .jsx .", "snapshot": "TZ=UTC fedx-scripts jest --updateSnapshot", "start": "fedx-scripts webpack-dev-server --progress", @@ -54,7 +54,6 @@ "@fortawesome/free-regular-svg-icons": "5.15.4", "@fortawesome/free-solid-svg-icons": "5.15.4", "@fortawesome/react-fontawesome": "0.2.0", - "@meilisearch/instant-meilisearch": "^0.17.0", "@openedx-plugins/course-app-calculator": "file:plugins/course-apps/calculator", "@openedx-plugins/course-app-edxnotes": "file:plugins/course-apps/edxnotes", "@openedx-plugins/course-app-learning_assistant": "file:plugins/course-apps/learning_assistant", diff --git a/src/content-tags-drawer/ContentTagsCollapsible.d.ts b/src/content-tags-drawer/ContentTagsCollapsible.d.ts index 364e7d2914..32a1ff41f9 100644 --- a/src/content-tags-drawer/ContentTagsCollapsible.d.ts +++ b/src/content-tags-drawer/ContentTagsCollapsible.d.ts @@ -5,24 +5,24 @@ import type {} from 'react-select/base'; // and add our custom property 'myCustomProp' to it. export interface TagTreeEntry { - explicit: boolean; - children: Record; - canChangeObjecttag: boolean; - canDeleteObjecttag: boolean; + explicit: boolean; + children: Record; + canChangeObjecttag: boolean; + canDeleteObjecttag: boolean; } export interface TaxonomySelectProps { - taxonomyId: number; - searchTerm: string; - appliedContentTagsTree: Record; - stagedContentTagsTree: Record; - checkedTags: string[]; - selectCancelRef: Ref, - selectAddRef: Ref, - selectInlineAddRef: Ref, - handleCommitStagedTags: () => void; - handleCancelStagedTags: () => void; - handleSelectableBoxChange: React.ChangeEventHandler; + taxonomyId: number; + searchTerm: string; + appliedContentTagsTree: Record; + stagedContentTagsTree: Record; + checkedTags: string[]; + selectCancelRef: Ref, + selectAddRef: Ref, + selectInlineAddRef: Ref, + handleCommitStagedTags: () => void; + handleCancelStagedTags: () => void; + handleSelectableBoxChange: React.ChangeEventHandler; } // Unfortunately the only way to specify the custom props we pass into React Select @@ -32,11 +32,8 @@ export interface TaxonomySelectProps { // we should change to using a 'react context' to share this data within , // rather than using the custom