From a082c17ffa5d1879ed257262a361e676e9761d76 Mon Sep 17 00:00:00 2001 From: Chris Chudzicki Date: Fri, 2 Feb 2024 12:15:12 -0500 Subject: [PATCH 01/27] do not allow None in levels/languages (#446) * do not allow None in levels/languages * move without_none to utils, add a docstring --- learning_resources/etl/openedx.py | 5 ++-- learning_resources/etl/utils.py | 5 ++++ .../0037_remove_null_levels_langs.py | 27 +++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 learning_resources/migrations/0037_remove_null_levels_langs.py diff --git a/learning_resources/etl/openedx.py b/learning_resources/etl/openedx.py index 8fc6bd0514..c7bdf97622 100644 --- a/learning_resources/etl/openedx.py +++ b/learning_resources/etl/openedx.py @@ -16,6 +16,7 @@ from learning_resources.etl.utils import ( extract_valid_department_from_id, generate_course_numbers_json, + without_none, ) from learning_resources.utils import get_year_and_semester @@ -206,9 +207,9 @@ def _transform_course_run(config, course_run, course_last_modified, marketing_ur "title": course_run.get("title"), "description": course_run.get("short_description"), "full_description": course_run.get("full_description"), - "level": [course_run.get("level_type")], + "level": without_none([course_run.get("level_type")]), "semester": semester, - "languages": [course_run.get("content_language")], + "languages": without_none([course_run.get("content_language")]), "year": year, "start_date": course_run.get("start"), "end_date": course_run.get("end"), diff --git a/learning_resources/etl/utils.py b/learning_resources/etl/utils.py index 5ec5bda620..9708ecc83c 100644 --- a/learning_resources/etl/utils.py +++ b/learning_resources/etl/utils.py @@ -91,6 +91,11 @@ def transform_topics(topics): ] +def without_none(values) -> list: + """Remove all occurrences of None from a list.""" + return [x for x in values if x is not None] + + def _infinite_counter(): """Infinite counter""" count = 0 diff --git a/learning_resources/migrations/0037_remove_null_levels_langs.py b/learning_resources/migrations/0037_remove_null_levels_langs.py new file mode 100644 index 0000000000..032bafe0b5 --- /dev/null +++ b/learning_resources/migrations/0037_remove_null_levels_langs.py @@ -0,0 +1,27 @@ +# Generated by Django 4.2.9 on 2024-02-02 00:34 +from django.db import migrations + + +def update_languages_and_level(apps, _schema_editor): + """ + Convert relative urls to absolute urls + """ + LearningResourceRun = apps.get_model("learning_resources", "LearningResourceRun") + + # In postgres, arrays {NULL} and {NULL} are equal. + # Django's arrayfield __contains query use postgres &> and &&, which + # do not work with null values. + LearningResourceRun.objects.filter(level=[None]).update(level=[]) + LearningResourceRun.objects.filter(languages=[None]).update(languages=[]) + + +class Migration(migrations.Migration): + dependencies = [ + ("learning_resources", "0036_update_ocw_contentfile_urls"), + ] + + operations = [ + migrations.RunPython( + update_languages_and_level, reverse_code=migrations.RunPython.noop + ), + ] From 3043814831615a810324e697cc315a8c17792b01 Mon Sep 17 00:00:00 2001 From: Nathan Levesque Date: Fri, 2 Feb 2024 13:26:11 -0500 Subject: [PATCH 02/27] Added support to set SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS (#429) * Added support to set SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS * Added a redirect for /login * Fix lints * Fix lint --- app.json | 4 ++++ authentication/urls.py | 11 ++++++++++- open_discussions/settings.py | 8 +++++++- open_discussions/urls.py | 1 - 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/app.json b/app.json index df41f7770e..c0b5262388 100644 --- a/app.json +++ b/app.json @@ -547,6 +547,10 @@ "description": "The client secret provided by the OpenID Connect provider.", "required": false }, + "SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS": { + "description": "The list of additional redirect hosts allowed for social auth.", + "required": false + }, "USERINFO_URL": { "description": "Provder endpoint where client sends requests for identity claims.", "required": false diff --git a/authentication/urls.py b/authentication/urls.py index 5cc1c7a10a..748e726a86 100644 --- a/authentication/urls.py +++ b/authentication/urls.py @@ -1,9 +1,18 @@ """URL configurations for authentication""" -from django.urls import re_path +from django.urls import include, re_path, reverse_lazy +from django.views.generic.base import RedirectView from authentication.views import CustomLogoutView urlpatterns = [ + re_path(r"", include("social_django.urls", namespace="social")), + re_path( + r"^login/$", + RedirectView.as_view( + url=reverse_lazy("social:begin", args=["ol-oidc"]), query_string=True + ), + name="login", + ), re_path(r"^logout/$", CustomLogoutView.as_view(), name="logout"), ] diff --git a/open_discussions/settings.py b/open_discussions/settings.py index 6588f141b4..d3c7804fef 100644 --- a/open_discussions/settings.py +++ b/open_discussions/settings.py @@ -225,7 +225,13 @@ SOCIAL_AUTH_LOGIN_REDIRECT_URL = "/" SOCIAL_AUTH_LOGIN_ERROR_URL = "login" -SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS = [urlparse(SITE_BASE_URL).netloc] +SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS = [ + *get_list_of_str( + name="SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS", + default=[], + ), + urlparse(SITE_BASE_URL).netloc, +] SOCIAL_AUTH_PIPELINE = ( # Checks if an admin user attempts to login/register while hijacking another user. diff --git a/open_discussions/urls.py b/open_discussions/urls.py index 3eb859b642..fdf9b97192 100644 --- a/open_discussions/urls.py +++ b/open_discussions/urls.py @@ -34,7 +34,6 @@ urlpatterns = [ # noqa: RUF005 re_path(r"^admin/", admin.site.urls), re_path(r"", include("authentication.urls")), - re_path(r"", include("social_django.urls", namespace="social")), re_path(r"", include("channels.urls")), re_path(r"", include("profiles.urls")), re_path(r"", include("embedly.urls")), From 9f5775163bc8db5513502b51f1c056255539917c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 08:04:59 +0000 Subject: [PATCH 03/27] Update all non-major dev-dependencies (#450) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 991 +++++++++++++++++++++++++++--------------------------- 1 file changed, 493 insertions(+), 498 deletions(-) diff --git a/yarn.lock b/yarn.lock index 4fbfaca808..e51b5d0fb0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3181,12 +3181,12 @@ __metadata: languageName: node linkType: hard -"@jest/create-cache-key-function@npm:^27.4.2": - version: 27.5.1 - resolution: "@jest/create-cache-key-function@npm:27.5.1" +"@jest/create-cache-key-function@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/create-cache-key-function@npm:29.7.0" dependencies: - "@jest/types": ^27.5.1 - checksum: a6c3a8c769aca6f66f5dc80f1c77e66980b4f213a6b2a15a92ba3595f032848a1261c06c9c798dcf2b672b1ffbefad5085af89d130548741c85ddbe0cf4284e7 + "@jest/types": ^29.6.3 + checksum: 681bc761fa1d6fa3dd77578d444f97f28296ea80755e90e46d1c8fa68661b9e67f54dd38b988742db636d26cf160450dc6011892cec98b3a7ceb58cad8ff3aae languageName: node linkType: hard @@ -3993,13 +3993,13 @@ __metadata: linkType: hard "@playwright/test@npm:^1.41.0": - version: 1.41.0 - resolution: "@playwright/test@npm:1.41.0" + version: 1.41.2 + resolution: "@playwright/test@npm:1.41.2" dependencies: - playwright: 1.41.0 + playwright: 1.41.2 bin: playwright: cli.js - checksum: 3a7039f8cd14dd242154255417c100a99c3254a3c1fd26df2a11be24c10b06ef77d2736336d7743dedc5e1a6a52748e58ced730b6048f8bd75d8867ce81661e0 + checksum: 87d9e725106111b2af1b2dec32454cd2a2d9665ff735669dc751caa30240e6db595ecfb9422719fa65dcff6ca19dea93ac2ae70d587efddde31def0754549d4c languageName: node linkType: hard @@ -4865,61 +4865,61 @@ __metadata: languageName: node linkType: hard -"@storybook/addon-actions@npm:7.6.7, @storybook/addon-actions@npm:^7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-actions@npm:7.6.7" +"@storybook/addon-actions@npm:7.6.12, @storybook/addon-actions@npm:^7.6.7": + version: 7.6.12 + resolution: "@storybook/addon-actions@npm:7.6.12" dependencies: - "@storybook/core-events": 7.6.7 + "@storybook/core-events": 7.6.12 "@storybook/global": ^5.0.0 "@types/uuid": ^9.0.1 dequal: ^2.0.2 polished: ^4.2.2 uuid: ^9.0.0 - checksum: 0a68abbb89e2aa569dd0d1bb7793bd571e6095e108e19028a7f23afdbf4625d008c96e0b0c95c4a77fce97380f50765ef922152fe02134e5a9a96a66ca4237a7 + checksum: 894aeaf29d19a062952f9c51f92262599b00d1556fabbb055d7126d808c5d23dab78bc45a70948d71c152bbaf1b44d9046cd83954849d42ba766797cac331148 languageName: node linkType: hard -"@storybook/addon-backgrounds@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-backgrounds@npm:7.6.7" +"@storybook/addon-backgrounds@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-backgrounds@npm:7.6.12" dependencies: "@storybook/global": ^5.0.0 memoizerific: ^1.11.3 ts-dedent: ^2.0.0 - checksum: 0598707fef857c1bb9402875dcd08362b090b524ca02cb9a2d475150ae489b17c4cfa6b0f76759a1c41c8a00502b7e362ca3352ed1263a4c5295f5380ad0ba8a + checksum: c0123fbcc72bf407091e7fa9f100c56350624049aee831d85e94982e2c3373eab153a0a12009b58730807fb0c71f70b336ac6589b3134506d3dabae1fc321e47 languageName: node linkType: hard -"@storybook/addon-controls@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-controls@npm:7.6.7" +"@storybook/addon-controls@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-controls@npm:7.6.12" dependencies: - "@storybook/blocks": 7.6.7 + "@storybook/blocks": 7.6.12 lodash: ^4.17.21 ts-dedent: ^2.0.0 - checksum: b98166568f3479e628618f77d64baaf361e74f4388a2c15dd1fd2c353c497873890365d15af411af1f66b83b63627050939ad1a058125faa9f6f67714626308e + checksum: 1dadd5e547ac2d02fe3dd064d58e682caf7437934c49b730c71fdd16565bb7ffa56b6d5241031a2c9cd38f2c655f0046760c6e8c1eb869e511a9d2adcfe1f287 languageName: node linkType: hard -"@storybook/addon-docs@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-docs@npm:7.6.7" +"@storybook/addon-docs@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-docs@npm:7.6.12" dependencies: "@jest/transform": ^29.3.1 "@mdx-js/react": ^2.1.5 - "@storybook/blocks": 7.6.7 - "@storybook/client-logger": 7.6.7 - "@storybook/components": 7.6.7 - "@storybook/csf-plugin": 7.6.7 - "@storybook/csf-tools": 7.6.7 + "@storybook/blocks": 7.6.12 + "@storybook/client-logger": 7.6.12 + "@storybook/components": 7.6.12 + "@storybook/csf-plugin": 7.6.12 + "@storybook/csf-tools": 7.6.12 "@storybook/global": ^5.0.0 "@storybook/mdx2-csf": ^1.0.0 - "@storybook/node-logger": 7.6.7 - "@storybook/postinstall": 7.6.7 - "@storybook/preview-api": 7.6.7 - "@storybook/react-dom-shim": 7.6.7 - "@storybook/theming": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/node-logger": 7.6.12 + "@storybook/postinstall": 7.6.12 + "@storybook/preview-api": 7.6.12 + "@storybook/react-dom-shim": 7.6.12 + "@storybook/theming": 7.6.12 + "@storybook/types": 7.6.12 fs-extra: ^11.1.0 remark-external-links: ^8.0.0 remark-slug: ^6.0.0 @@ -4927,60 +4927,60 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 967669f44014c194dab94ad572cbf6d89dce86376ccf43867ae1801609598cb70faca49b7df8426227bfe6348887688285fae5f6cebb12e58048e74dec6ba0ce + checksum: fedf10ffc976e19bdfd17a1bec7f71362a147a352a34c9d2777c3f61919e9ec1dcb333171fe1a9039306149cd6178ba2518e0a0abba92b366deecfa7fb9e9938 languageName: node linkType: hard "@storybook/addon-essentials@npm:^7.6.6": - version: 7.6.7 - resolution: "@storybook/addon-essentials@npm:7.6.7" - dependencies: - "@storybook/addon-actions": 7.6.7 - "@storybook/addon-backgrounds": 7.6.7 - "@storybook/addon-controls": 7.6.7 - "@storybook/addon-docs": 7.6.7 - "@storybook/addon-highlight": 7.6.7 - "@storybook/addon-measure": 7.6.7 - "@storybook/addon-outline": 7.6.7 - "@storybook/addon-toolbars": 7.6.7 - "@storybook/addon-viewport": 7.6.7 - "@storybook/core-common": 7.6.7 - "@storybook/manager-api": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/preview-api": 7.6.7 + version: 7.6.12 + resolution: "@storybook/addon-essentials@npm:7.6.12" + dependencies: + "@storybook/addon-actions": 7.6.12 + "@storybook/addon-backgrounds": 7.6.12 + "@storybook/addon-controls": 7.6.12 + "@storybook/addon-docs": 7.6.12 + "@storybook/addon-highlight": 7.6.12 + "@storybook/addon-measure": 7.6.12 + "@storybook/addon-outline": 7.6.12 + "@storybook/addon-toolbars": 7.6.12 + "@storybook/addon-viewport": 7.6.12 + "@storybook/core-common": 7.6.12 + "@storybook/manager-api": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/preview-api": 7.6.12 ts-dedent: ^2.0.0 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: a088873a7326a6b0ae7355b0bcd9a50b91b3b79bc0aef84f645efc479c4c7831345271430806572dbf743af4b01b490b2d733492ea08010de5af7d9d8d0db2db + checksum: 0b24af8cde5f6d5190c8812a4f5ec5fc273a49126de787a34409149b2e4ec187fc2f4a47a04f23f6ab158430ee00254805886b72c02f7adc9b02904d04162f44 languageName: node linkType: hard -"@storybook/addon-highlight@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-highlight@npm:7.6.7" +"@storybook/addon-highlight@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-highlight@npm:7.6.12" dependencies: "@storybook/global": ^5.0.0 - checksum: a148e54c2a489ae452f77b2870359fe7800655735dd18046d3d081fd78b5caebacec016fbda649e24c0fcc779639a38641c18ba2efedf37f05e401232689168c + checksum: c9e92093535facd897f32f15cd7e5bc80059f2dfad62ede2ca59629c5c894378a483ae20dbe516794c11ed27861551afe5b496af130bf20962c8d8d09198f612 languageName: node linkType: hard "@storybook/addon-interactions@npm:^7.6.6": - version: 7.6.7 - resolution: "@storybook/addon-interactions@npm:7.6.7" + version: 7.6.12 + resolution: "@storybook/addon-interactions@npm:7.6.12" dependencies: "@storybook/global": ^5.0.0 - "@storybook/types": 7.6.7 + "@storybook/types": 7.6.12 jest-mock: ^27.0.6 polished: ^4.2.2 ts-dedent: ^2.2.0 - checksum: f0e148c02602a5608c85295b39435ae9d672f657a23fdabb22d6882bb444bfd04aaf19aa8c015c6e8a59de48a498c1bb8c51b83c7b3172842ded18d5ff0e8cf4 + checksum: 52370dea9b316acc802fc685fa250a0237df06b5c95464016893bf953dbe6edcaa9feec14a7bf0a99ff17dc4a150da7cb6e507e903ef8b685d5a34ce352350cf languageName: node linkType: hard "@storybook/addon-links@npm:^7.6.6": - version: 7.6.7 - resolution: "@storybook/addon-links@npm:7.6.7" + version: 7.6.12 + resolution: "@storybook/addon-links@npm:7.6.12" dependencies: "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 @@ -4990,61 +4990,61 @@ __metadata: peerDependenciesMeta: react: optional: true - checksum: a0ea89f2ffd09c2a5de66381d1a5b955b78a92d93f65885285af39c69e17ab35f0b6099742b7cb36816e14b307f59f88c85023499ab56d028d3e68fea6033c6c + checksum: dabec27b3d81e4e2d89f49fea3b594325f9b31936db5bf2633992459e0bf5da1f1dc5e0f5c3c746e89a3372ac67e9be63b401c92eedce42cd9312eb32b862981 languageName: node linkType: hard -"@storybook/addon-measure@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-measure@npm:7.6.7" +"@storybook/addon-measure@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-measure@npm:7.6.12" dependencies: "@storybook/global": ^5.0.0 tiny-invariant: ^1.3.1 - checksum: 1c89eff8d5663cd1caf6f6ebe6a9bf0335dc4787948a7ec76c6bc440dd40a8fbc217ddcd0596f3823131a5264573c091683b6bb7859bdf7dac647d503b0870f5 + checksum: 9eb3340bc9e9bcb99333c9de3cb9f07c37bbbf680b4a20116fbb36a445335f759d2a4e8a68c76a9942e098d3a1e5c0ca2092d285183e641eebd33fa7f2b9dab8 languageName: node linkType: hard -"@storybook/addon-outline@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-outline@npm:7.6.7" +"@storybook/addon-outline@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-outline@npm:7.6.12" dependencies: "@storybook/global": ^5.0.0 ts-dedent: ^2.0.0 - checksum: e4f39d4310d17defef60110e1927a4be1278ba1fbfdc5ca85563b41be29df1a685ec38aa591db830c3baf9234fd1a935ba49202491429e2f1142a7cbe88af88e + checksum: c3aee1375ca12278d4ac7232e4336a6b54b6c8bced8cd360d67c32acef324317a29e6177c160321492e59bcd1ed4daf5eb0de03cd7dd6213dec8629a9d083983 languageName: node linkType: hard -"@storybook/addon-toolbars@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-toolbars@npm:7.6.7" - checksum: beedf517f457e37e1e29144cefcbc0519bfd6588f0ac16831191453943842fec8ae96bbc4febeb70facde21bb7491db124235acd2b5e54addee5d766a71a33bd +"@storybook/addon-toolbars@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-toolbars@npm:7.6.12" + checksum: 613e8f2377c93c413708da9728bf23ff73aacaee141894302c7c4e594485db8b4b05cc666d524582fe92bc8fc12b5f1287e5088b0133ce1ea5c77dff446845a2 languageName: node linkType: hard -"@storybook/addon-viewport@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/addon-viewport@npm:7.6.7" +"@storybook/addon-viewport@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/addon-viewport@npm:7.6.12" dependencies: memoizerific: ^1.11.3 - checksum: 724e83509ead4edb8720bb4fa803bb0ba0b76309be741d4a2322c63f5bc20964066e42c1dab0820251f60a8c67be42ea3aa285ebe8ffee32b9b938d097a3c9f4 + checksum: a9617f5f8d18a79417f654dcb92de9bb0f11498c997413e537500f251a97f8eafc06a7aa196e62dce2d5aa520a8f323ee62b52be774a2abdbdabb22c6f51485d languageName: node linkType: hard -"@storybook/blocks@npm:7.6.7, @storybook/blocks@npm:^7.6.6": - version: 7.6.7 - resolution: "@storybook/blocks@npm:7.6.7" +"@storybook/blocks@npm:7.6.12, @storybook/blocks@npm:^7.6.6": + version: 7.6.12 + resolution: "@storybook/blocks@npm:7.6.12" dependencies: - "@storybook/channels": 7.6.7 - "@storybook/client-logger": 7.6.7 - "@storybook/components": 7.6.7 - "@storybook/core-events": 7.6.7 + "@storybook/channels": 7.6.12 + "@storybook/client-logger": 7.6.12 + "@storybook/components": 7.6.12 + "@storybook/core-events": 7.6.12 "@storybook/csf": ^0.1.2 - "@storybook/docs-tools": 7.6.7 + "@storybook/docs-tools": 7.6.12 "@storybook/global": ^5.0.0 - "@storybook/manager-api": 7.6.7 - "@storybook/preview-api": 7.6.7 - "@storybook/theming": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/manager-api": 7.6.12 + "@storybook/preview-api": 7.6.12 + "@storybook/theming": 7.6.12 + "@storybook/types": 7.6.12 "@types/lodash": ^4.14.167 color-convert: ^2.0.1 dequal: ^2.0.2 @@ -5060,18 +5060,18 @@ __metadata: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 6f5815cb8a7aae4ca9b104f1c5e5ec6b4949c90a373d904b44c5aebfec0b885606ef1ab2e44ecbbc544c3d6eed869f0feaa284d7336aeebb1f440d6797dc649f + checksum: c99e36593a4d9826a6e02ecbf877193d3a566b7152c0ab3968323302e948a2174257a900d5b45759ce18cddd8d41f8dfb876bdba12e67d3e3f440b1c887570bf languageName: node linkType: hard -"@storybook/builder-manager@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/builder-manager@npm:7.6.7" +"@storybook/builder-manager@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/builder-manager@npm:7.6.12" dependencies: "@fal-works/esbuild-plugin-global-externals": ^2.1.2 - "@storybook/core-common": 7.6.7 - "@storybook/manager": 7.6.7 - "@storybook/node-logger": 7.6.7 + "@storybook/core-common": 7.6.12 + "@storybook/manager": 7.6.12 + "@storybook/node-logger": 7.6.12 "@types/ejs": ^3.1.1 "@types/find-cache-dir": ^3.2.1 "@yarnpkg/esbuild-plugin-pnp": ^3.0.0-rc.10 @@ -5084,29 +5084,30 @@ __metadata: fs-extra: ^11.1.0 process: ^0.11.10 util: ^0.12.4 - checksum: dd4d64038cb8bcc06092cf239d95d7f8c8a7420243ce26db0b362f44182a138d9e1d5fee15bd12865df6d3b89d2fad1a167d5ebed2dba4357bd5c1d16be66874 + checksum: 6a866387546048ac6d87cf6bef78714e921d25a92ae1917a7e87e2a9349d8778668cbde89a7331384eae96c58276eda34aca8133708d9fd2b60f9179478004aa languageName: node linkType: hard -"@storybook/builder-webpack5@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/builder-webpack5@npm:7.6.7" +"@storybook/builder-webpack5@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/builder-webpack5@npm:7.6.12" dependencies: "@babel/core": ^7.23.2 - "@storybook/channels": 7.6.7 - "@storybook/client-logger": 7.6.7 - "@storybook/core-common": 7.6.7 - "@storybook/core-events": 7.6.7 - "@storybook/core-webpack": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/preview": 7.6.7 - "@storybook/preview-api": 7.6.7 + "@storybook/channels": 7.6.12 + "@storybook/client-logger": 7.6.12 + "@storybook/core-common": 7.6.12 + "@storybook/core-events": 7.6.12 + "@storybook/core-webpack": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/preview": 7.6.12 + "@storybook/preview-api": 7.6.12 "@swc/core": ^1.3.82 "@types/node": ^18.0.0 "@types/semver": ^7.3.4 babel-loader: ^9.0.0 browser-assert: ^1.2.1 case-sensitive-paths-webpack-plugin: ^2.4.0 + cjs-module-lexer: ^1.2.3 constants-browserify: ^1.0.0 css-loader: ^6.7.1 es-module-lexer: ^1.4.1 @@ -5132,40 +5133,40 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: b456b7f8b71a8a3180b4220bf0b72a8a3923fb3493e902063ab6b4aa79c6927cc418b63b5c5776483f5385ce1633ae73b0536ab56481515487c913451fe0019b + checksum: 3526edfa1dad4a82fd945cd04e21e9d7f584eca55b38d77149ce306d8b134fcb3bc032f3a790bd65ba6bf11d63601d97524fbee5f56f3815b89efad75399fe32 languageName: node linkType: hard -"@storybook/channels@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/channels@npm:7.6.7" +"@storybook/channels@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/channels@npm:7.6.12" dependencies: - "@storybook/client-logger": 7.6.7 - "@storybook/core-events": 7.6.7 + "@storybook/client-logger": 7.6.12 + "@storybook/core-events": 7.6.12 "@storybook/global": ^5.0.0 qs: ^6.10.0 telejson: ^7.2.0 tiny-invariant: ^1.3.1 - checksum: cc90ae81bfe7225f3d8de5c0d871870ccc126ae065b83ee9450993877b70d708d3ee198a556d8c3da0fb58ebe68b576a20907e2916308a8ac7a6d7c68eda59ac + checksum: 275dea29f10eff6fd0887fe323133312226310f39254146045486ad6887a350026ff79a3f31408873a82b6be698bcea64d7d048be6baa0a214bfa8953caed47e languageName: node linkType: hard -"@storybook/cli@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/cli@npm:7.6.7" +"@storybook/cli@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/cli@npm:7.6.12" dependencies: "@babel/core": ^7.23.2 "@babel/preset-env": ^7.23.2 "@babel/types": ^7.23.0 "@ndelangen/get-tarball": ^3.0.7 - "@storybook/codemod": 7.6.7 - "@storybook/core-common": 7.6.7 - "@storybook/core-events": 7.6.7 - "@storybook/core-server": 7.6.7 - "@storybook/csf-tools": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/telemetry": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/codemod": 7.6.12 + "@storybook/core-common": 7.6.12 + "@storybook/core-events": 7.6.12 + "@storybook/core-server": 7.6.12 + "@storybook/csf-tools": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/telemetry": 7.6.12 + "@storybook/types": 7.6.12 "@types/semver": ^7.3.4 "@yarnpkg/fslib": 2.10.3 "@yarnpkg/libzip": 2.3.0 @@ -5190,7 +5191,6 @@ __metadata: puppeteer-core: ^2.1.1 read-pkg-up: ^7.0.1 semver: ^7.3.7 - simple-update-notifier: ^2.0.0 strip-json-comments: ^3.0.1 tempy: ^1.0.1 ts-dedent: ^2.0.0 @@ -5198,30 +5198,30 @@ __metadata: bin: getstorybook: ./bin/index.js sb: ./bin/index.js - checksum: bb0d1babdf7c2c607bbaf0890ac102dd230c3576decf39d32c6ec551cc6fc841e552964d13efb40b526cb6fd05e02fda5307e888992f928805fe828107c07b88 + checksum: 52b62155fd95b64b7379093bd84f73e3f0d6f64dac6df0016242b7406bc7297dcb2cd5fefc7d6a877941365073d17c1cac4488cbb3131850c714ad1564c5859a languageName: node linkType: hard -"@storybook/client-logger@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/client-logger@npm:7.6.7" +"@storybook/client-logger@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/client-logger@npm:7.6.12" dependencies: "@storybook/global": ^5.0.0 - checksum: 4f4934fa4e022fa4ae0b802653d8ac8bd353d7514b1afb36b387029d274bbf40ad7a6fd1a2858220d415e7f535d643d701b7cdb752d71565269d44fdb482ed45 + checksum: 4a0a1c15fcab93005462b486f4f549d081487471610fffdaabc311247a0ba7ab3df59491800273aaed05f47a85cbf280580eaa768d9a1c7829d30faefbe43d20 languageName: node linkType: hard -"@storybook/codemod@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/codemod@npm:7.6.7" +"@storybook/codemod@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/codemod@npm:7.6.12" dependencies: "@babel/core": ^7.23.2 "@babel/preset-env": ^7.23.2 "@babel/types": ^7.23.0 "@storybook/csf": ^0.1.2 - "@storybook/csf-tools": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/csf-tools": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/types": 7.6.12 "@types/cross-spawn": ^6.0.2 cross-spawn: ^7.0.3 globby: ^11.0.2 @@ -5229,48 +5229,48 @@ __metadata: lodash: ^4.17.21 prettier: ^2.8.0 recast: ^0.23.1 - checksum: e850371a8df11a414fc3d06c87ff81d439ed2e8f87d76846b44ead6500fd97c51d000f7b12c3a137d05f64f0e21c10aaa397e44303269b7834b17f8da3c33f59 + checksum: a384d528b9ab23790f6a6e3ba5adecedd078f8e2c8459f2303aa8d4620e173db40e120e13de4fab618fbb91193ab5c8f6d4b3d520c053b77cc605e70f678702e languageName: node linkType: hard -"@storybook/components@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/components@npm:7.6.7" +"@storybook/components@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/components@npm:7.6.12" dependencies: "@radix-ui/react-select": ^1.2.2 "@radix-ui/react-toolbar": ^1.0.4 - "@storybook/client-logger": 7.6.7 + "@storybook/client-logger": 7.6.12 "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 - "@storybook/theming": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/theming": 7.6.12 + "@storybook/types": 7.6.12 memoizerific: ^1.11.3 use-resize-observer: ^9.1.0 util-deprecate: ^1.0.2 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: cbc7c12148a463b7efbac2c8568b7b8669d0a7a05c46cdddd735d0505619468a3842ac1893b5ba8cf4fd61c715fd7a1df09065406fc0634a7d61e9c8e6ebd6cd + checksum: 2ac43a04ba07d35d87254c1c9155991731b0316f685a7f14997bf3a120fc5f5560bed3929fe581b4b6a3b13f5a9c010c79fe4bd6810bda7ed6c03499323f9bc9 languageName: node linkType: hard -"@storybook/core-client@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/core-client@npm:7.6.7" +"@storybook/core-client@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/core-client@npm:7.6.12" dependencies: - "@storybook/client-logger": 7.6.7 - "@storybook/preview-api": 7.6.7 - checksum: 234af026a2447e91602a55522b616c0ead2dd996a845d4db393b400acf5a7054785b14a714fdb3919f8720083ee9d24a5d5dd8eda92090ce0f54c654d4f27155 + "@storybook/client-logger": 7.6.12 + "@storybook/preview-api": 7.6.12 + checksum: 663df478fd964d5a6f85598ed38305edb911c088dae085438eae20ca9d666ab711b0adc1cd3cfaab4f7599f14f380ca17ead08ed66dc2895a2970ed5e9a096ce languageName: node linkType: hard -"@storybook/core-common@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/core-common@npm:7.6.7" +"@storybook/core-common@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/core-common@npm:7.6.12" dependencies: - "@storybook/core-events": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/core-events": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/types": 7.6.12 "@types/find-cache-dir": ^3.2.1 "@types/node": ^18.0.0 "@types/node-fetch": ^2.6.4 @@ -5291,38 +5291,38 @@ __metadata: pretty-hrtime: ^1.0.3 resolve-from: ^5.0.0 ts-dedent: ^2.0.0 - checksum: 5e9a03114aa964ff997e1185d4f1b45bff5db941afde57ff6e8f411e08371bd3c197bd69b4f4d71a4f81970182c90ca3ee0cdce713ad992dae29c550cbff2340 + checksum: 17c4dc4be48d7a35d7fa164696c40addd050d7119d3fd38e7006930f914b98363fa9524a8d34d657931b87172cf08b30d5e1ab6a751b7a5e2b259ef84cf223d7 languageName: node linkType: hard -"@storybook/core-events@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/core-events@npm:7.6.7" +"@storybook/core-events@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/core-events@npm:7.6.12" dependencies: ts-dedent: ^2.0.0 - checksum: b355f2cdfa8a805d035e7f05909cdb670cf1ced653d3cf2281976dbc7591faaeca066ba8c3b68f1b19097301b5908b3d37381ff00364ce509bce38c5f9c2465c + checksum: d66a18b53fe06a7f51f99e8aa8f6e2fc8de255d4a966d4d7c72f20c2fdfd3b518bc5c0062932a9e9eeb9ccf53c629b3dc8ca8d2462e857b5817a83e5a2c08e4a languageName: node linkType: hard -"@storybook/core-server@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/core-server@npm:7.6.7" +"@storybook/core-server@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/core-server@npm:7.6.12" dependencies: "@aw-web-design/x-default-browser": 1.4.126 "@discoveryjs/json-ext": ^0.5.3 - "@storybook/builder-manager": 7.6.7 - "@storybook/channels": 7.6.7 - "@storybook/core-common": 7.6.7 - "@storybook/core-events": 7.6.7 + "@storybook/builder-manager": 7.6.12 + "@storybook/channels": 7.6.12 + "@storybook/core-common": 7.6.12 + "@storybook/core-events": 7.6.12 "@storybook/csf": ^0.1.2 - "@storybook/csf-tools": 7.6.7 + "@storybook/csf-tools": 7.6.12 "@storybook/docs-mdx": ^0.1.0 "@storybook/global": ^5.0.0 - "@storybook/manager": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/preview-api": 7.6.7 - "@storybook/telemetry": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/manager": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/preview-api": 7.6.12 + "@storybook/telemetry": 7.6.12 + "@storybook/types": 7.6.12 "@types/detect-port": ^1.3.0 "@types/node": ^18.0.0 "@types/pretty-hrtime": ^1.0.0 @@ -5349,47 +5349,47 @@ __metadata: util-deprecate: ^1.0.2 watchpack: ^2.2.0 ws: ^8.2.3 - checksum: 8759f1911868875eeee9b5b810395733037c84ae47885becd4e351f4d1c51821f5501b11f0ac651996fe31fd16d11e33c8bff29670d05c244d408f021b7ceaa9 + checksum: a0bd3664ff05046468d3ddd13366f92625e2eeb4b034dcd037338eb2e8e01685ce11d80a79ae1d69e0ef42e7bcacae0f77c226000307d3ac26b82e8b45a0a526 languageName: node linkType: hard -"@storybook/core-webpack@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/core-webpack@npm:7.6.7" +"@storybook/core-webpack@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/core-webpack@npm:7.6.12" dependencies: - "@storybook/core-common": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/core-common": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/types": 7.6.12 "@types/node": ^18.0.0 ts-dedent: ^2.0.0 - checksum: 3dc066b83154e08fd8a1586ecf689b0fac915844d81923b0c0faa519b661ca8d0b72c0bb17ac9307f63b64d47ca2a370f43813062a5be05d572ad3adbecebb6f + checksum: f5e5ef2da7da26c9e6cf68a9ac3925f3db6e8bfa0f263d57be3c6e30c8fc3a8510c8778ebe765805f787f85facccbf6e6ec1519fdd2e3431fca2da7e8a92d0e2 languageName: node linkType: hard -"@storybook/csf-plugin@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/csf-plugin@npm:7.6.7" +"@storybook/csf-plugin@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/csf-plugin@npm:7.6.12" dependencies: - "@storybook/csf-tools": 7.6.7 + "@storybook/csf-tools": 7.6.12 unplugin: ^1.3.1 - checksum: 1e9bba748b383a0a3d0e5bb1f36a6fc6eda192deefe5e0c056c8f743362a7dc7ade9d90723ce79189da9c9d4f9081db6173bc1c21978757090420995abd1b061 + checksum: c9232c4933583ec059f972582ae679f2c8d704dd8937f519a8b93e21b0274d4d29b9e1b671a6e769f4258757c0232ff7b67d2ef0abc0a4ba0f0f8ef4de0f46f6 languageName: node linkType: hard -"@storybook/csf-tools@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/csf-tools@npm:7.6.7" +"@storybook/csf-tools@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/csf-tools@npm:7.6.12" dependencies: "@babel/generator": ^7.23.0 "@babel/parser": ^7.23.0 "@babel/traverse": ^7.23.2 "@babel/types": ^7.23.0 "@storybook/csf": ^0.1.2 - "@storybook/types": 7.6.7 + "@storybook/types": 7.6.12 fs-extra: ^11.1.0 recast: ^0.23.1 ts-dedent: ^2.0.0 - checksum: bf78f5bcf9885840caf6c03ef3bc431b1325d4b3074b1d94185a9d26563aa87731ed947b05553ec44867ac9637d43db7431e8e68ecc041d81f948f7812bdeafb + checksum: 74396f0d63b29bdcb3e5b22f3e44c723f0bed2c4cfa353445b303f10a9e0cd3ae55bc5d5e2568b9127ddba62ad3ccc365f1e83cb3e37e3ade6526b6a83c3e4b9 languageName: node linkType: hard @@ -5409,18 +5409,18 @@ __metadata: languageName: node linkType: hard -"@storybook/docs-tools@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/docs-tools@npm:7.6.7" +"@storybook/docs-tools@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/docs-tools@npm:7.6.12" dependencies: - "@storybook/core-common": 7.6.7 - "@storybook/preview-api": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/core-common": 7.6.12 + "@storybook/preview-api": 7.6.12 + "@storybook/types": 7.6.12 "@types/doctrine": ^0.0.3 assert: ^2.1.0 doctrine: ^3.0.0 lodash: ^4.17.21 - checksum: a8b9a995ca8031b56bc1ba64b81b3fe491519f0999dfc315d3f73f99eb9e004f9d242f167d4629a7cffe89ef3ac2c72f79632a4030c779f9ac99fb92011c3833 + checksum: bb6923793e03795862d9e98016e9375f0a922765ee15e9d1f8789668735ee60449769b89e676e806a3ac9f151462903a7e9d02b4b4864830efa007ab41f5333e languageName: node linkType: hard @@ -5431,32 +5431,32 @@ __metadata: languageName: node linkType: hard -"@storybook/manager-api@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/manager-api@npm:7.6.7" +"@storybook/manager-api@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/manager-api@npm:7.6.12" dependencies: - "@storybook/channels": 7.6.7 - "@storybook/client-logger": 7.6.7 - "@storybook/core-events": 7.6.7 + "@storybook/channels": 7.6.12 + "@storybook/client-logger": 7.6.12 + "@storybook/core-events": 7.6.12 "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 - "@storybook/router": 7.6.7 - "@storybook/theming": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/router": 7.6.12 + "@storybook/theming": 7.6.12 + "@storybook/types": 7.6.12 dequal: ^2.0.2 lodash: ^4.17.21 memoizerific: ^1.11.3 store2: ^2.14.2 telejson: ^7.2.0 ts-dedent: ^2.0.0 - checksum: b40e667d647398d140f142aaf3033579308f23573a8023b4366ca9482dce47bd34c090ba0381f66fc0b19600c24032551ddb418683b907bee0f1c9a86899c2da + checksum: 91d5947e1d5719ebbfbd2581322e8a8a5b41d984caac9831d5a016ad81558a48b8f304c025eb62af75d823a885f3aebd1ee70d0ced014b23320e5c53c0e551e9 languageName: node linkType: hard -"@storybook/manager@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/manager@npm:7.6.7" - checksum: 1eba0f753f16dfd7358b5e184c16ee356b618304d374d067177cd898dc9b0106cb48563d8040a60d44b1e1ee48f8e1f2ea421a1540aa3f9efc67248262b6a3e6 +"@storybook/manager@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/manager@npm:7.6.12" + checksum: 2e0706adbfb6873df30b57bb800c4c55bf995ab4544263768b89a6c9875cc751d6467f568cf3d0e82aade285ab89a2b809b3b5a468fd8b76acc2491bec0af016 languageName: node linkType: hard @@ -5467,31 +5467,31 @@ __metadata: languageName: node linkType: hard -"@storybook/node-logger@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/node-logger@npm:7.6.7" - checksum: 85b0c63e37adbfbe30cff165d21d12df42a82648f0af9bd9d4d9ac3eb85be54946afa265cfeebc45712cf42ba4e9da9f5a6fed95eacca10b9cde87bbb79e20dd +"@storybook/node-logger@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/node-logger@npm:7.6.12" + checksum: 2f1e06a1204598a6737b20cd7892f2dc1da25ad6e0a0b862196603f6fdc5d331dcb1e907a9bb40c64e6b13fc249d4c26060d159dd19a0a6523fbeb3cad6a3241 languageName: node linkType: hard -"@storybook/postinstall@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/postinstall@npm:7.6.7" - checksum: c3198f5a04c5970cb59d701a56b3fd08eb2074dbf47f39bce4643c1106c83d2e0a6112199b2257a089d28819bed25483112b78f6d11d83f87b36c0043e183133 +"@storybook/postinstall@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/postinstall@npm:7.6.12" + checksum: 6230b6689e1965254b1e1d7d0eb47effbd80b12f203db8013b2105f7c8b3334cae1abef0ac5f75d87eac7b215f187cde53eb15854aa395cb78c076af58ab7aac languageName: node linkType: hard -"@storybook/preset-react-webpack@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/preset-react-webpack@npm:7.6.7" +"@storybook/preset-react-webpack@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/preset-react-webpack@npm:7.6.12" dependencies: "@babel/preset-flow": ^7.22.15 "@babel/preset-react": ^7.22.15 "@pmmmwh/react-refresh-webpack-plugin": ^0.5.11 - "@storybook/core-webpack": 7.6.7 - "@storybook/docs-tools": 7.6.7 - "@storybook/node-logger": 7.6.7 - "@storybook/react": 7.6.7 + "@storybook/core-webpack": 7.6.12 + "@storybook/docs-tools": 7.6.12 + "@storybook/node-logger": 7.6.12 + "@storybook/react": 7.6.12 "@storybook/react-docgen-typescript-plugin": 1.0.6--canary.9.0c3f3b7.0 "@types/node": ^18.0.0 "@types/semver": ^7.3.4 @@ -5511,20 +5511,20 @@ __metadata: optional: true typescript: optional: true - checksum: d52d4e0072b281b62a6b1bafb2c067c8b17f4f9b732e20b40ba7e31d75cb9a510cd38b439c89f4170bb02f85029b95aed50701d1510a4d70e20ab6879b5595c4 + checksum: cdb5cdbfc3ca6f9cbf0fa2568623720c25554d0f0a53ec6df511ad02090becdefb4feff8183a37d956498454f73d48efed6442cb201597d87c7d9ab8647018c6 languageName: node linkType: hard -"@storybook/preview-api@npm:7.6.7, @storybook/preview-api@npm:^7.6.7": - version: 7.6.7 - resolution: "@storybook/preview-api@npm:7.6.7" +"@storybook/preview-api@npm:7.6.12, @storybook/preview-api@npm:^7.6.7": + version: 7.6.12 + resolution: "@storybook/preview-api@npm:7.6.12" dependencies: - "@storybook/channels": 7.6.7 - "@storybook/client-logger": 7.6.7 - "@storybook/core-events": 7.6.7 + "@storybook/channels": 7.6.12 + "@storybook/client-logger": 7.6.12 + "@storybook/core-events": 7.6.12 "@storybook/csf": ^0.1.2 "@storybook/global": ^5.0.0 - "@storybook/types": 7.6.7 + "@storybook/types": 7.6.12 "@types/qs": ^6.9.5 dequal: ^2.0.2 lodash: ^4.17.21 @@ -5533,14 +5533,14 @@ __metadata: synchronous-promise: ^2.0.15 ts-dedent: ^2.0.0 util-deprecate: ^1.0.2 - checksum: 2cea8458320f92eea604ac92c23051decf3208bc4d4546fde96de822b8acad010dd126a30fe211a4090b2b78c83fb33617ca64a0ecedfd3f42526350957f2ff7 + checksum: 52c2bf313fb12c5bac8ca80e0bdeb2879c120918fc1885d2f8f6ac71c34a8e92a7bc29725db6132887fded52d10e371cbe8a30266d3e2394ecfbfdd543d71c09 languageName: node linkType: hard -"@storybook/preview@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/preview@npm:7.6.7" - checksum: caf4c9e52ff81a420f2cd14677d137e5af91da05303276712e0d7e96f8458e2cf71ef880a1736f92da083b0ef0ad9e1e75fa1174a6face8bc5797a5444f540b6 +"@storybook/preview@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/preview@npm:7.6.12" + checksum: bba55fcfd48b447249e89c393d59b8756283df3223127659c19689b6f64772d99fcd4f273c3f548f3a48237e6b577c30b820552c8561a68ac89536ed04718106 languageName: node linkType: hard @@ -5562,23 +5562,23 @@ __metadata: languageName: node linkType: hard -"@storybook/react-dom-shim@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/react-dom-shim@npm:7.6.7" +"@storybook/react-dom-shim@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/react-dom-shim@npm:7.6.12" peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: e5518543a87df2d8525ab6d48970398e82739f978317a3a6be8b9c1be116b947c6bca8cd4eddc918488f2d60ff6c12a63966e4e624a3b8b379fcf2846844dd69 + checksum: 07beffa0a674d15e061dbf7058a3d9ac718f38443dd974c6ad827cb818e676b19f29aa6ad7ff495dfa826fb1be999e6967bbff9b7c13bc2106727285b5824a8b languageName: node linkType: hard "@storybook/react-webpack5@npm:^7.6.6": - version: 7.6.7 - resolution: "@storybook/react-webpack5@npm:7.6.7" + version: 7.6.12 + resolution: "@storybook/react-webpack5@npm:7.6.12" dependencies: - "@storybook/builder-webpack5": 7.6.7 - "@storybook/preset-react-webpack": 7.6.7 - "@storybook/react": 7.6.7 + "@storybook/builder-webpack5": 7.6.12 + "@storybook/preset-react-webpack": 7.6.12 + "@storybook/react": 7.6.12 "@types/node": ^18.0.0 peerDependencies: "@babel/core": ^7.22.0 @@ -5590,21 +5590,21 @@ __metadata: optional: true typescript: optional: true - checksum: a273ebbfc076a3171f93d4946d920bf99ec0a832fda916b66543ddcadf4fbf05e2f21ca6e3942f520b81c9589ca7691188d9f833ffd0c4d04e8d31524e139aa7 + checksum: da491bca64f44ffe3b103ad24bce243e370d3f5297c94fad60689278e31f2025a4fdc97af39e43f2d4376b557b4d4f76a38174dd9b3fe6ab6a88916b4c102a10 languageName: node linkType: hard -"@storybook/react@npm:7.6.7, @storybook/react@npm:^7.6.6": - version: 7.6.7 - resolution: "@storybook/react@npm:7.6.7" +"@storybook/react@npm:7.6.12, @storybook/react@npm:^7.6.6": + version: 7.6.12 + resolution: "@storybook/react@npm:7.6.12" dependencies: - "@storybook/client-logger": 7.6.7 - "@storybook/core-client": 7.6.7 - "@storybook/docs-tools": 7.6.7 + "@storybook/client-logger": 7.6.12 + "@storybook/core-client": 7.6.12 + "@storybook/docs-tools": 7.6.12 "@storybook/global": ^5.0.0 - "@storybook/preview-api": 7.6.7 - "@storybook/react-dom-shim": 7.6.7 - "@storybook/types": 7.6.7 + "@storybook/preview-api": 7.6.12 + "@storybook/react-dom-shim": 7.6.12 + "@storybook/types": 7.6.12 "@types/escodegen": ^0.0.6 "@types/estree": ^0.0.51 "@types/node": ^18.0.0 @@ -5626,61 +5626,61 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 010707cf34f1ac982bdb4d6a364d89a7ebb3c10eb8f40793147c71bed2eeb4320fb2ab2a791073ad748b18a3a20d0ba85345415f3b155c864fb0cfb4f5677ba6 + checksum: 0ce429949fa9f713d801d33c3d0011f8a2dbd73b60d19131bc05a6af6514ce0a404fcdda78c1ad97702006c72d50f31ebe3a787e90338f1df027b57ceb65ce30 languageName: node linkType: hard -"@storybook/router@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/router@npm:7.6.7" +"@storybook/router@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/router@npm:7.6.12" dependencies: - "@storybook/client-logger": 7.6.7 + "@storybook/client-logger": 7.6.12 memoizerific: ^1.11.3 qs: ^6.10.0 - checksum: b25f03b63b00851b3224d0ed97e4bf495b513d7e8af9aafc9eeab4c72b7561f848ec15f8595519056fc8a71b88fa75614252ce253c4c662d995bcaef6f98da5c + checksum: 9effbf80b2871a80debe300c5ef087da2ae875ec11cb0d13becdd534848fa698ae5f6cbc59c70d2253c5550d4eb6be2d0ec4d217519dafac325366bedd0de1d6 languageName: node linkType: hard -"@storybook/telemetry@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/telemetry@npm:7.6.7" +"@storybook/telemetry@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/telemetry@npm:7.6.12" dependencies: - "@storybook/client-logger": 7.6.7 - "@storybook/core-common": 7.6.7 - "@storybook/csf-tools": 7.6.7 + "@storybook/client-logger": 7.6.12 + "@storybook/core-common": 7.6.12 + "@storybook/csf-tools": 7.6.12 chalk: ^4.1.0 detect-package-manager: ^2.0.1 fetch-retry: ^5.0.2 fs-extra: ^11.1.0 read-pkg-up: ^7.0.1 - checksum: 6b6786aef18a9133fed870e4030dbbab971d6dfc809ee81c6079f7816d34dd9295c35e796a772011c9dd6006abf7eb9b9c743f5e06e831a1d7e077f91ad81364 + checksum: 1aea8af10d851d44d784bdd7a35f4223e3198efafbed494f2f7faeb17e747f3915fe99574830be1919ae50766cd0fd73cb92a4d6535a88a0c434bfa64079ba3d languageName: node linkType: hard -"@storybook/theming@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/theming@npm:7.6.7" +"@storybook/theming@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/theming@npm:7.6.12" dependencies: "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 - "@storybook/client-logger": 7.6.7 + "@storybook/client-logger": 7.6.12 "@storybook/global": ^5.0.0 memoizerific: ^1.11.3 peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: a8f144e693167b10f170ff56ec38551f6606c7cc04450446838d7cb6ae15f5e1b82d2264cd24c0a75e8949b4cce2fe1d5f17cec88797e43f038a1d7832e8d72d + checksum: e72a7ef3fa4ec3987b69fb4ffbfaa08e9f475877969b02c0279dbae0c69fff193570f04df8d803915c8ee958f48d3c4c083bd6e368de6a47e25debe49eae80d4 languageName: node linkType: hard -"@storybook/types@npm:7.6.7": - version: 7.6.7 - resolution: "@storybook/types@npm:7.6.7" +"@storybook/types@npm:7.6.12": + version: 7.6.12 + resolution: "@storybook/types@npm:7.6.12" dependencies: - "@storybook/channels": 7.6.7 + "@storybook/channels": 7.6.12 "@types/babel__core": ^7.0.0 "@types/express": ^4.7.0 file-system-cache: 2.3.0 - checksum: 3e3395409e42d0854b93afa12e6c588e6a47d42b9d60f714e71ee43f39356917ec1b5b1ab014155005091463bc4535a5e640dfc3d838da3517c6366e1d22a5a8 + checksum: d5d124063939008a67226d928ff662924c3eb76c372aec1403f7bb18fe60f51e93d6d7f83e44bc19e0492f8bc674b590b34be91231015525be160752bb72d698 languageName: node linkType: hard @@ -5827,90 +5827,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-darwin-arm64@npm:1.3.102" +"@swc/core-darwin-arm64@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-darwin-arm64@npm:1.3.107" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-darwin-x64@npm:1.3.102" +"@swc/core-darwin-x64@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-darwin-x64@npm:1.3.107" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.102" +"@swc/core-linux-arm-gnueabihf@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.107" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.102" +"@swc/core-linux-arm64-gnu@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.107" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.102" +"@swc/core-linux-arm64-musl@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.107" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.102" +"@swc/core-linux-x64-gnu@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.107" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-linux-x64-musl@npm:1.3.102" +"@swc/core-linux-x64-musl@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-linux-x64-musl@npm:1.3.107" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.102" +"@swc/core-win32-arm64-msvc@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.107" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.102" +"@swc/core-win32-ia32-msvc@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.107" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.102": - version: 1.3.102 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.102" +"@swc/core-win32-x64-msvc@npm:1.3.107": + version: 1.3.107 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.107" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.32, @swc/core@npm:^1.3.82": - version: 1.3.102 - resolution: "@swc/core@npm:1.3.102" - dependencies: - "@swc/core-darwin-arm64": 1.3.102 - "@swc/core-darwin-x64": 1.3.102 - "@swc/core-linux-arm-gnueabihf": 1.3.102 - "@swc/core-linux-arm64-gnu": 1.3.102 - "@swc/core-linux-arm64-musl": 1.3.102 - "@swc/core-linux-x64-gnu": 1.3.102 - "@swc/core-linux-x64-musl": 1.3.102 - "@swc/core-win32-arm64-msvc": 1.3.102 - "@swc/core-win32-ia32-msvc": 1.3.102 - "@swc/core-win32-x64-msvc": 1.3.102 + version: 1.3.107 + resolution: "@swc/core@npm:1.3.107" + dependencies: + "@swc/core-darwin-arm64": 1.3.107 + "@swc/core-darwin-x64": 1.3.107 + "@swc/core-linux-arm-gnueabihf": 1.3.107 + "@swc/core-linux-arm64-gnu": 1.3.107 + "@swc/core-linux-arm64-musl": 1.3.107 + "@swc/core-linux-x64-gnu": 1.3.107 + "@swc/core-linux-x64-musl": 1.3.107 + "@swc/core-win32-arm64-msvc": 1.3.107 + "@swc/core-win32-ia32-msvc": 1.3.107 + "@swc/core-win32-x64-msvc": 1.3.107 "@swc/counter": ^0.1.1 "@swc/types": ^0.1.5 peerDependencies: @@ -5939,7 +5939,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 45c0edb06f87a811e28fb3ed587fbe6b7ca67ff2440fe15666d43729788903a4af61e3b57842aecc0b2b70e3c9981b698d8233746ba94dfb5a19e1c62eea33ad + checksum: 0dccff50461fb8c0f4af053b70e555c91386cb07aa7657a7328d58e397d15640723587549416d8fa7dcc073ad11b39318146bd50ec4a82345ce2ce39c7ba4c00 languageName: node linkType: hard @@ -5951,14 +5951,14 @@ __metadata: linkType: hard "@swc/jest@npm:^0.2.26": - version: 0.2.29 - resolution: "@swc/jest@npm:0.2.29" + version: 0.2.34 + resolution: "@swc/jest@npm:0.2.34" dependencies: - "@jest/create-cache-key-function": ^27.4.2 + "@jest/create-cache-key-function": ^29.7.0 jsonc-parser: ^3.2.0 peerDependencies: "@swc/core": "*" - checksum: 9eaad322310f34e81f67d41411a7d60663341af1bd9fb65456faa914c936d849d6f643fa3b942a187d52e71e62c33097098c639d25c2047fa874f49bf51cec76 + checksum: 8f92f9f45661dd728876d6b9bb619e96b463c9d2940c9038ab7fb1cd48f04e4b1763da39a0d0473750fee0e825bb9a9e3653b9a884d928da8f40004e7ee9554f languageName: node linkType: hard @@ -6053,8 +6053,8 @@ __metadata: linkType: hard "@testing-library/react@npm:^14.1.2": - version: 14.1.2 - resolution: "@testing-library/react@npm:14.1.2" + version: 14.2.1 + resolution: "@testing-library/react@npm:14.2.1" dependencies: "@babel/runtime": ^7.12.5 "@testing-library/dom": ^9.0.0 @@ -6062,7 +6062,7 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 0269903e53412cf96fddb55c8a97a9987a89c3308d71fa1418fe61c47d275445e7044c5387f57cf39b8cda319a41623dbad2cce7a17016aed3a9e85185aac75a + checksum: 7054ae69a0e06c0777da8105fa08fac7e8dac570476a065285d7b993947acda5c948598764a203ebaac759c161c562d6712f19f5bd08be3f09a07e23baee5426 languageName: node linkType: hard @@ -6324,7 +6324,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^1.0.0": +"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: dd8b5bed28e6213b7acd0fb665a84e693554d850b0df423ac8076cc3ad5823a6bc26b0251d080bdc545af83179ede51dd3f6fa78cad2c46ed1f29624ddf3e41a @@ -6496,12 +6496,12 @@ __metadata: linkType: hard "@types/jest@npm:*, @types/jest@npm:^29.5.2": - version: 29.5.11 - resolution: "@types/jest@npm:29.5.11" + version: 29.5.12 + resolution: "@types/jest@npm:29.5.12" dependencies: expect: ^29.0.0 pretty-format: ^29.0.0 - checksum: f892a06ec9f0afa9a61cd7fa316ec614e21d4df1ad301b5a837787e046fcb40dfdf7f264a55e813ac6b9b633cb9d366bd5b8d1cea725e84102477b366df23fdd + checksum: 19b1efdeed9d9a60a81edc8226cdeae5af7479e493eaed273e01243891c9651f7b8b4c08fc633a7d0d1d379b091c4179bbaa0807af62542325fd72f2dd17ce1c languageName: node linkType: hard @@ -6631,30 +6631,21 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 20.10.6 - resolution: "@types/node@npm:20.10.6" +"@types/node@npm:*, @types/node@npm:^20.11.5": + version: 20.11.16 + resolution: "@types/node@npm:20.11.16" dependencies: undici-types: ~5.26.4 - checksum: ada40e4ccbda3697dca88f8d13f4c996c493be6fbc15f5f5d3b91096d56bd700786a2c148a92a2b4c5d1f133379e63f754a786b3aebfc6a7d09fc7ea16dc017b + checksum: 51f0831c1219bf4698e7430aeb9892237bd851deeb25ce23c5bb0ceefcc77c3b114e48f4e98d9fc26def5a87ba9d8079f0281dd37bee691140a93f133812c152 languageName: node linkType: hard "@types/node@npm:^18.0.0": - version: 18.19.5 - resolution: "@types/node@npm:18.19.5" - dependencies: - undici-types: ~5.26.4 - checksum: 6dab1b67e00ac32799674d22bafa63ea99ddb8218117582660fb89671a1b2343caafb43ed7447320102f299333a475176f5bc11a9b0f1591439d548f93e0c219 - languageName: node - linkType: hard - -"@types/node@npm:^20.11.5": - version: 20.11.5 - resolution: "@types/node@npm:20.11.5" + version: 18.19.14 + resolution: "@types/node@npm:18.19.14" dependencies: undici-types: ~5.26.4 - checksum: a542727de1334ae20a3ca034b0ecf4b464a57ca01efc4f9cf43bd9ab93896125ab3c2de060ecd8f6ae23b86c6bf3463f681b643e69c032c6a662d376c98a6092 + checksum: 3d42b50e649f18c6ca7044714eaeb51ba5fda463c845eeb1973bcbbfcab8e93179501fbf865e675cb0c7a5e59f7ea18eca8296b52c2455c856aa45c77ae815dc languageName: node linkType: hard @@ -6742,13 +6733,13 @@ __metadata: linkType: hard "@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.2.6": - version: 18.2.47 - resolution: "@types/react@npm:18.2.47" + version: 18.2.52 + resolution: "@types/react@npm:18.2.52" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 49608f07f73374e535b21f99fee28e6cfd5801d887c6ed88c41b4dc701dbcee9f0c4d289d9af7b2b23114f76dbf203ffe2c9191bfb4958cf18dae5a25daedbd0 + checksum: 4abc9bd63879e57c3df43a9cacff54c079e21b61ef934d33801e0177c26f582aa7d1d88a0769a740a4fd273168e3b150ff61de23e0fa85d1070e82ddce2b7fd2 languageName: node linkType: hard @@ -6889,9 +6880,9 @@ __metadata: linkType: hard "@types/validator@npm:^13.7.6": - version: 13.11.7 - resolution: "@types/validator@npm:13.11.7" - checksum: 975ad31728f3e32278f090545b879453d5d2b26dd159c6b632efb79e748711bca15e6339b93e85c33b48208b1aee262d3043246118aa3c67a74fb0f89700b1d5 + version: 13.11.8 + resolution: "@types/validator@npm:13.11.8" + checksum: 9e8e8a0e95c3acac60e740d10729076e810350a5975523560c0232bb3c414f381fb7f246405fda3454db694fa5a1c0f00d7e9070023a078abee036b8d7b67770 languageName: node linkType: hard @@ -6954,14 +6945,14 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^6.9.1": - version: 6.18.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.18.0" + version: 6.20.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.20.0" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.18.0 - "@typescript-eslint/type-utils": 6.18.0 - "@typescript-eslint/utils": 6.18.0 - "@typescript-eslint/visitor-keys": 6.18.0 + "@typescript-eslint/scope-manager": 6.20.0 + "@typescript-eslint/type-utils": 6.20.0 + "@typescript-eslint/utils": 6.20.0 + "@typescript-eslint/visitor-keys": 6.20.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 @@ -6974,7 +6965,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: a0e946c03b3d55326fa2f090341c57063670d654ab3681f48e88af940d2ee843bd4d124655e27820ae284b705232ecfc0665ad39ace95d5210c04ee66d57d58d + checksum: d002cbe1a99aef5d5b1601702f08a9e3c060ab5355707b4428ec61854b88513e625e5a898dc9fded669a4b33bb71a216aa7799f0e0c58ee00150218c69e7959c languageName: node linkType: hard @@ -7016,13 +7007,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/scope-manager@npm:6.18.0" +"@typescript-eslint/scope-manager@npm:6.20.0": + version: 6.20.0 + resolution: "@typescript-eslint/scope-manager@npm:6.20.0" dependencies: - "@typescript-eslint/types": 6.18.0 - "@typescript-eslint/visitor-keys": 6.18.0 - checksum: 9958dcd95605b9699e1fe823cc38869d542f2cb90cde443938c1352de4161703ed6619e772bc12b8b7df2a44623ebf1e6b2b8d1222e5df22880185d0652040ee + "@typescript-eslint/types": 6.20.0 + "@typescript-eslint/visitor-keys": 6.20.0 + checksum: 54a06c485d4be6ac95b283fe2e29c2cd8a9a0b159d0f38e5f670dd2e1265358e2ad7b4442a0c61870430b38a6d0bf640843caaaf4c7f122523455221bbb3b011 languageName: node linkType: hard @@ -7043,12 +7034,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/type-utils@npm:6.18.0" +"@typescript-eslint/type-utils@npm:6.20.0": + version: 6.20.0 + resolution: "@typescript-eslint/type-utils@npm:6.20.0" dependencies: - "@typescript-eslint/typescript-estree": 6.18.0 - "@typescript-eslint/utils": 6.18.0 + "@typescript-eslint/typescript-estree": 6.20.0 + "@typescript-eslint/utils": 6.20.0 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -7056,7 +7047,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 537b2f0b85c4225538a14e5030fc25c3f6ea610ea59dd9ac25e59a2aadd01344e2b154fcd5ab2245d055d977e4ff2b7ab30369f28eb78b6059702a2899fbdd3c + checksum: 438702c626706cb62f0fcbbb3e3c5c8946ade84f170c182eaebb43604716d2dbf05fac105bdbcb968f3d3375e8076bed8bf095ab65dc891666c91d9174bced6f languageName: node linkType: hard @@ -7067,10 +7058,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/types@npm:6.18.0" - checksum: 516ad2feb7e7c7b5aac805b287be794e6e42371bc6a5bdd7c9fc230d98bbbcc4877c96377ccce68aede68ec58a64ef9d1e4c5b15cfb55e9a050bafe7b36624c1 +"@typescript-eslint/types@npm:6.20.0": + version: 6.20.0 + resolution: "@typescript-eslint/types@npm:6.20.0" + checksum: a4551ce9ce40119c2401a70d5a0f9fd16eec4771d076933983fd5fd4a42c0d9a1ac883dfa7640ddec0459057005d4ef4fd19d681b14b8cef89b094283a117f5f languageName: node linkType: hard @@ -7092,12 +7083,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.18.0" +"@typescript-eslint/typescript-estree@npm:6.20.0": + version: 6.20.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.20.0" dependencies: - "@typescript-eslint/types": 6.18.0 - "@typescript-eslint/visitor-keys": 6.18.0 + "@typescript-eslint/types": 6.20.0 + "@typescript-eslint/visitor-keys": 6.20.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -7107,7 +7098,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 64afa0a81af66dfcb1d3027872abc07451691dff956c8b3174da675307050404c720465be5322490859d633e76705fd5e0fd5f040aa4cc1078bd837281e52065 + checksum: 256cdeae8c9c365f23ab1cefb29b9bc20451fc7b879651f47fd388e13976b62ecd0da56bf5b7a5d7050de1160b0e05fc841c4e5b0e91d8b03728a52d76e8caf9 languageName: node linkType: hard @@ -7129,20 +7120,20 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/utils@npm:6.18.0" +"@typescript-eslint/utils@npm:6.20.0": + version: 6.20.0 + resolution: "@typescript-eslint/utils@npm:6.20.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.18.0 - "@typescript-eslint/types": 6.18.0 - "@typescript-eslint/typescript-estree": 6.18.0 + "@typescript-eslint/scope-manager": 6.20.0 + "@typescript-eslint/types": 6.20.0 + "@typescript-eslint/typescript-estree": 6.20.0 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 5c8ab14838d5dcc857de43781687b105d972941bd4a08e63d14b6485a3944a77c867c162f14eca9ef526170b26423a0d4a828a0b22d88cb34f99835233152dff + checksum: 1c248ce34b612e922796c3bbb323d05994f4bca5d49a200ff14f2d7522c9ca5bdf08613c4f2187c9242f67d73f9c2ec5d07b05c5af7034a2e57843b99230b0b0 languageName: node linkType: hard @@ -7156,13 +7147,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.18.0": - version: 6.18.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.18.0" +"@typescript-eslint/visitor-keys@npm:6.20.0": + version: 6.20.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.20.0" dependencies: - "@typescript-eslint/types": 6.18.0 + "@typescript-eslint/types": 6.20.0 eslint-visitor-keys: ^3.4.1 - checksum: d6b1958867f3287c4e2c4f80633346a676060181e27ef69a1aad68634c62311738a3aad49e61c1d30d8e31800de146424ca8b33483d033132d90bf0c2f31cac8 + checksum: 6a360f16b7b28d3cbb539252d17c6ac8519fd26e5f27f895cd7d400e9ec428b67ecda131f2bd2d57144c0436dcdb15022749b163a46c61e62af2312e8e3be488 languageName: node linkType: hard @@ -8528,7 +8519,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.18.1, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.22.2": +"browserslist@npm:^4.0.0, browserslist@npm:^4.18.1, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.22.2": version: 4.22.2 resolution: "browserslist@npm:4.22.2" dependencies: @@ -8974,7 +8965,7 @@ __metadata: languageName: node linkType: hard -"cjs-module-lexer@npm:^1.0.0": +"cjs-module-lexer@npm:^1.0.0, cjs-module-lexer@npm:^1.2.3": version: 1.2.3 resolution: "cjs-module-lexer@npm:1.2.3" checksum: 5ea3cb867a9bb609b6d476cd86590d105f3cfd6514db38ff71f63992ab40939c2feb68967faa15a6d2b1f90daa6416b79ea2de486e9e2485a6f8b66a21b4fb0a @@ -9659,39 +9650,27 @@ __metadata: languageName: node linkType: hard -"css-loader@npm:^6.5.1, css-loader@npm:^6.7.1": - version: 6.8.1 - resolution: "css-loader@npm:6.8.1" +"css-loader@npm:^6.5.1, css-loader@npm:^6.7.1, css-loader@npm:^6.9.0": + version: 6.10.0 + resolution: "css-loader@npm:6.10.0" dependencies: icss-utils: ^5.1.0 - postcss: ^8.4.21 + postcss: ^8.4.33 postcss-modules-extract-imports: ^3.0.0 - postcss-modules-local-by-default: ^4.0.3 - postcss-modules-scope: ^3.0.0 - postcss-modules-values: ^4.0.0 - postcss-value-parser: ^4.2.0 - semver: ^7.3.8 - peerDependencies: - webpack: ^5.0.0 - checksum: 7c1784247bdbe76dc5c55fb1ac84f1d4177a74c47259942c9cfdb7a8e6baef11967a0bc85ac285f26bd26d5059decb848af8154a03fdb4f4894f41212f45eef3 - languageName: node - linkType: hard - -"css-loader@npm:^6.9.0": - version: 6.9.0 - resolution: "css-loader@npm:6.9.0" - dependencies: - icss-utils: ^5.1.0 - postcss: ^8.4.31 - postcss-modules-extract-imports: ^3.0.0 - postcss-modules-local-by-default: ^4.0.3 - postcss-modules-scope: ^3.1.0 + postcss-modules-local-by-default: ^4.0.4 + postcss-modules-scope: ^3.1.1 postcss-modules-values: ^4.0.0 postcss-value-parser: ^4.2.0 semver: ^7.5.4 peerDependencies: + "@rspack/core": 0.x || 1.x webpack: ^5.0.0 - checksum: 71f20ee5eb5a4a9373ab41a5c17df411cb4f6f2de037297a2b0c2150681578f4979f319f4307a61e23c231dd6546e657ae95cba5a0698ad13ca43f91d4d2a0bc + peerDependenciesMeta: + "@rspack/core": + optional: true + webpack: + optional: true + checksum: ee3d62b5f7e4eb24281a22506431e920d07a45bd6ea627731ce583f3c6a846ab8b8b703bace599b9b35256b9e762f9f326d969abb72b69c7e6055eacf39074fd languageName: node linkType: hard @@ -10543,9 +10522,9 @@ __metadata: linkType: hard "dotenv@npm:^16.0.0, dotenv@npm:^16.3.1": - version: 16.3.1 - resolution: "dotenv@npm:16.3.1" - checksum: 15d75e7279018f4bafd0ee9706593dd14455ddb71b3bcba9c52574460b7ccaf67d5cf8b2c08a5af1a9da6db36c956a04a1192b101ee102a3e0cf8817bbcf3dfd + version: 16.4.1 + resolution: "dotenv@npm:16.4.1" + checksum: a343f0a1d156deef8c60034f797969867af4dbccfacedd4ac15fad04547e7ffe0553b58fc3b27a5837950f0d977e38e9234943fbcec4aeced4e3d044309a76ab languageName: node linkType: hard @@ -11264,9 +11243,9 @@ __metadata: languageName: node linkType: hard -"eslint-mdx@npm:^2.3.2": - version: 2.3.2 - resolution: "eslint-mdx@npm:2.3.2" +"eslint-mdx@npm:^2.3.4": + version: 2.3.4 + resolution: "eslint-mdx@npm:2.3.4" dependencies: acorn: ^8.10.0 acorn-jsx: ^5.3.2 @@ -11284,7 +11263,7 @@ __metadata: vfile: ^5.3.7 peerDependencies: eslint: ">=8.0.0" - checksum: 13b2eedf5543549f289eb17319a46bdb832d0345f8cbc64f73de9d3f9ccf63b3534f7af0fbca9503c5101c9d1214cf8a69d0d97e15e4d4d8c49e730e0d5cf119 + checksum: 4be658f19899138e05f89e8f6d56cf24de80428b7027159d40150b7a5f26145ca9bc7565276f71ee92825c124c6e16be7e3e6852a2cdfda3a11de7ce2dfdbcd9 languageName: node linkType: hard @@ -11359,8 +11338,8 @@ __metadata: linkType: hard "eslint-plugin-jest@npm:^27.1.1": - version: 27.6.1 - resolution: "eslint-plugin-jest@npm:27.6.1" + version: 27.6.3 + resolution: "eslint-plugin-jest@npm:27.6.3" dependencies: "@typescript-eslint/utils": ^5.10.0 peerDependencies: @@ -11372,7 +11351,7 @@ __metadata: optional: true jest: optional: true - checksum: 03dc4784119a06504718b3ec1a5944c8d41fe73669d23433fa794e4059be857ec463da6d5982dcd2920da091fe7c5c033fa69a91f4dfbe3f41aac6db99b8c3d0 + checksum: e22e8dbd941b34bb95958f035ffabb94114506b294e74d6e411bc85bc9dc57888ffd3ebb5c28316a8b7cc9d391cca35557acc64bf815f48d1dcc5ea3d28fa43a languageName: node linkType: hard @@ -11414,10 +11393,10 @@ __metadata: linkType: hard "eslint-plugin-mdx@npm:^2.3.1": - version: 2.3.2 - resolution: "eslint-plugin-mdx@npm:2.3.2" + version: 2.3.4 + resolution: "eslint-plugin-mdx@npm:2.3.4" dependencies: - eslint-mdx: ^2.3.2 + eslint-mdx: ^2.3.4 eslint-plugin-markdown: ^3.0.1 remark-mdx: ^2.3.0 remark-parse: ^10.0.2 @@ -11427,7 +11406,7 @@ __metadata: vfile: ^5.3.7 peerDependencies: eslint: ">=8.0.0" - checksum: 4422828a615a345a7f755d60a7a5e036c7cc0e9b555b02a227fc680d570b727fde8a812a707ff56d7662a4f620b384e57f037698f2688ed3f1c34030c92aae64 + checksum: 1c0bd84f8a7760f2bfc709f651f2661b0492349878b1fb0b912c615f7fe86522c157afe2057191509d450d73cef2fddf6ae5fc8b698eefd8a9d47b8b5fabab43 languageName: node linkType: hard @@ -17075,13 +17054,14 @@ __metadata: linkType: hard "mini-css-extract-plugin@npm:^2.4.2, mini-css-extract-plugin@npm:^2.4.5, mini-css-extract-plugin@npm:^2.6.1": - version: 2.7.6 - resolution: "mini-css-extract-plugin@npm:2.7.6" + version: 2.8.0 + resolution: "mini-css-extract-plugin@npm:2.8.0" dependencies: schema-utils: ^4.0.0 + tapable: ^2.2.1 peerDependencies: webpack: ^5.0.0 - checksum: be6f7cefc6275168eb0a6b8fe977083a18c743c9612c9f00e6c1a62c3393ca7960e93fba1a7ebb09b75f36a0204ad087d772c1ef574bc29c90c0e8175a3c0b83 + checksum: c1edc3ee0e1b3514c3323fa72ad38e993f357964e76737f1d7bb6cf50a0af1ac071080ec16b4e1a94688d23f78533944badad50cd0f00d2ae176f9c58c1f2029 languageName: node linkType: hard @@ -18592,27 +18572,27 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.41.0": - version: 1.41.0 - resolution: "playwright-core@npm:1.41.0" +"playwright-core@npm:1.41.2": + version: 1.41.2 + resolution: "playwright-core@npm:1.41.2" bin: playwright-core: cli.js - checksum: 14671265916a1fd0c71d94640de19c48bcce3f7dec35530f10e349e97030ea44ffa8ee518cbf811501e3ab2b74874aecf917e46bf40fea0570db1d4bea1fe7ac + checksum: b41ede0db3fd3e3f7e0b0efbdfb2dbc4db345e113cf9c4451af21d1d5b5d9ab5e969f5662852925e37b2198ae5daab92aa48108fe3d4eb81c849ba8752aaf8cc languageName: node linkType: hard -"playwright@npm:1.41.0": - version: 1.41.0 - resolution: "playwright@npm:1.41.0" +"playwright@npm:1.41.2": + version: 1.41.2 + resolution: "playwright@npm:1.41.2" dependencies: fsevents: 2.3.2 - playwright-core: 1.41.0 + playwright-core: 1.41.2 dependenciesMeta: fsevents: optional: true bin: playwright: cli.js - checksum: e7c32136911c58e06b964fe7d33f8b3d8f6a067ae5218662a0811dd6c90e007db1774eb7e161f4aa748d760f404f4c066b7b7303c2b617f7448b6ee4b86c9999 + checksum: acf166003ec42cd795f5fca096c5135880d78e84ec2d0a1911b2cab984cf75dc06e50d3aa24b56cbcbc5369ca8c61831e76c5f8674531a272fbd0f6e624fa387 languageName: node linkType: hard @@ -19144,7 +19124,7 @@ __metadata: languageName: node linkType: hard -"postcss-modules-local-by-default@npm:^4.0.0, postcss-modules-local-by-default@npm:^4.0.3": +"postcss-modules-local-by-default@npm:^4.0.0": version: 4.0.3 resolution: "postcss-modules-local-by-default@npm:4.0.3" dependencies: @@ -19157,7 +19137,20 @@ __metadata: languageName: node linkType: hard -"postcss-modules-scope@npm:^3.0.0, postcss-modules-scope@npm:^3.1.0": +"postcss-modules-local-by-default@npm:^4.0.4": + version: 4.0.4 + resolution: "postcss-modules-local-by-default@npm:4.0.4" + dependencies: + icss-utils: ^5.0.0 + postcss-selector-parser: ^6.0.2 + postcss-value-parser: ^4.1.0 + peerDependencies: + postcss: ^8.1.0 + checksum: 578b955b0773147890caa88c30b10dfc849c5b1412a47ad51751890dba16fca9528c3ab00a19b186a8c2c150c2d08e2ce64d3d907800afee1f37c6d38252e365 + languageName: node + linkType: hard + +"postcss-modules-scope@npm:^3.0.0": version: 3.1.0 resolution: "postcss-modules-scope@npm:3.1.0" dependencies: @@ -19168,6 +19161,17 @@ __metadata: languageName: node linkType: hard +"postcss-modules-scope@npm:^3.1.1": + version: 3.1.1 + resolution: "postcss-modules-scope@npm:3.1.1" + dependencies: + postcss-selector-parser: ^6.0.4 + peerDependencies: + postcss: ^8.1.0 + checksum: 9e9d23abb0babc7fa243be65704d72a5a9ceb2bded4dbaef96a88210d468b03c8c3158c197f4e22300c851f08c6fdddd6ebe65f44e4c34448b45b8a2e063a16d + languageName: node + linkType: hard + "postcss-modules-values@npm:^4.0.0": version: 4.0.0 resolution: "postcss-modules-values@npm:4.0.0" @@ -19575,7 +19579,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.2.15, postcss@npm:^8.4.12, postcss@npm:^8.4.21, postcss@npm:^8.4.28": +"postcss@npm:^8.2.15, postcss@npm:^8.4.12, postcss@npm:^8.4.28": version: 8.4.32 resolution: "postcss@npm:8.4.32" dependencies: @@ -19586,7 +19590,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.3.5, postcss@npm:^8.4.23, postcss@npm:^8.4.31, postcss@npm:^8.4.4": +"postcss@npm:^8.3.5, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.4": version: 8.4.33 resolution: "postcss@npm:8.4.33" dependencies: @@ -19628,11 +19632,11 @@ __metadata: linkType: hard "prettier@npm:^3.0.3": - version: 3.1.1 - resolution: "prettier@npm:3.1.1" + version: 3.2.4 + resolution: "prettier@npm:3.2.4" bin: prettier: bin/prettier.cjs - checksum: e386855e3a1af86a748e16953f168be555ce66d6233f4ba54eb6449b88eb0c6b2ca79441b11eae6d28a7f9a5c96440ce50864b9d5f6356d331d39d6bb66c648e + checksum: 6ec9385a836e0b9bac549e585101c086d1521c31d7b882d5c8bb7d7646da0693da5f31f4fff6dc080710e5e2d34c85e6fb2f8766876b3645c8be2f33b9c3d1a3 languageName: node linkType: hard @@ -21402,7 +21406,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -21631,15 +21635,6 @@ __metadata: languageName: node linkType: hard -"simple-update-notifier@npm:^2.0.0": - version: 2.0.0 - resolution: "simple-update-notifier@npm:2.0.0" - dependencies: - semver: ^7.5.3 - checksum: 9ba00d38ce6a29682f64a46213834e4eb01634c2f52c813a9a7b8873ca49cdbb703696f3290f3b27dc067de6d9418b0b84bef22c3eb074acf352529b2d6c27fd - languageName: node - linkType: hard - "sirv@npm:^2.0.3": version: 2.0.4 resolution: "sirv@npm:2.0.4" @@ -22014,14 +22009,14 @@ __metadata: linkType: hard "storybook@npm:^7.6.6": - version: 7.6.7 - resolution: "storybook@npm:7.6.7" + version: 7.6.12 + resolution: "storybook@npm:7.6.12" dependencies: - "@storybook/cli": 7.6.7 + "@storybook/cli": 7.6.12 bin: sb: ./index.js storybook: ./index.js - checksum: 8954904e0c513097ac11f80946ceaf7461df8eed6492423c6be67b0d9a73f002c9f61556665dab93852b3e99292c380195b2e5aa2abf569389ae8e813cf95efe + checksum: e497c5074476cdec8da771b94721c683a777622fcae941a4e4ea19091ea40258d22cb92e3a8b9a17c93c9c27f19a71b133300d3bac43e840f41f9119829a42de languageName: node linkType: hard @@ -22580,12 +22575,12 @@ __metadata: linkType: hard "swc-loader@npm:^0.2.3": - version: 0.2.3 - resolution: "swc-loader@npm:0.2.3" + version: 0.2.4 + resolution: "swc-loader@npm:0.2.4" peerDependencies: "@swc/core": ^1.2.147 webpack: ">=2" - checksum: 010d84d399525c0185d36d62c86c55ae017e7a90046bc8a39be4b7e07526924037868049f6037bc966da98151cb2600934b96a66279b742d3c413a718b427251 + checksum: f23bfe8900b35abdcb9910a2749f3c9d66edf5c660afc67fcf7983647eaec322e024d1edd3bd9fd48bd3191eea0616f67b5f8b5f923e3a648fa5b448683c3213 languageName: node linkType: hard @@ -22827,7 +22822,7 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.2.5, terser-webpack-plugin@npm:^5.3.1, terser-webpack-plugin@npm:^5.3.7": +"terser-webpack-plugin@npm:^5.2.5, terser-webpack-plugin@npm:^5.3.1, terser-webpack-plugin@npm:^5.3.10": version: 5.3.10 resolution: "terser-webpack-plugin@npm:5.3.10" dependencies: @@ -23346,9 +23341,9 @@ __metadata: linkType: hard "type-fest@npm:^4.8.1": - version: 4.9.0 - resolution: "type-fest@npm:4.9.0" - checksum: 73383de23237b399a70397a53101152548846d919aebcc7d8733000c6c354dc2632fe37c4a70b8571b79fdbfa099e2d8304c5ac56b3254780acff93e4c7a797f + version: 4.10.2 + resolution: "type-fest@npm:4.10.2" + checksum: ef75736d51c10a885f955c07aed8f46103a8c9ae93742a75fbbdf023dd0e7169c524ebef292f37de19806051fb1bdd96c4098a0101c5f869f80db73bcb484bb1 languageName: node linkType: hard @@ -24425,13 +24420,13 @@ __metadata: linkType: hard "webpack-hot-middleware@npm:^2.25.1": - version: 2.26.0 - resolution: "webpack-hot-middleware@npm:2.26.0" + version: 2.26.1 + resolution: "webpack-hot-middleware@npm:2.26.1" dependencies: ansi-html-community: 0.0.8 html-entities: ^2.1.0 strip-ansi: ^6.0.0 - checksum: c20877a287b2af46e27f03f279fce23eedb5f81f80e299bc814bf2b7744e3b1e2ce43ff404b1d9e16d3dcf53be5c0b416c475f430c24b113f2d1858d8499627b + checksum: 78513d8d5770c59c3039ce094c49b2e2772b3f1d4ec5c124a7aabe6124a0e08429993b81129649087dc300f496822257e39135bf8b891b51aea197c1b554072a languageName: node linkType: hard @@ -24500,17 +24495,17 @@ __metadata: linkType: hard "webpack@npm:5, webpack@npm:^5.64.4, webpack@npm:^5.89.0": - version: 5.89.0 - resolution: "webpack@npm:5.89.0" + version: 5.90.1 + resolution: "webpack@npm:5.90.1" dependencies: "@types/eslint-scope": ^3.7.3 - "@types/estree": ^1.0.0 + "@types/estree": ^1.0.5 "@webassemblyjs/ast": ^1.11.5 "@webassemblyjs/wasm-edit": ^1.11.5 "@webassemblyjs/wasm-parser": ^1.11.5 acorn: ^8.7.1 acorn-import-assertions: ^1.9.0 - browserslist: ^4.14.5 + browserslist: ^4.21.10 chrome-trace-event: ^1.0.2 enhanced-resolve: ^5.15.0 es-module-lexer: ^1.2.1 @@ -24524,7 +24519,7 @@ __metadata: neo-async: ^2.6.2 schema-utils: ^3.2.0 tapable: ^2.1.1 - terser-webpack-plugin: ^5.3.7 + terser-webpack-plugin: ^5.3.10 watchpack: ^2.4.0 webpack-sources: ^3.2.3 peerDependenciesMeta: @@ -24532,7 +24527,7 @@ __metadata: optional: true bin: webpack: bin/webpack.js - checksum: 43fe0dbc30e168a685ef5a86759d5016a705f6563b39a240aa00826a80637d4a3deeb8062e709d6a4b05c63e796278244c84b04174704dc4a37bedb0f565c5ed + checksum: a7be844d5720a0c6282fec012e6fa34b1137dff953c5d48bf2ef066a6c27c1dbc92a9b9effc05ee61c9fe269499266db9782073f2d82a589d3c5c966ffc56584 languageName: node linkType: hard From 366eef3f81578aabc007d1730cea472ce1e3641f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 11:26:45 +0000 Subject: [PATCH 04/27] Update codecov/codecov-action action to v3.1.6 (#451) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61b2fd3632..1f05d143dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,7 +94,7 @@ jobs: MITOPEN_COOKIE_NAME: cookie_monster - name: Upload coverage to CodeCov - uses: codecov/codecov-action@v3.1.4 + uses: codecov/codecov-action@v3.1.6 with: file: ./coverage.xml @@ -139,7 +139,7 @@ jobs: NODE_ENV: test - name: Upload coverage to CodeCov - uses: codecov/codecov-action@v3.1.4 + uses: codecov/codecov-action@v3.1.6 with: file: coverage/lcov.info From 5fcefb1e26195c7ef00346f51e37d63e542ff733 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 12:54:37 +0000 Subject: [PATCH 05/27] Update dependency axios to v1.6.7 (#452) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index e51b5d0fb0..55e664024f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8024,13 +8024,13 @@ __metadata: linkType: hard "axios@npm:^1.6.3": - version: 1.6.5 - resolution: "axios@npm:1.6.5" + version: 1.6.7 + resolution: "axios@npm:1.6.7" dependencies: follow-redirects: ^1.15.4 form-data: ^4.0.0 proxy-from-env: ^1.1.0 - checksum: e28d67b2d9134cb4608c44d8068b0678cfdccc652742e619006f27264a30c7aba13b2cd19c6f1f52ae195b5232734925928fb192d5c85feea7edd2f273df206d + checksum: 87d4d429927d09942771f3b3a6c13580c183e31d7be0ee12f09be6d5655304996bb033d85e54be81606f4e89684df43be7bf52d14becb73a12727bf33298a082 languageName: node linkType: hard From 2815fd9ce4dc8ea77bca6aa4ffe034e7c5796526 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 16:36:59 +0000 Subject: [PATCH 06/27] Update dependency beautifulsoup4 to v4.12.3 (#453) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1d1d94ebdd..6a7fe08b9e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -89,19 +89,22 @@ files = [ [[package]] name = "beautifulsoup4" -version = "4.12.2" +version = "4.12.3" description = "Screen-scraping library" optional = false python-versions = ">=3.6.0" files = [ - {file = "beautifulsoup4-4.12.2-py3-none-any.whl", hash = "sha256:bd2520ca0d9d7d12694a53d44ac482d181b4ec1888909b035a3dbf40d0f57d4a"}, - {file = "beautifulsoup4-4.12.2.tar.gz", hash = "sha256:492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da"}, + {file = "beautifulsoup4-4.12.3-py3-none-any.whl", hash = "sha256:b80878c9f40111313e55da8ba20bdba06d8fa3969fc68304167741bbf9e082ed"}, + {file = "beautifulsoup4-4.12.3.tar.gz", hash = "sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051"}, ] [package.dependencies] soupsieve = ">1.2" [package.extras] +cchardet = ["cchardet"] +chardet = ["chardet"] +charset-normalizer = ["charset-normalizer"] html5lib = ["html5lib"] lxml = ["lxml"] From e75cf7a28a30b391dc3853302877375af34fa85d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 18:25:38 +0000 Subject: [PATCH 07/27] Update dependency boto3 to v1.34.34 (#454) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 6a7fe08b9e..7995631e7d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -148,17 +148,17 @@ files = [ [[package]] name = "boto3" -version = "1.34.14" +version = "1.34.34" description = "The AWS SDK for Python" optional = false python-versions = ">= 3.8" files = [ - {file = "boto3-1.34.14-py3-none-any.whl", hash = "sha256:1f94042f4efb5133b6b9b8b3243afc01143a81d21b3197a3afadf5780f97b05d"}, - {file = "boto3-1.34.14.tar.gz", hash = "sha256:5c1bb487c68120aae236354d81b8a1a55d0aa3395d30748a01825ef90891921e"}, + {file = "boto3-1.34.34-py3-none-any.whl", hash = "sha256:33a8b6d9136fa7427160edb92d2e50f2035f04e9d63a2d1027349053e12626aa"}, + {file = "boto3-1.34.34.tar.gz", hash = "sha256:b2f321e20966f021ec800b7f2c01287a3dd04fc5965acdfbaa9c505a24ca45d1"}, ] [package.dependencies] -botocore = ">=1.34.14,<1.35.0" +botocore = ">=1.34.34,<1.35.0" jmespath = ">=0.7.1,<2.0.0" s3transfer = ">=0.10.0,<0.11.0" @@ -167,13 +167,13 @@ crt = ["botocore[crt] (>=1.21.0,<2.0a0)"] [[package]] name = "botocore" -version = "1.34.14" +version = "1.34.34" description = "Low-level, data-driven core of boto 3." optional = false python-versions = ">= 3.8" files = [ - {file = "botocore-1.34.14-py3-none-any.whl", hash = "sha256:3b592f50f0406e236782a3a0a9ad1c3976060fdb2e04a23d18c3df5b7dfad3e0"}, - {file = "botocore-1.34.14.tar.gz", hash = "sha256:041bed0852649cab7e4dcd4d87f9d1cc084467fb846e5b60015e014761d96414"}, + {file = "botocore-1.34.34-py3-none-any.whl", hash = "sha256:cd060b0d88ebb2b893f1411c1db7f2ba66cc18e52dcc57ad029564ef5fec437b"}, + {file = "botocore-1.34.34.tar.gz", hash = "sha256:54093dc97372bb7683f5c61a279aa8240408abf3b2cc494ae82a9a90c1b784b5"}, ] [package.dependencies] From b2fab156b50a886762f6db815907f875b1e0e210 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 23:08:11 +0000 Subject: [PATCH 08/27] Update dependency drf-spectacular to v0.27.1 (#456) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 7995631e7d..67240d60a3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1179,13 +1179,13 @@ djangorestframework = ">=3.14.0" [[package]] name = "drf-spectacular" -version = "0.27.0" +version = "0.27.1" description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework" optional = false python-versions = ">=3.6" files = [ - {file = "drf-spectacular-0.27.0.tar.gz", hash = "sha256:18d7ae74b2b5d533fd31f1c591ebaa5cce1447e0976ced927401e3163040dea9"}, - {file = "drf_spectacular-0.27.0-py3-none-any.whl", hash = "sha256:6ab2d20674244e8c940c2883f744b43c34fc68c70ea3aefa802f574108c9699b"}, + {file = "drf-spectacular-0.27.1.tar.gz", hash = "sha256:452e0cff3c12ee057b897508a077562967b9e62717992eeec10e62dbbc7b5a33"}, + {file = "drf_spectacular-0.27.1-py3-none-any.whl", hash = "sha256:0a4cada4b7136a0bf17233476c066c511a048bc6a485ae2140326ac7ba4003b2"}, ] [package.dependencies] From e3720665e817170b6ac73736a2c73e4aa821d821 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 00:31:08 +0000 Subject: [PATCH 09/27] Update dependency moto to v4.2.14 (#457) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index 67240d60a3..1d3c40425a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1939,13 +1939,13 @@ traitlets = "*" [[package]] name = "moto" -version = "4.2.13" +version = "4.2.14" description = "" optional = false python-versions = ">=3.7" files = [ - {file = "moto-4.2.13-py2.py3-none-any.whl", hash = "sha256:93e0fd13b624bd79115494f833308c3641b2be0fc9f4f18aa9264aa01f6168e0"}, - {file = "moto-4.2.13.tar.gz", hash = "sha256:01aef6a489a725c8d725bd3dc6f70ff1bedaee3e2641752e4b471ff0ede4b4d7"}, + {file = "moto-4.2.14-py2.py3-none-any.whl", hash = "sha256:6d242dbbabe925bb385ddb6958449e5c827670b13b8e153ed63f91dbdb50372c"}, + {file = "moto-4.2.14.tar.gz", hash = "sha256:8f9263ca70b646f091edcc93e97cda864a542e6d16ed04066b1370ed217bd190"}, ] [package.dependencies] @@ -1968,18 +1968,13 @@ awslambda = ["docker (>=3.0.0)"] batch = ["docker (>=3.0.0)"] cloudformation = ["PyYAML (>=5.1)", "aws-xray-sdk (>=0.93,!=0.96)", "cfn-lint (>=0.40.0)", "docker (>=3.0.0)", "ecdsa (!=0.15)", "graphql-core", "jsondiff (>=1.1.2)", "openapi-spec-validator (>=0.5.0)", "py-partiql-parser (==0.5.0)", "pyparsing (>=3.0.7)", "python-jose[cryptography] (>=3.1.0,<4.0.0)", "setuptools", "sshpubkeys (>=3.1.0)"] cognitoidp = ["ecdsa (!=0.15)", "python-jose[cryptography] (>=3.1.0,<4.0.0)"] -ds = ["sshpubkeys (>=3.1.0)"] dynamodb = ["docker (>=3.0.0)", "py-partiql-parser (==0.5.0)"] dynamodbstreams = ["docker (>=3.0.0)", "py-partiql-parser (==0.5.0)"] -ebs = ["sshpubkeys (>=3.1.0)"] ec2 = ["sshpubkeys (>=3.1.0)"] -efs = ["sshpubkeys (>=3.1.0)"] -eks = ["sshpubkeys (>=3.1.0)"] glue = ["pyparsing (>=3.0.7)"] iotdata = ["jsondiff (>=1.1.2)"] proxy = ["PyYAML (>=5.1)", "aws-xray-sdk (>=0.93,!=0.96)", "cfn-lint (>=0.40.0)", "docker (>=2.5.1)", "ecdsa (!=0.15)", "graphql-core", "jsondiff (>=1.1.2)", "multipart", "openapi-spec-validator (>=0.5.0)", "py-partiql-parser (==0.5.0)", "pyparsing (>=3.0.7)", "python-jose[cryptography] (>=3.1.0,<4.0.0)", "setuptools", "sshpubkeys (>=3.1.0)"] -resourcegroupstaggingapi = ["PyYAML (>=5.1)", "cfn-lint (>=0.40.0)", "docker (>=3.0.0)", "ecdsa (!=0.15)", "graphql-core", "jsondiff (>=1.1.2)", "openapi-spec-validator (>=0.5.0)", "py-partiql-parser (==0.5.0)", "pyparsing (>=3.0.7)", "python-jose[cryptography] (>=3.1.0,<4.0.0)", "sshpubkeys (>=3.1.0)"] -route53resolver = ["sshpubkeys (>=3.1.0)"] +resourcegroupstaggingapi = ["PyYAML (>=5.1)", "cfn-lint (>=0.40.0)", "docker (>=3.0.0)", "ecdsa (!=0.15)", "graphql-core", "jsondiff (>=1.1.2)", "openapi-spec-validator (>=0.5.0)", "py-partiql-parser (==0.5.0)", "pyparsing (>=3.0.7)", "python-jose[cryptography] (>=3.1.0,<4.0.0)"] s3 = ["PyYAML (>=5.1)", "py-partiql-parser (==0.5.0)"] s3crc32c = ["PyYAML (>=5.1)", "crc32c", "py-partiql-parser (==0.5.0)"] server = ["PyYAML (>=5.1)", "aws-xray-sdk (>=0.93,!=0.96)", "cfn-lint (>=0.40.0)", "docker (>=3.0.0)", "ecdsa (!=0.15)", "flask (!=2.2.0,!=2.2.1)", "flask-cors", "graphql-core", "jsondiff (>=1.1.2)", "openapi-spec-validator (>=0.5.0)", "py-partiql-parser (==0.5.0)", "pyparsing (>=3.0.7)", "python-jose[cryptography] (>=3.1.0,<4.0.0)", "setuptools", "sshpubkeys (>=3.1.0)"] From 19cf108a5e6496ae97f70cc8b43d49c31347cc89 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 03:31:40 +0000 Subject: [PATCH 10/27] Update dependency toolz to v0.12.1 (#459) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index 1d3c40425a..450ef69de8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3504,13 +3504,13 @@ requests-file = ">=1.4" [[package]] name = "toolz" -version = "0.12.0" +version = "0.12.1" description = "List processing tools and functional utilities" optional = false -python-versions = ">=3.5" +python-versions = ">=3.7" files = [ - {file = "toolz-0.12.0-py3-none-any.whl", hash = "sha256:2059bd4148deb1884bb0eb770a3cde70e7f954cfbbdc2285f1f2de01fd21eb6f"}, - {file = "toolz-0.12.0.tar.gz", hash = "sha256:88c570861c440ee3f2f6037c4654613228ff40c93a6c25e0eba70d17282c6194"}, + {file = "toolz-0.12.1-py3-none-any.whl", hash = "sha256:d22731364c07d72eea0a0ad45bafb2c2937ab6fd38a3507bf55eae8744aa7d85"}, + {file = "toolz-0.12.1.tar.gz", hash = "sha256:ecca342664893f177a13dac0e6b41cbd8ac25a358e5f215316d43e2100224f4d"}, ] [[package]] From 5aa2ea3e992b891483eeecb11d9d52b9ba78352a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 06:05:19 +0000 Subject: [PATCH 11/27] Update dependency social-auth-core to v4.5.2 (#458) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 450ef69de8..a63c028421 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3366,13 +3366,13 @@ social-auth-core = ">=4.4.1" [[package]] name = "social-auth-core" -version = "4.5.1" +version = "4.5.2" description = "Python social authentication made simple." optional = false python-versions = ">=3.8" files = [ - {file = "social-auth-core-4.5.1.tar.gz", hash = "sha256:307a4ba64d4f3ec86e4389163eac1d8b8656ffe5ab2e964aeff043ab00b3a662"}, - {file = "social_auth_core-4.5.1-py3-none-any.whl", hash = "sha256:54d0c598bf6ea0ec12bbcf78bee035c7cd604b5d781d80b7997e9e033c3ac05d"}, + {file = "social-auth-core-4.5.2.tar.gz", hash = "sha256:e313bfd09ad78a4af44c5630f3770776b24f468e9a5b71160ade9583efa43f8a"}, + {file = "social_auth_core-4.5.2-py3-none-any.whl", hash = "sha256:47b48be9b6da59aed4792d805cc25f4c7b7f57e0bbf86d659b5df0ff3f253109"}, ] [package.dependencies] From f8ba3939f8d4ddc4dab20d086789d0dca59f929c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 10:07:02 +0000 Subject: [PATCH 12/27] Update dependency prettier to v3.2.5 (#462) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 55e664024f..26c0d6cdf8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19632,11 +19632,11 @@ __metadata: linkType: hard "prettier@npm:^3.0.3": - version: 3.2.4 - resolution: "prettier@npm:3.2.4" + version: 3.2.5 + resolution: "prettier@npm:3.2.5" bin: prettier: bin/prettier.cjs - checksum: 6ec9385a836e0b9bac549e585101c086d1521c31d7b882d5c8bb7d7646da0693da5f31f4fff6dc080710e5e2d34c85e6fb2f8766876b3645c8be2f33b9c3d1a3 + checksum: 2ee4e1417572372afb7a13bb446b34f20f1bf1747db77cf6ccaf57a9be005f2f15c40f903d41a6b79eec3f57fff14d32a20fb6dee1f126da48908926fe43c311 languageName: node linkType: hard From a8a9d70e9229e00a6a5023d80556ada0226b51d3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 13:53:02 +0000 Subject: [PATCH 13/27] Update docker.elastic.co/elasticsearch/elasticsearch Docker tag to v7.17.17 (#460) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f05d143dd..74176dc132 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - 6379:6379 elastic: - image: docker.elastic.co/elasticsearch/elasticsearch:7.17.16 + image: docker.elastic.co/elasticsearch/elasticsearch:7.17.17 env: network.host: "0.0.0.0" http.cors.enabled: "true" From b684493f4fef5e3bc80e82ad427e11a158469fc9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:13:43 +0000 Subject: [PATCH 14/27] Update apache/tika Docker tag to v2.5.0 (#461) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 61a1a1fc67..d4dd1a6e36 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -124,7 +124,7 @@ services: - .:/src - django_media:/var/media tika: - image: apache/tika:2.4.0 + image: apache/tika:2.5.0 ports: - "9998:9998" From ba640e695fe08af7af0a4d742de24790a8d6b106 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 19:17:52 +0000 Subject: [PATCH 15/27] Update dependency @sentry/react to v7.99.0 (#463) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 120 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 67 insertions(+), 53 deletions(-) diff --git a/yarn.lock b/yarn.lock index 26c0d6cdf8..47e6e78c6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4727,91 +4727,105 @@ __metadata: languageName: node linkType: hard -"@sentry-internal/feedback@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry-internal/feedback@npm:7.92.0" +"@sentry-internal/feedback@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry-internal/feedback@npm:7.99.0" dependencies: - "@sentry/core": 7.92.0 - "@sentry/types": 7.92.0 - "@sentry/utils": 7.92.0 - checksum: 7e10d4224a12443c38907370e93081101624594f09eea9b4813d253cd733f8ff3ef165975cc135ec57d934f5780022ad23fb291aa0fa0e52465f9a82bf880cc4 + "@sentry/core": 7.99.0 + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 + checksum: 6b45f0597d8ab3aa738de115dfc040a42c61c9eacf9b5c93af940826053463ec3ee39004ba7e2835f35f999d0ab80e8b0c49a70786b24ccb9482b7169c65054f languageName: node linkType: hard -"@sentry-internal/tracing@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry-internal/tracing@npm:7.92.0" +"@sentry-internal/replay-canvas@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry-internal/replay-canvas@npm:7.99.0" dependencies: - "@sentry/core": 7.92.0 - "@sentry/types": 7.92.0 - "@sentry/utils": 7.92.0 - checksum: 2daa6916d6a57bbab33c993a1c6a306525772c4fc16c08a5287327c0fef4c2f7120cca3d353f669d4dceb0e95dc4bb72a2b53fde63979a7793a0527dfe7fecd4 + "@sentry/core": 7.99.0 + "@sentry/replay": 7.99.0 + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 + checksum: af972b60f5ccb436de2f35e9863fada710de16dd080eb06cd9938879866051bef81904d4e853fe7a0b7ae80ae9faae0ee81c1ea051ded075ac125812847b5ba3 languageName: node linkType: hard -"@sentry/browser@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry/browser@npm:7.92.0" +"@sentry-internal/tracing@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry-internal/tracing@npm:7.99.0" dependencies: - "@sentry-internal/feedback": 7.92.0 - "@sentry-internal/tracing": 7.92.0 - "@sentry/core": 7.92.0 - "@sentry/replay": 7.92.0 - "@sentry/types": 7.92.0 - "@sentry/utils": 7.92.0 - checksum: 360791752e68cd837816c86e818bb4a4f638a68fdf47a9df85588f5a0a659979fb9d5539a5f66f7c136914361f29b60f946785013d6575ef10e8aded996eff04 + "@sentry/core": 7.99.0 + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 + checksum: da012a2a390f2b65bf3d43d78858a02baefa3c33954c068cbeee40f82757c289ff2e1cb309c69ab905ca5253bda3734972a45d03406f064d0ea5d21cbb325f94 languageName: node linkType: hard -"@sentry/core@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry/core@npm:7.92.0" +"@sentry/browser@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry/browser@npm:7.99.0" dependencies: - "@sentry/types": 7.92.0 - "@sentry/utils": 7.92.0 - checksum: 9db7454c64f672981d95f0cc061297cccd02c208c212c54ef7e1a1d7612e8e87a8bb1bbc51eadda919c01dac9c6f4ae5ad97e4ec7874528e2e4b5cb9d553a21f + "@sentry-internal/feedback": 7.99.0 + "@sentry-internal/replay-canvas": 7.99.0 + "@sentry-internal/tracing": 7.99.0 + "@sentry/core": 7.99.0 + "@sentry/replay": 7.99.0 + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 + checksum: e5176a6f2e4e8c8df5d961c733c3a145a57d9eeb22c347cc2175f9707beb42047e781cd06c36b834dc9d21d8c697212232c304f1b2e0f4c618c0865d7b445c7c + languageName: node + linkType: hard + +"@sentry/core@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry/core@npm:7.99.0" + dependencies: + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 + checksum: 56cffd1a52d4c964d4c92150b5d741b36bc7c0d35648ff1347dbd2a8876eca2df6278ef8447e4a6784bd9dc313abf81e64328ee2f99053576ebe6e6d2508503b languageName: node linkType: hard "@sentry/react@npm:^7.57.0": - version: 7.92.0 - resolution: "@sentry/react@npm:7.92.0" + version: 7.99.0 + resolution: "@sentry/react@npm:7.99.0" dependencies: - "@sentry/browser": 7.92.0 - "@sentry/types": 7.92.0 - "@sentry/utils": 7.92.0 + "@sentry/browser": 7.99.0 + "@sentry/core": 7.99.0 + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 hoist-non-react-statics: ^3.3.2 peerDependencies: react: 15.x || 16.x || 17.x || 18.x - checksum: 279ac5bbae698b438fe85fe06fce12a2402ef61b231f7d8e13eda1118b157f872a2329c9202604b81f4a005afa726d80217e32c6f10ef23bbf40281e6f4e2490 + checksum: 01b7a42618275512d3c09ef3df97d0d681462255ca457c1e6db5f471eb7b4ee42f794c300d6dd45e2c48d8cbee43717546b2a7e30765f873995ce07a1b2f6183 languageName: node linkType: hard -"@sentry/replay@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry/replay@npm:7.92.0" +"@sentry/replay@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry/replay@npm:7.99.0" dependencies: - "@sentry-internal/tracing": 7.92.0 - "@sentry/core": 7.92.0 - "@sentry/types": 7.92.0 - "@sentry/utils": 7.92.0 - checksum: a56c62dbf6623b091e4ad5b2982862a2512ab8ef8efef0ac78f9447b9aff312be6cb87b0cf148193030354d5a99bf181f0bb3707b4ecc4f2fd03ceda35a23f66 + "@sentry-internal/tracing": 7.99.0 + "@sentry/core": 7.99.0 + "@sentry/types": 7.99.0 + "@sentry/utils": 7.99.0 + checksum: 253da29c8041961d0f51258d00baf1a712476bf3ab19ad4c6bcea17db2434ca37972004b610e796ebc96c61eb259e1cfa11c59693dd4c828f574e5a797921372 languageName: node linkType: hard -"@sentry/types@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry/types@npm:7.92.0" - checksum: 0dac88acf76aeb905f68b180717ec03451922fea6ddb7a0d1af1d55e658e8e9d0b1d696f1d6eecbbb99f372c8cc622165bd24d5059a1ffb14fe7172cdbb57306 +"@sentry/types@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry/types@npm:7.99.0" + checksum: 996fb0bf83dc2e8ab5c29d5ed1ed964cc83a825722b2df437ada68ef9c196b295e5f44d9b9a364a71b5935fbb8e77db24d590328b91c525f2c0f89d4507d1c36 languageName: node linkType: hard -"@sentry/utils@npm:7.92.0": - version: 7.92.0 - resolution: "@sentry/utils@npm:7.92.0" +"@sentry/utils@npm:7.99.0": + version: 7.99.0 + resolution: "@sentry/utils@npm:7.99.0" dependencies: - "@sentry/types": 7.92.0 - checksum: 358dd7f31558f0367e38e69f0b24e9b25d02e6ae15b8c5841b8ed4b55eaf6ba311449f283aec9887a6275cc191d3f6083209e8de31e50ab0a4f06e3015c1ccd3 + "@sentry/types": 7.99.0 + checksum: b3bf7a171013d761fda8c6f50d98b584cfccb0d74c6059675f083f5030ca83f9ad3e5ed5b5d1e5c7b672ff9f7efabb77c6330b985f0bd0f67c9e4551b7dac777 languageName: node linkType: hard From 2d748d9fcbf178c3e30bd462e74287d5a69c7254 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 21:43:29 +0000 Subject: [PATCH 16/27] Update dependency django-debug-toolbar to v4.3.0 (#464) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index a63c028421..855166d1ed 100644 --- a/poetry.lock +++ b/poetry.lock @@ -928,13 +928,13 @@ Django = ">=3.2" [[package]] name = "django-debug-toolbar" -version = "4.2.0" +version = "4.3.0" description = "A configurable set of panels that display various debug information about the current request/response." optional = false python-versions = ">=3.8" files = [ - {file = "django_debug_toolbar-4.2.0-py3-none-any.whl", hash = "sha256:af99128c06e8e794479e65ab62cc6c7d1e74e1c19beb44dcbf9bad7a9c017327"}, - {file = "django_debug_toolbar-4.2.0.tar.gz", hash = "sha256:bc7fdaafafcdedefcc67a4a5ad9dac96efd6e41db15bc74d402a54a2ba4854dc"}, + {file = "django_debug_toolbar-4.3.0-py3-none-any.whl", hash = "sha256:e09b7dcb8417b743234dfc57c95a7c1d1d87a88844abd13b4c5387f807b31bf6"}, + {file = "django_debug_toolbar-4.3.0.tar.gz", hash = "sha256:0b0dddee5ea29b9cb678593bc0d7a6d76b21d7799cb68e091a2148341a80f3c4"}, ] [package.dependencies] From 5095e6ebf02a7708b792fcdb8ddb8deea72d3165 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:49:43 +0000 Subject: [PATCH 17/27] Update dependency google-api-python-client to v2.116.0 (#465) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 855166d1ed..d2f7533385 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1323,13 +1323,13 @@ grpcio-gcp = ["grpcio-gcp (>=0.2.2,<1.0.dev0)"] [[package]] name = "google-api-python-client" -version = "2.112.0" +version = "2.116.0" description = "Google API Client Library for Python" optional = false python-versions = ">=3.7" files = [ - {file = "google-api-python-client-2.112.0.tar.gz", hash = "sha256:c3bcb5fd70d57f4c94b30c0dbeade53c216febfbf1d771eeb1a2fa74bd0d6756"}, - {file = "google_api_python_client-2.112.0-py2.py3-none-any.whl", hash = "sha256:f5e45d9812376deb7e04cda8d8ca5233aa608038bdbf1253ad8f7edcb7f6d595"}, + {file = "google-api-python-client-2.116.0.tar.gz", hash = "sha256:f9f32361e16114d62929638fe07f77be30216b079ad316dc2ced859d9f72e5ad"}, + {file = "google_api_python_client-2.116.0-py2.py3-none-any.whl", hash = "sha256:846e44417c6b7385fa5f5a46cb6b9d23327754c560830245ee53a577c5e44cec"}, ] [package.dependencies] From 9a8a02e37489d8b554d41e1e4e3708ebf1f4c948 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 04:10:33 +0000 Subject: [PATCH 18/27] Update dependency ipython to v8.21.0 (#466) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index d2f7533385..f851924d92 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1569,13 +1569,13 @@ ipython = {version = ">=7.31.1", markers = "python_version >= \"3.11\""} [[package]] name = "ipython" -version = "8.19.0" +version = "8.21.0" description = "IPython: Productive Interactive Computing" optional = false python-versions = ">=3.10" files = [ - {file = "ipython-8.19.0-py3-none-any.whl", hash = "sha256:2f55d59370f59d0d2b2212109fe0e6035cfea436b1c0e6150ad2244746272ec5"}, - {file = "ipython-8.19.0.tar.gz", hash = "sha256:ac4da4ecf0042fb4e0ce57c60430c2db3c719fa8bdf92f8631d6bd8a5785d1f0"}, + {file = "ipython-8.21.0-py3-none-any.whl", hash = "sha256:1050a3ab8473488d7eee163796b02e511d0735cf43a04ba2a8348bd0f2eaf8a5"}, + {file = "ipython-8.21.0.tar.gz", hash = "sha256:48fbc236fbe0e138b88773fa0437751f14c3645fb483f1d4c5dee58b37e5ce73"}, ] [package.dependencies] @@ -1590,17 +1590,17 @@ stack-data = "*" traitlets = ">=5" [package.extras] -all = ["black", "curio", "docrepr", "exceptiongroup", "ipykernel", "ipyparallel", "ipywidgets", "matplotlib", "matplotlib (!=3.2.0)", "nbconvert", "nbformat", "notebook", "numpy (>=1.23)", "pandas", "pickleshare", "pytest", "pytest-asyncio (<0.22)", "qtconsole", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "trio", "typing-extensions"] +all = ["black", "curio", "docrepr", "exceptiongroup", "ipykernel", "ipyparallel", "ipywidgets", "matplotlib", "matplotlib (!=3.2.0)", "nbconvert", "nbformat", "notebook", "numpy (>=1.23)", "pandas", "pickleshare", "pytest (<8)", "pytest-asyncio (<0.22)", "qtconsole", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "trio", "typing-extensions"] black = ["black"] -doc = ["docrepr", "exceptiongroup", "ipykernel", "matplotlib", "pickleshare", "pytest", "pytest-asyncio (<0.22)", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "typing-extensions"] +doc = ["docrepr", "exceptiongroup", "ipykernel", "matplotlib", "pickleshare", "pytest (<8)", "pytest-asyncio (<0.22)", "setuptools (>=18.5)", "sphinx (>=1.3)", "sphinx-rtd-theme", "stack-data", "testpath", "typing-extensions"] kernel = ["ipykernel"] nbconvert = ["nbconvert"] nbformat = ["nbformat"] notebook = ["ipywidgets", "notebook"] parallel = ["ipyparallel"] qtconsole = ["qtconsole"] -test = ["pickleshare", "pytest", "pytest-asyncio (<0.22)", "testpath"] -test-extra = ["curio", "matplotlib (!=3.2.0)", "nbformat", "numpy (>=1.23)", "pandas", "pickleshare", "pytest", "pytest-asyncio (<0.22)", "testpath", "trio"] +test = ["pickleshare", "pytest (<8)", "pytest-asyncio (<0.22)", "testpath"] +test-extra = ["curio", "matplotlib (!=3.2.0)", "nbformat", "numpy (>=1.23)", "pandas", "pickleshare", "pytest (<8)", "pytest-asyncio (<0.22)", "testpath", "trio"] [[package]] name = "jedi" From e33b14ef0cdfa9221d19fdea20d2f357c82b4a7a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 06:51:06 +0000 Subject: [PATCH 19/27] Update dependency @types/react to v18.2.53 (#469) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 47e6e78c6b..c963fc8918 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6747,13 +6747,13 @@ __metadata: linkType: hard "@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:^18.2.6": - version: 18.2.52 - resolution: "@types/react@npm:18.2.52" + version: 18.2.53 + resolution: "@types/react@npm:18.2.53" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 4abc9bd63879e57c3df43a9cacff54c079e21b61ef934d33801e0177c26f582aa7d1d88a0769a740a4fd273168e3b150ff61de23e0fa85d1070e82ddce2b7fd2 + checksum: 0dda3a7868c52a5c84287dbd12280c16cee7233571c24c00b14d2e9e3d30596ea96ea9f7808302a8d8bff81f9b49a8435d1814d2e63142376a1084b7e0d84f6a languageName: node linkType: hard From 4d7f1b8c8843ce6d850e106b76f151ba2dc18deb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:27:40 +0000 Subject: [PATCH 20/27] Update dependency jekyll-feed to v0.17.0 (#467) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 1075ab34a7..6d22dfdecf 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -16,7 +16,7 @@ GEM coffee-script-source (1.11.1) colorator (1.1.0) commonmarker (0.23.10) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) dnsruby (1.70.0) simpleidn (~> 0.2.1) em-websocket (0.5.3) From 1571b0022915bd697532d7eea796e42c0b19f635 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 13:05:08 +0000 Subject: [PATCH 21/27] Update dependency pluggy to v1.4.0 (#468) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- poetry.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index f851924d92..258f93eac3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2291,13 +2291,13 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa [[package]] name = "pluggy" -version = "1.3.0" +version = "1.4.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" files = [ - {file = "pluggy-1.3.0-py3-none-any.whl", hash = "sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7"}, - {file = "pluggy-1.3.0.tar.gz", hash = "sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"}, + {file = "pluggy-1.4.0-py3-none-any.whl", hash = "sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981"}, + {file = "pluggy-1.4.0.tar.gz", hash = "sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"}, ] [package.extras] From 9e920c7ac627a9c619c0e0d385f623c5ee526114 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 15:38:33 +0000 Subject: [PATCH 22/27] Lock file maintenance (#470) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/Gemfile.lock | 20 +- yarn.lock | 1110 +++++++++++++++++++++------------------------ 2 files changed, 533 insertions(+), 597 deletions(-) diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 6d22dfdecf..73f3af10f6 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -9,7 +9,6 @@ GEM zeitwerk (~> 2.2, >= 2.2.2) addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) - base64 (0.2.0) coffee-script (2.4.1) coffee-script-source execjs @@ -26,11 +25,10 @@ GEM ffi (>= 1.15.0) eventmachine (1.2.7) execjs (2.9.1) - faraday (2.8.1) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-net_http (3.1.0) + net-http ffi (1.16.3) forwardable-extended (2.6.0) gemoji (3.0.1) @@ -213,8 +211,10 @@ GEM jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (5.20.0) - nokogiri (1.16.0) + minitest (5.21.2) + net-http (0.4.1) + uri + nokogiri (1.16.2) mini_portile2 (~> 2.8.2) racc (~> 1.4) octokit (4.25.1) @@ -229,7 +229,6 @@ GEM ffi (~> 1.0) rexml (3.2.6) rouge (3.26.0) - ruby2_keywords (0.0.5) rubyzip (2.3.2) safe_yaml (1.0.5) sass (3.7.4) @@ -249,12 +248,13 @@ GEM ethon (>= 0.9.0) tzinfo (1.2.11) thread_safe (~> 0.1) - tzinfo-data (1.2023.4) + tzinfo-data (1.2024.1) tzinfo (>= 1.0.0) unf (0.1.4) unf_ext unf_ext (0.0.9.1) unicode-display_width (1.8.0) + uri (0.13.0) wdm (0.1.1) zeitwerk (2.6.12) diff --git a/yarn.lock b/yarn.lock index c963fc8918..1c4005bdcb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13,9 +13,9 @@ __metadata: linkType: hard "@adobe/css-tools@npm:^4.0.1": - version: 4.3.2 - resolution: "@adobe/css-tools@npm:4.3.2" - checksum: 9667d61d55dc3b0a315c530ae84e016ce5267c4dd8ac00abb40108dc98e07b98e3090ce8b87acd51a41a68d9e84dcccb08cdf21c902572a9cf9dcaf830da4ae3 + version: 4.3.3 + resolution: "@adobe/css-tools@npm:4.3.3" + checksum: d21f3786b84911fee59c995a146644a85c98692979097b26484ffa9e442fb1a92ccd68ce984e3e7cf8d5933c3560fbc0ad3e3cd1de50b9a723d1c012e793bbcb languageName: node linkType: hard @@ -60,7 +60,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.8.3": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.8.3": version: 7.23.5 resolution: "@babel/code-frame@npm:7.23.5" dependencies: @@ -78,31 +78,31 @@ __metadata: linkType: hard "@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.16.0, @babel/core@npm:^7.18.9, @babel/core@npm:^7.23.0, @babel/core@npm:^7.23.2, @babel/core@npm:^7.7.2, @babel/core@npm:^7.8.0": - version: 7.23.7 - resolution: "@babel/core@npm:7.23.7" + version: 7.23.9 + resolution: "@babel/core@npm:7.23.9" dependencies: "@ampproject/remapping": ^2.2.0 "@babel/code-frame": ^7.23.5 "@babel/generator": ^7.23.6 "@babel/helper-compilation-targets": ^7.23.6 "@babel/helper-module-transforms": ^7.23.3 - "@babel/helpers": ^7.23.7 - "@babel/parser": ^7.23.6 - "@babel/template": ^7.22.15 - "@babel/traverse": ^7.23.7 - "@babel/types": ^7.23.6 + "@babel/helpers": ^7.23.9 + "@babel/parser": ^7.23.9 + "@babel/template": ^7.23.9 + "@babel/traverse": ^7.23.9 + "@babel/types": ^7.23.9 convert-source-map: ^2.0.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.3 semver: ^6.3.1 - checksum: 32d5bf73372a47429afaae9adb0af39e47bcea6a831c4b5dcbb4791380cda6949cb8cb1a2fea8b60bb1ebe189209c80e333903df1fa8e9dcb04798c0ce5bf59e + checksum: 634a511f74db52a5f5a283c1121f25e2227b006c095b84a02a40a9213842489cd82dc7d61cdc74e10b5bcd9bb0a4e28bab47635b54c7e2256d47ab57356e2a76 languageName: node linkType: hard "@babel/eslint-parser@npm:^7.16.3": - version: 7.23.3 - resolution: "@babel/eslint-parser@npm:7.23.3" + version: 7.23.10 + resolution: "@babel/eslint-parser@npm:7.23.10" dependencies: "@nicolo-ribaudo/eslint-scope-5-internals": 5.1.1-v1 eslint-visitor-keys: ^2.1.0 @@ -110,7 +110,7 @@ __metadata: peerDependencies: "@babel/core": ^7.11.0 eslint: ^7.5.0 || ^8.0.0 - checksum: 9573daebe21af5123c302c307be80cacf1c2bf236a9497068a14726d3944ef55e1282519d0ccf51882dfc369359a3442299c98cb22a419e209924db39d4030fd + checksum: 81249edee14f95720044f393b5b0a681a230ac2bde3d656b0c55b1cec4c5cb99ce0584ef6acd2e5413acc7905daee1b2e1db8e3fab18a3a74c508098a584ec9a languageName: node linkType: hard @@ -157,9 +157,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.21.0, @babel/helper-create-class-features-plugin@npm:^7.22.15, @babel/helper-create-class-features-plugin@npm:^7.23.6, @babel/helper-create-class-features-plugin@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/helper-create-class-features-plugin@npm:7.23.7" +"@babel/helper-create-class-features-plugin@npm:^7.18.6, @babel/helper-create-class-features-plugin@npm:^7.21.0, @babel/helper-create-class-features-plugin@npm:^7.22.15, @babel/helper-create-class-features-plugin@npm:^7.23.6, @babel/helper-create-class-features-plugin@npm:^7.23.9": + version: 7.23.10 + resolution: "@babel/helper-create-class-features-plugin@npm:7.23.10" dependencies: "@babel/helper-annotate-as-pure": ^7.22.5 "@babel/helper-environment-visitor": ^7.22.20 @@ -172,7 +172,7 @@ __metadata: semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0 - checksum: 33e60714b856c3816a7965d4c76278cc8f430644a2dfc4eeafad2f7167c4fbd2becdb74cbfeb04b02efd6bbd07176ef53c6683262b588e65d378438e9c55c26b + checksum: ff0730c21f0e73b9e314701bca6568bb5885dff2aa3c32b1e2e3d18ed2818f56851b9ffdbe2e8008c9bb94b265a1443883ae4c1ca5dde278ce71ac4218006d68 languageName: node linkType: hard @@ -189,9 +189,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-define-polyfill-provider@npm:^0.4.4": - version: 0.4.4 - resolution: "@babel/helper-define-polyfill-provider@npm:0.4.4" +"@babel/helper-define-polyfill-provider@npm:^0.5.0": + version: 0.5.0 + resolution: "@babel/helper-define-polyfill-provider@npm:0.5.0" dependencies: "@babel/helper-compilation-targets": ^7.22.6 "@babel/helper-plugin-utils": ^7.22.5 @@ -200,7 +200,7 @@ __metadata: resolve: ^1.14.2 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 2453cdd79f18a4cb8653d8a7e06b2eb0d8e31bae0d35070fc5abadbddca246a36d82b758064b421cca49b48d0e696d331d54520ba8582c1d61fb706d6d831817 + checksum: d24626b819d3875cb65189d761004e9230f2b3fb60542525c4785616f4b2366741369235a864b744f54beb26d625ae4b0af0c9bb3306b61bf4fccb61e0620020 languageName: node linkType: hard @@ -364,14 +364,14 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/helpers@npm:7.23.7" +"@babel/helpers@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/helpers@npm:7.23.9" dependencies: - "@babel/template": ^7.22.15 - "@babel/traverse": ^7.23.7 - "@babel/types": ^7.23.6 - checksum: 4f3bdf35fb54ff79107c6020ba1e36a38213a15b05ca0fa06c553b65f566e185fba6339fb3344be04593ebc244ed0bbb0c6087e73effe0d053a30bcd2db3a013 + "@babel/template": ^7.23.9 + "@babel/traverse": ^7.23.9 + "@babel/types": ^7.23.9 + checksum: 2678231192c0471dbc2fc403fb19456cc46b1afefcfebf6bc0f48b2e938fdb0fef2e0fe90c8c8ae1f021dae5012b700372e4b5d15867f1d7764616532e4a6324 languageName: node linkType: hard @@ -386,12 +386,12 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.9, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.6, @babel/parser@npm:^7.7.0": - version: 7.23.6 - resolution: "@babel/parser@npm:7.23.6" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.9, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.7.0": + version: 7.23.9 + resolution: "@babel/parser@npm:7.23.9" bin: parser: ./bin/babel-parser.js - checksum: 140801c43731a6c41fd193f5c02bc71fd647a0360ca616b23d2db8be4b9739b9f951a03fc7c2db4f9b9214f4b27c1074db0f18bc3fa653783082d5af7c8860d5 + checksum: e7cd4960ac8671774e13803349da88d512f9292d7baa952173260d3e8f15620a28a3701f14f709d769209022f9e7b79965256b8be204fc550cfe783cdcabe7c7 languageName: node linkType: hard @@ -444,15 +444,15 @@ __metadata: linkType: hard "@babel/plugin-proposal-decorators@npm:^7.16.4": - version: 7.23.7 - resolution: "@babel/plugin-proposal-decorators@npm:7.23.7" + version: 7.23.9 + resolution: "@babel/plugin-proposal-decorators@npm:7.23.9" dependencies: - "@babel/helper-create-class-features-plugin": ^7.23.7 + "@babel/helper-create-class-features-plugin": ^7.23.9 "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-decorators": ^7.23.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 53c3d3af451ea75fa48cb26811dce8a9cdcc51ff4bd48fa037482a6527e0c3eec1737541ab0f7e7d5c210cbe81badda15cf043b21049e036ef376deabf176c06 + checksum: 1fac4d8a8ac23c6a3621d43dd2c5cab28006f989a51ea49d8af77c43a6933458a1bedf2cdd259e935bc56bb07c8429ca1c122aaa99e068efd31f65a602aafbec languageName: node linkType: hard @@ -793,9 +793,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-async-generator-functions@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.7" +"@babel/plugin-transform-async-generator-functions@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.9" dependencies: "@babel/helper-environment-visitor": ^7.22.20 "@babel/helper-plugin-utils": ^7.22.5 @@ -803,7 +803,7 @@ __metadata: "@babel/plugin-syntax-async-generators": ^7.8.4 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b1f66b23423933c27336b1161ac92efef46683321caea97e2255a666f992979376f47a5559f64188d3831fa66a4b24c2a7a40838cc0e9737e90eebe20e8e6372 + checksum: d402494087a6b803803eb5ab46b837aab100a04c4c5148e38bfa943ea1bbfc1ecfb340f1ced68972564312d3580f550c125f452372e77607a558fbbaf98c31c0 languageName: node linkType: hard @@ -1075,9 +1075,9 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-modules-systemjs@npm:^7.23.3": - version: 7.23.3 - resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.3" +"@babel/plugin-transform-modules-systemjs@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.23.9" dependencies: "@babel/helper-hoist-variables": ^7.22.5 "@babel/helper-module-transforms": ^7.23.3 @@ -1085,7 +1085,7 @@ __metadata: "@babel/helper-validator-identifier": ^7.22.20 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 0d2fdd993c785aecac9e0850cd5ed7f7d448f0fbb42992a950cc0590167144df25d82af5aac9a5c99ef913d2286782afa44e577af30c10901c5ee8984910fa1f + checksum: cec6abeae6be66fd1a5940c482fe9ff94b689c71fcf4147e179119e4accd09d17d476e36528bc9cb4ab0ec6728fedf48b1c49d0551ea707fb192575d8eac9167 languageName: node linkType: hard @@ -1332,18 +1332,18 @@ __metadata: linkType: hard "@babel/plugin-transform-runtime@npm:^7.16.4": - version: 7.23.7 - resolution: "@babel/plugin-transform-runtime@npm:7.23.7" + version: 7.23.9 + resolution: "@babel/plugin-transform-runtime@npm:7.23.9" dependencies: "@babel/helper-module-imports": ^7.22.15 "@babel/helper-plugin-utils": ^7.22.5 - babel-plugin-polyfill-corejs2: ^0.4.7 - babel-plugin-polyfill-corejs3: ^0.8.7 - babel-plugin-polyfill-regenerator: ^0.5.4 + babel-plugin-polyfill-corejs2: ^0.4.8 + babel-plugin-polyfill-corejs3: ^0.9.0 + babel-plugin-polyfill-regenerator: ^0.5.5 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b3cc760afbfdddac5fec3ba3a3916a448d152ada213dcb3ffe54115eaa09db1249f1661b7f271d79c8e6b03ebd5315c049800287cde372900f2557a6e2fe3333 + checksum: 7789fd48f3f5e18fe70a41751ed7495777adee6b2aa702e4e8727002576f918550b79df6778e4ea575670f3499cfaa3181d1fbe82bc2def9b4765c0bf7aff7f6 languageName: node linkType: hard @@ -1465,8 +1465,8 @@ __metadata: linkType: hard "@babel/preset-env@npm:^7.11.0, @babel/preset-env@npm:^7.12.1, @babel/preset-env@npm:^7.16.4, @babel/preset-env@npm:^7.23.2": - version: 7.23.8 - resolution: "@babel/preset-env@npm:7.23.8" + version: 7.23.9 + resolution: "@babel/preset-env@npm:7.23.9" dependencies: "@babel/compat-data": ^7.23.5 "@babel/helper-compilation-targets": ^7.23.6 @@ -1495,7 +1495,7 @@ __metadata: "@babel/plugin-syntax-top-level-await": ^7.14.5 "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 "@babel/plugin-transform-arrow-functions": ^7.23.3 - "@babel/plugin-transform-async-generator-functions": ^7.23.7 + "@babel/plugin-transform-async-generator-functions": ^7.23.9 "@babel/plugin-transform-async-to-generator": ^7.23.3 "@babel/plugin-transform-block-scoped-functions": ^7.23.3 "@babel/plugin-transform-block-scoping": ^7.23.4 @@ -1517,7 +1517,7 @@ __metadata: "@babel/plugin-transform-member-expression-literals": ^7.23.3 "@babel/plugin-transform-modules-amd": ^7.23.3 "@babel/plugin-transform-modules-commonjs": ^7.23.3 - "@babel/plugin-transform-modules-systemjs": ^7.23.3 + "@babel/plugin-transform-modules-systemjs": ^7.23.9 "@babel/plugin-transform-modules-umd": ^7.23.3 "@babel/plugin-transform-named-capturing-groups-regex": ^7.22.5 "@babel/plugin-transform-new-target": ^7.23.3 @@ -1543,14 +1543,14 @@ __metadata: "@babel/plugin-transform-unicode-regex": ^7.23.3 "@babel/plugin-transform-unicode-sets-regex": ^7.23.3 "@babel/preset-modules": 0.1.6-no-external-plugins - babel-plugin-polyfill-corejs2: ^0.4.7 - babel-plugin-polyfill-corejs3: ^0.8.7 - babel-plugin-polyfill-regenerator: ^0.5.4 + babel-plugin-polyfill-corejs2: ^0.4.8 + babel-plugin-polyfill-corejs3: ^0.9.0 + babel-plugin-polyfill-regenerator: ^0.5.5 core-js-compat: ^3.31.0 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: b850f99fc4aed4ba22c7d9207bd2bbc7a729b49ea6f2c2c36e819fe209e309b96fba336096e555b46f791b39f7cdd5ac41246b556283d435a99106eb825a209f + checksum: 23a48468ba820c68ba34ea2c1dbc62fd2ff9cf858cfb69e159cabb0c85c72dc4c2266ce20ca84318d8742de050cb061e7c66902fbfddbcb09246afd248847933 languageName: node linkType: hard @@ -1633,38 +1633,29 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.11.1, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.0, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.6, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": - version: 7.23.7 - resolution: "@babel/runtime@npm:7.23.7" +"@babel/runtime@npm:^7.11.1, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.0, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.18.0, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.7, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.23.9, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7, @babel/runtime@npm:^7.9.2": + version: 7.23.9 + resolution: "@babel/runtime@npm:7.23.9" dependencies: regenerator-runtime: ^0.14.0 - checksum: eba85bd24d250abb5ae19b16cffc15a54d3894d8228ace40fa4c0e2f1938f28b38ad3e3430ebff9a1ef511eeb8c527e36044ac19076d6deafa52cef35d8624b9 + checksum: 6bbebe8d27c0c2dd275d1ac197fc1a6c00e18dab68cc7aaff0adc3195b45862bae9c4cc58975629004b0213955b2ed91e99eccb3d9b39cabea246c657323d667 languageName: node linkType: hard -"@babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.16.3, @babel/runtime@npm:^7.17.8, @babel/runtime@npm:^7.8.4": - version: 7.23.8 - resolution: "@babel/runtime@npm:7.23.8" +"@babel/template@npm:^7.22.15, @babel/template@npm:^7.23.9, @babel/template@npm:^7.3.3": + version: 7.23.9 + resolution: "@babel/template@npm:7.23.9" dependencies: - regenerator-runtime: ^0.14.0 - checksum: 0bd5543c26811153822a9f382fd39886f66825ff2a397a19008011376533747cd05c33a91f6248c0b8b0edf0448d7c167ebfba34786088f1b7eb11c65be7dfc3 - languageName: node - linkType: hard - -"@babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3": - version: 7.22.15 - resolution: "@babel/template@npm:7.22.15" - dependencies: - "@babel/code-frame": ^7.22.13 - "@babel/parser": ^7.22.15 - "@babel/types": ^7.22.15 - checksum: 1f3e7dcd6c44f5904c184b3f7fe280394b191f2fed819919ffa1e529c259d5b197da8981b6ca491c235aee8dbad4a50b7e31304aa531271cb823a4a24a0dd8fd + "@babel/code-frame": ^7.23.5 + "@babel/parser": ^7.23.9 + "@babel/types": ^7.23.9 + checksum: 6e67414c0f7125d7ecaf20c11fab88085fa98a96c3ef10da0a61e962e04fdf3a18a496a66047005ddd1bb682a7cc7842d556d1db2f3f3f6ccfca97d5e445d342 languageName: node linkType: hard -"@babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.23.7, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.7.2": - version: 7.23.7 - resolution: "@babel/traverse@npm:7.23.7" +"@babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.23.9, @babel/traverse@npm:^7.7.0, @babel/traverse@npm:^7.7.2": + version: 7.23.9 + resolution: "@babel/traverse@npm:7.23.9" dependencies: "@babel/code-frame": ^7.23.5 "@babel/generator": ^7.23.6 @@ -1672,22 +1663,22 @@ __metadata: "@babel/helper-function-name": ^7.23.0 "@babel/helper-hoist-variables": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/parser": ^7.23.6 - "@babel/types": ^7.23.6 + "@babel/parser": ^7.23.9 + "@babel/types": ^7.23.9 debug: ^4.3.1 globals: ^11.1.0 - checksum: d4a7afb922361f710efc97b1e25ec343fab8b2a4ddc81ca84f9a153f22d4482112cba8f263774be8d297918b6c4767c7a98988ab4e53ac73686c986711dd002e + checksum: a932f7aa850e158c00c97aad22f639d48c72805c687290f6a73e30c5c4957c07f5d28310c9bf59648e2980fe6c9d16adeb2ff92a9ca0f97fa75739c1328fc6c3 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.4, @babel/types@npm:^7.23.6, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0, @babel/types@npm:^7.8.3": - version: 7.23.6 - resolution: "@babel/types@npm:7.23.6" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.4, @babel/types@npm:^7.23.6, @babel/types@npm:^7.23.9, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.7.0, @babel/types@npm:^7.8.3": + version: 7.23.9 + resolution: "@babel/types@npm:7.23.9" dependencies: "@babel/helper-string-parser": ^7.23.4 "@babel/helper-validator-identifier": ^7.22.20 to-fast-properties: ^2.0.0 - checksum: 68187dbec0d637f79bc96263ac95ec8b06d424396678e7e225492be866414ce28ebc918a75354d4c28659be6efe30020b4f0f6df81cc418a2d30645b690a8de0 + checksum: 0a9b008e9bfc89beb8c185e620fa0f8ed6c771f1e1b2e01e1596870969096fec7793898a1d64a035176abf1dd13e2668ee30bf699f2d92c210a8128f4b151e65 languageName: node linkType: hard @@ -1775,9 +1766,9 @@ __metadata: languageName: node linkType: hard -"@ckeditor/ckeditor5-dev-translations@npm:^39.3.0, @ckeditor/ckeditor5-dev-translations@npm:^39.5.1": - version: 39.5.1 - resolution: "@ckeditor/ckeditor5-dev-translations@npm:39.5.1" +"@ckeditor/ckeditor5-dev-translations@npm:^39.3.0, @ckeditor/ckeditor5-dev-translations@npm:^39.6.0": + version: 39.6.0 + resolution: "@ckeditor/ckeditor5-dev-translations@npm:39.6.0" dependencies: "@babel/parser": ^7.18.9 "@babel/traverse": ^7.18.9 @@ -1785,15 +1776,15 @@ __metadata: pofile: ^1.0.9 rimraf: ^3.0.2 webpack-sources: ^2.0.1 - checksum: 450f325aa6bc9ba8c4dc0a4364dc628f277b159f8f0f004ff535e05a5813ccfec168e34cc117da9e42ecdebe5a76cabb3023194c5d032520b216403267ae367e + checksum: c6479d693eaf5d4de170b323790e494f739ac5dd6459503da111828b7f79267df564fb8b728c720cb41cf880a66912e8b8142298fd57006cdc28771ab2227aaa languageName: node linkType: hard "@ckeditor/ckeditor5-dev-utils@npm:^39.3.0": - version: 39.5.1 - resolution: "@ckeditor/ckeditor5-dev-utils@npm:39.5.1" + version: 39.6.0 + resolution: "@ckeditor/ckeditor5-dev-utils@npm:39.6.0" dependencies: - "@ckeditor/ckeditor5-dev-translations": ^39.5.1 + "@ckeditor/ckeditor5-dev-translations": ^39.6.0 chalk: ^3.0.0 cli-cursor: ^3.1.0 cli-spinners: ^2.6.1 @@ -1815,7 +1806,7 @@ __metadata: style-loader: ^2.0.0 terser-webpack-plugin: ^4.2.3 through2: ^3.0.1 - checksum: 8800b3a2486b8936c8257796839bda064b42fbc1d0858c73fa8d81290db7c1f80cbbf56abdb5bf66c2eea92b2b2dc3b5e402f175bac6e67a118e11272c80c111 + checksum: df27f3cd56a19a43f765d156de08467be841e027cea6f11ea598cb665adc81a54984057a6553e019765a74e216e12db9cf138a072a627c673e810bfa31c140d5 languageName: node linkType: hard @@ -2915,76 +2906,38 @@ __metadata: languageName: node linkType: hard -"@floating-ui/core@npm:^1.4.2": - version: 1.5.2 - resolution: "@floating-ui/core@npm:1.5.2" - dependencies: - "@floating-ui/utils": ^0.1.3 - checksum: e22de0a5e8a703fe14d9cfb72aeb67c0056c4ae6aa241539934ecb2af56448534b434a7587ecb5de154c21c3c73e44c19249b05c6b67a58eae7861188c8e69ac - languageName: node - linkType: hard - -"@floating-ui/core@npm:^1.5.3": - version: 1.5.3 - resolution: "@floating-ui/core@npm:1.5.3" - dependencies: - "@floating-ui/utils": ^0.2.0 - checksum: 72af8563e1742791acee82e86f82a0fbca7445809988d31eea3fd5771909463aa7655a6cb001cc244f8fe3a9de600420257e4dfb887ca33e2a31ac47b52e39a2 - languageName: node - linkType: hard - -"@floating-ui/dom@npm:^1.0.1, @floating-ui/dom@npm:^1.5.1": - version: 1.5.3 - resolution: "@floating-ui/dom@npm:1.5.3" - dependencies: - "@floating-ui/core": ^1.4.2 - "@floating-ui/utils": ^0.1.3 - checksum: 00053742064aac70957f0bd5c1542caafb3bfe9716588bfe1d409fef72a67ed5e60450d08eb492a77f78c22ed1ce4f7955873cc72bf9f9caf2b0f43ae3561c21 - languageName: node - linkType: hard - -"@floating-ui/dom@npm:^1.5.4": - version: 1.5.4 - resolution: "@floating-ui/dom@npm:1.5.4" +"@floating-ui/core@npm:^1.6.0": + version: 1.6.0 + resolution: "@floating-ui/core@npm:1.6.0" dependencies: - "@floating-ui/core": ^1.5.3 - "@floating-ui/utils": ^0.2.0 - checksum: 5e6f05532ff4e6daf9f2d91534184d8f942ddb8fd260c2543a49bdf0c0ff69fd0867937ce1d023126008724ac238f8fc89b5e48f82cdf9f8355a1d04edd085bd + "@floating-ui/utils": ^0.2.1 + checksum: 2e25c53b0c124c5c9577972f8ae21d081f2f7895e6695836a53074463e8c65b47722744d6d2b5a993164936da006a268bcfe87fe68fd24dc235b1cb86bed3127 languageName: node linkType: hard -"@floating-ui/react-dom@npm:^2.0.0": - version: 2.0.5 - resolution: "@floating-ui/react-dom@npm:2.0.5" +"@floating-ui/dom@npm:^1.0.1, @floating-ui/dom@npm:^1.6.1": + version: 1.6.1 + resolution: "@floating-ui/dom@npm:1.6.1" dependencies: - "@floating-ui/dom": ^1.5.4 - peerDependencies: - react: ">=16.8.0" - react-dom: ">=16.8.0" - checksum: 24cadf4626ae860b59cd3b86e0d8e9a51f1120f52aaa89cbed9425d78d0e0034e097a16bb022628996eb2386783c44b10aeb3c2988083fc046e0480e573d575d + "@floating-ui/core": ^1.6.0 + "@floating-ui/utils": ^0.2.1 + checksum: 5565e4dee612bab62950913c311d75d3f773bd1d9dc437f7e33b46340f32ec565733c995c6185381adaf64e627df3c79901d0a9d555f58c02509d0764bceb57d languageName: node linkType: hard -"@floating-ui/react-dom@npm:^2.0.4": - version: 2.0.4 - resolution: "@floating-ui/react-dom@npm:2.0.4" +"@floating-ui/react-dom@npm:^2.0.0, @floating-ui/react-dom@npm:^2.0.8": + version: 2.0.8 + resolution: "@floating-ui/react-dom@npm:2.0.8" dependencies: - "@floating-ui/dom": ^1.5.1 + "@floating-ui/dom": ^1.6.1 peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 91b2369e25f84888486e48c1656117468248906034ed482d411bb9ed1061b908dd32435b4ca3d0cd0ca6083291510a98ce74d76c671d5cc25b0c41e5fa824bae - languageName: node - linkType: hard - -"@floating-ui/utils@npm:^0.1.3": - version: 0.1.6 - resolution: "@floating-ui/utils@npm:0.1.6" - checksum: b34d4b5470869727f52e312e08272edef985ba5a450a76de0917ba0a9c6f5df2bdbeb99448e2c60f39b177fb8981c772ff1831424e75123471a27ebd5b52c1eb + checksum: 5da7f13a69281e38859a3203a608fe9de1d850b332b355c10c0c2427c7b7209a0374c10f6295b6577c1a70237af8b678340bd4cc0a4b1c66436a94755d81e526 languageName: node linkType: hard -"@floating-ui/utils@npm:^0.2.0": +"@floating-ui/utils@npm:^0.2.1": version: 0.2.1 resolution: "@floating-ui/utils@npm:0.2.1" checksum: 9ed4380653c7c217cd6f66ae51f20fdce433730dbc77f95b5abfb5a808f5fdb029c6ae249b4e0490a816f2453aa6e586d9a873cd157fdba4690f65628efc6e06 @@ -2999,13 +2952,13 @@ __metadata: linkType: hard "@humanwhocodes/config-array@npm:^0.11.13": - version: 0.11.13 - resolution: "@humanwhocodes/config-array@npm:0.11.13" + version: 0.11.14 + resolution: "@humanwhocodes/config-array@npm:0.11.14" dependencies: - "@humanwhocodes/object-schema": ^2.0.1 - debug: ^4.1.1 + "@humanwhocodes/object-schema": ^2.0.2 + debug: ^4.3.1 minimatch: ^3.0.5 - checksum: f8ea57b0d7ed7f2d64cd3944654976829d9da91c04d9c860e18804729a33f7681f78166ef4c761850b8c324d362f7d53f14c5c44907a6b38b32c703ff85e4805 + checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2 languageName: node linkType: hard @@ -3016,10 +2969,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.1": - version: 2.0.1 - resolution: "@humanwhocodes/object-schema@npm:2.0.1" - checksum: 24929487b1ed48795d2f08346a0116cc5ee4634848bce64161fb947109352c562310fd159fc64dda0e8b853307f5794605191a9547f7341158559ca3c8262a45 +"@humanwhocodes/object-schema@npm:^2.0.2": + version: 2.0.2 + resolution: "@humanwhocodes/object-schema@npm:2.0.2" + checksum: 2fc11503361b5fb4f14714c700c02a3f4c7c93e9acd6b87a29f62c522d90470f364d6161b03d1cc618b979f2ae02aed1106fd29d302695d8927e2fc8165ba8ee languageName: node linkType: hard @@ -3599,12 +3552,12 @@ __metadata: linkType: hard "@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.20, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.20 - resolution: "@jridgewell/trace-mapping@npm:0.3.20" + version: 0.3.22 + resolution: "@jridgewell/trace-mapping@npm:0.3.22" dependencies: "@jridgewell/resolve-uri": ^3.1.0 "@jridgewell/sourcemap-codec": ^1.4.14 - checksum: cd1a7353135f385909468ff0cf20bdd37e59f2ee49a13a966dedf921943e222082c583ade2b579ff6cd0d8faafcb5461f253e1bf2a9f48fec439211fdbe788f5 + checksum: ac7dd2cfe0b479aa1b81776d40d789243131cc792dc8b6b6a028c70fcd6171958ae1a71bf67b618ffe3c0c3feead9870c095ee46a5e30319410d92976b28f498 languageName: node linkType: hard @@ -3644,16 +3597,16 @@ __metadata: languageName: node linkType: hard -"@mui/base@npm:5.0.0-beta.30": - version: 5.0.0-beta.30 - resolution: "@mui/base@npm:5.0.0-beta.30" +"@mui/base@npm:5.0.0-beta.34": + version: 5.0.0-beta.34 + resolution: "@mui/base@npm:5.0.0-beta.34" dependencies: - "@babel/runtime": ^7.23.6 - "@floating-ui/react-dom": ^2.0.4 - "@mui/types": ^7.2.12 - "@mui/utils": ^5.15.3 + "@babel/runtime": ^7.23.9 + "@floating-ui/react-dom": ^2.0.8 + "@mui/types": ^7.2.13 + "@mui/utils": ^5.15.7 "@popperjs/core": ^2.11.8 - clsx: ^2.0.0 + clsx: ^2.1.0 prop-types: ^15.8.1 peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 @@ -3662,22 +3615,22 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 2e2a42f47f1996469c2dd1f5301eba7c8532cf6d91b2ba53271da287cab1f18a44f23f00b552838691bc763f09f9820399bbbf4a89b5f7bc5ae55e61fd2b73c8 + checksum: 740281746476e6557c013f7ecd8c567a5ea9b7dce70881d7028bf91bf4bd867e6527f1396e3baee915fc5f5c039c628212db12a6cd9688a9ad44d85fc0624bc0 languageName: node linkType: hard -"@mui/core-downloads-tracker@npm:^5.15.3": - version: 5.15.3 - resolution: "@mui/core-downloads-tracker@npm:5.15.3" - checksum: 002451af1aa555c0163c0ffacde5c15062e0ae0f30b81945e1a0befe7b6c5d14924a2b068b7b5f713c177ee3eecca4fc250d590d11206a6b5465700c399a34d1 +"@mui/core-downloads-tracker@npm:^5.15.7": + version: 5.15.7 + resolution: "@mui/core-downloads-tracker@npm:5.15.7" + checksum: cdaea04222020086fd68e25bdf0f4dfdfc9a3b58a558297ef0a247f02cce8ea7671f9a31c07c5b53cfe553d24110baed2b03b701b1bea60f5c2b2e3ba56ba6fc languageName: node linkType: hard "@mui/icons-material@npm:^5.14.19": - version: 5.15.3 - resolution: "@mui/icons-material@npm:5.15.3" + version: 5.15.7 + resolution: "@mui/icons-material@npm:5.15.7" dependencies: - "@babel/runtime": ^7.23.6 + "@babel/runtime": ^7.23.9 peerDependencies: "@mui/material": ^5.0.0 "@types/react": ^17.0.0 || ^18.0.0 @@ -3685,25 +3638,25 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 8b6084e2ac285d13cbb1711a2577ba1f0493b12beb0f5d45da01a0fd2c99b5b69b9990ae2daf2d5bd3c751cd43815b573c51bae09397a496b5ba4aa074d9a91c + checksum: 9216d25b2267c1b06357edf761a11b1801861c0158bf53850ae88ab05b6f92128725c43ab8016634db7b8c8a98b42d0ada799ae7c30f9dfe3240c484a4af0036 languageName: node linkType: hard "@mui/lab@npm:^5.0.0-alpha.150": - version: 5.0.0-alpha.159 - resolution: "@mui/lab@npm:5.0.0-alpha.159" - dependencies: - "@babel/runtime": ^7.23.6 - "@mui/base": 5.0.0-beta.30 - "@mui/system": ^5.15.3 - "@mui/types": ^7.2.12 - "@mui/utils": ^5.15.3 - clsx: ^2.0.0 + version: 5.0.0-alpha.163 + resolution: "@mui/lab@npm:5.0.0-alpha.163" + dependencies: + "@babel/runtime": ^7.23.9 + "@mui/base": 5.0.0-beta.34 + "@mui/system": ^5.15.7 + "@mui/types": ^7.2.13 + "@mui/utils": ^5.15.7 + clsx: ^2.1.0 prop-types: ^15.8.1 peerDependencies: "@emotion/react": ^11.5.0 "@emotion/styled": ^11.3.0 - "@mui/material": ">=5.10.11" + "@mui/material": ">=5.15.0" "@types/react": ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 @@ -3714,22 +3667,22 @@ __metadata: optional: true "@types/react": optional: true - checksum: 98e0d12235640018796e53b5686bd74a76571b9419fea93d20ccaa1e458989c102d79c15d0753b1395e1814ca6e0ca7001b52a194a00825af9cc049caea6793e + checksum: a282022e58c0560d13b21bb1ae0fbcfd7642bf77cf64bfc3a262eff8ae3c0df139e87f46e93945fee64a8d3fb09fc3d8586d7123d2cfaa43a7d098033bc4fcfb languageName: node linkType: hard "@mui/material@npm:^5.14.15": - version: 5.15.3 - resolution: "@mui/material@npm:5.15.3" - dependencies: - "@babel/runtime": ^7.23.6 - "@mui/base": 5.0.0-beta.30 - "@mui/core-downloads-tracker": ^5.15.3 - "@mui/system": ^5.15.3 - "@mui/types": ^7.2.12 - "@mui/utils": ^5.15.3 + version: 5.15.7 + resolution: "@mui/material@npm:5.15.7" + dependencies: + "@babel/runtime": ^7.23.9 + "@mui/base": 5.0.0-beta.34 + "@mui/core-downloads-tracker": ^5.15.7 + "@mui/system": ^5.15.7 + "@mui/types": ^7.2.13 + "@mui/utils": ^5.15.7 "@types/react-transition-group": ^4.4.10 - clsx: ^2.0.0 + clsx: ^2.1.0 csstype: ^3.1.2 prop-types: ^15.8.1 react-is: ^18.2.0 @@ -3747,16 +3700,16 @@ __metadata: optional: true "@types/react": optional: true - checksum: 21a442341bc781318e6d539a88367e2f2be8d188aa91d68bc6505d1b3764fb0a1019458b91a62c850bc1547a52260ef37f071e7551865fd14b7630e124182410 + checksum: d630bb1efb0c7cf0832866b9adbd8a0198094a5a0e97d6930ed6f14d6beb995762e1728e2c2d6d659c69d081879f04636ddf6728dada31e72675b969976d7e43 languageName: node linkType: hard -"@mui/private-theming@npm:^5.15.3": - version: 5.15.3 - resolution: "@mui/private-theming@npm:5.15.3" +"@mui/private-theming@npm:^5.15.7": + version: 5.15.7 + resolution: "@mui/private-theming@npm:5.15.7" dependencies: - "@babel/runtime": ^7.23.6 - "@mui/utils": ^5.15.3 + "@babel/runtime": ^7.23.9 + "@mui/utils": ^5.15.7 prop-types: ^15.8.1 peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 @@ -3764,15 +3717,15 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: c2a6f13bebdb93cf0d29ce884c2035fb095a2b7596b17d8638f03535cc86a5688e2d892398798c16623c0435ad643db6175aa2630d6e40ac600f7ee8b37f9760 + checksum: 09c7f659caa1a784fa6e99e8df6144af6903eb61384d0a5b9217bf71e7480472a5f82a58aabeb62fca41e48754253a653e366201c454ab2c4f202eda2241ad58 languageName: node linkType: hard -"@mui/styled-engine@npm:^5.15.3": - version: 5.15.3 - resolution: "@mui/styled-engine@npm:5.15.3" +"@mui/styled-engine@npm:^5.15.7": + version: 5.15.7 + resolution: "@mui/styled-engine@npm:5.15.7" dependencies: - "@babel/runtime": ^7.23.6 + "@babel/runtime": ^7.23.9 "@emotion/cache": ^11.11.0 csstype: ^3.1.2 prop-types: ^15.8.1 @@ -3785,20 +3738,20 @@ __metadata: optional: true "@emotion/styled": optional: true - checksum: fbff24899eb165029d1b3e8af67eb1f15f9583daaae73c45a68ad535f6694dd254463ea32bad5e8518ce02fcfff31c8fa019478476488aca26d4d577face73db + checksum: 270901d08bf662bf652d3cb18684ea9c90658b1fec7a8bc3300e87414c70acbe8defe79745bda85ac6fd015bf9d77ce7878386944de9b3ad087072ac7161343b languageName: node linkType: hard -"@mui/system@npm:^5.15.3": - version: 5.15.3 - resolution: "@mui/system@npm:5.15.3" +"@mui/system@npm:^5.15.7": + version: 5.15.7 + resolution: "@mui/system@npm:5.15.7" dependencies: - "@babel/runtime": ^7.23.6 - "@mui/private-theming": ^5.15.3 - "@mui/styled-engine": ^5.15.3 - "@mui/types": ^7.2.12 - "@mui/utils": ^5.15.3 - clsx: ^2.0.0 + "@babel/runtime": ^7.23.9 + "@mui/private-theming": ^5.15.7 + "@mui/styled-engine": ^5.15.7 + "@mui/types": ^7.2.13 + "@mui/utils": ^5.15.7 + clsx: ^2.1.0 csstype: ^3.1.2 prop-types: ^15.8.1 peerDependencies: @@ -3813,27 +3766,27 @@ __metadata: optional: true "@types/react": optional: true - checksum: b8bba388d7d2dad27e60e439c61b26e6391b78b6b7a347f2f2b48db4077612e8ffe04466b6739407e5ff2a7e41ae5485e7ac568e28de96930cd4347815790af1 + checksum: 346ae540b511b3d5baee544b8a8304fd9bbf87c076faa1abec973f4e9a3c412ec8d8762138902229f91112c2826924c67e8b24b5273a4f6476e7c5b361e581b5 languageName: node linkType: hard -"@mui/types@npm:^7.2.12": - version: 7.2.12 - resolution: "@mui/types@npm:7.2.12" +"@mui/types@npm:^7.2.13": + version: 7.2.13 + resolution: "@mui/types@npm:7.2.13" peerDependencies: "@types/react": ^17.0.0 || ^18.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 031b7a4750abb3c5abfd20587113521f70cb3449a8c7b2855a3bd110c6935945c1586ec427287ad9c7f397fe0f8176af08494d9a0c497d88d8bd6ab5626b15d5 + checksum: 58dfc96f9654288519ff01d6b54e6a242f05cadad51210deb85710a81be4fa1501a116c8968e2614b16c748fc1f407dc23beeeeae70fa37fceb6c6de876ff70d languageName: node linkType: hard -"@mui/utils@npm:^5.15.3": - version: 5.15.3 - resolution: "@mui/utils@npm:5.15.3" +"@mui/utils@npm:^5.15.7": + version: 5.15.7 + resolution: "@mui/utils@npm:5.15.7" dependencies: - "@babel/runtime": ^7.23.6 + "@babel/runtime": ^7.23.9 "@types/prop-types": ^15.7.11 prop-types: ^15.8.1 react-is: ^18.2.0 @@ -3843,7 +3796,7 @@ __metadata: peerDependenciesMeta: "@types/react": optional: true - checksum: 2a5efd0fd9508c3dff9261b0a6f2801b47cc19dac04e9a79a55449162606a79a86e7e23e7d282f68843b1f8f860341549c893024c57f3380e2315de211e14e2a + checksum: 3e1b920aa3e5289355e5f7089f640e98c3fe324cf17c7a95aaae35514d3b48461d01fcdfbc0492d46fc6cc3e8c136f17275c6af610d91854d3f6ee936b516699 languageName: node linkType: hard @@ -3986,9 +3939,9 @@ __metadata: linkType: hard "@pkgr/core@npm:^0.1.0": - version: 0.1.0 - resolution: "@pkgr/core@npm:0.1.0" - checksum: eeff0e0e517b1ed10eb4c1a8971413a8349bbfdab727dbe7d4085fd94eab95f0c3beb51b9245fef30562849d2a7a119e07ca48c343c8c4ec4e64ee289f50fe5e + version: 0.1.1 + resolution: "@pkgr/core@npm:0.1.1" + checksum: 6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba languageName: node linkType: hard @@ -4639,8 +4592,8 @@ __metadata: linkType: hard "@rc-component/trigger@npm:^1.18.0": - version: 1.18.2 - resolution: "@rc-component/trigger@npm:1.18.2" + version: 1.18.3 + resolution: "@rc-component/trigger@npm:1.18.3" dependencies: "@babel/runtime": ^7.23.2 "@rc-component/portal": ^1.1.0 @@ -4651,14 +4604,14 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: a1ecc787919c614d4cdd0ec140caf1685de4570da159248701edf1cb379f5cebf2e66f0a9ed7d6542b522c2a92fcdb72ec5dfb9a34a00599278381f598a6f7fb + checksum: 272098e67b4c09e8ee8f4fa2e55054c05f2ea5196e26859a2fd1dfb63ee4f02e4ca7b60d15704defb59b34151f042ff906099aee20d67a01066d2f0b76dd0c58 languageName: node linkType: hard -"@remix-run/router@npm:1.14.1": - version: 1.14.1 - resolution: "@remix-run/router@npm:1.14.1" - checksum: a3a0e7bd1917a4fd10322269b78ce1c5917a74889dfa747305b5a56e5d441b9187e1d8aaa6d58c4bf77713e7baca825f87057a64b2d21718cdb361f1cda75687 +"@remix-run/router@npm:1.15.0": + version: 1.15.0 + resolution: "@remix-run/router@npm:1.15.0" + checksum: 0b5ea6b2e7bb7f3266005e033337a6fed29c458aa5ddc9a97a90ff19813ae6dfb4392871722d66d7e8db93a29760a8257830a9af58824b3a3363ed58e1e471d8 languageName: node linkType: hard @@ -4721,9 +4674,9 @@ __metadata: linkType: hard "@rushstack/eslint-patch@npm:^1.1.0": - version: 1.6.1 - resolution: "@rushstack/eslint-patch@npm:1.6.1" - checksum: d0c0fcc430dae71d9d929e593844aeaec8d326b1d6c27f18059e22dad486d8df43d6f0206b2021a0df789baf514642355bd86eae7a42c457b7b2f48a29bb0f53 + version: 1.7.2 + resolution: "@rushstack/eslint-patch@npm:1.7.2" + checksum: 9c773e712cef97d4e9defbd80eb25430e727137acda45d5236c620da7b93d93ae00901f7e10e893f5a8445312f2a7ff74c241024109c066bffb423f5e3ed0b1c languageName: node linkType: hard @@ -4853,11 +4806,11 @@ __metadata: linkType: hard "@sinonjs/commons@npm:^3.0.0": - version: 3.0.0 - resolution: "@sinonjs/commons@npm:3.0.0" + version: 3.0.1 + resolution: "@sinonjs/commons@npm:3.0.1" dependencies: type-detect: 4.0.8 - checksum: b4b5b73d4df4560fb8c0c7b38c7ad4aeabedd362f3373859d804c988c725889cde33550e4bcc7cd316a30f5152a2d1d43db71b6d0c38f5feef71fd8d016763f8 + checksum: a7c3e7cc612352f4004873747d9d8b2d4d90b13a6d483f685598c945a70e734e255f1ca5dc49702515533c403b32725defff148177453b3f3915bcb60e9d4601 languageName: node linkType: hard @@ -5841,90 +5794,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-arm64@npm:1.3.107" +"@swc/core-darwin-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-arm64@npm:1.4.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-x64@npm:1.3.107" +"@swc/core-darwin-x64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-x64@npm:1.4.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.107" +"@swc/core-linux-arm-gnueabihf@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.4.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.107" +"@swc/core-linux-arm64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-gnu@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.107" +"@swc/core-linux-arm64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-musl@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.107" +"@swc/core-linux-x64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-gnu@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-musl@npm:1.3.107" +"@swc/core-linux-x64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-musl@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.107" +"@swc/core-win32-arm64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-arm64-msvc@npm:1.4.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.107" +"@swc/core-win32-ia32-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-ia32-msvc@npm:1.4.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.107" +"@swc/core-win32-x64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-x64-msvc@npm:1.4.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.32, @swc/core@npm:^1.3.82": - version: 1.3.107 - resolution: "@swc/core@npm:1.3.107" - dependencies: - "@swc/core-darwin-arm64": 1.3.107 - "@swc/core-darwin-x64": 1.3.107 - "@swc/core-linux-arm-gnueabihf": 1.3.107 - "@swc/core-linux-arm64-gnu": 1.3.107 - "@swc/core-linux-arm64-musl": 1.3.107 - "@swc/core-linux-x64-gnu": 1.3.107 - "@swc/core-linux-x64-musl": 1.3.107 - "@swc/core-win32-arm64-msvc": 1.3.107 - "@swc/core-win32-ia32-msvc": 1.3.107 - "@swc/core-win32-x64-msvc": 1.3.107 + version: 1.4.0 + resolution: "@swc/core@npm:1.4.0" + dependencies: + "@swc/core-darwin-arm64": 1.4.0 + "@swc/core-darwin-x64": 1.4.0 + "@swc/core-linux-arm-gnueabihf": 1.4.0 + "@swc/core-linux-arm64-gnu": 1.4.0 + "@swc/core-linux-arm64-musl": 1.4.0 + "@swc/core-linux-x64-gnu": 1.4.0 + "@swc/core-linux-x64-musl": 1.4.0 + "@swc/core-win32-arm64-msvc": 1.4.0 + "@swc/core-win32-ia32-msvc": 1.4.0 + "@swc/core-win32-x64-msvc": 1.4.0 "@swc/counter": ^0.1.1 "@swc/types": ^0.1.5 peerDependencies: @@ -5953,26 +5906,27 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 0dccff50461fb8c0f4af053b70e555c91386cb07aa7657a7328d58e397d15640723587549416d8fa7dcc073ad11b39318146bd50ec4a82345ce2ce39c7ba4c00 + checksum: cef6459ba707362e88373f1c2c779c760a7fdf06c0123856be005bb012de91cb913b37fb49e485ac551494a1ee46fb6369c5aca9d453e1e5e391a8514c0db185 languageName: node linkType: hard -"@swc/counter@npm:^0.1.1": - version: 0.1.2 - resolution: "@swc/counter@npm:0.1.2" - checksum: 8427c594f1f0cf44b83885e9c8fe1e370c9db44ae96e07a37c117a6260ee97797d0709483efbcc244e77bac578690215f45b23254c4cd8a70fb25ddbb50bf33e +"@swc/counter@npm:^0.1.1, @swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 languageName: node linkType: hard "@swc/jest@npm:^0.2.26": - version: 0.2.34 - resolution: "@swc/jest@npm:0.2.34" + version: 0.2.36 + resolution: "@swc/jest@npm:0.2.36" dependencies: "@jest/create-cache-key-function": ^29.7.0 + "@swc/counter": ^0.1.3 jsonc-parser: ^3.2.0 peerDependencies: "@swc/core": "*" - checksum: 8f92f9f45661dd728876d6b9bb619e96b463c9d2940c9038ab7fb1cd48f04e4b1763da39a0d0473750fee0e825bb9a9e3653b9a884d928da8f40004e7ee9554f + checksum: 14f2e696ac093e23dae1e2e57d894bbcde4de6fe80341a26c8d0d8cbae5aae31832f8fa32dc698529f128d19a76aeedf2227f59480de6dab5eb3f30bfdf9b71a languageName: node linkType: hard @@ -5984,11 +5938,11 @@ __metadata: linkType: hard "@tanstack/match-sorter-utils@npm:^8.7.0": - version: 8.11.3 - resolution: "@tanstack/match-sorter-utils@npm:8.11.3" + version: 8.11.8 + resolution: "@tanstack/match-sorter-utils@npm:8.11.8" dependencies: remove-accents: 0.4.2 - checksum: 052b82635e86c98d8d40214d54f2098b29a79eacd238b8982e670ff25d343c5ec3f42c14d85d4466d76ba83d81f8ffc53214a8c5705022af9ccd30c7f6e2b1b2 + checksum: 255f37ad2d49ce16150cde434bf31181fc4b84e2cec8f25843d39d96e5dcde56e6d97e3d3fbcf0a4b65b1c0b396d81a3a4aef7876eedf9635b9655fc66a4f88b languageName: node linkType: hard @@ -6034,8 +5988,8 @@ __metadata: linkType: hard "@testing-library/dom@npm:^9.0.0": - version: 9.3.3 - resolution: "@testing-library/dom@npm:9.3.3" + version: 9.3.4 + resolution: "@testing-library/dom@npm:9.3.4" dependencies: "@babel/code-frame": ^7.10.4 "@babel/runtime": ^7.12.5 @@ -6045,7 +5999,7 @@ __metadata: dom-accessibility-api: ^0.5.9 lz-string: ^1.5.0 pretty-format: ^27.0.2 - checksum: 34e0a564da7beb92aa9cc44a9080221e2412b1a132eb37be3d513fe6c58027674868deb9f86195756d98d15ba969a30fe00632a4e26e25df2a5a4f6ac0686e37 + checksum: dfd6fb0d6c7b4dd716ba3c47309bc9541b4a55772cb61758b4f396b3785efe2dbc75dc63423545c039078c7ffcc5e4b8c67c2db1b6af4799580466036f70026f languageName: node linkType: hard @@ -6320,21 +6274,21 @@ __metadata: linkType: hard "@types/eslint@npm:*, @types/eslint@npm:^7.29.0 || ^8.4.1": - version: 8.56.1 - resolution: "@types/eslint@npm:8.56.1" + version: 8.56.2 + resolution: "@types/eslint@npm:8.56.2" dependencies: "@types/estree": "*" "@types/json-schema": "*" - checksum: 1a4c7334c2f0cfead7b9d25c574c7b3d0b44242958703caa868ed38990a96b5d96477e6fceb7be54fbadd6fb61c97b778b9df58531ced3ec4b022d3e54254dc3 + checksum: 38e054971596f5c0413f66a62dc26b10e0a21ac46ceacb06fbf8cfb838d20820787209b17218b3916e4c23d990ff77cfdb482d655cac0e0d2b837d430fcc5db8 languageName: node linkType: hard "@types/estree-jsx@npm:^1.0.0": - version: 1.0.3 - resolution: "@types/estree-jsx@npm:1.0.3" + version: 1.0.4 + resolution: "@types/estree-jsx@npm:1.0.4" dependencies: "@types/estree": "*" - checksum: 6887a134308b6db4a33a147b56c9d0a47c17ea7e810bdd7c498c306a0fd00bcf2619cb0f57f74009d03dda974b3cd7e414767f85332b1d1b2be30a3ef9e1cca9 + checksum: fb97b3226814e833689304759d8bac29d869ca4cfcfa36f2f3877fb9819f218a11396a28963607e1d0cc72363c3803bfe9a8b16a42924819824e63d10ec386db languageName: node linkType: hard @@ -6360,14 +6314,14 @@ __metadata: linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33": - version: 4.17.41 - resolution: "@types/express-serve-static-core@npm:4.17.41" + version: 4.17.43 + resolution: "@types/express-serve-static-core@npm:4.17.43" dependencies: "@types/node": "*" "@types/qs": "*" "@types/range-parser": "*" "@types/send": "*" - checksum: 12750f6511dd870bbaccfb8208ad1e79361cf197b147f62a3bedc19ec642f3a0f9926ace96705f4bc88ec2ae56f61f7ca8c2438e6b22f5540842b5569c28a121 + checksum: 08e940cae52eb1388a7b5f61d65f028e783add77d1854243ae920a6a2dfb5febb6acaafbcf38be9d678b0411253b9bc325893c463a93302405f24135664ab1e4 languageName: node linkType: hard @@ -6417,11 +6371,11 @@ __metadata: linkType: hard "@types/hast@npm:^2.0.0": - version: 2.3.9 - resolution: "@types/hast@npm:2.3.9" + version: 2.3.10 + resolution: "@types/hast@npm:2.3.10" dependencies: "@types/unist": ^2 - checksum: 32a742021a973b1e23399f09a21325fda89bf55486068ef7c6364f5054b991cc8ab007f1134cc9d6c7030b6ed60633d70f7401dffb3dec8d10c997330d458a3f + checksum: 41531b7fbf590b02452996fc63272479c20a07269e370bd6514982cbcd1819b4b84d3ea620f2410d1b9541a23d08ce2eeb0a592145d05e00e249c3d56700d460 languageName: node linkType: hard @@ -6578,9 +6532,9 @@ __metadata: linkType: hard "@types/mdx@npm:^2.0.0": - version: 2.0.10 - resolution: "@types/mdx@npm:2.0.10" - checksum: 3e2fb24b7bfae739a59573344171292b6c31256ad9afddc00232e9de4fbc97b270e1a11d13cb935cba0d9bbb9bc7348793eda82ee752233c5d2289f4b897f719 + version: 2.0.11 + resolution: "@types/mdx@npm:2.0.11" + checksum: 4199e8d58f0a40be908fe8148959a4e9779f94339f83327495dd5a6609fc82cd5f6ff7391bf6077d7d2ca73cedec3557a51cac5044f0d6f2ae37e40019813dfe languageName: node linkType: hard @@ -6627,12 +6581,12 @@ __metadata: linkType: hard "@types/node-fetch@npm:^2.6.4": - version: 2.6.10 - resolution: "@types/node-fetch@npm:2.6.10" + version: 2.6.11 + resolution: "@types/node-fetch@npm:2.6.11" dependencies: "@types/node": "*" form-data: ^4.0.0 - checksum: e0c9a6023752ff6c744a33a3045b9adb11fd1882997ef891bf7ce91f937ddab91c0acee4c8e806a8a5aec0e8d8c132709141e8512fec28030d7cc9ef92c7ff1e + checksum: 180e4d44c432839bdf8a25251ef8c47d51e37355ddd78c64695225de8bc5dc2b50b7bb855956d471c026bb84bd7295688a0960085e7158cbbba803053492568b languageName: node linkType: hard @@ -6887,9 +6841,9 @@ __metadata: linkType: hard "@types/uuid@npm:^9.0.1": - version: 9.0.7 - resolution: "@types/uuid@npm:9.0.7" - checksum: c7321194aeba9ea173efd1e721403bdf4e7ae6945f8f8cdbc87c791f4b505ccf3dbc4a8883d90b394ef13b7c2dc778045792b05dbb23b3c746f8ea347804d448 + version: 9.0.8 + resolution: "@types/uuid@npm:9.0.8" + checksum: b8c60b7ba8250356b5088302583d1704a4e1a13558d143c549c408bf8920535602ffc12394ede77f8a8083511b023704bc66d1345792714002bfa261b17c5275 languageName: node linkType: hard @@ -7477,9 +7431,9 @@ __metadata: linkType: hard "acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.0.2, acorn-walk@npm:^8.1.1": - version: 8.3.1 - resolution: "acorn-walk@npm:8.3.1" - checksum: 5c8926ddb5400bc825b6baca782931f9df4ace603ba1a517f5243290fd9cdb089d52877840687b5d5c939591ebc314e2e63721514feaa37c6829c828f2b940ce + version: 8.3.2 + resolution: "acorn-walk@npm:8.3.2" + checksum: 3626b9d26a37b1b427796feaa5261faf712307a8920392c8dce9a5739fb31077667f4ad2ec71c7ac6aaf9f61f04a9d3d67ff56f459587206fc04aa31c27ef392 languageName: node linkType: hard @@ -7789,13 +7743,13 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" +"array-buffer-byte-length@npm:^1.0.0, array-buffer-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "array-buffer-byte-length@npm:1.0.1" dependencies: - call-bind: ^1.0.2 - is-array-buffer: ^3.0.1 - checksum: 044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 + call-bind: ^1.0.5 + is-array-buffer: ^3.0.4 + checksum: 53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e languageName: node linkType: hard @@ -7840,6 +7794,19 @@ __metadata: languageName: node linkType: hard +"array.prototype.filter@npm:^1.0.3": + version: 1.0.3 + resolution: "array.prototype.filter@npm:1.0.3" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + es-array-method-boxes-properly: ^1.0.0 + is-string: ^1.0.7 + checksum: 5443cde6ad64596649e5751252b1b2f5242b41052980c2fb2506ba485e3ffd7607e8f6f2f1aefa0cb1cfb9b8623b2b2be103579cb367a161a3426400619b6e73 + languageName: node + linkType: hard + "array.prototype.findlastindex@npm:^1.2.3": version: 1.2.3 resolution: "array.prototype.findlastindex@npm:1.2.3" @@ -7891,30 +7858,31 @@ __metadata: linkType: hard "array.prototype.tosorted@npm:^1.1.1": - version: 1.1.2 - resolution: "array.prototype.tosorted@npm:1.1.2" + version: 1.1.3 + resolution: "array.prototype.tosorted@npm:1.1.3" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - get-intrinsic: ^1.2.1 - checksum: 3607a7d6b117f0ffa6f4012457b7af0d47d38cf05e01d50e09682fd2fb782a66093a5e5fbbdbad77c8c824794a9d892a51844041641f719ad41e3a974f0764de + call-bind: ^1.0.5 + define-properties: ^1.2.1 + es-abstract: ^1.22.3 + es-errors: ^1.1.0 + es-shim-unscopables: ^1.0.2 + checksum: 555e8808086bbde9e634c5dc5a8c0a2f1773075447b43b2fa76ab4f94f4e90f416d2a4f881024e1ce1a2931614caf76cd6b408af901c9d7cd13061d0d268f5af languageName: node linkType: hard "arraybuffer.prototype.slice@npm:^1.0.2": - version: 1.0.2 - resolution: "arraybuffer.prototype.slice@npm:1.0.2" + version: 1.0.3 + resolution: "arraybuffer.prototype.slice@npm:1.0.3" dependencies: - array-buffer-byte-length: ^1.0.0 - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - is-array-buffer: ^3.0.2 + array-buffer-byte-length: ^1.0.1 + call-bind: ^1.0.5 + define-properties: ^1.2.1 + es-abstract: ^1.22.3 + es-errors: ^1.2.1 + get-intrinsic: ^1.2.3 + is-array-buffer: ^3.0.4 is-shared-array-buffer: ^1.0.2 - checksum: c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 + checksum: 352259cba534dcdd969c92ab002efd2ba5025b2e3b9bead3973150edbdf0696c629d7f4b3f061c5931511e8207bdc2306da614703c820b45dabce39e3daf7e3e languageName: node linkType: hard @@ -8006,12 +7974,12 @@ __metadata: linkType: hard "autoprefixer@npm:^10.4.12, autoprefixer@npm:^10.4.13": - version: 10.4.16 - resolution: "autoprefixer@npm:10.4.16" + version: 10.4.17 + resolution: "autoprefixer@npm:10.4.17" dependencies: - browserslist: ^4.21.10 - caniuse-lite: ^1.0.30001538 - fraction.js: ^4.3.6 + browserslist: ^4.22.2 + caniuse-lite: ^1.0.30001578 + fraction.js: ^4.3.7 normalize-range: ^0.1.2 picocolors: ^1.0.0 postcss-value-parser: ^4.2.0 @@ -8019,14 +7987,14 @@ __metadata: postcss: ^8.1.0 bin: autoprefixer: bin/autoprefixer - checksum: 45fad7086495048dacb14bb7b00313e70e135b5d8e8751dcc60548889400763705ab16fc2d99ea628b44c3472698fb0e39598f595ba28409c965ab159035afde + checksum: 1b4cf4097507f9dc48cef3194f18a05901311c881380cc634b308fce54a6554cf2dcd20aec8384b44e994d4665ab12c63dc89492523f8d74ff5d4d5eb1469f8c languageName: node linkType: hard -"available-typed-arrays@npm:^1.0.5": - version: 1.0.5 - resolution: "available-typed-arrays@npm:1.0.5" - checksum: 20eb47b3cefd7db027b9bbb993c658abd36d4edd3fe1060e83699a03ee275b0c9b216cc076ff3f2db29073225fb70e7613987af14269ac1fe2a19803ccc97f1a +"available-typed-arrays@npm:^1.0.5, available-typed-arrays@npm:^1.0.6": + version: 1.0.6 + resolution: "available-typed-arrays@npm:1.0.6" + checksum: 8295571eb86447138adf64a0df0c08ae61250b17190bba30e1fae8c80a816077a6d028e5506f602c382c0197d3080bae131e92e331139d55460989580eeae659 languageName: node linkType: hard @@ -8209,39 +8177,39 @@ __metadata: languageName: node linkType: hard -"babel-plugin-polyfill-corejs2@npm:^0.4.7": - version: 0.4.7 - resolution: "babel-plugin-polyfill-corejs2@npm:0.4.7" +"babel-plugin-polyfill-corejs2@npm:^0.4.8": + version: 0.4.8 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.8" dependencies: "@babel/compat-data": ^7.22.6 - "@babel/helper-define-polyfill-provider": ^0.4.4 + "@babel/helper-define-polyfill-provider": ^0.5.0 semver: ^6.3.1 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: b3c84ce44d00211c919a94f76453fb2065861612f3e44862eb7acf854e325c738a7441ad82690deba2b6fddfa2ad2cf2c46960f46fab2e3b17c6ed4fd2d73b38 + checksum: 22857b87268b354e095452199464accba5fd8f690558a2f24b0954807ca2494b96da8d5c13507955802427582015160bce26a66893acf6da5dafbed8b336cf79 languageName: node linkType: hard -"babel-plugin-polyfill-corejs3@npm:^0.8.7": - version: 0.8.7 - resolution: "babel-plugin-polyfill-corejs3@npm:0.8.7" +"babel-plugin-polyfill-corejs3@npm:^0.9.0": + version: 0.9.0 + resolution: "babel-plugin-polyfill-corejs3@npm:0.9.0" dependencies: - "@babel/helper-define-polyfill-provider": ^0.4.4 - core-js-compat: ^3.33.1 + "@babel/helper-define-polyfill-provider": ^0.5.0 + core-js-compat: ^3.34.0 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 51bc215ab0c062bbb2225d912f69f8a6705d1837c8e01f9651307b5b937804287c1d73ebd8015689efcc02c3c21f37688b9ee6f5997635619b7a9cc4b7d9908d + checksum: 65bbf59fc0145c7a264822777403632008dce00015b4b5c7ec359125ef4faf9e8f494ae5123d2992104feb6f19a3cff85631992862e48b6d7bd64eb7e755ee1f languageName: node linkType: hard -"babel-plugin-polyfill-regenerator@npm:^0.5.4": - version: 0.5.4 - resolution: "babel-plugin-polyfill-regenerator@npm:0.5.4" +"babel-plugin-polyfill-regenerator@npm:^0.5.5": + version: 0.5.5 + resolution: "babel-plugin-polyfill-regenerator@npm:0.5.5" dependencies: - "@babel/helper-define-polyfill-provider": ^0.4.4 + "@babel/helper-define-polyfill-provider": ^0.5.0 peerDependencies: "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 - checksum: 461b735c6c0eca3c7b4434d14bfa98c2ab80f00e2bdc1c69eb46d1d300092a9786d76bbd3ee55e26d2d1a2380c14592d8d638e271dfd2a2b78a9eacffa3645d1 + checksum: 3a9b4828673b23cd648dcfb571eadcd9d3fadfca0361d0a7c6feeb5a30474e92faaa49f067a6e1c05e49b6a09812879992028ff3ef3446229ff132d6e1de7eb6 languageName: node linkType: hard @@ -8457,12 +8425,12 @@ __metadata: linkType: hard "bonjour-service@npm:^1.0.11": - version: 1.2.0 - resolution: "bonjour-service@npm:1.2.0" + version: 1.2.1 + resolution: "bonjour-service@npm:1.2.1" dependencies: fast-deep-equal: ^3.1.3 multicast-dns: ^7.2.5 - checksum: 080db14c54efb04e61f34ce7aa65d809cc520bf7a205c28ae9dbd2660efe56fc717d90a329bc7f8ef9b87206a8f22a89b149589db357fe441c2eaa01217c4593 + checksum: b65b3e6e3a07e97f2da5806afb76f3946d5a6426b72e849a0236dc3c9d3612fb8c5359ebade4be7eb63f74a37670c53a53be2ff17f4f709811fda77f600eb25b languageName: node linkType: hard @@ -8534,16 +8502,16 @@ __metadata: linkType: hard "browserslist@npm:^4.0.0, browserslist@npm:^4.18.1, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.22.2": - version: 4.22.2 - resolution: "browserslist@npm:4.22.2" + version: 4.22.3 + resolution: "browserslist@npm:4.22.3" dependencies: - caniuse-lite: ^1.0.30001565 - electron-to-chromium: ^1.4.601 + caniuse-lite: ^1.0.30001580 + electron-to-chromium: ^1.4.648 node-releases: ^2.0.14 update-browserslist-db: ^1.0.13 bin: browserslist: cli.js - checksum: 33ddfcd9145220099a7a1ac533cecfe5b7548ffeb29b313e1b57be6459000a1f8fa67e781cf4abee97268ac594d44134fcc4a6b2b4750ceddc9796e3a22076d9 + checksum: e62b17348e92143fe58181b02a6a97c4a98bd812d1dc9274673a54f73eec53dbed1c855ebf73e318ee00ee039f23c9a6d0e7629d24f3baef08c7a5b469742d57 languageName: node linkType: hard @@ -8647,8 +8615,8 @@ __metadata: linkType: hard "cacache@npm:^18.0.0": - version: 18.0.1 - resolution: "cacache@npm:18.0.1" + version: 18.0.2 + resolution: "cacache@npm:18.0.2" dependencies: "@npmcli/fs": ^3.1.0 fs-minipass: ^3.0.0 @@ -8662,11 +8630,11 @@ __metadata: ssri: ^10.0.0 tar: ^6.1.11 unique-filename: ^3.0.0 - checksum: 5a0b3b2ea451a0379814dc1d3c81af48c7c6db15cd8f7d72e028501ae0036a599a99bbac9687bfec307afb2760808d1c7708e9477c8c70d2b166e7d80b162a23 + checksum: 0250df80e1ad0c828c956744850c5f742c24244e9deb5b7dc81bca90f8c10e011e132ecc58b64497cc1cad9a98968676147fb6575f4f94722f7619757b17a11b languageName: node linkType: hard -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": +"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.5": version: 1.0.5 resolution: "call-bind@npm:1.0.5" dependencies: @@ -8739,10 +8707,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001538, caniuse-lite@npm:^1.0.30001565": - version: 1.0.30001574 - resolution: "caniuse-lite@npm:1.0.30001574" - checksum: 4064719755371a9716446ee79714ff5cee347861492d6325c2e3db00c37cb27f184742f53f2b6e4c15cc2e1a47fae32cc44c9b15e957a9290982bf4108933245 +"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001578, caniuse-lite@npm:^1.0.30001580": + version: 1.0.30001584 + resolution: "caniuse-lite@npm:1.0.30001584" + checksum: de7018759561795ef31864b0d1584735eef267033d4e9b5f046b976756e06c43e85afd46705c5d63c63e3c36484c26794c259b9748eefffa582750b4ad0822ce languageName: node linkType: hard @@ -9115,7 +9083,7 @@ __metadata: languageName: node linkType: hard -"clsx@npm:^2.0.0": +"clsx@npm:^2.1.0": version: 2.1.0 resolution: "clsx@npm:2.1.0" checksum: 43fefc29b6b49c9476fbce4f8b1cc75c27b67747738e598e6651dd40d63692135dc60b18fa1c5b78a2a9ba8ae6fd2055a068924b94e20b42039bd53b78b98e1d @@ -9452,26 +9420,26 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1": - version: 3.35.0 - resolution: "core-js-compat@npm:3.35.0" +"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.34.0": + version: 3.35.1 + resolution: "core-js-compat@npm:3.35.1" dependencies: browserslist: ^4.22.2 - checksum: 64c41ce6870aa9130b9d0cb8f00c05204094f46db7e345d520ec2e38f8b6e1d51e921d4974ceb880948f19c0a79e5639e55be0e56f88ea20e32e9a6274da7f82 + checksum: 4c1a7076d31fa489eec5c46eb11c7127703f9756b5fed1eab9bf27b7f0f151247886d3fa488911078bd2801a5dfa12a9ea2ecb7a4e61dfa460b2c291805f503b languageName: node linkType: hard "core-js-pure@npm:^3.23.3": - version: 3.35.0 - resolution: "core-js-pure@npm:3.35.0" - checksum: be542e17687656f4e08091f323a2aa7ee4b3368c4c964794d9475fd27ff34288390bdbe90fb3ba4c75300abf046f03e4783032f313011651a05fa1cca5ec24e0 + version: 3.35.1 + resolution: "core-js-pure@npm:3.35.1" + checksum: 2fb360757c403b1487e746bb3648c7f0be45c196640552767f4e2a55a962411a33093cd8babf5e0416de7f4c38d1b05bbaf576c0a3bf2d6565935bab749d3fb5 languageName: node linkType: hard "core-js@npm:^3.19.2": - version: 3.35.0 - resolution: "core-js@npm:3.35.0" - checksum: 25c224aca3df012b98f08f13ccbd8171ef5852acd33fd5e58e106d27f5f0c97de2fdbc520f0b4364d26253caf2deb3e5d265310f57d2a66ae6cc922850e649f0 + version: 3.35.1 + resolution: "core-js@npm:3.35.1" + checksum: e246af6b634be3763ffe3ce6ac4601b4dc5b928006fb6c95e5d08ecd82a2413bf36f00ffe178b89c9a8e94000288933a78a9881b2c9498e6cf312b031013b952 languageName: node linkType: hard @@ -10610,10 +10578,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.601": - version: 1.4.620 - resolution: "electron-to-chromium@npm:1.4.620" - checksum: 99c213f6dc504e106acd2d7df02fd65f92e2e19c1e9163c6257247921d0afb68f50a30aa9a8ad76695ebc8572b76a9ff65af8145acf4e1f47d7a043706c3ce58 +"electron-to-chromium@npm:^1.4.648": + version: 1.4.656 + resolution: "electron-to-chromium@npm:1.4.656" + checksum: b9e00c81e74ee307141a216ef971efeff8784232a9eaa9074a65687b631029725f8f4ddeefd98c43287339cdadb6c7aba92c01806122f9cae813a95735fcd432 languageName: node linkType: hard @@ -10737,11 +10705,11 @@ __metadata: linkType: hard "envinfo@npm:^7.7.3": - version: 7.11.0 - resolution: "envinfo@npm:7.11.0" + version: 7.11.1 + resolution: "envinfo@npm:7.11.1" bin: envinfo: dist/cli.js - checksum: c45a7d20409d5f4cda72483b150d3816b15b434f2944d72c1495d8838bd7c4e7b2f32c12128ffb9b92b5f66f436237b8a525eb3a9a5da2d20013bc4effa28aef + checksum: f3d38ab6bc62388466e86e2f5665f90f238ca349c81bb36b311d908cb5ca96650569b43b308c9dcb6725a222693f6c43a704794e74a68fb445ec5575a90ca05e languageName: node linkType: hard @@ -10770,7 +10738,7 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.17.2, es-abstract@npm:^1.22.1": +"es-abstract@npm:^1.17.2, es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3": version: 1.22.3 resolution: "es-abstract@npm:1.22.3" dependencies: @@ -10824,6 +10792,13 @@ __metadata: languageName: node linkType: hard +"es-errors@npm:^1.0.0, es-errors@npm:^1.1.0, es-errors@npm:^1.2.1": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: ec1414527a0ccacd7f15f4a3bc66e215f04f595ba23ca75cdae0927af099b5ec865f9f4d33e9d7e86f512f252876ac77d4281a7871531a50678132429b1271b5 + languageName: node + linkType: hard + "es-get-iterator@npm:^1.1.3": version: 1.1.3 resolution: "es-get-iterator@npm:1.1.3" @@ -10881,7 +10856,7 @@ __metadata: languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0": +"es-shim-unscopables@npm:^1.0.0, es-shim-unscopables@npm:^1.0.2": version: 1.0.2 resolution: "es-shim-unscopables@npm:1.0.2" dependencies: @@ -11867,11 +11842,11 @@ __metadata: linkType: hard "fast-check@npm:^3.12.0": - version: 3.15.0 - resolution: "fast-check@npm:3.15.0" + version: 3.15.1 + resolution: "fast-check@npm:3.15.1" dependencies: pure-rand: ^6.0.0 - checksum: c0b989ac220ec6655a9468ed4d166a3a3c24753994c5082625c084418de3aa523f0d3facfcdd199423d6180844956650a662ddc0b4b17502178fa1db55945f98 + checksum: 94e7168b14bcb3341516c03f7b3314cb69e8e25037390e8ddd6339347fecf457c4236a2050c25210fa33338808da0ef5054a6d9004256d54c7759ce46624041c languageName: node linkType: hard @@ -11924,11 +11899,11 @@ __metadata: linkType: hard "fastq@npm:^1.6.0": - version: 1.16.0 - resolution: "fastq@npm:1.16.0" + version: 1.17.0 + resolution: "fastq@npm:1.17.0" dependencies: reusify: ^1.0.4 - checksum: 1d40ed1f100ae625e5720484e8602b7ad07649370f1cbc3e34a6b9630a0bfed6946bab0322d8a368a1e3cde87bb9bbb8d3bc2ae01a0c1f022fac1d07c04e4feb + checksum: a1c88c357a220bdc666c2df5ec6071d49bdf79ea827d92f9a9559da3ff1b4288eecca3ecbb7b6ddf0ba016eb0a4bf756bf17c411a6d10c814aecd26e939cbd06 languageName: node linkType: hard @@ -12202,19 +12177,19 @@ __metadata: linkType: hard "flow-parser@npm:0.*": - version: 0.226.0 - resolution: "flow-parser@npm:0.226.0" - checksum: 88addf65749a6322fa54b6ed807d3d26e8f899ff6e9f644407149f9cc0e3729d1aa4d2312dbc6f93011a7becb7679aa61a682d0441f32f95a02d56b45d464c8d + version: 0.228.0 + resolution: "flow-parser@npm:0.228.0" + checksum: c79211cb8c473dd91010dfa19d839a4cc67133fa621a2db8c06e55dff29dd6489ab639fd3f7bfd94c821d94bbc1fdaf3ff79e010088836be1fb1b1078468cd91 languageName: node linkType: hard "follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.15.4": - version: 1.15.4 - resolution: "follow-redirects@npm:1.15.4" + version: 1.15.5 + resolution: "follow-redirects@npm:1.15.5" peerDependenciesMeta: debug: optional: true - checksum: e178d1deff8b23d5d24ec3f7a94cde6e47d74d0dc649c35fc9857041267c12ec5d44650a0c5597ef83056ada9ea6ca0c30e7c4f97dbf07d035086be9e6a5b7b6 + checksum: 5ca49b5ce6f44338cbfc3546823357e7a70813cecc9b7b768158a1d32c1e62e7407c944402a918ea8c38ae2e78266312d617dc68783fac502cbb55e1047b34ec languageName: node linkType: hard @@ -12361,7 +12336,7 @@ __metadata: languageName: node linkType: hard -"fraction.js@npm:^4.3.6": +"fraction.js@npm:^4.3.7": version: 4.3.7 resolution: "fraction.js@npm:4.3.7" checksum: e1553ae3f08e3ba0e8c06e43a3ab20b319966dfb7ddb96fd9b5d0ee11a66571af7f993229c88ebbb0d4a816eb813a24ed48207b140d442a8f76f33763b8d1f3f @@ -12537,15 +12512,16 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": - version: 1.2.2 - resolution: "get-intrinsic@npm:1.2.2" +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2, get-intrinsic@npm:^1.2.3": + version: 1.2.3 + resolution: "get-intrinsic@npm:1.2.3" dependencies: + es-errors: ^1.0.0 function-bind: ^1.1.2 has-proto: ^1.0.1 has-symbols: ^1.0.3 hasown: ^2.0.0 - checksum: 447ff0724df26829908dc033b62732359596fcf66027bc131ab37984afb33842d9cd458fd6cecadfe7eac22fd8a54b349799ed334cf2726025c921c7250e7417 + checksum: 497fe6e444a2c570d174486c2450fc2b8c5020ae33a945a4b3d06c88bd69fb02a4611163e7a5bd9a5f61162e85ee83e55f06400dd3de108d6407eea32c6330b7 languageName: node linkType: hard @@ -12949,7 +12925,7 @@ __metadata: languageName: node linkType: hard -"has-property-descriptors@npm:^1.0.0": +"has-property-descriptors@npm:^1.0.0, has-property-descriptors@npm:^1.0.1": version: 1.0.1 resolution: "has-property-descriptors@npm:1.0.1" dependencies: @@ -12972,12 +12948,12 @@ __metadata: languageName: node linkType: hard -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" +"has-tostringtag@npm:^1.0.0, has-tostringtag@npm:^1.0.1": + version: 1.0.2 + resolution: "has-tostringtag@npm:1.0.2" dependencies: - has-symbols: ^1.0.2 - checksum: cc12eb28cb6ae22369ebaad3a8ab0799ed61270991be88f208d508076a1e99abe4198c965935ce85ea90b60c94ddda73693b0920b58e7ead048b4a391b502c1c + has-symbols: ^1.0.3 + checksum: 999d60bb753ad714356b2c6c87b7fb74f32463b8426e159397da4bde5bca7e598ab1073f4d8d4deafac297f2eb311484cd177af242776bf05f0d11565680468d languageName: node linkType: hard @@ -13362,9 +13338,9 @@ __metadata: linkType: hard "ignore@npm:^5.0.0, ignore@npm:^5.1.1, ignore@npm:^5.2.0, ignore@npm:^5.2.4": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9 + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3 languageName: node linkType: hard @@ -13623,14 +13599,13 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" +"is-array-buffer@npm:^3.0.2, is-array-buffer@npm:^3.0.4": + version: 3.0.4 + resolution: "is-array-buffer@npm:3.0.4" dependencies: call-bind: ^1.0.2 - get-intrinsic: ^1.2.0 - is-typed-array: ^1.1.10 - checksum: dcac9dda66ff17df9cabdc58214172bf41082f956eab30bb0d86bc0fab1e44b690fc8e1f855cf2481245caf4e8a5a006a982a71ddccec84032ed41f9d8da8c14 + get-intrinsic: ^1.2.1 + checksum: e4e3e6ef0ff2239e75371d221f74bc3c26a03564a22efb39f6bb02609b598917ddeecef4e8c877df2a25888f247a98198959842a5e73236bc7f22cabdf6351a7 languageName: node linkType: hard @@ -14038,11 +14013,11 @@ __metadata: linkType: hard "is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": - version: 1.1.12 - resolution: "is-typed-array@npm:1.1.12" + version: 1.1.13 + resolution: "is-typed-array@npm:1.1.13" dependencies: - which-typed-array: ^1.1.11 - checksum: 4c89c4a3be07186caddadf92197b17fda663a9d259ea0d44a85f171558270d36059d1c386d34a12cba22dfade5aba497ce22778e866adc9406098c8fc4771796 + which-typed-array: ^1.1.14 + checksum: 150f9ada183a61554c91e1c4290086d2c100b0dff45f60b028519be72a8db964da403c48760723bf5253979b8dffe7b544246e0e5351dcd05c5fdb1dcc1dc0f0 languageName: node linkType: hard @@ -15606,9 +15581,9 @@ __metadata: linkType: hard "jsonc-parser@npm:^3.2.0": - version: 3.2.0 - resolution: "jsonc-parser@npm:3.2.0" - checksum: 946dd9a5f326b745aa326d48a7257e3f4a4b62c5e98ec8e49fa2bdd8d96cef7e6febf1399f5c7016114fd1f68a1c62c6138826d5d90bc650448e3cf0951c53c7 + version: 3.2.1 + resolution: "jsonc-parser@npm:3.2.1" + checksum: 656d9027b91de98d8ab91b3aa0d0a4cab7dc798a6830845ca664f3e76c82d46b973675bbe9b500fae1de37fd3e81aceacbaa2a57884bf2f8f29192150d2d1ef7 languageName: node linkType: hard @@ -16041,9 +16016,9 @@ __metadata: linkType: hard "lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.1.0 - resolution: "lru-cache@npm:10.1.0" - checksum: 58056d33e2500fbedce92f8c542e7c11b50d7d086578f14b7074d8c241422004af0718e08a6eaae8705cee09c77e39a61c1c79e9370ba689b7010c152e6a76ab + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: eee7ddda4a7475deac51ac81d7dd78709095c6fa46e8350dc2d22462559a1faa3b81ed931d5464b13d48cbd7e08b46100b6f768c76833912bc444b99c37e25db languageName: node linkType: hard @@ -16091,11 +16066,11 @@ __metadata: linkType: hard "magic-string@npm:^0.30.5": - version: 0.30.5 - resolution: "magic-string@npm:0.30.5" + version: 0.30.6 + resolution: "magic-string@npm:0.30.6" dependencies: "@jridgewell/sourcemap-codec": ^1.4.15 - checksum: da10fecff0c0a7d3faf756913ce62bd6d5e7b0402be48c3b27bfd651b90e29677e279069a63b764bcdc1b8ecdcdb898f29a5c5ec510f2323e8d62ee057a6eb18 + checksum: d6d825aeccfc6eea2b27423e34d51b315ff81f1bfa35c5978c0e82486fdbb4f71777aa144c0f04f4c7cbe4fe531a38cbeff928a0abaf511cf75ec7691ed9e117 languageName: node linkType: hard @@ -16209,11 +16184,11 @@ __metadata: linkType: hard "markdown-to-jsx@npm:^7.1.8": - version: 7.4.0 - resolution: "markdown-to-jsx@npm:7.4.0" + version: 7.4.1 + resolution: "markdown-to-jsx@npm:7.4.1" peerDependencies: react: ">= 0.14.0" - checksum: 59959d14d7927ed8a97e42d39771e2b445b90fa098477fb6ab040f044d230517dc4a95ba38a4f924cfc965a96b32211d93def150a6184f0e51d2cefdc8cb415d + checksum: 2888cb2389cb810ab35454a59d0623474a60a78e28f281ae0081f87053f6c59b033232a2cd269cc383a5edcaa1eab8ca4b3cf639fe4e1aa3fb418648d14bcc7d languageName: node linkType: hard @@ -17664,16 +17639,16 @@ __metadata: linkType: hard "nypm@npm:^0.3.3": - version: 0.3.4 - resolution: "nypm@npm:0.3.4" + version: 0.3.6 + resolution: "nypm@npm:0.3.6" dependencies: citty: ^0.1.5 execa: ^8.0.1 - pathe: ^1.1.1 + pathe: ^1.1.2 ufo: ^1.3.2 bin: nypm: dist/cli.mjs - checksum: 5137bd91debf0a781b9038251c0c6d2059a3e19604edb75f53422968c57b0a24c9ef7d8ec9401c8f8e98906fa3e3cdc088746b8eb98b25b43d78928f643fef2c + checksum: 75b7fa3ae0a2ff0f615a3791ec274e59df247f03967c5bedfd1ad930235cc31d7038f344ef82c4cab1b61fb2499dfac18c1e6321d4f61dfcea66e06d469af732 languageName: node linkType: hard @@ -17775,14 +17750,15 @@ __metadata: linkType: hard "object.groupby@npm:^1.0.1": - version: 1.0.1 - resolution: "object.groupby@npm:1.0.1" + version: 1.0.2 + resolution: "object.groupby@npm:1.0.2" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - checksum: d7959d6eaaba358b1608066fc67ac97f23ce6f573dc8fc661f68c52be165266fcb02937076aedb0e42722fdda0bdc0bbf74778196ac04868178888e9fd3b78b5 + array.prototype.filter: ^1.0.3 + call-bind: ^1.0.5 + define-properties: ^1.2.1 + es-abstract: ^1.22.3 + es-errors: ^1.0.0 + checksum: 5f95c2a3a5f60a1a8c05fdd71455110bd3d5e6af0350a20b133d8cd70f9c3385d5c7fceb6a17b940c3c61752d9c202d10d5e2eb5ce73b89002656a87e7bf767a languageName: node linkType: hard @@ -18467,10 +18443,10 @@ __metadata: languageName: node linkType: hard -"pathe@npm:^1.1.1": - version: 1.1.1 - resolution: "pathe@npm:1.1.1" - checksum: 34ab3da2e5aa832ebc6a330ffe3f73d7ba8aec6e899b53b8ec4f4018de08e40742802deb12cf5add9c73b7bf719b62c0778246bd376ca62b0fb23e0dde44b759 +"pathe@npm:^1.1.1, pathe@npm:^1.1.2": + version: 1.1.2 + resolution: "pathe@npm:1.1.2" + checksum: ec5f778d9790e7b9ffc3e4c1df39a5bb1ce94657a4e3ad830c1276491ca9d79f189f47609884671db173400256b005f4955f7952f52a2aeb5834ad5fb4faf134 languageName: node linkType: hard @@ -18636,11 +18612,11 @@ __metadata: linkType: hard "polished@npm:^4.2.2": - version: 4.2.2 - resolution: "polished@npm:4.2.2" + version: 4.3.1 + resolution: "polished@npm:4.3.1" dependencies: "@babel/runtime": ^7.17.8 - checksum: 97fb927dc55cd34aeb11b31ae2a3332463f114351c86e8aa6580d7755864a0120164fdc3770e6160c8b1775052f0eda14db9a6e34402cd4b08ab2d658a593725 + checksum: a6f863c23f1d2f3f5cda3427b5885c9fb9e83b036d681e24820b143c7df40d2685bebb01c0939767120a28e1183671ae17c93db82ac30b3c20942180bb153bc7 languageName: node linkType: hard @@ -19138,20 +19114,7 @@ __metadata: languageName: node linkType: hard -"postcss-modules-local-by-default@npm:^4.0.0": - version: 4.0.3 - resolution: "postcss-modules-local-by-default@npm:4.0.3" - dependencies: - icss-utils: ^5.0.0 - postcss-selector-parser: ^6.0.2 - postcss-value-parser: ^4.1.0 - peerDependencies: - postcss: ^8.1.0 - checksum: 2f8083687f3d6067885f8863dd32dbbb4f779cfcc7e52c17abede9311d84faf6d3ed8760e7c54c6380281732ae1f78e5e56a28baf3c271b33f450a11c9e30485 - languageName: node - linkType: hard - -"postcss-modules-local-by-default@npm:^4.0.4": +"postcss-modules-local-by-default@npm:^4.0.0, postcss-modules-local-by-default@npm:^4.0.4": version: 4.0.4 resolution: "postcss-modules-local-by-default@npm:4.0.4" dependencies: @@ -19164,18 +19127,7 @@ __metadata: languageName: node linkType: hard -"postcss-modules-scope@npm:^3.0.0": - version: 3.1.0 - resolution: "postcss-modules-scope@npm:3.1.0" - dependencies: - postcss-selector-parser: ^6.0.4 - peerDependencies: - postcss: ^8.1.0 - checksum: 919d02e2e31956fa3dae2036d4f3259c9b8c5361bd58ee55867edededbee03507df88e98f418b5e553e47f3888daba9ea9ef0b18a82c41cf96cdb74df15322c7 - languageName: node - linkType: hard - -"postcss-modules-scope@npm:^3.1.1": +"postcss-modules-scope@npm:^3.0.0, postcss-modules-scope@npm:^3.1.1": version: 3.1.1 resolution: "postcss-modules-scope@npm:3.1.1" dependencies: @@ -19593,18 +19545,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.2.15, postcss@npm:^8.4.12, postcss@npm:^8.4.28": - version: 8.4.32 - resolution: "postcss@npm:8.4.32" - dependencies: - nanoid: ^3.3.7 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: 220d9d0bf5d65be7ed31006c523bfb11619461d296245c1231831f90150aeb4a31eab9983ac9c5c89759a3ca8b60b3e0d098574964e1691673c3ce5c494305ae - languageName: node - linkType: hard - -"postcss@npm:^8.3.5, postcss@npm:^8.4.23, postcss@npm:^8.4.33, postcss@npm:^8.4.4": +"postcss@npm:^8.2.15, postcss@npm:^8.3.5, postcss@npm:^8.4.12, postcss@npm:^8.4.23, postcss@npm:^8.4.28, postcss@npm:^8.4.33, postcss@npm:^8.4.4": version: 8.4.33 resolution: "postcss@npm:8.4.33" dependencies: @@ -20135,8 +20076,8 @@ __metadata: linkType: hard "react-docgen@npm:^7.0.0": - version: 7.0.2 - resolution: "react-docgen@npm:7.0.2" + version: 7.0.3 + resolution: "react-docgen@npm:7.0.3" dependencies: "@babel/core": ^7.18.9 "@babel/traverse": ^7.18.9 @@ -20148,7 +20089,7 @@ __metadata: doctrine: ^3.0.0 resolve: ^1.22.1 strip-indent: ^4.0.0 - checksum: fe0207bc834a4dd6ef235ff202ed50f093012b5b98e8ab6c7a9572f513d2f700ea771e37e0770afd75585498d0c5ba2852ac27a6e8f2c249e2544639ff94d398 + checksum: f5dbabd16a25b3c424c4962df4b4073d03ca124c3a5c99871f8436e30468854de115f959d0d5f03df77ad8dbe54f21e679fb48ba47bc125d61ae527bc5bcf0bf languageName: node linkType: hard @@ -20348,26 +20289,26 @@ __metadata: linkType: hard "react-router-dom@npm:^6.19.0": - version: 6.21.1 - resolution: "react-router-dom@npm:6.21.1" + version: 6.22.0 + resolution: "react-router-dom@npm:6.22.0" dependencies: - "@remix-run/router": 1.14.1 - react-router: 6.21.1 + "@remix-run/router": 1.15.0 + react-router: 6.22.0 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: d8ea3370babab626827008ced8a776ac991023745dc69d44332b6a5229dd2a6899f3e46fc50365cef0c7487cf726bcdccb365ec106915f92c735da6e4c2e6b97 + checksum: 21cbdda0070dffb50845a97e2688648a9925c7ebabd1f9335523a1f8ae66048c1d9d06442f1b0ec35a266d1c63ed3b56b437db70807f73440a185f3e2d3c632f languageName: node linkType: hard -"react-router@npm:6.21.1, react-router@npm:^6.19.0": - version: 6.21.1 - resolution: "react-router@npm:6.21.1" +"react-router@npm:6.22.0, react-router@npm:^6.19.0": + version: 6.22.0 + resolution: "react-router@npm:6.22.0" dependencies: - "@remix-run/router": 1.14.1 + "@remix-run/router": 1.15.0 peerDependencies: react: ">=16.8" - checksum: c6774cf4440b524401cecb40f4fbf4dbc89d61405f9f6d3cb3d2338e262a5254b9e27bc6039dc32e2c5f8b3009e83e9d6b30a61159dd6c423297cb0e3bd46fb3 + checksum: 94f382f3fa6fcb8525c143d83d4c3a3b010979f417cac0bbe7a63f906b3809e2bb56e8c329b9b3fd3212a498670ab278aea72893e921b827dcf00024c3d115dd languageName: node linkType: hard @@ -20691,16 +20632,17 @@ __metadata: linkType: hard "reflect.getprototypeof@npm:^1.0.4": - version: 1.0.4 - resolution: "reflect.getprototypeof@npm:1.0.4" + version: 1.0.5 + resolution: "reflect.getprototypeof@npm:1.0.5" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 + call-bind: ^1.0.5 + define-properties: ^1.2.1 + es-abstract: ^1.22.3 + es-errors: ^1.0.0 + get-intrinsic: ^1.2.3 globalthis: ^1.0.3 which-builtin-type: ^1.1.3 - checksum: 16e2361988dbdd23274b53fb2b1b9cefeab876c3941a2543b4cadac6f989e3db3957b07a44aac46cfceb3e06e2871785ec2aac992d824f76292f3b5ee87f66f2 + checksum: c7176be030b89b9e55882f4da3288de5ffd187c528d79870e27d2c8a713a82b3fa058ca2d0c9da25f6d61240e2685c42d7daa32cdf3d431d8207ee1b9ed30993 languageName: node linkType: hard @@ -21240,14 +21182,14 @@ __metadata: linkType: hard "safe-array-concat@npm:^1.0.0, safe-array-concat@npm:^1.0.1": - version: 1.0.1 - resolution: "safe-array-concat@npm:1.0.1" + version: 1.1.0 + resolution: "safe-array-concat@npm:1.1.0" dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.1 + call-bind: ^1.0.5 + get-intrinsic: ^1.2.2 has-symbols: ^1.0.3 isarray: ^2.0.5 - checksum: 001ecf1d8af398251cbfabaf30ed66e3855127fbceee178179524b24160b49d15442f94ed6c0db0b2e796da76bb05b73bf3cc241490ec9c2b741b41d33058581 + checksum: 5c71eaa999168ee7474929f1cd3aae80f486353a651a094d9968936692cf90aa065224929a6486dcda66334a27dce4250a83612f9e0fef6dced1a925d3ac7296 languageName: node linkType: hard @@ -21266,13 +21208,13 @@ __metadata: linkType: hard "safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" + version: 1.0.2 + resolution: "safe-regex-test@npm:1.0.2" dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.3 + call-bind: ^1.0.5 + get-intrinsic: ^1.2.2 is-regex: ^1.1.4 - checksum: bc566d8beb8b43c01b94e67de3f070fd2781685e835959bbbaaec91cc53381145ca91f69bd837ce6ec244817afa0a5e974fc4e40a2957f0aca68ac3add1ddd34 + checksum: 4af5ce05a2daa4f6d4bfd5a3c64fc33d6b886f6592122e93c0efad52f7147b9b605e5ffc03c269a1e3d1f8db2a23bc636628a961c9fd65bafdc09503330673fd languageName: node linkType: hard @@ -21490,7 +21432,7 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.0": +"serialize-javascript@npm:^6.0.0, serialize-javascript@npm:^6.0.1": version: 6.0.2 resolution: "serialize-javascript@npm:6.0.2" dependencies: @@ -21499,15 +21441,6 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.1": - version: 6.0.1 - resolution: "serialize-javascript@npm:6.0.1" - dependencies: - randombytes: ^2.1.0 - checksum: 3c4f4cb61d0893b988415bdb67243637333f3f574e9e9cc9a006a2ced0b390b0b3b44aef8d51c951272a9002ec50885eefdc0298891bc27eb2fe7510ea87dc4f - languageName: node - linkType: hard - "serve-index@npm:^1.9.1": version: 1.9.1 resolution: "serve-index@npm:1.9.1" @@ -21536,14 +21469,15 @@ __metadata: linkType: hard "set-function-length@npm:^1.1.1": - version: 1.1.1 - resolution: "set-function-length@npm:1.1.1" + version: 1.2.0 + resolution: "set-function-length@npm:1.2.0" dependencies: define-data-property: ^1.1.1 - get-intrinsic: ^1.2.1 + function-bind: ^1.1.2 + get-intrinsic: ^1.2.2 gopd: ^1.0.1 - has-property-descriptors: ^1.0.0 - checksum: c131d7569cd7e110cafdfbfbb0557249b538477624dfac4fc18c376d879672fa52563b74029ca01f8f4583a8acb35bb1e873d573a24edb80d978a7ee607c6e06 + has-property-descriptors: ^1.0.1 + checksum: 63e34b45a2ff9abb419f52583481bf8ba597d33c0c85e56999085eb6078a0f7fbb4222051981c287feceeb358aa7789e7803cea2c82ac94c0ab37059596aff79 languageName: node linkType: hard @@ -21850,9 +21784,9 @@ __metadata: linkType: hard "spdx-exceptions@npm:^2.1.0": - version: 2.3.0 - resolution: "spdx-exceptions@npm:2.3.0" - checksum: cb69a26fa3b46305637123cd37c85f75610e8c477b6476fa7354eb67c08128d159f1d36715f19be6f9daf4b680337deb8c65acdcae7f2608ba51931540687ac0 + version: 2.4.0 + resolution: "spdx-exceptions@npm:2.4.0" + checksum: b1b650a8d94424473bf9629cf972c86a91c03cccc260f5c901bce0e4b92d831627fec28c9e0a1e9c34c5ebad0a12cf2eab887bec088e0a862abb9d720c2fd0a1 languageName: node linkType: hard @@ -22035,9 +21969,9 @@ __metadata: linkType: hard "stream-shift@npm:^1.0.0": - version: 1.0.1 - resolution: "stream-shift@npm:1.0.1" - checksum: 59b82b44b29ec3699b5519a49b3cedcc6db58c72fb40c04e005525dfdcab1c75c4e0c180b923c380f204bed78211b9bad8faecc7b93dece4d004c3f6ec75737b + version: 1.0.3 + resolution: "stream-shift@npm:1.0.3" + checksum: a24c0a3f66a8f9024bd1d579a533a53be283b4475d4e6b4b3211b964031447bdf6532dd1f3c2b0ad66752554391b7c62bd7ca4559193381f766534e723d50242 languageName: node linkType: hard @@ -22277,11 +22211,11 @@ __metadata: linkType: hard "style-loader@npm:^3.3.1": - version: 3.3.3 - resolution: "style-loader@npm:3.3.3" + version: 3.3.4 + resolution: "style-loader@npm:3.3.4" peerDependencies: webpack: ^5.0.0 - checksum: f59c953f56f6a935bd6a1dfa409f1128fed2b66b48ce4a7a75b85862a7156e5e90ab163878962762f528ec4d510903d828da645e143fbffd26f055dc1c094078 + checksum: caac3f2fe2c3c89e49b7a2a9329e1cfa515ecf5f36b9c4885f9b218019fda207a9029939b2c35821dec177a264a007e7c391ccdd3ff7401881ce6287b9c8f38b languageName: node linkType: hard @@ -22589,12 +22523,14 @@ __metadata: linkType: hard "swc-loader@npm:^0.2.3": - version: 0.2.4 - resolution: "swc-loader@npm:0.2.4" + version: 0.2.6 + resolution: "swc-loader@npm:0.2.6" + dependencies: + "@swc/counter": ^0.1.3 peerDependencies: "@swc/core": ^1.2.147 webpack: ">=2" - checksum: f23bfe8900b35abdcb9910a2749f3c9d66edf5c660afc67fcf7983647eaec322e024d1edd3bd9fd48bd3191eea0616f67b5f8b5f923e3a648fa5b448683c3213 + checksum: fe90948c02a51bb8ffcff1ce3590e01dc12860b0bb7c9e22052b14fa846ed437781ae265614a5e14344bea22001108780f00a6e350e28c0b3499bc4cd11335fb languageName: node linkType: hard @@ -22859,8 +22795,8 @@ __metadata: linkType: hard "terser@npm:^5.0.0, terser@npm:^5.10.0, terser@npm:^5.26.0, terser@npm:^5.3.4": - version: 5.26.0 - resolution: "terser@npm:5.26.0" + version: 5.27.0 + resolution: "terser@npm:5.27.0" dependencies: "@jridgewell/source-map": ^0.3.3 acorn: ^8.8.2 @@ -22868,7 +22804,7 @@ __metadata: source-map-support: ~0.5.20 bin: terser: bin/terser - checksum: 02a9bb896f04df828025af8f0eced36c315d25d310b6c2418e7dad2bed19ddeb34a9cea9b34e7c24789830fa51e1b6a9be26679980987a9c817a7e6d9cd4154b + checksum: c165052cfea061e8512e9b9ba42a098c2ff6382886ae122b040fd5b6153443070cc2dcb4862269f1669c09c716763e856125a355ff984aa72be525d6fffd8729 languageName: node linkType: hard @@ -24689,16 +24625,16 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": - version: 1.1.13 - resolution: "which-typed-array@npm:1.1.13" +"which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": + version: 1.1.14 + resolution: "which-typed-array@npm:1.1.14" dependencies: - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.4 + available-typed-arrays: ^1.0.6 + call-bind: ^1.0.5 for-each: ^0.3.3 gopd: ^1.0.1 - has-tostringtag: ^1.0.0 - checksum: 3828a0d5d72c800e369d447e54c7620742a4cc0c9baf1b5e8c17e9b6ff90d8d861a3a6dd4800f1953dbf80e5e5cec954a289e5b4a223e3bee4aeb1f8c5f33309 + has-tostringtag: ^1.0.1 + checksum: efe30c143c58630dde8ab96f9330e20165bacd77ca843c602b510120a415415573bcdef3ccbc30a0e5aaf20f257360cfe24712aea0008f149ce5bb99834c0c0b languageName: node linkType: hard From 79891dace90be8d92aa78dcaaa1271a3880fb652 Mon Sep 17 00:00:00 2001 From: Matt Bertrand Date: Mon, 5 Feb 2024 14:19:28 -0500 Subject: [PATCH 23/27] Multiple filter options for learningresources and contenfiles API rest endpoints (#449) --- frontends/api/src/generated/api.ts | 1752 ++++++++--------- learning_resources/filters.py | 182 +- learning_resources/filters_test.py | 433 +++-- learning_resources/views.py | 11 +- learning_resources/views_test.py | 30 +- openapi/specs/v1.yaml | 2876 ++++++++++++++++------------ 6 files changed, 2863 insertions(+), 2421 deletions(-) diff --git a/frontends/api/src/generated/api.ts b/frontends/api/src/generated/api.ts index cc18cfed79..0c90b57deb 100644 --- a/frontends/api/src/generated/api.ts +++ b/frontends/api/src/generated/api.ts @@ -4397,41 +4397,37 @@ export const ContentfilesApiAxiosParamCreator = function ( /** * Viewset for ContentFiles * @summary List - * @param {number} learning_resource_id2 id of the parent learning resource - * @param {string} [content_feature_type] Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {number} [learning_resource_id] The id of the learning resource the content file belongs to - * @param {string} [learning_resource_readable_id] The readable id of the learning resource the content file belongs to + * @param {number} learning_resource_id id of the parent learning resource + * @param {Array} [content_feature_type] Multiple values may be separated by commas. * @param {number} [limit] Number of results to return per page. - * @param {ContentfilesListOfferedByEnum} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ContentfilesListPlatformEnum} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @param {number} [run_id] The id of the learning resource run the content file belongs to - * @param {string} [run_readable_id] The readable id of the learning resource run the content file belongs to + * @param {Array} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [resource_id] Multiple values may be separated by commas. + * @param {Array} [run_id] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ contentfilesList: async ( - learning_resource_id2: number, - content_feature_type?: string, - learning_resource_id?: number, - learning_resource_readable_id?: string, + learning_resource_id: number, + content_feature_type?: Array, limit?: number, - offered_by?: ContentfilesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ContentfilesListPlatformEnum, - run_id?: number, - run_readable_id?: string, + platform?: Array, + resource_id?: Array, + run_id?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { - // verify required parameter 'learning_resource_id2' is not null or undefined + // verify required parameter 'learning_resource_id' is not null or undefined assertParamExists( "contentfilesList", - "learning_resource_id2", - learning_resource_id2, + "learning_resource_id", + learning_resource_id, ) const localVarPath = `/api/v1/contentfiles/`.replace( `{${"learning_resource_id"}}`, - encodeURIComponent(String(learning_resource_id2)), + encodeURIComponent(String(learning_resource_id)), ) // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL) @@ -4448,24 +4444,16 @@ export const ContentfilesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (content_feature_type !== undefined) { - localVarQueryParameter["content_feature_type"] = content_feature_type - } - - if (learning_resource_id !== undefined) { - localVarQueryParameter["learning_resource_id"] = learning_resource_id - } - - if (learning_resource_readable_id !== undefined) { - localVarQueryParameter["learning_resource_readable_id"] = - learning_resource_readable_id + if (content_feature_type) { + localVarQueryParameter["content_feature_type"] = + content_feature_type.join(COLLECTION_FORMATS.csv) } if (limit !== undefined) { localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -4473,16 +4461,18 @@ export const ContentfilesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } - if (run_id !== undefined) { - localVarQueryParameter["run_id"] = run_id + if (resource_id) { + localVarQueryParameter["resource_id"] = resource_id.join( + COLLECTION_FORMATS.csv, + ) } - if (run_readable_id !== undefined) { - localVarQueryParameter["run_readable_id"] = run_readable_id + if (run_id) { + localVarQueryParameter["run_id"] = run_id.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -4569,30 +4559,26 @@ export const ContentfilesApiFp = function (configuration?: Configuration) { /** * Viewset for ContentFiles * @summary List - * @param {number} learning_resource_id2 id of the parent learning resource - * @param {string} [content_feature_type] Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {number} [learning_resource_id] The id of the learning resource the content file belongs to - * @param {string} [learning_resource_readable_id] The readable id of the learning resource the content file belongs to + * @param {number} learning_resource_id id of the parent learning resource + * @param {Array} [content_feature_type] Multiple values may be separated by commas. * @param {number} [limit] Number of results to return per page. - * @param {ContentfilesListOfferedByEnum} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ContentfilesListPlatformEnum} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @param {number} [run_id] The id of the learning resource run the content file belongs to - * @param {string} [run_readable_id] The readable id of the learning resource run the content file belongs to + * @param {Array} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [resource_id] Multiple values may be separated by commas. + * @param {Array} [run_id] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async contentfilesList( - learning_resource_id2: number, - content_feature_type?: string, - learning_resource_id?: number, - learning_resource_readable_id?: string, + learning_resource_id: number, + content_feature_type?: Array, limit?: number, - offered_by?: ContentfilesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ContentfilesListPlatformEnum, - run_id?: number, - run_readable_id?: string, + platform?: Array, + resource_id?: Array, + run_id?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -4602,16 +4588,14 @@ export const ContentfilesApiFp = function (configuration?: Configuration) { > { const localVarAxiosArgs = await localVarAxiosParamCreator.contentfilesList( - learning_resource_id2, - content_feature_type, learning_resource_id, - learning_resource_readable_id, + content_feature_type, limit, offered_by, offset, platform, + resource_id, run_id, - run_readable_id, options, ) const index = configuration?.serverIndex ?? 0 @@ -4684,16 +4668,14 @@ export const ContentfilesApiFactory = function ( ): AxiosPromise { return localVarFp .contentfilesList( - requestParameters.learning_resource_id2, - requestParameters.content_feature_type, requestParameters.learning_resource_id, - requestParameters.learning_resource_readable_id, + requestParameters.content_feature_type, requestParameters.limit, requestParameters.offered_by, requestParameters.offset, requestParameters.platform, + requestParameters.resource_id, requestParameters.run_id, - requestParameters.run_readable_id, options, ) .then((request) => request(axios, basePath)) @@ -4731,28 +4713,14 @@ export interface ContentfilesApiContentfilesListRequest { * @type {number} * @memberof ContentfilesApiContentfilesList */ - readonly learning_resource_id2: number - - /** - * Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} - * @memberof ContentfilesApiContentfilesList - */ - readonly content_feature_type?: string - - /** - * The id of the learning resource the content file belongs to - * @type {number} - * @memberof ContentfilesApiContentfilesList - */ - readonly learning_resource_id?: number + readonly learning_resource_id: number /** - * The readable id of the learning resource the content file belongs to - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ContentfilesApiContentfilesList */ - readonly learning_resource_readable_id?: string + readonly content_feature_type?: Array /** * Number of results to return per page. @@ -4763,10 +4731,10 @@ export interface ContentfilesApiContentfilesListRequest { /** * The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof ContentfilesApiContentfilesList */ - readonly offered_by?: ContentfilesListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -4777,24 +4745,24 @@ export interface ContentfilesApiContentfilesListRequest { /** * The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof ContentfilesApiContentfilesList */ - readonly platform?: ContentfilesListPlatformEnum + readonly platform?: Array /** - * The id of the learning resource run the content file belongs to - * @type {number} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ContentfilesApiContentfilesList */ - readonly run_id?: number + readonly resource_id?: Array /** - * The readable id of the learning resource run the content file belongs to - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ContentfilesApiContentfilesList */ - readonly run_readable_id?: string + readonly run_id?: Array } /** @@ -4839,16 +4807,14 @@ export class ContentfilesApi extends BaseAPI { ) { return ContentfilesApiFp(this.configuration) .contentfilesList( - requestParameters.learning_resource_id2, - requestParameters.content_feature_type, requestParameters.learning_resource_id, - requestParameters.learning_resource_readable_id, + requestParameters.content_feature_type, requestParameters.limit, requestParameters.offered_by, requestParameters.offset, requestParameters.platform, + requestParameters.resource_id, requestParameters.run_id, - requestParameters.run_readable_id, options, ) .then((request) => request(this.axios, this.basePath)) @@ -5241,42 +5207,38 @@ export const CoursesApiAxiosParamCreator = function ( /** * Show content files for a learning resource * @summary Learning Resource Content File List - * @param {number} learning_resource_id2 id of the parent learning resource - * @param {string} [content_feature_type] Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {number} [learning_resource_id] The id of the learning resource the content file belongs to - * @param {string} [learning_resource_readable_id] The readable id of the learning resource the content file belongs to + * @param {number} learning_resource_id id of the parent learning resource + * @param {Array} [content_feature_type] Multiple values may be separated by commas. * @param {number} [limit] Number of results to return per page. - * @param {CoursesContentfilesListOfferedByEnum} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesContentfilesListPlatformEnum} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @param {number} [run_id] The id of the learning resource run the content file belongs to - * @param {string} [run_readable_id] The readable id of the learning resource run the content file belongs to + * @param {Array} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [resource_id] Multiple values may be separated by commas. + * @param {Array} [run_id] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesContentfilesList: async ( - learning_resource_id2: number, - content_feature_type?: string, - learning_resource_id?: number, - learning_resource_readable_id?: string, + learning_resource_id: number, + content_feature_type?: Array, limit?: number, - offered_by?: CoursesContentfilesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesContentfilesListPlatformEnum, - run_id?: number, - run_readable_id?: string, + platform?: Array, + resource_id?: Array, + run_id?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { - // verify required parameter 'learning_resource_id2' is not null or undefined + // verify required parameter 'learning_resource_id' is not null or undefined assertParamExists( "coursesContentfilesList", - "learning_resource_id2", - learning_resource_id2, + "learning_resource_id", + learning_resource_id, ) const localVarPath = `/api/v1/courses/{learning_resource_id}/contentfiles/`.replace( `{${"learning_resource_id"}}`, - encodeURIComponent(String(learning_resource_id2)), + encodeURIComponent(String(learning_resource_id)), ) // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL) @@ -5293,24 +5255,16 @@ export const CoursesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (content_feature_type !== undefined) { - localVarQueryParameter["content_feature_type"] = content_feature_type - } - - if (learning_resource_id !== undefined) { - localVarQueryParameter["learning_resource_id"] = learning_resource_id - } - - if (learning_resource_readable_id !== undefined) { - localVarQueryParameter["learning_resource_readable_id"] = - learning_resource_readable_id + if (content_feature_type) { + localVarQueryParameter["content_feature_type"] = + content_feature_type.join(COLLECTION_FORMATS.csv) } if (limit !== undefined) { localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -5318,16 +5272,18 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } - if (run_id !== undefined) { - localVarQueryParameter["run_id"] = run_id + if (resource_id) { + localVarQueryParameter["resource_id"] = resource_id.join( + COLLECTION_FORMATS.csv, + ) } - if (run_readable_id !== undefined) { - localVarQueryParameter["run_readable_id"] = run_readable_id + if (run_id) { + localVarQueryParameter["run_id"] = run_id.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -5404,32 +5360,32 @@ export const CoursesApiAxiosParamCreator = function ( /** * Get a paginated list of courses * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {CoursesListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {CoursesListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {CoursesListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {CoursesListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {CoursesListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesList: async ( - course_feature?: string, - department?: CoursesListDepartmentEnum, - level?: CoursesListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: CoursesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: CoursesListResourceTypeEnum, + resource_type?: Array, sortby?: CoursesListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/courses/` @@ -5448,15 +5404,17 @@ export const CoursesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -5464,7 +5422,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -5472,7 +5430,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -5480,7 +5438,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -5488,8 +5446,8 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -5509,32 +5467,32 @@ export const CoursesApiAxiosParamCreator = function ( /** * Get a paginated list of newly released Courses. * @summary List New - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {CoursesNewListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {CoursesNewListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {CoursesNewListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesNewListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {CoursesNewListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {CoursesNewListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesNewList: async ( - course_feature?: string, - department?: CoursesNewListDepartmentEnum, - level?: CoursesNewListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: CoursesNewListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesNewListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: CoursesNewListResourceTypeEnum, + resource_type?: Array, sortby?: CoursesNewListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/courses/new/` @@ -5553,15 +5511,17 @@ export const CoursesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -5569,7 +5529,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -5577,7 +5537,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -5585,7 +5545,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -5593,8 +5553,8 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -5660,32 +5620,32 @@ export const CoursesApiAxiosParamCreator = function ( /** * Get a paginated list of upcoming Courses. * @summary List Upcoming - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {CoursesUpcomingListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {CoursesUpcomingListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {CoursesUpcomingListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesUpcomingListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {CoursesUpcomingListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {CoursesUpcomingListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ coursesUpcomingList: async ( - course_feature?: string, - department?: CoursesUpcomingListDepartmentEnum, - level?: CoursesUpcomingListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: CoursesUpcomingListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesUpcomingListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: CoursesUpcomingListResourceTypeEnum, + resource_type?: Array, sortby?: CoursesUpcomingListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/courses/upcoming/` @@ -5704,15 +5664,17 @@ export const CoursesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -5720,7 +5682,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -5728,7 +5690,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -5736,7 +5698,7 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -5744,8 +5706,8 @@ export const CoursesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -5775,30 +5737,26 @@ export const CoursesApiFp = function (configuration?: Configuration) { /** * Show content files for a learning resource * @summary Learning Resource Content File List - * @param {number} learning_resource_id2 id of the parent learning resource - * @param {string} [content_feature_type] Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {number} [learning_resource_id] The id of the learning resource the content file belongs to - * @param {string} [learning_resource_readable_id] The readable id of the learning resource the content file belongs to + * @param {number} learning_resource_id id of the parent learning resource + * @param {Array} [content_feature_type] Multiple values may be separated by commas. * @param {number} [limit] Number of results to return per page. - * @param {CoursesContentfilesListOfferedByEnum} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesContentfilesListPlatformEnum} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @param {number} [run_id] The id of the learning resource run the content file belongs to - * @param {string} [run_readable_id] The readable id of the learning resource run the content file belongs to + * @param {Array} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [resource_id] Multiple values may be separated by commas. + * @param {Array} [run_id] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async coursesContentfilesList( - learning_resource_id2: number, - content_feature_type?: string, - learning_resource_id?: number, - learning_resource_readable_id?: string, + learning_resource_id: number, + content_feature_type?: Array, limit?: number, - offered_by?: CoursesContentfilesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesContentfilesListPlatformEnum, - run_id?: number, - run_readable_id?: string, + platform?: Array, + resource_id?: Array, + run_id?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -5808,16 +5766,14 @@ export const CoursesApiFp = function (configuration?: Configuration) { > { const localVarAxiosArgs = await localVarAxiosParamCreator.coursesContentfilesList( - learning_resource_id2, - content_feature_type, learning_resource_id, - learning_resource_readable_id, + content_feature_type, limit, offered_by, offset, platform, + resource_id, run_id, - run_readable_id, options, ) const index = configuration?.serverIndex ?? 0 @@ -5867,32 +5823,32 @@ export const CoursesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of courses * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {CoursesListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {CoursesListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {CoursesListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {CoursesListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {CoursesListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async coursesList( - course_feature?: string, - department?: CoursesListDepartmentEnum, - level?: CoursesListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: CoursesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: CoursesListResourceTypeEnum, + resource_type?: Array, sortby?: CoursesListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -5928,32 +5884,32 @@ export const CoursesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of newly released Courses. * @summary List New - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {CoursesNewListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {CoursesNewListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {CoursesNewListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesNewListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {CoursesNewListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {CoursesNewListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async coursesNewList( - course_feature?: string, - department?: CoursesNewListDepartmentEnum, - level?: CoursesNewListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: CoursesNewListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesNewListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: CoursesNewListResourceTypeEnum, + resource_type?: Array, sortby?: CoursesNewListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -6017,32 +5973,32 @@ export const CoursesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of upcoming Courses. * @summary List Upcoming - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {CoursesUpcomingListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {CoursesUpcomingListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {CoursesUpcomingListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {CoursesUpcomingListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {CoursesUpcomingListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {CoursesUpcomingListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async coursesUpcomingList( - course_feature?: string, - department?: CoursesUpcomingListDepartmentEnum, - level?: CoursesUpcomingListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: CoursesUpcomingListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: CoursesUpcomingListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: CoursesUpcomingListResourceTypeEnum, + resource_type?: Array, sortby?: CoursesUpcomingListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -6103,16 +6059,14 @@ export const CoursesApiFactory = function ( ): AxiosPromise { return localVarFp .coursesContentfilesList( - requestParameters.learning_resource_id2, - requestParameters.content_feature_type, requestParameters.learning_resource_id, - requestParameters.learning_resource_readable_id, + requestParameters.content_feature_type, requestParameters.limit, requestParameters.offered_by, requestParameters.offset, requestParameters.platform, + requestParameters.resource_id, requestParameters.run_id, - requestParameters.run_readable_id, options, ) .then((request) => request(axios, basePath)) @@ -6249,28 +6203,14 @@ export interface CoursesApiCoursesContentfilesListRequest { * @type {number} * @memberof CoursesApiCoursesContentfilesList */ - readonly learning_resource_id2: number - - /** - * Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} - * @memberof CoursesApiCoursesContentfilesList - */ - readonly content_feature_type?: string - - /** - * The id of the learning resource the content file belongs to - * @type {number} - * @memberof CoursesApiCoursesContentfilesList - */ - readonly learning_resource_id?: number + readonly learning_resource_id: number /** - * The readable id of the learning resource the content file belongs to - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesContentfilesList */ - readonly learning_resource_readable_id?: string + readonly content_feature_type?: Array /** * Number of results to return per page. @@ -6281,10 +6221,10 @@ export interface CoursesApiCoursesContentfilesListRequest { /** * The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof CoursesApiCoursesContentfilesList */ - readonly offered_by?: CoursesContentfilesListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -6295,24 +6235,24 @@ export interface CoursesApiCoursesContentfilesListRequest { /** * The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof CoursesApiCoursesContentfilesList */ - readonly platform?: CoursesContentfilesListPlatformEnum + readonly platform?: Array /** - * The id of the learning resource run the content file belongs to - * @type {number} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesContentfilesList */ - readonly run_id?: number + readonly resource_id?: Array /** - * The readable id of the learning resource run the content file belongs to - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesContentfilesList */ - readonly run_readable_id?: string + readonly run_id?: Array } /** @@ -6343,25 +6283,25 @@ export interface CoursesApiCoursesContentfilesRetrieveRequest { */ export interface CoursesApiCoursesListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof CoursesApiCoursesList */ - readonly department?: CoursesListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof CoursesApiCoursesList */ - readonly level?: CoursesListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -6372,10 +6312,10 @@ export interface CoursesApiCoursesListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof CoursesApiCoursesList */ - readonly offered_by?: CoursesListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -6386,10 +6326,10 @@ export interface CoursesApiCoursesListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof CoursesApiCoursesList */ - readonly platform?: CoursesListPlatformEnum + readonly platform?: Array /** * @@ -6400,10 +6340,10 @@ export interface CoursesApiCoursesListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof CoursesApiCoursesList */ - readonly resource_type?: CoursesListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -6413,11 +6353,11 @@ export interface CoursesApiCoursesListRequest { readonly sortby?: CoursesListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesList */ - readonly topic?: string + readonly topic?: Array } /** @@ -6427,25 +6367,25 @@ export interface CoursesApiCoursesListRequest { */ export interface CoursesApiCoursesNewListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesNewList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof CoursesApiCoursesNewList */ - readonly department?: CoursesNewListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof CoursesApiCoursesNewList */ - readonly level?: CoursesNewListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -6456,10 +6396,10 @@ export interface CoursesApiCoursesNewListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof CoursesApiCoursesNewList */ - readonly offered_by?: CoursesNewListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -6470,10 +6410,10 @@ export interface CoursesApiCoursesNewListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof CoursesApiCoursesNewList */ - readonly platform?: CoursesNewListPlatformEnum + readonly platform?: Array /** * @@ -6484,10 +6424,10 @@ export interface CoursesApiCoursesNewListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof CoursesApiCoursesNewList */ - readonly resource_type?: CoursesNewListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -6497,11 +6437,11 @@ export interface CoursesApiCoursesNewListRequest { readonly sortby?: CoursesNewListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesNewList */ - readonly topic?: string + readonly topic?: Array } /** @@ -6525,25 +6465,25 @@ export interface CoursesApiCoursesRetrieveRequest { */ export interface CoursesApiCoursesUpcomingListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesUpcomingList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof CoursesApiCoursesUpcomingList */ - readonly department?: CoursesUpcomingListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof CoursesApiCoursesUpcomingList */ - readonly level?: CoursesUpcomingListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -6554,10 +6494,10 @@ export interface CoursesApiCoursesUpcomingListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof CoursesApiCoursesUpcomingList */ - readonly offered_by?: CoursesUpcomingListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -6568,10 +6508,10 @@ export interface CoursesApiCoursesUpcomingListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof CoursesApiCoursesUpcomingList */ - readonly platform?: CoursesUpcomingListPlatformEnum + readonly platform?: Array /** * @@ -6582,10 +6522,10 @@ export interface CoursesApiCoursesUpcomingListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof CoursesApiCoursesUpcomingList */ - readonly resource_type?: CoursesUpcomingListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -6595,11 +6535,11 @@ export interface CoursesApiCoursesUpcomingListRequest { readonly sortby?: CoursesUpcomingListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof CoursesApiCoursesUpcomingList */ - readonly topic?: string + readonly topic?: Array } /** @@ -6623,16 +6563,14 @@ export class CoursesApi extends BaseAPI { ) { return CoursesApiFp(this.configuration) .coursesContentfilesList( - requestParameters.learning_resource_id2, - requestParameters.content_feature_type, requestParameters.learning_resource_id, - requestParameters.learning_resource_readable_id, + requestParameters.content_feature_type, requestParameters.limit, requestParameters.offered_by, requestParameters.offset, requestParameters.platform, + requestParameters.resource_id, requestParameters.run_id, - requestParameters.run_readable_id, options, ) .then((request) => request(this.axios, this.basePath)) @@ -7520,42 +7458,38 @@ export const LearningResourcesApiAxiosParamCreator = function ( /** * Show content files for a learning resource * @summary Learning Resource Content File List - * @param {number} learning_resource_id2 id of the parent learning resource - * @param {string} [content_feature_type] Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {number} [learning_resource_id] The id of the learning resource the content file belongs to - * @param {string} [learning_resource_readable_id] The readable id of the learning resource the content file belongs to + * @param {number} learning_resource_id id of the parent learning resource + * @param {Array} [content_feature_type] Multiple values may be separated by commas. * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesContentfilesListOfferedByEnum} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesContentfilesListPlatformEnum} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @param {number} [run_id] The id of the learning resource run the content file belongs to - * @param {string} [run_readable_id] The readable id of the learning resource run the content file belongs to + * @param {Array} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [resource_id] Multiple values may be separated by commas. + * @param {Array} [run_id] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ learningResourcesContentfilesList: async ( - learning_resource_id2: number, - content_feature_type?: string, - learning_resource_id?: number, - learning_resource_readable_id?: string, + learning_resource_id: number, + content_feature_type?: Array, limit?: number, - offered_by?: LearningResourcesContentfilesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesContentfilesListPlatformEnum, - run_id?: number, - run_readable_id?: string, + platform?: Array, + resource_id?: Array, + run_id?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { - // verify required parameter 'learning_resource_id2' is not null or undefined + // verify required parameter 'learning_resource_id' is not null or undefined assertParamExists( "learningResourcesContentfilesList", - "learning_resource_id2", - learning_resource_id2, + "learning_resource_id", + learning_resource_id, ) const localVarPath = `/api/v1/learning_resources/{learning_resource_id}/contentfiles/`.replace( `{${"learning_resource_id"}}`, - encodeURIComponent(String(learning_resource_id2)), + encodeURIComponent(String(learning_resource_id)), ) // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL) @@ -7572,24 +7506,16 @@ export const LearningResourcesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (content_feature_type !== undefined) { - localVarQueryParameter["content_feature_type"] = content_feature_type - } - - if (learning_resource_id !== undefined) { - localVarQueryParameter["learning_resource_id"] = learning_resource_id - } - - if (learning_resource_readable_id !== undefined) { - localVarQueryParameter["learning_resource_readable_id"] = - learning_resource_readable_id + if (content_feature_type) { + localVarQueryParameter["content_feature_type"] = + content_feature_type.join(COLLECTION_FORMATS.csv) } if (limit !== undefined) { localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -7597,16 +7523,18 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } - if (run_id !== undefined) { - localVarQueryParameter["run_id"] = run_id + if (resource_id) { + localVarQueryParameter["resource_id"] = resource_id.join( + COLLECTION_FORMATS.csv, + ) } - if (run_readable_id !== undefined) { - localVarQueryParameter["run_readable_id"] = run_readable_id + if (run_id) { + localVarQueryParameter["run_id"] = run_id.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -7809,32 +7737,32 @@ export const LearningResourcesApiAxiosParamCreator = function ( /** * Get a paginated list of learning resources. * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningResourcesListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningResourcesListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningResourcesListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningResourcesListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ learningResourcesList: async ( - course_feature?: string, - department?: LearningResourcesListDepartmentEnum, - level?: LearningResourcesListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningResourcesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningResourcesListResourceTypeEnum, + resource_type?: Array, sortby?: LearningResourcesListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/learning_resources/` @@ -7853,15 +7781,17 @@ export const LearningResourcesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -7869,7 +7799,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -7877,7 +7807,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -7885,7 +7815,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -7893,8 +7823,8 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -7914,32 +7844,32 @@ export const LearningResourcesApiAxiosParamCreator = function ( /** * Get a paginated list of newly released Learning Resources. * @summary List New - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningResourcesNewListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningResourcesNewListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesNewListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesNewListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningResourcesNewListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningResourcesNewListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ learningResourcesNewList: async ( - course_feature?: string, - department?: LearningResourcesNewListDepartmentEnum, - level?: LearningResourcesNewListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningResourcesNewListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesNewListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningResourcesNewListResourceTypeEnum, + resource_type?: Array, sortby?: LearningResourcesNewListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/learning_resources/new/` @@ -7958,15 +7888,17 @@ export const LearningResourcesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -7974,7 +7906,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -7982,7 +7914,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -7990,7 +7922,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -7998,8 +7930,8 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -8065,32 +7997,32 @@ export const LearningResourcesApiAxiosParamCreator = function ( /** * Get a paginated list of upcoming Learning Resources. * @summary List Upcoming - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningResourcesUpcomingListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningResourcesUpcomingListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesUpcomingListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesUpcomingListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningResourcesUpcomingListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningResourcesUpcomingListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ learningResourcesUpcomingList: async ( - course_feature?: string, - department?: LearningResourcesUpcomingListDepartmentEnum, - level?: LearningResourcesUpcomingListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningResourcesUpcomingListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesUpcomingListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningResourcesUpcomingListResourceTypeEnum, + resource_type?: Array, sortby?: LearningResourcesUpcomingListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/learning_resources/upcoming/` @@ -8109,15 +8041,17 @@ export const LearningResourcesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -8125,7 +8059,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -8133,7 +8067,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -8141,7 +8075,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -8149,8 +8083,8 @@ export const LearningResourcesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -8181,30 +8115,26 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { /** * Show content files for a learning resource * @summary Learning Resource Content File List - * @param {number} learning_resource_id2 id of the parent learning resource - * @param {string} [content_feature_type] Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {number} [learning_resource_id] The id of the learning resource the content file belongs to - * @param {string} [learning_resource_readable_id] The readable id of the learning resource the content file belongs to + * @param {number} learning_resource_id id of the parent learning resource + * @param {Array} [content_feature_type] Multiple values may be separated by commas. * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesContentfilesListOfferedByEnum} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesContentfilesListPlatformEnum} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @param {number} [run_id] The id of the learning resource run the content file belongs to - * @param {string} [run_readable_id] The readable id of the learning resource run the content file belongs to + * @param {Array} [platform] The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [resource_id] Multiple values may be separated by commas. + * @param {Array} [run_id] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async learningResourcesContentfilesList( - learning_resource_id2: number, - content_feature_type?: string, - learning_resource_id?: number, - learning_resource_readable_id?: string, + learning_resource_id: number, + content_feature_type?: Array, limit?: number, - offered_by?: LearningResourcesContentfilesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesContentfilesListPlatformEnum, - run_id?: number, - run_readable_id?: string, + platform?: Array, + resource_id?: Array, + run_id?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -8214,16 +8144,14 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { > { const localVarAxiosArgs = await localVarAxiosParamCreator.learningResourcesContentfilesList( - learning_resource_id2, - content_feature_type, learning_resource_id, - learning_resource_readable_id, + content_feature_type, limit, offered_by, offset, platform, + resource_id, run_id, - run_readable_id, options, ) const index = configuration?.serverIndex ?? 0 @@ -8356,32 +8284,32 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of learning resources. * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningResourcesListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningResourcesListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningResourcesListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningResourcesListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async learningResourcesList( - course_feature?: string, - department?: LearningResourcesListDepartmentEnum, - level?: LearningResourcesListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningResourcesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningResourcesListResourceTypeEnum, + resource_type?: Array, sortby?: LearningResourcesListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -8420,32 +8348,32 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of newly released Learning Resources. * @summary List New - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningResourcesNewListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningResourcesNewListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesNewListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesNewListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningResourcesNewListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningResourcesNewListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async learningResourcesNewList( - course_feature?: string, - department?: LearningResourcesNewListDepartmentEnum, - level?: LearningResourcesNewListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningResourcesNewListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesNewListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningResourcesNewListResourceTypeEnum, + resource_type?: Array, sortby?: LearningResourcesNewListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -8515,32 +8443,32 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of upcoming Learning Resources. * @summary List Upcoming - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningResourcesUpcomingListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningResourcesUpcomingListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningResourcesUpcomingListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningResourcesUpcomingListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningResourcesUpcomingListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningResourcesUpcomingListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async learningResourcesUpcomingList( - course_feature?: string, - department?: LearningResourcesUpcomingListDepartmentEnum, - level?: LearningResourcesUpcomingListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningResourcesUpcomingListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningResourcesUpcomingListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningResourcesUpcomingListResourceTypeEnum, + resource_type?: Array, sortby?: LearningResourcesUpcomingListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -8603,16 +8531,14 @@ export const LearningResourcesApiFactory = function ( ): AxiosPromise { return localVarFp .learningResourcesContentfilesList( - requestParameters.learning_resource_id2, - requestParameters.content_feature_type, requestParameters.learning_resource_id, - requestParameters.learning_resource_readable_id, + requestParameters.content_feature_type, requestParameters.limit, requestParameters.offered_by, requestParameters.offset, requestParameters.platform, + requestParameters.resource_id, requestParameters.run_id, - requestParameters.run_readable_id, options, ) .then((request) => request(axios, basePath)) @@ -8789,28 +8715,14 @@ export interface LearningResourcesApiLearningResourcesContentfilesListRequest { * @type {number} * @memberof LearningResourcesApiLearningResourcesContentfilesList */ - readonly learning_resource_id2: number - - /** - * Content feature type for the content file. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} - * @memberof LearningResourcesApiLearningResourcesContentfilesList - */ - readonly content_feature_type?: string - - /** - * The id of the learning resource the content file belongs to - * @type {number} - * @memberof LearningResourcesApiLearningResourcesContentfilesList - */ - readonly learning_resource_id?: number + readonly learning_resource_id: number /** - * The readable id of the learning resource the content file belongs to - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesContentfilesList */ - readonly learning_resource_readable_id?: string + readonly content_feature_type?: Array /** * Number of results to return per page. @@ -8821,10 +8733,10 @@ export interface LearningResourcesApiLearningResourcesContentfilesListRequest { /** * The organization that offers a learning resource the content file belongs to * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesContentfilesList */ - readonly offered_by?: LearningResourcesContentfilesListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -8835,24 +8747,24 @@ export interface LearningResourcesApiLearningResourcesContentfilesListRequest { /** * The platform on which learning resources the content file belongs to is offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesContentfilesList */ - readonly platform?: LearningResourcesContentfilesListPlatformEnum + readonly platform?: Array /** - * The id of the learning resource run the content file belongs to - * @type {number} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesContentfilesList */ - readonly run_id?: number + readonly resource_id?: Array /** - * The readable id of the learning resource run the content file belongs to - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesContentfilesList */ - readonly run_readable_id?: string + readonly run_id?: Array } /** @@ -8939,25 +8851,25 @@ export interface LearningResourcesApiLearningResourcesItemsRetrieveRequest { */ export interface LearningResourcesApiLearningResourcesListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof LearningResourcesApiLearningResourcesList */ - readonly department?: LearningResourcesListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof LearningResourcesApiLearningResourcesList */ - readonly level?: LearningResourcesListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -8968,10 +8880,10 @@ export interface LearningResourcesApiLearningResourcesListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesList */ - readonly offered_by?: LearningResourcesListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -8982,10 +8894,10 @@ export interface LearningResourcesApiLearningResourcesListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesList */ - readonly platform?: LearningResourcesListPlatformEnum + readonly platform?: Array /** * @@ -8996,10 +8908,10 @@ export interface LearningResourcesApiLearningResourcesListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof LearningResourcesApiLearningResourcesList */ - readonly resource_type?: LearningResourcesListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -9009,11 +8921,11 @@ export interface LearningResourcesApiLearningResourcesListRequest { readonly sortby?: LearningResourcesListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesList */ - readonly topic?: string + readonly topic?: Array } /** @@ -9023,25 +8935,25 @@ export interface LearningResourcesApiLearningResourcesListRequest { */ export interface LearningResourcesApiLearningResourcesNewListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly department?: LearningResourcesNewListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly level?: LearningResourcesNewListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -9052,10 +8964,10 @@ export interface LearningResourcesApiLearningResourcesNewListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly offered_by?: LearningResourcesNewListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -9066,10 +8978,10 @@ export interface LearningResourcesApiLearningResourcesNewListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly platform?: LearningResourcesNewListPlatformEnum + readonly platform?: Array /** * @@ -9080,10 +8992,10 @@ export interface LearningResourcesApiLearningResourcesNewListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly resource_type?: LearningResourcesNewListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -9093,11 +9005,11 @@ export interface LearningResourcesApiLearningResourcesNewListRequest { readonly sortby?: LearningResourcesNewListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesNewList */ - readonly topic?: string + readonly topic?: Array } /** @@ -9121,25 +9033,25 @@ export interface LearningResourcesApiLearningResourcesRetrieveRequest { */ export interface LearningResourcesApiLearningResourcesUpcomingListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly department?: LearningResourcesUpcomingListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly level?: LearningResourcesUpcomingListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -9150,10 +9062,10 @@ export interface LearningResourcesApiLearningResourcesUpcomingListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly offered_by?: LearningResourcesUpcomingListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -9164,10 +9076,10 @@ export interface LearningResourcesApiLearningResourcesUpcomingListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly platform?: LearningResourcesUpcomingListPlatformEnum + readonly platform?: Array /** * @@ -9178,10 +9090,10 @@ export interface LearningResourcesApiLearningResourcesUpcomingListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly resource_type?: LearningResourcesUpcomingListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -9191,11 +9103,11 @@ export interface LearningResourcesApiLearningResourcesUpcomingListRequest { readonly sortby?: LearningResourcesUpcomingListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningResourcesApiLearningResourcesUpcomingList */ - readonly topic?: string + readonly topic?: Array } /** @@ -9219,16 +9131,14 @@ export class LearningResourcesApi extends BaseAPI { ) { return LearningResourcesApiFp(this.configuration) .learningResourcesContentfilesList( - requestParameters.learning_resource_id2, - requestParameters.content_feature_type, requestParameters.learning_resource_id, - requestParameters.learning_resource_readable_id, + requestParameters.content_feature_type, requestParameters.limit, requestParameters.offered_by, requestParameters.offset, requestParameters.platform, + requestParameters.resource_id, requestParameters.run_id, - requestParameters.run_readable_id, options, ) .then((request) => request(this.axios, this.basePath)) @@ -10833,32 +10743,32 @@ export const LearningpathsApiAxiosParamCreator = function ( /** * Get a paginated list of learning paths * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningpathsListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningpathsListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningpathsListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningpathsListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningpathsListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningpathsListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ learningpathsList: async ( - course_feature?: string, - department?: LearningpathsListDepartmentEnum, - level?: LearningpathsListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningpathsListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningpathsListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningpathsListResourceTypeEnum, + resource_type?: Array, sortby?: LearningpathsListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/learningpaths/` @@ -10877,15 +10787,17 @@ export const LearningpathsApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -10893,7 +10805,7 @@ export const LearningpathsApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -10901,7 +10813,7 @@ export const LearningpathsApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -10909,7 +10821,7 @@ export const LearningpathsApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -10917,8 +10829,8 @@ export const LearningpathsApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -11298,32 +11210,32 @@ export const LearningpathsApiFp = function (configuration?: Configuration) { /** * Get a paginated list of learning paths * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {LearningpathsListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {LearningpathsListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {LearningpathsListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {LearningpathsListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {LearningpathsListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {LearningpathsListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async learningpathsList( - course_feature?: string, - department?: LearningpathsListDepartmentEnum, - level?: LearningpathsListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: LearningpathsListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: LearningpathsListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: LearningpathsListResourceTypeEnum, + resource_type?: Array, sortby?: LearningpathsListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -11795,25 +11707,25 @@ export interface LearningpathsApiLearningpathsItemsRetrieveRequest { */ export interface LearningpathsApiLearningpathsListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningpathsApiLearningpathsList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof LearningpathsApiLearningpathsList */ - readonly department?: LearningpathsListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof LearningpathsApiLearningpathsList */ - readonly level?: LearningpathsListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -11824,10 +11736,10 @@ export interface LearningpathsApiLearningpathsListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof LearningpathsApiLearningpathsList */ - readonly offered_by?: LearningpathsListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -11838,10 +11750,10 @@ export interface LearningpathsApiLearningpathsListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof LearningpathsApiLearningpathsList */ - readonly platform?: LearningpathsListPlatformEnum + readonly platform?: Array /** * @@ -11852,10 +11764,10 @@ export interface LearningpathsApiLearningpathsListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof LearningpathsApiLearningpathsList */ - readonly resource_type?: LearningpathsListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -11865,11 +11777,11 @@ export interface LearningpathsApiLearningpathsListRequest { readonly sortby?: LearningpathsListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof LearningpathsApiLearningpathsList */ - readonly topic?: string + readonly topic?: Array } /** @@ -12881,32 +12793,32 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( /** * Get a paginated list of podcast episodes * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {PodcastEpisodesListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {PodcastEpisodesListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {PodcastEpisodesListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {PodcastEpisodesListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {PodcastEpisodesListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {PodcastEpisodesListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ podcastEpisodesList: async ( - course_feature?: string, - department?: PodcastEpisodesListDepartmentEnum, - level?: PodcastEpisodesListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: PodcastEpisodesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: PodcastEpisodesListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: PodcastEpisodesListResourceTypeEnum, + resource_type?: Array, sortby?: PodcastEpisodesListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/podcast_episodes/` @@ -12925,15 +12837,17 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -12941,7 +12855,7 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -12949,7 +12863,7 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -12957,7 +12871,7 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -12965,8 +12879,8 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -13043,32 +12957,32 @@ export const PodcastEpisodesApiFp = function (configuration?: Configuration) { /** * Get a paginated list of podcast episodes * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {PodcastEpisodesListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {PodcastEpisodesListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {PodcastEpisodesListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {PodcastEpisodesListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {PodcastEpisodesListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {PodcastEpisodesListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async podcastEpisodesList( - course_feature?: string, - department?: PodcastEpisodesListDepartmentEnum, - level?: PodcastEpisodesListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: PodcastEpisodesListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: PodcastEpisodesListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: PodcastEpisodesListResourceTypeEnum, + resource_type?: Array, sortby?: PodcastEpisodesListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -13201,25 +13115,25 @@ export const PodcastEpisodesApiFactory = function ( */ export interface PodcastEpisodesApiPodcastEpisodesListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly department?: PodcastEpisodesListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly level?: PodcastEpisodesListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -13230,10 +13144,10 @@ export interface PodcastEpisodesApiPodcastEpisodesListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly offered_by?: PodcastEpisodesListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -13244,10 +13158,10 @@ export interface PodcastEpisodesApiPodcastEpisodesListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly platform?: PodcastEpisodesListPlatformEnum + readonly platform?: Array /** * @@ -13258,10 +13172,10 @@ export interface PodcastEpisodesApiPodcastEpisodesListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly resource_type?: PodcastEpisodesListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -13271,11 +13185,11 @@ export interface PodcastEpisodesApiPodcastEpisodesListRequest { readonly sortby?: PodcastEpisodesListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof PodcastEpisodesApiPodcastEpisodesList */ - readonly topic?: string + readonly topic?: Array } /** @@ -13613,32 +13527,32 @@ export const PodcastsApiAxiosParamCreator = function ( /** * Get a paginated list of podcasts * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {PodcastsListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {PodcastsListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {PodcastsListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {PodcastsListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {PodcastsListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {PodcastsListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ podcastsList: async ( - course_feature?: string, - department?: PodcastsListDepartmentEnum, - level?: PodcastsListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: PodcastsListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: PodcastsListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: PodcastsListResourceTypeEnum, + resource_type?: Array, sortby?: PodcastsListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/podcasts/` @@ -13657,15 +13571,17 @@ export const PodcastsApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -13673,7 +13589,7 @@ export const PodcastsApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -13681,7 +13597,7 @@ export const PodcastsApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -13689,7 +13605,7 @@ export const PodcastsApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -13697,8 +13613,8 @@ export const PodcastsApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -13850,32 +13766,32 @@ export const PodcastsApiFp = function (configuration?: Configuration) { /** * Get a paginated list of podcasts * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {PodcastsListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {PodcastsListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {PodcastsListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {PodcastsListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {PodcastsListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {PodcastsListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async podcastsList( - course_feature?: string, - department?: PodcastsListDepartmentEnum, - level?: PodcastsListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: PodcastsListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: PodcastsListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: PodcastsListResourceTypeEnum, + resource_type?: Array, sortby?: PodcastsListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -14100,25 +14016,25 @@ export interface PodcastsApiPodcastsItemsRetrieveRequest { */ export interface PodcastsApiPodcastsListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof PodcastsApiPodcastsList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof PodcastsApiPodcastsList */ - readonly department?: PodcastsListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof PodcastsApiPodcastsList */ - readonly level?: PodcastsListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -14129,10 +14045,10 @@ export interface PodcastsApiPodcastsListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof PodcastsApiPodcastsList */ - readonly offered_by?: PodcastsListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -14143,10 +14059,10 @@ export interface PodcastsApiPodcastsListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof PodcastsApiPodcastsList */ - readonly platform?: PodcastsListPlatformEnum + readonly platform?: Array /** * @@ -14157,10 +14073,10 @@ export interface PodcastsApiPodcastsListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof PodcastsApiPodcastsList */ - readonly resource_type?: PodcastsListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -14170,11 +14086,11 @@ export interface PodcastsApiPodcastsListRequest { readonly sortby?: PodcastsListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof PodcastsApiPodcastsList */ - readonly topic?: string + readonly topic?: Array } /** @@ -14431,32 +14347,32 @@ export const ProgramsApiAxiosParamCreator = function ( /** * Get a paginated list of programs * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {ProgramsListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {ProgramsListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {ProgramsListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ProgramsListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {ProgramsListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {ProgramsListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ programsList: async ( - course_feature?: string, - department?: ProgramsListDepartmentEnum, - level?: ProgramsListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: ProgramsListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ProgramsListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: ProgramsListResourceTypeEnum, + resource_type?: Array, sortby?: ProgramsListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/programs/` @@ -14475,15 +14391,17 @@ export const ProgramsApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -14491,7 +14409,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -14499,7 +14417,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -14507,7 +14425,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -14515,8 +14433,8 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -14536,32 +14454,32 @@ export const ProgramsApiAxiosParamCreator = function ( /** * Get a paginated list of newly released Programs. * @summary List New - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {ProgramsNewListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {ProgramsNewListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {ProgramsNewListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ProgramsNewListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {ProgramsNewListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {ProgramsNewListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ programsNewList: async ( - course_feature?: string, - department?: ProgramsNewListDepartmentEnum, - level?: ProgramsNewListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: ProgramsNewListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ProgramsNewListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: ProgramsNewListResourceTypeEnum, + resource_type?: Array, sortby?: ProgramsNewListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/programs/new/` @@ -14580,15 +14498,17 @@ export const ProgramsApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -14596,7 +14516,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -14604,7 +14524,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -14612,7 +14532,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -14620,8 +14540,8 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -14687,32 +14607,32 @@ export const ProgramsApiAxiosParamCreator = function ( /** * Get a paginated list of upcoming Programs. * @summary List Upcoming - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {ProgramsUpcomingListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {ProgramsUpcomingListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {ProgramsUpcomingListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ProgramsUpcomingListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {ProgramsUpcomingListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {ProgramsUpcomingListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ programsUpcomingList: async ( - course_feature?: string, - department?: ProgramsUpcomingListDepartmentEnum, - level?: ProgramsUpcomingListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: ProgramsUpcomingListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ProgramsUpcomingListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: ProgramsUpcomingListResourceTypeEnum, + resource_type?: Array, sortby?: ProgramsUpcomingListSortbyEnum, - topic?: string, + topic?: Array, options: RawAxiosRequestConfig = {}, ): Promise => { const localVarPath = `/api/v1/programs/upcoming/` @@ -14731,15 +14651,17 @@ export const ProgramsApiAxiosParamCreator = function ( const localVarHeaderParameter = {} as any const localVarQueryParameter = {} as any - if (course_feature !== undefined) { - localVarQueryParameter["course_feature"] = course_feature + if (course_feature) { + localVarQueryParameter["course_feature"] = course_feature.join( + COLLECTION_FORMATS.csv, + ) } - if (department !== undefined) { + if (department) { localVarQueryParameter["department"] = department } - if (level !== undefined) { + if (level) { localVarQueryParameter["level"] = level } @@ -14747,7 +14669,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["limit"] = limit } - if (offered_by !== undefined) { + if (offered_by) { localVarQueryParameter["offered_by"] = offered_by } @@ -14755,7 +14677,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["offset"] = offset } - if (platform !== undefined) { + if (platform) { localVarQueryParameter["platform"] = platform } @@ -14763,7 +14685,7 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["professional"] = professional } - if (resource_type !== undefined) { + if (resource_type) { localVarQueryParameter["resource_type"] = resource_type } @@ -14771,8 +14693,8 @@ export const ProgramsApiAxiosParamCreator = function ( localVarQueryParameter["sortby"] = sortby } - if (topic !== undefined) { - localVarQueryParameter["topic"] = topic + if (topic) { + localVarQueryParameter["topic"] = topic.join(COLLECTION_FORMATS.csv) } setSearchParams(localVarUrlObj, localVarQueryParameter) @@ -14802,32 +14724,32 @@ export const ProgramsApiFp = function (configuration?: Configuration) { /** * Get a paginated list of programs * @summary List - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {ProgramsListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {ProgramsListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {ProgramsListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ProgramsListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {ProgramsListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {ProgramsListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async programsList( - course_feature?: string, - department?: ProgramsListDepartmentEnum, - level?: ProgramsListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: ProgramsListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ProgramsListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: ProgramsListResourceTypeEnum, + resource_type?: Array, sortby?: ProgramsListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -14863,32 +14785,32 @@ export const ProgramsApiFp = function (configuration?: Configuration) { /** * Get a paginated list of newly released Programs. * @summary List New - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {ProgramsNewListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {ProgramsNewListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {ProgramsNewListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ProgramsNewListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {ProgramsNewListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {ProgramsNewListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async programsNewList( - course_feature?: string, - department?: ProgramsNewListDepartmentEnum, - level?: ProgramsNewListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: ProgramsNewListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ProgramsNewListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: ProgramsNewListResourceTypeEnum, + resource_type?: Array, sortby?: ProgramsNewListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -14953,32 +14875,32 @@ export const ProgramsApiFp = function (configuration?: Configuration) { /** * Get a paginated list of upcoming Programs. * @summary List Upcoming - * @param {string} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @param {ProgramsUpcomingListDepartmentEnum} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @param {ProgramsUpcomingListLevelEnum} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + * @param {Array} [course_feature] Multiple values may be separated by commas. + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. - * @param {ProgramsUpcomingListOfferedByEnum} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + * @param {Array} [offered_by] The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * @param {number} [offset] The initial index from which to return the results. - * @param {ProgramsUpcomingListPlatformEnum} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + * @param {Array} [platform] The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast * @param {boolean} [professional] - * @param {ProgramsUpcomingListResourceTypeEnum} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + * @param {Array} [resource_type] The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode * @param {ProgramsUpcomingListSortbyEnum} [sortby] Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending - * @param {string} [topic] Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics + * @param {Array} [topic] Multiple values may be separated by commas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ async programsUpcomingList( - course_feature?: string, - department?: ProgramsUpcomingListDepartmentEnum, - level?: ProgramsUpcomingListLevelEnum, + course_feature?: Array, + department?: Array, + level?: Array, limit?: number, - offered_by?: ProgramsUpcomingListOfferedByEnum, + offered_by?: Array, offset?: number, - platform?: ProgramsUpcomingListPlatformEnum, + platform?: Array, professional?: boolean, - resource_type?: ProgramsUpcomingListResourceTypeEnum, + resource_type?: Array, sortby?: ProgramsUpcomingListSortbyEnum, - topic?: string, + topic?: Array, options?: RawAxiosRequestConfig, ): Promise< ( @@ -15135,25 +15057,25 @@ export const ProgramsApiFactory = function ( */ export interface ProgramsApiProgramsListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ProgramsApiProgramsList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof ProgramsApiProgramsList */ - readonly department?: ProgramsListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof ProgramsApiProgramsList */ - readonly level?: ProgramsListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -15164,10 +15086,10 @@ export interface ProgramsApiProgramsListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof ProgramsApiProgramsList */ - readonly offered_by?: ProgramsListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -15178,10 +15100,10 @@ export interface ProgramsApiProgramsListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof ProgramsApiProgramsList */ - readonly platform?: ProgramsListPlatformEnum + readonly platform?: Array /** * @@ -15192,10 +15114,10 @@ export interface ProgramsApiProgramsListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof ProgramsApiProgramsList */ - readonly resource_type?: ProgramsListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -15205,11 +15127,11 @@ export interface ProgramsApiProgramsListRequest { readonly sortby?: ProgramsListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ProgramsApiProgramsList */ - readonly topic?: string + readonly topic?: Array } /** @@ -15219,25 +15141,25 @@ export interface ProgramsApiProgramsListRequest { */ export interface ProgramsApiProgramsNewListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ProgramsApiProgramsNewList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof ProgramsApiProgramsNewList */ - readonly department?: ProgramsNewListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof ProgramsApiProgramsNewList */ - readonly level?: ProgramsNewListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -15248,10 +15170,10 @@ export interface ProgramsApiProgramsNewListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof ProgramsApiProgramsNewList */ - readonly offered_by?: ProgramsNewListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -15262,10 +15184,10 @@ export interface ProgramsApiProgramsNewListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof ProgramsApiProgramsNewList */ - readonly platform?: ProgramsNewListPlatformEnum + readonly platform?: Array /** * @@ -15276,10 +15198,10 @@ export interface ProgramsApiProgramsNewListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof ProgramsApiProgramsNewList */ - readonly resource_type?: ProgramsNewListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -15289,11 +15211,11 @@ export interface ProgramsApiProgramsNewListRequest { readonly sortby?: ProgramsNewListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ProgramsApiProgramsNewList */ - readonly topic?: string + readonly topic?: Array } /** @@ -15317,25 +15239,25 @@ export interface ProgramsApiProgramsRetrieveRequest { */ export interface ProgramsApiProgramsUpcomingListRequest { /** - * Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ProgramsApiProgramsUpcomingList */ - readonly course_feature?: string + readonly course_feature?: Array /** * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Sloan School of Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Studies and Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Health Sciences and Technology * `IDS` - Institute for Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies - * @type {'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'} + * @type {Array<'1' | '10' | '11' | '12' | '14' | '15' | '16' | '17' | '18' | '2' | '20' | '21A' | '21G' | '21H' | '21L' | '21M' | '22' | '24' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | 'CC' | 'CMS-W' | 'EC' | 'ES' | 'ESD' | 'HST' | 'IDS' | 'MAS' | 'PE' | 'RES' | 'STS' | 'WGS'>} * @memberof ProgramsApiProgramsUpcomingList */ - readonly department?: ProgramsUpcomingListDepartmentEnum + readonly department?: Array /** * The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory - * @type {'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'} + * @type {Array<'advanced' | 'graduate' | 'high_school' | 'intermediate' | 'introductory' | 'noncredit' | 'undergraduate'>} * @memberof ProgramsApiProgramsUpcomingList */ - readonly level?: ProgramsUpcomingListLevelEnum + readonly level?: Array /** * Number of results to return per page. @@ -15346,10 +15268,10 @@ export interface ProgramsApiProgramsUpcomingListRequest { /** * The organization that offers a learning resource * `mitx` - MITx * `ocw` - OCW * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics - * @type {'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'mitpe' | 'mitx' | 'ocw' | 'scc' | 'see' | 'xpro'>} * @memberof ProgramsApiProgramsUpcomingList */ - readonly offered_by?: ProgramsUpcomingListOfferedByEnum + readonly offered_by?: Array /** * The initial index from which to return the results. @@ -15360,10 +15282,10 @@ export interface ProgramsApiProgramsUpcomingListRequest { /** * The platform on which learning resources are offered * `edx` - edX * `ocw` - OCW * `oll` - Open Learning Library * `mitxonline` - MITx Online * `bootcamps` - Bootcamps * `xpro` - xPRO * `csail` - CSAIL * `mitpe` - Professional Education * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics * `whu` - WHU * `susskind` - Susskind * `globalalumni` - Global Alumni * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast - * @type {'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'} + * @type {Array<'bootcamps' | 'csail' | 'ctl' | 'edx' | 'emeritus' | 'globalalumni' | 'mitpe' | 'mitxonline' | 'ocw' | 'oll' | 'podcast' | 'scc' | 'see' | 'simplilearn' | 'susskind' | 'whu' | 'xpro'>} * @memberof ProgramsApiProgramsUpcomingList */ - readonly platform?: ProgramsUpcomingListPlatformEnum + readonly platform?: Array /** * @@ -15374,10 +15296,10 @@ export interface ProgramsApiProgramsUpcomingListRequest { /** * The type of learning resource * `course` - Course * `program` - Program * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode - * @type {'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'} + * @type {Array<'course' | 'learning_path' | 'podcast' | 'podcast_episode' | 'program'>} * @memberof ProgramsApiProgramsUpcomingList */ - readonly resource_type?: ProgramsUpcomingListResourceTypeEnum + readonly resource_type?: Array /** * Sort By * `id` - Object ID ascending * `-id` - Object ID descending * `readable_id` - Readable ID ascending * `-readable_id` - Readable ID descending * `last_modified` - Last Modified Date ascending * `-last_modified` - Last Modified Date descending * `created_on` - Creation Date ascending * `-created_on` - CreationDate descending * `start_date` - Start Date ascending * `-start_date` - Start Date descending * `mitcoursenumber` - MIT course number ascending * `-mitcoursenumber` - MIT course number descending @@ -15387,11 +15309,11 @@ export interface ProgramsApiProgramsUpcomingListRequest { readonly sortby?: ProgramsUpcomingListSortbyEnum /** - * Topics covered by the resources. Load the \'/api/v1/topics\' endpoint for a list of topics - * @type {string} + * Multiple values may be separated by commas. + * @type {Array} * @memberof ProgramsApiProgramsUpcomingList */ - readonly topic?: string + readonly topic?: Array } /** diff --git a/learning_resources/filters.py b/learning_resources/filters.py index 87e3bb5f8c..921152d1ca 100644 --- a/learning_resources/filters.py +++ b/learning_resources/filters.py @@ -1,7 +1,16 @@ """Filters for learning_resources API""" import logging -from django_filters import CharFilter, ChoiceFilter, FilterSet, NumberFilter +from django.db.models import Q, QuerySet +from django_filters import ( + BaseInFilter, + CharFilter, + ChoiceFilter, + FilterSet, + MultipleChoiceFilter, + NumberFilter, +) +from django_filters.rest_framework import DjangoFilterBackend from learning_resources.constants import ( DEPARTMENTS, @@ -16,56 +25,110 @@ log = logging.getLogger(__name__) +def multi_or_filter( + queryset: QuerySet, attribute: str, values: list[str or list] +) -> QuerySet: + """Filter attribute by value string with n comma-delimited values""" + query_or_filters = Q() + for query in [Q(**{attribute: value}) for value in values]: + query_or_filters |= query + return queryset.filter(query_or_filters) + + +class CharInFilter(BaseInFilter, CharFilter): + """Filter that allows for multiple character values""" + + +class NumberInFilter(BaseInFilter, NumberFilter): + """Filter that allows for multiple numeric values""" + + +class MultipleOptionsFilterBackend(DjangoFilterBackend): + """ + Custom filter backend that handles multiple values for the same key + in various formats + """ + + def get_filterset_kwargs(self, request, queryset, view): # noqa: ARG002 + """ + Adjust the query parameters to handle multiple values for the same key, + regardless of whether they are in the form 'key=x&key=y' or 'key=x,y' + """ + query_params = request.query_params.copy() + for key in query_params: + filter_key = request.parser_context[ + "view" + ].filterset_class.base_filters.get(key) + if filter_key: + values = query_params.getlist(key) + if isinstance(filter_key, MultipleChoiceFilter): + split_values = [ + value.split(",") for value in query_params.getlist(key) + ] + values = [value for val_list in split_values for value in val_list] + query_params.setlist(key, values) + elif (isinstance(filter_key, CharInFilter | NumberInFilter)) and len( + values + ) > 1: + query_params[key] = ",".join(list(values)) + + return { + "data": query_params, + "queryset": queryset, + "request": request, + } + + class LearningResourceFilter(FilterSet): """LearningResource filter""" - department = ChoiceFilter( + department = MultipleChoiceFilter( label="The department that offers learning resources", - method="filter_department", field_name="departments__department_id", choices=(list(DEPARTMENTS.items())), ) - resource_type = ChoiceFilter( + resource_type = MultipleChoiceFilter( label="The type of learning resource", - method="filter_resource_type", choices=( [ (resource_type.name, resource_type.value) for resource_type in LearningResourceType ] ), + field_name="resource_type", + lookup_expr="iexact", ) - offered_by = ChoiceFilter( + offered_by = MultipleChoiceFilter( label="The organization that offers a learning resource", - method="filter_offered_by", choices=([(offeror.name, offeror.value) for offeror in OfferedBy]), + field_name="offered_by", + lookup_expr="exact", ) - platform = ChoiceFilter( + platform = MultipleChoiceFilter( label="The platform on which learning resources are offered", - method="filter_platform", choices=([(platform.name, platform.value) for platform in PlatformType]), + field_name="platform", + lookup_expr="exact", ) - level = ChoiceFilter( + level = MultipleChoiceFilter( label="The academic level of the resources", method="filter_level", choices=([(level.name, level.value) for level in LevelType]), ) - topic = CharFilter( + topic = CharInFilter( label="Topics covered by the resources. Load the '/api/v1/topics' endpoint " "for a list of topics", - field_name="topics__name", - lookup_expr="iexact", + method="filter_topic", ) - course_feature = CharFilter( + course_feature = CharInFilter( label="Content feature for the resources. Load the 'api/v1/course_features' " "endpoint for a list of course features", - field_name="content_tags__name", - lookup_expr="iexact", + method="filter_course_feature", ) sortby = ChoiceFilter( @@ -79,25 +142,18 @@ class LearningResourceFilter(FilterSet): ), ) - def filter_resource_type(self, queryset, _, value): - """resource_type Filter for learning resources""" - return queryset.filter(resource_type=value) - - def filter_offered_by(self, queryset, _, value): - """OfferedBy Filter for learning resources""" - return queryset.filter(offered_by__code=value) - - def filter_platform(self, queryset, _, value): - """Platform Filter for learning resources""" - return queryset.filter(platform__code=value) - - def filter_department(self, queryset, _, value): - """Department ID Filter for learning resources""" - return queryset.filter(departments__department_id=value) - def filter_level(self, queryset, _, value): """Level Filter for learning resources""" - return queryset.filter(runs__level__contains=[LevelType[value].value]) + values = [[LevelType[val].value] for val in value] + return multi_or_filter(queryset, "runs__level__contains", values) + + def filter_topic(self, queryset, _, value): + """Topic Filter for learning resources""" + return multi_or_filter(queryset, "topics__name__iexact", value) + + def filter_course_feature(self, queryset, _, value): + """Topic Filter for learning resources""" + return multi_or_filter(queryset, "content_tags__name__iexact", value) def filter_sortby(self, queryset, _, value): """Sort the queryset in the order specified by the value""" @@ -111,63 +167,57 @@ class Meta: class ContentFileFilter(FilterSet): """ContentFile filter""" - run_id = NumberFilter( + run_id = NumberInFilter( label="The id of the learning resource run the content file belongs to", - field_name="run_id", - lookup_expr="exact", + method="filter_run_id", ) - learning_resource_id = NumberFilter( + resource_id = NumberInFilter( label="The id of the learning resource the content file belongs to", - field_name="run__learning_resource_id", - lookup_expr="exact", + method="filter_resource_id", ) - content_feature_type = CharFilter( + content_feature_type = CharInFilter( label="Content feature type for the content file. Load the " "'api/v1/course_features' endpoint for a list of course features", - field_name="content_tags__name", - lookup_expr="iexact", + method="filter_content_feature_type", ) - offered_by = ChoiceFilter( + offered_by = MultipleChoiceFilter( label="The organization that offers a learning resource the content file " "belongs to", - method="filter_offered_by", + field_name="run__learning_resource__offered_by", + lookup_expr="exact", choices=([(offeror.name, offeror.value) for offeror in OfferedBy]), ) - platform = ChoiceFilter( + platform = MultipleChoiceFilter( label="The platform on which learning resources the content file belongs " "to is offered", - method="filter_platform", + field_name="run__learning_resource__platform", + lookup_expr="exact", choices=([(platform.name, platform.value) for platform in PlatformType]), ) - run_readable_id = CharFilter( - label="The readable id of the learning resource run the content file " - "belongs to", - field_name="run__run_id", - lookup_expr="exact", - ) + def filter_run_id(self, queryset, _, value): + """Run ID Filter for contentfiles""" + return multi_or_filter(queryset, "run_id", value) - learning_resource_readable_id = CharFilter( - label="The readable id of the learning resource the content file belongs to", - field_name="run__learning_resource__readable_id", - lookup_expr="exact", - ) + def filter_resource_id(self, queryset, _, value): + """Resource ID Filter for contentfiles""" + return multi_or_filter(queryset, "run__learning_resource__id", value) - def filter_offered_by(self, queryset, _, value): - """OfferedBy Filter for content files""" - return queryset.filter(run__learning_resource__offered_by__code=value) + def filter_run_readable_id(self, queryset, _, value): + """Run Readable ID Filter for contentfiles""" + return multi_or_filter(queryset, "run__run_id", value) - def filter_platform(self, queryset, _, value): - """Platform Filter for content files""" - return queryset.filter(run__learning_resource__platform__code=value) + def filter_resource_readable_id(self, queryset, _, value): + """Resource Readable ID Filter for contentfiles""" + return multi_or_filter(queryset, "run__learning_resource__readable_id", value) - def filter_learning_resource_types(self, queryset, _, value): - """Level Filter for learning resources""" - return queryset.filter(learning_resource_types__contains=[value]) + def filter_content_feature_type(self, queryset, _, value): + """Content feature type filter for contentfiles""" + return multi_or_filter(queryset, "content_tags__name__iexact", value) class Meta: model = ContentFile diff --git a/learning_resources/filters_test.py b/learning_resources/filters_test.py index 78f4a67e31..dbe2090518 100644 --- a/learning_resources/filters_test.py +++ b/learning_resources/filters_test.py @@ -7,23 +7,28 @@ from learning_resources.constants import ( LEARNING_RESOURCE_SORTBY_OPTIONS, LearningResourceType, - LevelType, OfferedBy, PlatformType, ) from learning_resources.factories import ( ContentFileFactory, CourseFactory, + LearningPathFactory, LearningResourceContentTagFactory, LearningResourceFactory, + LearningResourceOfferorFactory, + LearningResourcePlatformFactory, LearningResourceRunFactory, PodcastFactory, + ProgramFactory, ) -from learning_resources.filters import ContentFileFilter, LearningResourceFilter -from learning_resources.models import LearningResourceRun +from learning_resources.models import ContentFile, LearningResourceRun pytestmark = pytest.mark.django_db +RESOURCE_API_URL = "/api/v1/learning_resources/" +CONTENT_API_URL = "/api/v1/contentfiles/" + @pytest.fixture() def mock_courses(): @@ -40,43 +45,109 @@ def mock_courses(): offered_by=OfferedBy.mitx.name, ).learning_resource + mitpe_course = CourseFactory.create( + platform=PlatformType.mitpe.name, + department="9", + offered_by=OfferedBy.mitpe.name, + ).learning_resource + return SimpleNamespace( - ocw_course=ocw_course, - mitx_course=mitx_course, + ocw_course=ocw_course, mitx_course=mitx_course, mitpe_course=mitpe_course ) -def test_learning_resource_filter_department(mock_courses): +@pytest.fixture() +def mock_content_files(): + content_files = [] + for platform, offeror in [ + [PlatformType.ocw.name, OfferedBy.ocw.name], + [PlatformType.xpro.name, OfferedBy.xpro.name], + [PlatformType.mitxonline.name, OfferedBy.mitx.name], + ]: + content_files.append( + ContentFileFactory.create( + run=LearningResourceRunFactory.create( + learning_resource=LearningResourceFactory.create( + platform=LearningResourcePlatformFactory.create(code=platform), + offered_by=LearningResourceOfferorFactory.create(code=offeror), + ) + ) + ), + ) + ContentFile.objects.exclude(id__in=[cf.id for cf in content_files[:2]]).delete() + return content_files + + +@pytest.mark.parametrize( + "multifilter", ["department={}&department={}", "department={},{}"] +) +def test_learning_resource_filter_department(mock_courses, client, multifilter): """Test that the department_id filter works""" - ocw_department_id = mock_courses.ocw_course.departments.first().department_id + ocw_department = mock_courses.ocw_course.departments.first() + mitx_department = mock_courses.mitx_course.departments.first() - query = LearningResourceFilter({"department": ocw_department_id}).qs - assert query.count() == 1 + results = client.get( + f"{RESOURCE_API_URL}?department={ocw_department.department_id}" + ).json()["results"] + assert len(results) == 1 + assert results[0]["readable_id"] == mock_courses.ocw_course.readable_id - assert mock_courses.ocw_course in query - assert mock_courses.mitx_course not in query + dept_filter = multifilter.format( + ocw_department.department_id, mitx_department.department_id + ) + results = client.get(f"{RESOURCE_API_URL}?{dept_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["readable_id"] for result in results]) == sorted( + [mock_courses.ocw_course.readable_id, mock_courses.mitx_course.readable_id] + ) -def test_learning_resource_filter_offered_by(mock_courses): +@pytest.mark.parametrize( + "multifilter", ["offered_by={}&offered_by={}", "offered_by={},{}"] +) +def test_learning_resource_filter_offered_by(mock_courses, client, multifilter): """Test that the offered_by filter works""" - query = LearningResourceFilter({"offered_by": OfferedBy.ocw.name}).qs + ocw_offeror = mock_courses.ocw_course.offered_by + mitx_offeror = mock_courses.mitx_course.offered_by + + results = client.get(f"{RESOURCE_API_URL}?offered_by={ocw_offeror.code}").json()[ + "results" + ] + assert len(results) == 1 + assert results[0]["readable_id"] == mock_courses.ocw_course.readable_id - assert mock_courses.ocw_course in query - assert mock_courses.mitx_course not in query + offered_filter = multifilter.format(ocw_offeror.code, mitx_offeror.code) + results = client.get(f"{RESOURCE_API_URL}?{offered_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["readable_id"] for result in results]) == sorted( + [mock_courses.ocw_course.readable_id, mock_courses.mitx_course.readable_id] + ) -def test_learning_resource_filter_platform(mock_courses): +@pytest.mark.parametrize("multifilter", ["platform={}&platform={}", "platform={},{}"]) +def test_learning_resource_filter_platform(mock_courses, client, multifilter): """Test that the platform filter works""" - query = LearningResourceFilter({"platform": PlatformType.ocw.name}).qs + ocw_platform = mock_courses.ocw_course.platform + mitx_platform = mock_courses.mitx_course.platform - assert mock_courses.ocw_course in query - assert mock_courses.mitx_course not in query + results = client.get(f"{RESOURCE_API_URL}?platform={ocw_platform.code}").json()[ + "results" + ] + assert len(results) == 1 + assert results[0]["readable_id"] == mock_courses.ocw_course.readable_id + + platform_filter = multifilter.format(ocw_platform.code, mitx_platform.code) + results = client.get(f"{RESOURCE_API_URL}?{platform_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["readable_id"] for result in results]) == sorted( + [mock_courses.ocw_course.readable_id, mock_courses.mitx_course.readable_id] + ) @pytest.mark.parametrize("is_professional", [True, False]) -def test_learning_resource_filter_professional(is_professional): +def test_learning_resource_filter_professional(is_professional, client): """Test that the professional filter works""" professional_course = CourseFactory.create( @@ -86,44 +157,52 @@ def test_learning_resource_filter_professional(is_professional): platform=PlatformType.xpro.name ).learning_resource - assert professional_course.professional is True - assert open_course.professional is False - - query = LearningResourceFilter({"professional": is_professional}).qs - - assert (professional_course in query) is is_professional - assert (open_course in query) is not is_professional + results = client.get(f"{RESOURCE_API_URL}?professional={is_professional}").json()[ + "results" + ] + assert len(results) == 1 + assert results[0]["id"] == ( + professional_course.id if is_professional else open_course.id + ) -def test_learning_resource_filter_resource_type(): +@pytest.mark.parametrize( + "multifilter", ["resource_type={}&resource_type={}", "resource_type={},{}"] +) +def test_learning_resource_filter_resource_type(client, multifilter): """Test that the resource type filter works""" - - course = CourseFactory.create().learning_resource + ProgramFactory.create() podcast = PodcastFactory.create().learning_resource + learning_path = LearningPathFactory.create().learning_resource - query = LearningResourceFilter( - {"resource_type": LearningResourceType.podcast.name} - ).qs + results = client.get( + f"{RESOURCE_API_URL}?resource_type={LearningResourceType.podcast.name}" + ).json()["results"] + assert len(results) == 1 + assert results[0]["id"] == podcast.id - assert podcast in query - assert course not in query + resource_filter = multifilter.format( + LearningResourceType.podcast.name, LearningResourceType.learning_path.name + ) + results = client.get(f"{RESOURCE_API_URL}?{resource_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["readable_id"] for result in results]) == sorted( + [podcast.readable_id, learning_path.readable_id] + ) @pytest.mark.parametrize("sortby", ["created_on", "readable_id", "id"]) @pytest.mark.parametrize("descending", [True, False]) -def test_learning_resource_sortby(sortby, descending): +def test_learning_resource_sortby(client, sortby, descending): """Test that the query is sorted in the correct order""" resources = [course.learning_resource for course in CourseFactory.create_batch(3)] sortby_param = sortby if descending: sortby_param = f"-{sortby}" - query = LearningResourceFilter( - { - "resource_type": LearningResourceType.course.name, - "sortby": sortby_param, - } - ).qs - assert list(query.values_list("id", flat=True)) == sorted( + + results = client.get(f"{RESOURCE_API_URL}?sortby={sortby_param}").json()["results"] + + assert [result["id"] for result in results] == sorted( [ resource.id for resource in sorted( @@ -137,26 +216,38 @@ def test_learning_resource_sortby(sortby, descending): ) -def test_learning_resource_filter_topics(): +@pytest.mark.parametrize("multifilter", ["topic={}&topic={}", "topic={},{}"]) +def test_learning_resource_filter_topics(mock_courses, client, multifilter): """Test that the topic filter works""" - resource_1, resource_2 = ( - course.learning_resource for course in CourseFactory.create_batch(2) - ) assert ( list( - set(resource_1.topics.all().values_list("name", flat=True)) - & set(resource_2.topics.all().values_list("name", flat=True)) + set(mock_courses.ocw_course.topics.all().values_list("name", flat=True)) + & set(mock_courses.mitx_course.topics.all().values_list("name", flat=True)) ) == [] ) - query = LearningResourceFilter({"topic": resource_1.topics.first().name.upper()}).qs + results = client.get( + f"{RESOURCE_API_URL}?topic={mock_courses.mitx_course.topics.first().name.lower()}" + ).json()["results"] + assert len(results) == 1 + assert results[0]["id"] == mock_courses.mitx_course.id - assert resource_1 in query - assert resource_2 not in query + topic_filter = multifilter.format( + mock_courses.mitx_course.topics.first().name.lower(), + mock_courses.ocw_course.topics.first().name.upper(), + ) + results = client.get(f"{RESOURCE_API_URL}?{topic_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["readable_id"] for result in results]) == sorted( + [mock_courses.mitx_course.readable_id, mock_courses.ocw_course.readable_id] + ) -def test_learning_resource_filter_features(): +@pytest.mark.parametrize( + "multifilter", ["course_feature={}&course_feature={}", "course_feature={},{}"] +) +def test_learning_resource_filter_course_features(client, multifilter): """Test that the resource_content_tag filter works""" resource_with_exams = LearningResourceFactory.create( @@ -167,135 +258,173 @@ def test_learning_resource_filter_features(): 1, name="Lecture Notes" ) ) + LearningResourceFactory.create( + content_tags=LearningResourceContentTagFactory.create_batch(1, name="Other") + ) - query = LearningResourceFilter({"course_feature": "ExamS"}).qs + results = client.get(f"{RESOURCE_API_URL}?course_feature=exams").json()["results"] + assert len(results) == 1 + assert results[0]["id"] == resource_with_exams.id - assert resource_with_exams in query - assert resource_with_notes not in query + feature_filter = multifilter.format("EXAMS", "lEcture nOtes") + results = client.get(f"{RESOURCE_API_URL}?{feature_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["readable_id"] for result in results]) == sorted( + [resource_with_exams.readable_id, resource_with_notes.readable_id] + ) -def test_learning_resource_filter_level(): +@pytest.mark.parametrize( + "multifilter", + [ + "level=high_school&level=graduate", + "level=high_school,graduate", + "level=high_school,graduate&level=graduate", + ], +) +def test_learning_resource_filter_level(client, multifilter): """Test that the level filter works""" hs_run = LearningResourceRunFactory.create(level=["High School", "Undergraduate"]) grad_run = LearningResourceRunFactory.create(level=["Undergraduate", "Graduate"]) - hs_resource = hs_run.learning_resource - grad_resource = grad_run.learning_resource + other_run = LearningResourceRunFactory.create(level=["Other"]) + + LearningResourceRun.objects.exclude( + id__in=[hs_run.id, grad_run.id, other_run.id] + ).delete() + + results = client.get(f"{RESOURCE_API_URL}?level=high_school").json()["results"] + assert len(results) == 1 + assert results[0]["id"] == hs_run.learning_resource.id - LearningResourceRun.objects.exclude(id__in=[hs_run.id, grad_run.id]).delete() + results = client.get(f"{RESOURCE_API_URL}?level=graduate").json()["results"] + assert len(results) == 1 + assert results[0]["id"] == grad_run.learning_resource.id - query = LearningResourceFilter({"level": LevelType.high_school.name}).qs + results = client.get(f"{RESOURCE_API_URL}?{multifilter}").json()["results"] + assert len(results) == 2 - assert hs_resource in query - assert grad_resource not in query - query = LearningResourceFilter({"level": LevelType.graduate.name}).qs +@pytest.mark.parametrize("multifilter", ["run_id={}&run_id={}", "run_id={},{}"]) +def test_content_file_filter_run_id(mock_content_files, client, multifilter): + """Test that the run_id filter works for contentfiles""" - assert hs_resource not in query - assert grad_resource in query + results = client.get( + f"{CONTENT_API_URL}?run_id={mock_content_files[1].run.id}" + ).json()["results"] + assert len(results) == 1 + assert results[0]["id"] == mock_content_files[1].id + feature_filter = multifilter.format( + mock_content_files[0].run.id, mock_content_files[1].run.id + ) + results = client.get(f"{CONTENT_API_URL}?{feature_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["run_id"] for result in results]) == sorted( + [mock_content_files[0].run.id, mock_content_files[1].run.id] + ) -def test_content_file_filter_run_id(): - """Test that the run_id type filter works""" - content_file1 = ContentFileFactory.create() - content_file2 = ContentFileFactory.create() +@pytest.mark.parametrize( + "multifilter", ["resource_id={}&resource_id={}", "resource_id={},{}"] +) +def test_content_file_filter_resource_id(mock_content_files, client, multifilter): + """Test that the resource_id filter works for contentfiles""" + + results = client.get( + f"{CONTENT_API_URL}?resource_id={mock_content_files[1].run.learning_resource.id}" + ).json()["results"] + assert len(results) == 1 + assert ( + int(results[0]["resource_id"]) == mock_content_files[1].run.learning_resource.id + ) - query = ContentFileFilter({"run_id": content_file1.run_id}).qs + feature_filter = multifilter.format( + mock_content_files[0].run.learning_resource.id, + mock_content_files[1].run.learning_resource.id, + ) + results = client.get(f"{CONTENT_API_URL}?{feature_filter}").json()["results"] + assert len(results) == 2 + assert sorted([int(result["resource_id"]) for result in results]) == sorted( + [ + mock_content_files[0].run.learning_resource.id, + mock_content_files[1].run.learning_resource.id, + ] + ) - assert content_file1 in query - assert content_file2 not in query +@pytest.mark.parametrize("multifilter", ["platform={}&platform={}", "platform={},{}"]) +def test_content_file_filter_platform(mock_content_files, client, multifilter): + """Test that the platform filter works""" -def test_content_file_filter_learning_resource_id(): - """Test that the learning_resource_id type filter works""" + results = client.get( + f"{CONTENT_API_URL}?platform={mock_content_files[1].run.learning_resource.platform.code}" + ).json()["results"] + assert len(results) == 1 + assert results[0]["id"] == mock_content_files[1].id - content_file1 = ContentFileFactory.create() - content_file2 = ContentFileFactory.create() + platform_filter = multifilter.format( + mock_content_files[1].run.learning_resource.platform.code, + mock_content_files[0].run.learning_resource.platform.code, + ) + results = client.get(f"{CONTENT_API_URL}?{platform_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["id"] for result in results]) == sorted( + [cf.id for cf in mock_content_files[:2]] + ) - query = ContentFileFilter( - {"learning_resource_id": content_file1.run.learning_resource_id} - ).qs - assert content_file1 in query - assert content_file2 not in query +@pytest.mark.parametrize( + "multifilter", ["offered_by={}&offered_by={}", "offered_by={},{}"] +) +def test_content_file_filter_offered_by(mock_content_files, client, multifilter): + """Test that the offered_by filter works for contentfiles""" + + results = client.get( + f"{CONTENT_API_URL}?offered_by={mock_content_files[1].run.learning_resource.offered_by.code}" + ).json()["results"] + assert len(results) == 1 + assert results[0]["id"] == mock_content_files[1].id + + offered_filter = multifilter.format( + mock_content_files[1].run.learning_resource.offered_by.code, + mock_content_files[0].run.learning_resource.offered_by.code, + ) + results = client.get(f"{CONTENT_API_URL}?{offered_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["id"] for result in results]) == sorted( + [cf.id for cf in mock_content_files[:2]] + ) -def test_content_file_filter_content_feature_type(): - """Test that the content_feature_type type filter works""" +@pytest.mark.parametrize( + "multifilter", + ["content_feature_type={}&content_feature_type={}", "content_feature_type={},{}"], +) +def test_learning_resource_filter_content_feature_type(client, multifilter): + """Test that the resource_content_tag filter works""" - resource_with_exams = ContentFileFactory.create( + cf_with_exams = ContentFileFactory.create( content_tags=LearningResourceContentTagFactory.create_batch(1, name="Exams") ) - resource_with_notes = ContentFileFactory.create( + cf_with_notes = ContentFileFactory.create( content_tags=LearningResourceContentTagFactory.create_batch( 1, name="Lecture Notes" ) ) + ContentFileFactory.create( + content_tags=LearningResourceContentTagFactory.create_batch(1, name="Other") + ) - query = ContentFileFilter({"content_feature_type": "ExamS"}).qs - - assert resource_with_exams in query - assert resource_with_notes not in query - - -def test_content_file_filter_offered_by(): - """Test that the offered_by filter works""" - - ocw_resource = CourseFactory.create(offered_by=OfferedBy.ocw.name).learning_resource - mitx_resource = CourseFactory.create( - offered_by=OfferedBy.mitx.name - ).learning_resource - - ocw_content_file = ContentFileFactory.create(run=ocw_resource.runs.first()) - mitx_content_file = ContentFileFactory.create(run=mitx_resource.runs.first()) - query = ContentFileFilter({"offered_by": OfferedBy.ocw.name}).qs - - assert ocw_content_file in query - assert mitx_content_file not in query - - -def test_content_file_filter_platform(): - """Test that the offered_by filter works""" - - ocw_resource = CourseFactory.create( - platform=PlatformType.ocw.name - ).learning_resource - mitx_resource = CourseFactory.create( - platform=PlatformType.mitxonline.name - ).learning_resource - - ocw_content_file = ContentFileFactory.create(run=ocw_resource.runs.first()) - mitx_content_file = ContentFileFactory.create(run=mitx_resource.runs.first()) - query = ContentFileFilter({"platform": OfferedBy.ocw.name}).qs - - assert ocw_content_file in query - assert mitx_content_file not in query - - -def test_content_file_filter_run_readable_id(): - """Test that the run_readable_id type filter works""" - - content_file1 = ContentFileFactory.create() - content_file2 = ContentFileFactory.create() - - query = ContentFileFilter({"run_readable_id": content_file1.run.run_id}).qs - - assert content_file1 in query - assert content_file2 not in query - - -def test_content_file_filter_learning_resource_readable_id(): - """Test that the learning_resource_readable_id type filter works""" - - content_file1 = ContentFileFactory.create() - content_file2 = ContentFileFactory.create() - - query = ContentFileFilter( - { - "learning_resource_readable_id": content_file1.run.learning_resource.readable_id - } - ).qs - - assert content_file1 in query - assert content_file2 not in query + results = client.get(f"{CONTENT_API_URL}?content_feature_type=exams").json()[ + "results" + ] + assert len(results) == 1 + assert results[0]["id"] == cf_with_exams.id + + feature_filter = multifilter.format("EXAMS", "lEcture nOtes") + results = client.get(f"{CONTENT_API_URL}?{feature_filter}").json()["results"] + assert len(results) == 2 + assert sorted([result["id"] for result in results]) == sorted( + [cf_with_exams.id, cf_with_notes.id] + ) diff --git a/learning_resources/views.py b/learning_resources/views.py index 1a099c7eb5..ad731ef6a1 100644 --- a/learning_resources/views.py +++ b/learning_resources/views.py @@ -11,7 +11,6 @@ from django.utils import timezone from django.utils.decorators import method_decorator from django.views.decorators.cache import cache_page -from django_filters.rest_framework import DjangoFilterBackend from drf_spectacular.types import OpenApiTypes from drf_spectacular.utils import OpenApiParameter, extend_schema, extend_schema_view from rest_framework import views, viewsets @@ -32,7 +31,11 @@ ) from learning_resources.etl.podcast import generate_aggregate_podcast_rss from learning_resources.exceptions import WebhookException -from learning_resources.filters import ContentFileFilter, LearningResourceFilter +from learning_resources.filters import ( + ContentFileFilter, + LearningResourceFilter, + MultipleOptionsFilterBackend, +) from learning_resources.models import ( ContentFile, LearningResource, @@ -117,7 +120,7 @@ class BaseLearningResourceViewSet(viewsets.ReadOnlyModelViewSet): permission_classes = (AnonymousAccessReadonlyPermission,) pagination_class = DefaultPagination - filter_backends = [DjangoFilterBackend] + filter_backends = [MultipleOptionsFilterBackend] filterset_class = LearningResourceFilter lookup_field = "id" @@ -524,7 +527,7 @@ class ContentFileViewSet(viewsets.ReadOnlyModelViewSet): .order_by("-created_on") ) pagination_class = DefaultPagination - filter_backends = [DjangoFilterBackend] + filter_backends = [MultipleOptionsFilterBackend] filterset_class = ContentFileFilter diff --git a/learning_resources/views_test.py b/learning_resources/views_test.py index f41c89f0f3..ea99957ae5 100644 --- a/learning_resources/views_test.py +++ b/learning_resources/views_test.py @@ -97,25 +97,31 @@ def test_get_course_content_files_endpoint(client, url): @pytest.mark.parametrize( - "url", + ("reverse_url", "expected_url"), [ - "lr:v1:learning_resource_content_files_api-list", - "lr:v1:course_content_files_api-list", + ( + "lr:v1:learning_resource_content_files_api-list", + "/api/v1/learning_resources/{}/contentfiles/", + ), + ("lr:v1:course_content_files_api-list", "/api/v1/courses/{}/contentfiles/"), ], ) -def test_get_course_content_files_filtered(client, url): +def test_get_course_content_files_filtered(client, reverse_url, expected_url): """Test course detail contentfiles endpoint""" course = CourseFactory.create() ContentFileFactory.create_batch(2, run=course.learning_resource.runs.first()) ContentFileFactory.create_batch(3, run=course.learning_resource.runs.last()) + expected_url = expected_url.format(course.learning_resource.id) + assert reverse(reverse_url, args=[course.learning_resource.id]) == expected_url + resp = client.get( - f"{reverse(url, args=[course.learning_resource.id])}?run_readable_id={course.learning_resource.runs.first().run_id}" + f"{expected_url}?run_id={course.learning_resource.runs.first().id}" ) assert resp.data.get("count") == 2 resp = client.get( - f"{reverse(url, args=[course.learning_resource.id])}?run_readable_id={course.learning_resource.runs.last().run_id}" + f"{expected_url}?run_id={course.learning_resource.runs.last().id}" ) assert resp.data.get("count") == 3 @@ -252,6 +258,8 @@ def test_list_content_files_list_endpoint(client): # this should be filtered out ContentFileFactory.create_batch(5, published=False) + assert reverse("lr:v1:contentfiles_api-list") == "/api/v1/contentfiles/" + resp = client.get(f"{reverse('lr:v1:contentfiles_api-list')}") assert resp.data.get("count") == 2 for result in resp.data.get("results"): @@ -270,12 +278,10 @@ def test_list_content_files_list_filtered(client): ) assert resp.data.get("count") == 2 resp = client.get( - f"{reverse('lr:v1:contentfiles_api-list')}?learning_resource_id={course_2.learning_resource.id}" + f"{reverse('lr:v1:contentfiles_api-list')}?resource_id={course_2.learning_resource.id}" ) assert resp.data.get("count") == 3 - resp = client.get( - f"{reverse('lr:v1:contentfiles_api-list')}?learning_resource_id=1001001" - ) + resp = client.get(f"{reverse('lr:v1:contentfiles_api-list')}?resource_id=1001001") assert resp.data.get("count") == 0 @@ -283,8 +289,10 @@ def test_get_contentfiles_detail_endpoint(client): """Test ContentFile detail endpoint""" content_file = ContentFileFactory.create() - resp = client.get(reverse("lr:v1:contentfiles_api-detail", args=[content_file.id])) + url = reverse("lr:v1:contentfiles_api-detail", args=[content_file.id]) + assert url == f"/api/v1/contentfiles/{content_file.id}/" + resp = client.get(url) assert resp.data == ContentFileSerializer(instance=content_file).data diff --git a/openapi/specs/v1.yaml b/openapi/specs/v1.yaml index 5f206e8286..236e078b00 100644 --- a/openapi/specs/v1.yaml +++ b/openapi/specs/v1.yaml @@ -318,26 +318,18 @@ paths: - in: query name: content_feature_type schema: - type: string - description: Content feature type for the content file. Load the 'api/v1/course_features' - endpoint for a list of course features - - in: query - name: learning_resource_id - schema: - type: number - description: The id of the learning resource the content file belongs to + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: path name: learning_resource_id schema: type: integer description: id of the parent learning resource required: true - - in: query - name: learning_resource_readable_id - schema: - type: string - description: The readable id of the learning resource the content file belongs - to - name: limit required: false in: query @@ -347,17 +339,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource the content file belongs to @@ -370,6 +364,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -379,25 +375,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources the content file belongs to is offered @@ -418,18 +416,26 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query - name: run_id + name: resource_id schema: - type: number - description: The id of the learning resource run the content file belongs - to + type: array + items: + type: number + description: Multiple values may be separated by commas. + explode: false + style: form - in: query - name: run_readable_id + name: run_id schema: - type: string - description: The readable id of the learning resource run the content file - belongs to + type: array + items: + type: number + description: Multiple values may be separated by commas. + explode: false + style: form tags: - contentfiles responses: @@ -522,51 +528,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -607,18 +618,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -629,6 +644,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -638,17 +655,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -661,6 +680,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -670,25 +691,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -709,6 +732,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -716,13 +741,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -731,6 +758,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -766,9 +795,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - courses responses: @@ -808,26 +840,18 @@ paths: - in: query name: content_feature_type schema: - type: string - description: Content feature type for the content file. Load the 'api/v1/course_features' - endpoint for a list of course features - - in: query - name: learning_resource_id - schema: - type: number - description: The id of the learning resource the content file belongs to + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: path name: learning_resource_id schema: type: integer description: id of the parent learning resource required: true - - in: query - name: learning_resource_readable_id - schema: - type: string - description: The readable id of the learning resource the content file belongs - to - name: limit required: false in: query @@ -837,17 +861,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource the content file belongs to @@ -860,6 +886,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -869,25 +897,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources the content file belongs to is offered @@ -908,18 +938,26 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query - name: run_id + name: resource_id schema: - type: number - description: The id of the learning resource run the content file belongs - to + type: array + items: + type: number + description: Multiple values may be separated by commas. + explode: false + style: form - in: query - name: run_readable_id + name: run_id schema: - type: string - description: The readable id of the learning resource run the content file - belongs to + type: array + items: + type: number + description: Multiple values may be separated by commas. + explode: false + style: form tags: - courses responses: @@ -965,76 +1003,81 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS - description: |- - The department that offers learning resources - - * `1` - Civil and Environmental Engineering - * `2` - Mechanical Engineering - * `3` - Materials Science and Engineering - * `4` - Architecture - * `5` - Chemistry - * `6` - Electrical Engineering and Computer Science - * `7` - Biology - * `8` - Physics - * `9` - Brain and Cognitive Sciences - * `10` - Chemical Engineering - * `11` - Urban Studies and Planning - * `12` - Earth, Atmospheric, and Planetary Sciences - * `14` - Economics - * `15` - Sloan School of Management - * `16` - Aeronautics and Astronautics - * `17` - Political Science - * `18` - Mathematics - * `20` - Biological Engineering - * `21A` - Anthropology - * `21G` - Global Studies and Languages - * `21H` - History - * `21L` - Literature + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS + description: |- + The department that offers learning resources + + * `1` - Civil and Environmental Engineering + * `2` - Mechanical Engineering + * `3` - Materials Science and Engineering + * `4` - Architecture + * `5` - Chemistry + * `6` - Electrical Engineering and Computer Science + * `7` - Biology + * `8` - Physics + * `9` - Brain and Cognitive Sciences + * `10` - Chemical Engineering + * `11` - Urban Studies and Planning + * `12` - Earth, Atmospheric, and Planetary Sciences + * `14` - Economics + * `15` - Sloan School of Management + * `16` - Aeronautics and Astronautics + * `17` - Political Science + * `18` - Mathematics + * `20` - Biological Engineering + * `21A` - Anthropology + * `21G` - Global Studies and Languages + * `21H` - History + * `21L` - Literature * `21M` - Music and Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -1050,18 +1093,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -1072,6 +1119,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -1081,17 +1130,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -1104,6 +1155,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -1113,25 +1166,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -1152,6 +1207,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -1159,13 +1216,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -1174,6 +1233,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -1209,9 +1270,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - courses responses: @@ -1230,51 +1294,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -1315,18 +1384,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -1337,6 +1410,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -1346,17 +1421,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -1369,6 +1446,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -1378,25 +1457,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -1417,6 +1498,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -1424,13 +1507,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -1439,6 +1524,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -1474,9 +1561,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - courses responses: @@ -1543,51 +1633,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -1628,18 +1723,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -1650,6 +1749,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -1659,17 +1760,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -1682,6 +1785,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -1691,25 +1796,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -1730,6 +1837,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -1737,13 +1846,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -1752,6 +1863,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -1787,9 +1900,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - learning_resources responses: @@ -1829,26 +1945,18 @@ paths: - in: query name: content_feature_type schema: - type: string - description: Content feature type for the content file. Load the 'api/v1/course_features' - endpoint for a list of course features - - in: query - name: learning_resource_id - schema: - type: number - description: The id of the learning resource the content file belongs to + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: path name: learning_resource_id schema: type: integer description: id of the parent learning resource required: true - - in: query - name: learning_resource_readable_id - schema: - type: string - description: The readable id of the learning resource the content file belongs - to - name: limit required: false in: query @@ -1858,17 +1966,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource the content file belongs to @@ -1881,6 +1991,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -1890,25 +2002,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources the content file belongs to is offered @@ -1929,18 +2043,26 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query - name: run_id + name: resource_id schema: - type: number - description: The id of the learning resource run the content file belongs - to + type: array + items: + type: number + description: Multiple values may be separated by commas. + explode: false + style: form - in: query - name: run_readable_id + name: run_id schema: - type: string - description: The readable id of the learning resource run the content file - belongs to + type: array + items: + type: number + description: Multiple values may be separated by commas. + explode: false + style: form tags: - learning_resources responses: @@ -2052,51 +2174,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -2137,18 +2264,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -2159,6 +2290,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -2168,17 +2301,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -2191,6 +2326,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -2200,25 +2337,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -2239,6 +2378,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -2246,13 +2387,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -2261,6 +2404,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -2296,9 +2441,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - learning_resources responses: @@ -2317,51 +2465,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -2402,18 +2555,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -2424,6 +2581,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -2433,17 +2592,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -2456,6 +2617,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -2465,25 +2628,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -2504,6 +2669,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -2511,13 +2678,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -2526,6 +2695,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -2561,9 +2732,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - learning_resources responses: @@ -2932,51 +3106,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -3017,18 +3196,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -3039,6 +3222,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -3048,17 +3233,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -3071,6 +3258,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -3080,25 +3269,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -3119,6 +3310,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -3126,13 +3319,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -3141,6 +3336,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -3176,9 +3373,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - learningpaths responses: @@ -3543,51 +3743,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -3628,18 +3833,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -3650,6 +3859,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -3659,17 +3870,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -3682,6 +3895,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -3691,25 +3906,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -3730,6 +3947,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -3737,13 +3956,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -3752,6 +3973,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -3787,9 +4010,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - podcast_episodes responses: @@ -3829,51 +4055,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -3914,18 +4145,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -3936,6 +4171,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -3945,17 +4182,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -3968,6 +4207,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -3977,25 +4218,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -4016,6 +4259,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -4023,13 +4268,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -4038,6 +4285,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -4073,9 +4322,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - podcasts responses: @@ -4181,51 +4433,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -4266,18 +4523,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -4288,6 +4549,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -4297,17 +4560,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -4320,6 +4585,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -4329,25 +4596,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -4368,6 +4637,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -4375,13 +4646,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -4390,6 +4663,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -4425,9 +4700,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - programs responses: @@ -4467,51 +4745,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -4552,18 +4835,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -4574,6 +4861,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -4583,17 +4872,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -4606,6 +4897,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -4615,25 +4908,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -4654,6 +4949,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -4661,13 +4958,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -4676,6 +4975,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -4711,9 +5012,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - programs responses: @@ -4732,51 +5036,56 @@ paths: - in: query name: course_feature schema: - type: string - description: Content feature for the resources. Load the 'api/v1/course_features' - endpoint for a list of course features + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form - in: query name: department schema: - type: string - enum: - - '1' - - '10' - - '11' - - '12' - - '14' - - '15' - - '16' - - '17' - - '18' - - '2' - - '20' - - 21A - - 21G - - 21H - - 21L - - 21M - - '22' - - '24' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - CC - - CMS-W - - EC - - ES - - ESD - - HST - - IDS - - MAS - - PE - - RES - - STS - - WGS + type: array + items: + type: string + enum: + - '1' + - '10' + - '11' + - '12' + - '14' + - '15' + - '16' + - '17' + - '18' + - '2' + - '20' + - 21A + - 21G + - 21H + - 21L + - 21M + - '22' + - '24' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - CC + - CMS-W + - EC + - ES + - ESD + - HST + - IDS + - MAS + - PE + - RES + - STS + - WGS description: |- The department that offers learning resources @@ -4817,18 +5126,22 @@ paths: * `RES` - Supplemental Resources * `STS` - Science, Technology, and Society * `WGS` - Women's and Gender Studies + explode: true + style: form - in: query name: level schema: - type: string - enum: - - advanced - - graduate - - high_school - - intermediate - - introductory - - noncredit - - undergraduate + type: array + items: + type: string + enum: + - advanced + - graduate + - high_school + - intermediate + - introductory + - noncredit + - undergraduate description: |- The academic level of the resources @@ -4839,6 +5152,8 @@ paths: * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory + explode: true + style: form - name: limit required: false in: query @@ -4848,17 +5163,19 @@ paths: - in: query name: offered_by schema: - type: string - enum: - - bootcamps - - csail - - ctl - - mitpe - - mitx - - ocw - - scc - - see - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - mitpe + - mitx + - ocw + - scc + - see + - xpro description: |- The organization that offers a learning resource @@ -4871,6 +5188,8 @@ paths: * `see` - Sloan Executive Education * `scc` - Schwarzman College of Computing * `ctl` - Center for Transportation & Logistics + explode: true + style: form - name: offset required: false in: query @@ -4880,25 +5199,27 @@ paths: - in: query name: platform schema: - type: string - enum: - - bootcamps - - csail - - ctl - - edx - - emeritus - - globalalumni - - mitpe - - mitxonline - - ocw - - oll - - podcast - - scc - - see - - simplilearn - - susskind - - whu - - xpro + type: array + items: + type: string + enum: + - bootcamps + - csail + - ctl + - edx + - emeritus + - globalalumni + - mitpe + - mitxonline + - ocw + - oll + - podcast + - scc + - see + - simplilearn + - susskind + - whu + - xpro description: |- The platform on which learning resources are offered @@ -4919,6 +5240,8 @@ paths: * `simplilearn` - Simplilearn * `emeritus` - Emeritus * `podcast` - Podcast + explode: true + style: form - in: query name: professional schema: @@ -4926,13 +5249,15 @@ paths: - in: query name: resource_type schema: - type: string - enum: - - course - - learning_path - - podcast - - podcast_episode - - program + type: array + items: + type: string + enum: + - course + - learning_path + - podcast + - podcast_episode + - program description: |- The type of learning resource @@ -4941,6 +5266,8 @@ paths: * `learning_path` - Learning Path * `podcast` - Podcast * `podcast_episode` - Podcast Episode + explode: true + style: form - in: query name: sortby schema: @@ -4976,9 +5303,12 @@ paths: - in: query name: topic schema: - type: string - description: Topics covered by the resources. Load the '/api/v1/topics' endpoint - for a list of topics + type: array + items: + type: string + description: Multiple values may be separated by commas. + explode: false + style: form tags: - programs responses: From f43e35a770809c5327d49bdefbd94348ed194398 Mon Sep 17 00:00:00 2001 From: Matt Bertrand Date: Tue, 6 Feb 2024 15:55:12 -0500 Subject: [PATCH 24/27] Fix prolearn etl (#471) --- learning_resources/etl/prolearn.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/learning_resources/etl/prolearn.py b/learning_resources/etl/prolearn.py index 512ec23c4c..96fb5affce 100644 --- a/learning_resources/etl/prolearn.py +++ b/learning_resources/etl/prolearn.py @@ -1,6 +1,5 @@ """Prolearn ETL""" -import json import logging import re from datetime import datetime @@ -176,9 +175,7 @@ def extract_data(course_or_program: str) -> list[dict]: if settings.PROLEARN_CATALOG_API_URL: response = requests.post( # noqa: S113 settings.PROLEARN_CATALOG_API_URL, - data=json.dumps( - {"query": PROLEARN_QUERY % (course_or_program, PROLEARN_QUERY_FIELDS)} - ), + json={"query": PROLEARN_QUERY % (course_or_program, PROLEARN_QUERY_FIELDS)}, ).json() return response["data"]["searchAPISearch"]["documents"] log.warning("Missing required setting PROLEARN_CATALOG_API_URL") From 0ae198eb7a36153ba4f139f11ccadaecce8e28d2 Mon Sep 17 00:00:00 2001 From: Matt Bertrand Date: Tue, 6 Feb 2024 16:18:14 -0500 Subject: [PATCH 25/27] Remove all references to open-discussions (#472) --- .coveragerc | 2 +- .github/workflows/production.yml | 2 +- .github/workflows/release-candiate.yml | 2 +- .secrets.baseline | 4 ++-- Procfile | 6 ++--- README.md | 2 +- app.json | 4 ++-- articles/models.py | 2 +- articles/views.py | 2 +- articles/views_test.py | 2 +- authentication/middleware_test.py | 2 +- authentication/models.py | 2 +- authentication/pipeline/user_test.py | 2 +- channels/api_test.py | 2 +- channels/models.py | 2 +- channels/permissions.py | 2 +- channels/permissions_test.py | 2 +- channels/serializers_test.py | 2 +- channels/views.py | 2 +- channels/views_test.py | 2 +- ckeditor/views.py | 2 +- conftest.py | 2 +- docker-compose-notebook.yml | 2 +- docker-compose.yml | 4 ++-- docs/index.md | 2 +- docs/integration.md | 5 ---- embedly/views.py | 2 +- fixtures/common.py | 2 +- fixtures/users.py | 2 +- frontends/README.md | 2 +- learning_resources/etl/loaders_test.py | 2 +- learning_resources/etl/mitxonline_test.py | 2 +- learning_resources/etl/ocw_test.py | 2 +- learning_resources/etl/openedx_test.py | 2 +- learning_resources/etl/podcast.py | 2 +- learning_resources/etl/xpro_test.py | 2 +- learning_resources/factories.py | 2 +- .../commands/backpopulate_favorites_lists.py | 2 +- .../backpopulate_micromasters_data.py | 2 +- .../commands/backpopulate_mit_edx_data.py | 2 +- .../commands/backpopulate_mit_edx_files.py | 2 +- .../commands/backpopulate_mitxonline_data.py | 2 +- .../commands/backpopulate_mitxonline_files.py | 4 ++-- .../commands/backpopulate_ocw_data.py | 4 ++-- .../commands/backpopulate_oll_data.py | 2 +- .../commands/backpopulate_podcast_data.py | 2 +- .../commands/backpopulate_prolearn_data.py | 2 +- .../commands/backpopulate_xpro_data.py | 2 +- .../commands/backpopulate_xpro_files.py | 2 +- .../update_course_number_departments.py | 2 +- .../management/commands/update_departments.py | 2 +- .../management/commands/update_offered_by.py | 2 +- .../management/commands/update_platforms.py | 2 +- learning_resources/models.py | 2 +- learning_resources/permissions.py | 2 +- learning_resources/permissions_test.py | 2 +- learning_resources/plugins_test.py | 2 +- learning_resources/serializers.py | 2 +- learning_resources/serializers_test.py | 2 +- learning_resources/tasks.py | 6 ++--- learning_resources/utils.py | 2 +- learning_resources/views.py | 6 ++--- learning_resources/views_learningpath_test.py | 2 +- learning_resources/views_userlist_test.py | 2 +- learning_resources_search/indexing_api.py | 2 +- .../indexing_api_test.py | 2 +- .../management/commands/recreate_index.py | 2 +- .../management/commands/update_index.py | 2 +- learning_resources_search/tasks.py | 4 ++-- learning_resources_search/tasks_test.py | 2 +- {open_discussions => main}/__init__.py | 0 {open_discussions => main}/app_tests.py | 0 {open_discussions => main}/auth_utils.py | 0 {open_discussions => main}/auth_utils_test.py | 2 +- {open_discussions => main}/celery.py | 4 ++-- {open_discussions => main}/constants.py | 2 +- {open_discussions => main}/envs.py | 0 {open_discussions => main}/envs_test.py | 12 +++++----- {open_discussions => main}/exceptions.py | 0 {open_discussions => main}/factories.py | 0 {open_discussions => main}/features.py | 0 {open_discussions => main}/features_test.py | 2 +- .../management/__init__.py | 0 .../management/commands/__init__.py | 0 .../commands/generate_channel_avatars.py | 0 .../middleware/__init__.py | 0 .../middleware/feature_flags.py | 6 ++--- .../middleware/feature_flags_test.py | 10 ++++---- {open_discussions => main}/models.py | 4 ++-- {open_discussions => main}/permissions.py | 2 +- .../permissions_test.py | 14 +++++------ {open_discussions => main}/sentry.py | 0 {open_discussions => main}/serializers.py | 0 {open_discussions => main}/settings.py | 24 +++++++++---------- {open_discussions => main}/settings_celery.py | 2 +- .../settings_course_etl.py | 2 +- {open_discussions => main}/settings_pluggy.py | 2 +- {open_discussions => main}/settings_test.py | 6 ++--- .../channelmembershipconfig/change_form.html | 0 .../templates/index.html | 0 .../templatetags/__init__.py | 0 .../templatetags/noindex_meta.py | 0 {open_discussions => main}/test_utils.py | 0 {open_discussions => main}/test_utils_test.py | 2 +- {open_discussions => main}/urls.py | 10 ++++---- {open_discussions => main}/urls_test.py | 2 +- {open_discussions => main}/utils.py | 2 +- {open_discussions => main}/utils_test.py | 4 ++-- {open_discussions => main}/views.py | 4 ++-- {open_discussions => main}/wsgi.py | 2 +- manage.py | 2 +- .../commands/generate_openapi_spec.py | 2 +- openapi/settings_spectacular.py | 2 +- profiles/api_test.py | 2 +- profiles/filters_test.py | 2 +- profiles/permissions.py | 2 +- profiles/permissions_test.py | 2 +- profiles/utils.py | 2 +- profiles/utils_test.py | 4 ++-- profiles/views.py | 2 +- pyproject.toml | 4 ++-- pytest.ini | 2 +- renovate.json | 2 +- uwsgi.ini | 4 ++-- widgets/factories.py | 2 +- widgets/serializers/rss.py | 2 +- widgets/serializers/rss_test.py | 2 +- widgets/serializers/widget_instance.py | 2 +- widgets/serializers/widget_list.py | 2 +- widgets/views.py | 2 +- 130 files changed, 164 insertions(+), 169 deletions(-) delete mode 100644 docs/integration.md rename {open_discussions => main}/__init__.py (100%) rename {open_discussions => main}/app_tests.py (100%) rename {open_discussions => main}/auth_utils.py (100%) rename {open_discussions => main}/auth_utils_test.py (93%) rename {open_discussions => main}/celery.py (90%) rename {open_discussions => main}/constants.py (90%) rename {open_discussions => main}/envs.py (100%) rename {open_discussions => main}/envs_test.py (90%) rename {open_discussions => main}/exceptions.py (100%) rename {open_discussions => main}/factories.py (100%) rename {open_discussions => main}/features.py (100%) rename {open_discussions => main}/features_test.py (98%) rename {open_discussions => main}/management/__init__.py (100%) rename {open_discussions => main}/management/commands/__init__.py (100%) rename {open_discussions => main}/management/commands/generate_channel_avatars.py (100%) rename {open_discussions => main}/middleware/__init__.py (100%) rename {open_discussions => main}/middleware/feature_flags.py (95%) rename {open_discussions => main}/middleware/feature_flags_test.py (93%) rename {open_discussions => main}/models.py (94%) rename {open_discussions => main}/permissions.py (99%) rename {open_discussions => main}/permissions_test.py (90%) rename {open_discussions => main}/sentry.py (100%) rename {open_discussions => main}/serializers.py (100%) rename {open_discussions => main}/settings.py (97%) rename {open_discussions => main}/settings_celery.py (97%) rename {open_discussions => main}/settings_course_etl.py (98%) rename {open_discussions => main}/settings_pluggy.py (86%) rename {open_discussions => main}/settings_test.py (96%) rename {open_discussions => main}/templates/admin/channels/channelmembershipconfig/change_form.html (100%) rename {open_discussions => main}/templates/index.html (100%) rename {open_discussions => main}/templatetags/__init__.py (100%) rename {open_discussions => main}/templatetags/noindex_meta.py (100%) rename {open_discussions => main}/test_utils.py (100%) rename {open_discussions => main}/test_utils_test.py (97%) rename {open_discussions => main}/urls.py (90%) rename {open_discussions => main}/urls_test.py (70%) rename {open_discussions => main}/utils.py (99%) rename {open_discussions => main}/utils_test.py (98%) rename {open_discussions => main}/views.py (95%) rename {open_discussions => main}/wsgi.py (83%) diff --git a/.coveragerc b/.coveragerc index d765608419..8cd545ac37 100644 --- a/.coveragerc +++ b/.coveragerc @@ -3,7 +3,7 @@ branch = True source = . data_file=/tmp/coverage omit = - open_discussions/wsgi.py + main/wsgi.py manage.py ./.tox/* */migrations/* diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 1d7be10a94..836259fc09 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -21,7 +21,7 @@ jobs: - uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520 with: heroku_api_key: ${{ secrets.HEROKU_API_KEY }} - heroku_app_name: "odl-open-discussions" + heroku_app_name: "mitopen-production" heroku_email: ${{ secrets.HEROKU_EMAIL }} branch: release # runs ONLY on a failure of the CI workflow diff --git a/.github/workflows/release-candiate.yml b/.github/workflows/release-candiate.yml index d7d41affe5..cd081d8b72 100644 --- a/.github/workflows/release-candiate.yml +++ b/.github/workflows/release-candiate.yml @@ -21,7 +21,7 @@ jobs: - uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520 with: heroku_api_key: ${{ secrets.HEROKU_API_KEY }} - heroku_app_name: "odl-open-discussions-rc" + heroku_app_name: "mitopen-rc" heroku_email: ${{ secrets.HEROKU_EMAIL }} branch: release-candidate # runs ONLY on a failure of the CI workflow diff --git a/.secrets.baseline b/.secrets.baseline index f90738dd43..5476d05fba 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -135,10 +135,10 @@ "line_number": 2551 } ], - "frontends/open-discussions/src/reducers/auth.js": [ + "frontends/mit-open/src/reducers/auth.js": [ { "type": "Secret Keyword", - "filename": "frontends/open-discussions/src/reducers/auth.js", + "filename": "frontends/mit-open/src/reducers/auth.js", "hashed_secret": "e3c328a97de7239b3f60eecda765a69535205744", "is_verified": false, "line_number": 18 diff --git a/Procfile b/Procfile index 614bf0e6ee..bf625f2377 100644 --- a/Procfile +++ b/Procfile @@ -1,5 +1,5 @@ release: bash scripts/heroku-release-phase.sh web: bin/start-nginx bin/start-pgbouncer newrelic-admin run-program uwsgi uwsgi.ini -worker: bin/start-pgbouncer newrelic-admin run-program celery -A open_discussions.celery:app worker -Q default --concurrency=2 -B -l $MITOPEN_LOG_LEVEL -extra_worker_2x: bin/start-pgbouncer newrelic-admin run-program celery -A open_discussions.celery:app worker -Q edx_content,default --concurrency=2 -l $MITOPEN_LOG_LEVEL -extra_worker_performance: bin/start-pgbouncer newrelic-admin run-program celery -A open_discussions.celery:app worker -Q edx_content,default -l $MITOPEN_LOG_LEVEL +worker: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -Q default --concurrency=2 -B -l $MITOPEN_LOG_LEVEL +extra_worker_2x: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -Q edx_content,default --concurrency=2 -l $MITOPEN_LOG_LEVEL +extra_worker_performance: bin/start-pgbouncer newrelic-admin run-program celery -A main.celery:app worker -Q edx_content,default -l $MITOPEN_LOG_LEVEL diff --git a/README.md b/README.md index 0493a2efde..f241a8caf6 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ and run docker compose run --rm web python manage.py backpopulate_xpro_data ``` -See [learning_resources/management/commands](learning_resources/management/commands) and [open_discussions/settings_course_etl.py](open_discussions/settings_course_etl.py) for more ETL commands and their relevant environment variables. +See [learning_resources/management/commands](learning_resources/management/commands) and [main/settings_course_etl.py](main/settings_course_etl.py) for more ETL commands and their relevant environment variables. ## Code Generation diff --git a/app.json b/app.json index c0b5262388..a21a120494 100644 --- a/app.json +++ b/app.json @@ -20,7 +20,7 @@ "url": "https://github.com/heroku/heroku-buildpack-nginx" } ], - "description": "open-discussions", + "description": "mit-open", "env": { "ALLOWED_HOSTS": { "description": "", @@ -577,7 +577,7 @@ } }, "keywords": ["Django", "Python", "MIT", "Office of Digital Learning"], - "name": "open_discussions", + "name": "mit_open", "repository": "https://github.com/mitodl/mit-open", "scripts": { "postdeploy": "./manage.py migrate --noinput" diff --git a/articles/models.py b/articles/models.py index 46fa066725..8534a7c898 100644 --- a/articles/models.py +++ b/articles/models.py @@ -2,7 +2,7 @@ from django.db import models -from open_discussions.models import TimestampedModel +from main.models import TimestampedModel class Article(TimestampedModel): diff --git a/articles/views.py b/articles/views.py index af8434f29a..e5c88c0601 100644 --- a/articles/views.py +++ b/articles/views.py @@ -5,7 +5,7 @@ from articles.models import Article from articles.serializers import ArticleSerializer -from open_discussions.constants import VALID_HTTP_METHODS +from main.constants import VALID_HTTP_METHODS # Create your views here. diff --git a/articles/views_test.py b/articles/views_test.py index f3c7ebc6f3..e6bc5b63cd 100644 --- a/articles/views_test.py +++ b/articles/views_test.py @@ -3,7 +3,7 @@ import pytest from rest_framework.reverse import reverse -from open_discussions.factories import UserFactory +from main.factories import UserFactory pytestmark = [pytest.mark.django_db] diff --git a/authentication/middleware_test.py b/authentication/middleware_test.py index bc9b1db49a..04f9b83331 100644 --- a/authentication/middleware_test.py +++ b/authentication/middleware_test.py @@ -14,7 +14,7 @@ SocialAuthExceptionRedirectMiddleware, ) from authentication.models import BlockedIPRange -from open_discussions.factories import UserFactory +from main.factories import UserFactory def test_process_exception_no_strategy(mocker, rf, settings): diff --git a/authentication/models.py b/authentication/models.py index ecacfa776a..c621ae20fe 100644 --- a/authentication/models.py +++ b/authentication/models.py @@ -7,7 +7,7 @@ from django.utils.safestring import mark_safe from ipware.utils import is_private_ip -from open_discussions.models import TimestampedModel +from main.models import TimestampedModel HELP_TEXT = """ @spam.com: blocks all emails containing `@spam.com` like `joe@spam.com.edu`
diff --git a/authentication/pipeline/user_test.py b/authentication/pipeline/user_test.py index 8ab1481cf3..3a42b38fad 100644 --- a/authentication/pipeline/user_test.py +++ b/authentication/pipeline/user_test.py @@ -3,7 +3,7 @@ import pytest from authentication.pipeline import user as user_actions -from open_discussions.factories import UserFactory +from main.factories import UserFactory @pytest.mark.parametrize("hijacked", [True, False]) diff --git a/channels/api_test.py b/channels/api_test.py index 99bb9a3210..a9bbf14696 100644 --- a/channels/api_test.py +++ b/channels/api_test.py @@ -5,7 +5,7 @@ from channels.api import add_user_role, remove_user_role from channels.constants import FIELD_ROLE_MODERATORS from channels.models import FieldChannelGroupRole -from open_discussions.factories import UserFactory +from main.factories import UserFactory pytestmark = pytest.mark.django_db diff --git a/channels/models.py b/channels/models.py index c8d4548980..e07eea1cda 100644 --- a/channels/models.py +++ b/channels/models.py @@ -9,7 +9,7 @@ from channels.constants import FIELD_ROLE_CHOICES from learning_resources.models import LearningResource -from open_discussions.models import TimestampedModel +from main.models import TimestampedModel from profiles.utils import avatar_uri, banner_uri from widgets.models import WidgetList diff --git a/channels/permissions.py b/channels/permissions.py index dfe2ad5ee6..53967ce87c 100644 --- a/channels/permissions.py +++ b/channels/permissions.py @@ -9,7 +9,7 @@ from channels.api import is_moderator from channels.models import FieldChannel -from open_discussions.permissions import is_admin_user +from main.permissions import is_admin_user log = logging.getLogger() diff --git a/channels/permissions_test.py b/channels/permissions_test.py index 209bfefe9d..c8cc53bc0d 100644 --- a/channels/permissions_test.py +++ b/channels/permissions_test.py @@ -6,7 +6,7 @@ from channels import permissions from channels.api import add_user_role from channels.constants import FIELD_ROLE_MODERATORS -from open_discussions.factories import UserFactory +from main.factories import UserFactory pytestmark = pytest.mark.django_db diff --git a/channels/serializers_test.py b/channels/serializers_test.py index e5eeeea336..86de5f1b65 100644 --- a/channels/serializers_test.py +++ b/channels/serializers_test.py @@ -18,7 +18,7 @@ LearningPathPreviewSerializer, ) from learning_resources.factories import LearningPathFactory -from open_discussions.factories import UserFactory +from main.factories import UserFactory # pylint:disable=redefined-outer-name pytestmark = pytest.mark.django_db diff --git a/channels/views.py b/channels/views.py index 9270385ccc..ba57abb32e 100644 --- a/channels/views.py +++ b/channels/views.py @@ -21,7 +21,7 @@ FieldModeratorSerializer, ) from learning_resources.views import LargePagination -from open_discussions.constants import VALID_HTTP_METHODS +from main.constants import VALID_HTTP_METHODS log = logging.getLogger(__name__) diff --git a/channels/views_test.py b/channels/views_test.py index 970b0c26bd..dda2ee011c 100644 --- a/channels/views_test.py +++ b/channels/views_test.py @@ -17,7 +17,7 @@ from channels.serializers import FieldChannelSerializer from learning_resources.constants import LearningResourceType from learning_resources.factories import LearningResourceFactory -from open_discussions.factories import UserFactory +from main.factories import UserFactory pytestmark = pytest.mark.django_db diff --git a/ckeditor/views.py b/ckeditor/views.py index 8c648f9b76..fd52165456 100644 --- a/ckeditor/views.py +++ b/ckeditor/views.py @@ -9,7 +9,7 @@ from rest_framework import status from rest_framework.decorators import api_view, permission_classes -from open_discussions.permissions import AnonymousAccessReadonlyPermission +from main.permissions import AnonymousAccessReadonlyPermission @api_view() diff --git a/conftest.py b/conftest.py index be4ccd9188..0ea2a33f4d 100644 --- a/conftest.py +++ b/conftest.py @@ -7,7 +7,7 @@ from fixtures.common import * # noqa: F403 from fixtures.opensearch import * # noqa: F403 from fixtures.users import * # noqa: F403 -from open_discussions.exceptions import DoNotUseRequestException +from main.exceptions import DoNotUseRequestException @pytest.fixture(autouse=True) diff --git a/docker-compose-notebook.yml b/docker-compose-notebook.yml index 8f1151f4e9..511ca5b2f2 100644 --- a/docker-compose-notebook.yml +++ b/docker-compose-notebook.yml @@ -26,7 +26,7 @@ services: - .:/src environment: <<: *py-environment - BASE_DJANGO_APP_NAME: open_discussions + BASE_DJANGO_APP_NAME: main # See https://docs.djangoproject.com/en/4.1/topics/async/#async-safety # Do no use this outside the notebook DJANGO_ALLOW_ASYNC_UNSAFE: true diff --git a/docker-compose.yml b/docker-compose.yml index d4dd1a6e36..68f41490d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -114,8 +114,8 @@ services: command: > /bin/bash -c ' sleep 3; - celery -A open_discussions.celery:app worker -Q default -B -l ${MITOPEN_LOG_LEVEL:-INFO} & - celery -A open_discussions.celery:app worker -Q edx_content,default -l ${MITOPEN_LOG_LEVEL:-INFO}' + celery -A main.celery:app worker -Q default -B -l ${MITOPEN_LOG_LEVEL:-INFO} & + celery -A main.celery:app worker -Q edx_content,default -l ${MITOPEN_LOG_LEVEL:-INFO}' links: - db - opensearch-node-mitopen diff --git a/docs/index.md b/docs/index.md index ae8874f361..e4a32807e8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ nav_order: 0 --- -Documentation gets published via Github pages to [https://mitodl.github.io/open-discussions/](https://mitodl.github.io/open-discussions/) +Documentation gets published via Github pages to [https://mitodl.github.io/mit-open/](https://mitodl.github.io/mit-open/) ## Running locally diff --git a/docs/integration.md b/docs/integration.md deleted file mode 100644 index 1136d0b76d..0000000000 --- a/docs/integration.md +++ /dev/null @@ -1,5 +0,0 @@ -## Integration - -Integration with `open-discussions` is done so using the [open-disucssions-client](https://github.com/mitodl/open-discussions-client) project, which is [available on pypi](https://pypi.python.org/pypi/open-discussions-client). - -The client should be configured with a username matching a `django.contrib.auth.models.User` record in `open-discussions`. diff --git a/embedly/views.py b/embedly/views.py index 3cc949bd28..49d2213353 100644 --- a/embedly/views.py +++ b/embedly/views.py @@ -8,7 +8,7 @@ from rest_framework.response import Response from embedly.api import get_embedly_summary -from open_discussions.permissions import AnonymousAccessReadonlyPermission +from main.permissions import AnonymousAccessReadonlyPermission @api_view() diff --git a/fixtures/common.py b/fixtures/common.py index bc8cc9ea60..917b002185 100644 --- a/fixtures/common.py +++ b/fixtures/common.py @@ -11,7 +11,7 @@ from pytest_mock import PytestMockWarning from urllib3.exceptions import InsecureRequestWarning -from open_discussions.factories import UserFactory +from main.factories import UserFactory @pytest.fixture(autouse=True) diff --git a/fixtures/users.py b/fixtures/users.py index 9be5d8da06..60e40ba74c 100644 --- a/fixtures/users.py +++ b/fixtures/users.py @@ -8,7 +8,7 @@ from rest_framework.test import APIClient from rest_framework_jwt.settings import api_settings -from open_discussions.factories import UserFactory +from main.factories import UserFactory @pytest.fixture() diff --git a/frontends/README.md b/frontends/README.md index f47d01ff3f..b94feebe08 100644 --- a/frontends/README.md +++ b/frontends/README.md @@ -14,7 +14,7 @@ frontends/ To aid in separating concerns, we should strive to write code with independent, clearly defined contracts that can be extracted to isolated packages (workspaces) and re-used throughout this project. -**Flow vs Typescript:** The majority of the frontend code in this project is in the `open-discussions` workspace and is written in Javascript + FlowType. We are in the process of migrating the codebase to Typescript and all other packages should be written in Typescript. +**Flow vs Typescript:** The majority of the frontend code in this project is in the `mit-open` workspace and is written in Javascript + FlowType. We are in the process of migrating the codebase to Typescript and all other packages should be written in Typescript. ## Running Yarn Commands diff --git a/learning_resources/etl/loaders_test.py b/learning_resources/etl/loaders_test.py index 98614bcdad..7cd3b22d6f 100644 --- a/learning_resources/etl/loaders_test.py +++ b/learning_resources/etl/loaders_test.py @@ -56,7 +56,7 @@ PodcastEpisode, Program, ) -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc pytestmark = pytest.mark.django_db diff --git a/learning_resources/etl/mitxonline_test.py b/learning_resources/etl/mitxonline_test.py index 1412ff9652..0f762c1929 100644 --- a/learning_resources/etl/mitxonline_test.py +++ b/learning_resources/etl/mitxonline_test.py @@ -21,7 +21,7 @@ UCC_TOPIC_MAPPINGS, extract_valid_department_from_id, ) -from open_discussions.test_utils import any_instance_of +from main.test_utils import any_instance_of pytestmark = pytest.mark.django_db diff --git a/learning_resources/etl/ocw_test.py b/learning_resources/etl/ocw_test.py index f35645a99a..5a2289c26d 100644 --- a/learning_resources/etl/ocw_test.py +++ b/learning_resources/etl/ocw_test.py @@ -20,7 +20,7 @@ from learning_resources.factories import ContentFileFactory from learning_resources.models import ContentFile from learning_resources.utils import get_s3_object_and_read, safe_load_json -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc pytestmark = pytest.mark.django_db diff --git a/learning_resources/etl/openedx_test.py b/learning_resources/etl/openedx_test.py index af219fe456..5facba1b97 100644 --- a/learning_resources/etl/openedx_test.py +++ b/learning_resources/etl/openedx_test.py @@ -12,7 +12,7 @@ OpenEdxConfiguration, openedx_extract_transform_factory, ) -from open_discussions.test_utils import any_instance_of +from main.test_utils import any_instance_of ACCESS_TOKEN = "invalid_access_token" # noqa: S105 diff --git a/learning_resources/etl/podcast.py b/learning_resources/etl/podcast.py index 5567ab37c5..66b7220360 100644 --- a/learning_resources/etl/podcast.py +++ b/learning_resources/etl/podcast.py @@ -15,7 +15,7 @@ from learning_resources.etl.constants import ETLSource from learning_resources.etl.utils import generate_readable_id from learning_resources.models import PodcastEpisode -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc CONFIG_FILE_REPO = "mitodl/open-podcast-data" CONFIG_FILE_FOLDER = "podcasts" diff --git a/learning_resources/etl/xpro_test.py b/learning_resources/etl/xpro_test.py index 53bde26b34..dff709b52b 100644 --- a/learning_resources/etl/xpro_test.py +++ b/learning_resources/etl/xpro_test.py @@ -12,7 +12,7 @@ from learning_resources.etl import xpro from learning_resources.etl.constants import CourseNumberType, ETLSource from learning_resources.etl.utils import UCC_TOPIC_MAPPINGS -from open_discussions.test_utils import any_instance_of +from main.test_utils import any_instance_of pytestmark = pytest.mark.django_db diff --git a/learning_resources/factories.py b/learning_resources/factories.py index 544aaa1877..1a2c6d51c2 100644 --- a/learning_resources/factories.py +++ b/learning_resources/factories.py @@ -13,7 +13,7 @@ from learning_resources import constants, models from learning_resources.constants import DEPARTMENTS, PlatformType from learning_resources.etl.constants import CourseNumberType -from open_discussions.factories import UserFactory +from main.factories import UserFactory # pylint:disable=unused-argument diff --git a/learning_resources/management/commands/backpopulate_favorites_lists.py b/learning_resources/management/commands/backpopulate_favorites_lists.py index 265aebafec..ac849e37f9 100644 --- a/learning_resources/management/commands/backpopulate_favorites_lists.py +++ b/learning_resources/management/commands/backpopulate_favorites_lists.py @@ -4,7 +4,7 @@ from learning_resources.constants import FAVORITES_TITLE from learning_resources.models import UserList -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_micromasters_data.py b/learning_resources/management/commands/backpopulate_micromasters_data.py index 1a4ce56bf5..c258a33358 100644 --- a/learning_resources/management/commands/backpopulate_micromasters_data.py +++ b/learning_resources/management/commands/backpopulate_micromasters_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_micromasters_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_mit_edx_data.py b/learning_resources/management/commands/backpopulate_mit_edx_data.py index 175920955d..6c23d87ce9 100644 --- a/learning_resources/management/commands/backpopulate_mit_edx_data.py +++ b/learning_resources/management/commands/backpopulate_mit_edx_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_mit_edx_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_mit_edx_files.py b/learning_resources/management/commands/backpopulate_mit_edx_files.py index 707ef84c13..83244e4e78 100644 --- a/learning_resources/management/commands/backpopulate_mit_edx_files.py +++ b/learning_resources/management/commands/backpopulate_mit_edx_files.py @@ -4,7 +4,7 @@ from django.core.management import BaseCommand from learning_resources.tasks import import_all_mit_edx_files -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_mitxonline_data.py b/learning_resources/management/commands/backpopulate_mitxonline_data.py index cf127170d7..032ff80a52 100644 --- a/learning_resources/management/commands/backpopulate_mitxonline_data.py +++ b/learning_resources/management/commands/backpopulate_mitxonline_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_mitxonline_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_mitxonline_files.py b/learning_resources/management/commands/backpopulate_mitxonline_files.py index 0f71955c3d..1b78e67950 100644 --- a/learning_resources/management/commands/backpopulate_mitxonline_files.py +++ b/learning_resources/management/commands/backpopulate_mitxonline_files.py @@ -3,8 +3,8 @@ from django.core.management import BaseCommand from learning_resources.tasks import import_all_mitxonline_files -from open_discussions import settings -from open_discussions.utils import now_in_utc +from main import settings +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_ocw_data.py b/learning_resources/management/commands/backpopulate_ocw_data.py index d0753854db..eedb835c92 100644 --- a/learning_resources/management/commands/backpopulate_ocw_data.py +++ b/learning_resources/management/commands/backpopulate_ocw_data.py @@ -6,8 +6,8 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_ocw_data from learning_resources.utils import resource_delete_actions -from open_discussions.constants import ISOFORMAT -from open_discussions.utils import now_in_utc +from main.constants import ISOFORMAT +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_oll_data.py b/learning_resources/management/commands/backpopulate_oll_data.py index 263dac93ba..e455146132 100644 --- a/learning_resources/management/commands/backpopulate_oll_data.py +++ b/learning_resources/management/commands/backpopulate_oll_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_oll_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_podcast_data.py b/learning_resources/management/commands/backpopulate_podcast_data.py index 2f47339fa9..33d40b2bb1 100644 --- a/learning_resources/management/commands/backpopulate_podcast_data.py +++ b/learning_resources/management/commands/backpopulate_podcast_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_podcast_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_prolearn_data.py b/learning_resources/management/commands/backpopulate_prolearn_data.py index a5f0d03d66..a36cb6733c 100644 --- a/learning_resources/management/commands/backpopulate_prolearn_data.py +++ b/learning_resources/management/commands/backpopulate_prolearn_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_prolearn_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_xpro_data.py b/learning_resources/management/commands/backpopulate_xpro_data.py index 1567db7608..1d27e917b9 100644 --- a/learning_resources/management/commands/backpopulate_xpro_data.py +++ b/learning_resources/management/commands/backpopulate_xpro_data.py @@ -6,7 +6,7 @@ from learning_resources.models import LearningResource from learning_resources.tasks import get_xpro_data from learning_resources.utils import resource_delete_actions -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/backpopulate_xpro_files.py b/learning_resources/management/commands/backpopulate_xpro_files.py index ce139eba62..9436f736be 100644 --- a/learning_resources/management/commands/backpopulate_xpro_files.py +++ b/learning_resources/management/commands/backpopulate_xpro_files.py @@ -4,7 +4,7 @@ from django.core.management import BaseCommand from learning_resources.tasks import import_all_xpro_files -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/update_course_number_departments.py b/learning_resources/management/commands/update_course_number_departments.py index 95053a6cf0..117c9ed6de 100644 --- a/learning_resources/management/commands/update_course_number_departments.py +++ b/learning_resources/management/commands/update_course_number_departments.py @@ -4,7 +4,7 @@ from learning_resources.etl.utils import update_course_numbers_json from learning_resources.models import Course -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/update_departments.py b/learning_resources/management/commands/update_departments.py index 720fd108d5..0334ca2196 100644 --- a/learning_resources/management/commands/update_departments.py +++ b/learning_resources/management/commands/update_departments.py @@ -5,7 +5,7 @@ from learning_resources.constants import DEPARTMENTS from learning_resources.models import LearningResourceDepartment -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/update_offered_by.py b/learning_resources/management/commands/update_offered_by.py index 5811fdffd2..975135bbca 100644 --- a/learning_resources/management/commands/update_offered_by.py +++ b/learning_resources/management/commands/update_offered_by.py @@ -3,7 +3,7 @@ from django.core.management import BaseCommand from learning_resources.utils import upsert_offered_by_data -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/management/commands/update_platforms.py b/learning_resources/management/commands/update_platforms.py index 16e20fd789..e59d013fcc 100644 --- a/learning_resources/management/commands/update_platforms.py +++ b/learning_resources/management/commands/update_platforms.py @@ -3,7 +3,7 @@ from django.core.management import BaseCommand from learning_resources.utils import upsert_platform_data -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources/models.py b/learning_resources/models.py index ce2ca8427d..daa3e7d6ec 100644 --- a/learning_resources/models.py +++ b/learning_resources/models.py @@ -12,7 +12,7 @@ LearningResourceType, PrivacyLevel, ) -from open_discussions.models import TimestampedModel +from main.models import TimestampedModel class LearningResourcePlatform(TimestampedModel): diff --git a/learning_resources/permissions.py b/learning_resources/permissions.py index 026adbca77..d5a6054eb2 100644 --- a/learning_resources/permissions.py +++ b/learning_resources/permissions.py @@ -8,7 +8,7 @@ from learning_resources.constants import GROUP_STAFF_LISTS_EDITORS, PrivacyLevel from learning_resources.models import LearningPath, UserList -from open_discussions.permissions import is_admin_user, is_readonly +from main.permissions import is_admin_user, is_readonly def is_learning_path_editor(request: HttpRequest) -> bool: diff --git a/learning_resources/permissions_test.py b/learning_resources/permissions_test.py index 19da466074..d094e51fa8 100644 --- a/learning_resources/permissions_test.py +++ b/learning_resources/permissions_test.py @@ -20,7 +20,7 @@ is_learning_path_editor, ) from learning_resources.utils import update_editor_group -from open_discussions.factories import UserFactory +from main.factories import UserFactory @pytest.fixture(autouse=True) diff --git a/learning_resources/plugins_test.py b/learning_resources/plugins_test.py index 4f7258f1ae..c775977710 100644 --- a/learning_resources/plugins_test.py +++ b/learning_resources/plugins_test.py @@ -4,7 +4,7 @@ from learning_resources.constants import FAVORITES_TITLE from learning_resources.factories import UserListFactory from learning_resources.plugins import FavoritesListPlugin -from open_discussions.factories import UserFactory +from main.factories import UserFactory @pytest.mark.django_db() diff --git a/learning_resources/serializers.py b/learning_resources/serializers.py index 7fe732c834..23701227c5 100644 --- a/learning_resources/serializers.py +++ b/learning_resources/serializers.py @@ -13,7 +13,7 @@ from learning_resources import constants, models from learning_resources.constants import LearningResourceType from learning_resources.etl.loaders import update_index -from open_discussions.serializers import WriteableSerializerMethodField +from main.serializers import WriteableSerializerMethodField COMMON_IGNORED_FIELDS = ("created_on", "updated_on") diff --git a/learning_resources/serializers_test.py b/learning_resources/serializers_test.py index 1215c1ca02..bb80f9ef69 100644 --- a/learning_resources/serializers_test.py +++ b/learning_resources/serializers_test.py @@ -12,7 +12,7 @@ LearningPathResourceSerializer, LearningResourceImageSerializer, ) -from open_discussions.test_utils import assert_json_equal, drf_datetime +from main.test_utils import assert_json_equal, drf_datetime pytestmark = pytest.mark.django_db diff --git a/learning_resources/tasks.py b/learning_resources/tasks.py index 83b4fa9400..7a4f8c18e0 100644 --- a/learning_resources/tasks.py +++ b/learning_resources/tasks.py @@ -21,9 +21,9 @@ from learning_resources.etl.utils import get_learning_course_bucket_name from learning_resources.models import LearningResource from learning_resources.utils import load_course_blocklist -from open_discussions.celery import app -from open_discussions.constants import ISOFORMAT -from open_discussions.utils import chunks +from main.celery import app +from main.constants import ISOFORMAT +from main.utils import chunks log = logging.getLogger(__name__) diff --git a/learning_resources/utils.py b/learning_resources/utils.py index 8c5d911087..77e471b21b 100644 --- a/learning_resources/utils.py +++ b/learning_resources/utils.py @@ -27,7 +27,7 @@ LearningResourcePlatform, LearningResourceRun, ) -from open_discussions.utils import generate_filepath +from main.utils import generate_filepath log = logging.getLogger() diff --git a/learning_resources/views.py b/learning_resources/views.py index ad731ef6a1..1acdd9d0fd 100644 --- a/learning_resources/views.py +++ b/learning_resources/views.py @@ -77,12 +77,12 @@ resource_delete_actions, resource_unpublished_actions, ) -from open_discussions.constants import VALID_HTTP_METHODS -from open_discussions.permissions import ( +from main.constants import VALID_HTTP_METHODS +from main.permissions import ( AnonymousAccessReadonlyPermission, is_admin_user, ) -from open_discussions.utils import chunks +from main.utils import chunks log = logging.getLogger(__name__) diff --git a/learning_resources/views_learningpath_test.py b/learning_resources/views_learningpath_test.py index 78de9c9d02..6d24382947 100644 --- a/learning_resources/views_learningpath_test.py +++ b/learning_resources/views_learningpath_test.py @@ -9,7 +9,7 @@ LearningResourceRelationTypes, ) from learning_resources.utils import update_editor_group -from open_discussions.factories import UserFactory +from main.factories import UserFactory # pylint:disable=redefined-outer-name,unused-argument diff --git a/learning_resources/views_userlist_test.py b/learning_resources/views_userlist_test.py index 3699c855eb..e30a0993ef 100644 --- a/learning_resources/views_userlist_test.py +++ b/learning_resources/views_userlist_test.py @@ -6,7 +6,7 @@ from learning_resources import factories from learning_resources.constants import PrivacyLevel from learning_resources.models import UserList -from open_discussions.factories import UserFactory +from main.factories import UserFactory # pylint:disable=redefined-outer-name, use-maxsplit-arg diff --git a/learning_resources_search/indexing_api.py b/learning_resources_search/indexing_api.py index 6d23e3ad10..e3d8a93e8a 100644 --- a/learning_resources_search/indexing_api.py +++ b/learning_resources_search/indexing_api.py @@ -34,7 +34,7 @@ serialize_content_file_for_bulk, serialize_content_file_for_bulk_deletion, ) -from open_discussions.utils import chunks +from main.utils import chunks log = logging.getLogger(__name__) User = get_user_model() diff --git a/learning_resources_search/indexing_api_test.py b/learning_resources_search/indexing_api_test.py index d195ff3b09..b967c2393d 100644 --- a/learning_resources_search/indexing_api_test.py +++ b/learning_resources_search/indexing_api_test.py @@ -36,7 +36,7 @@ index_run_content_files, switch_indices, ) -from open_discussions.utils import chunks +from main.utils import chunks pytestmark = [pytest.mark.django_db, pytest.mark.usefixtures("mocked_es")] diff --git a/learning_resources_search/management/commands/recreate_index.py b/learning_resources_search/management/commands/recreate_index.py index 5bd8d2739f..8f43ab68cf 100644 --- a/learning_resources_search/management/commands/recreate_index.py +++ b/learning_resources_search/management/commands/recreate_index.py @@ -4,7 +4,7 @@ from learning_resources_search.constants import LEARNING_RESOURCE_TYPES from learning_resources_search.tasks import start_recreate_index -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class Command(BaseCommand): diff --git a/learning_resources_search/management/commands/update_index.py b/learning_resources_search/management/commands/update_index.py index 11985574d3..1564817d63 100644 --- a/learning_resources_search/management/commands/update_index.py +++ b/learning_resources_search/management/commands/update_index.py @@ -8,7 +8,7 @@ LEARNING_RESOURCE_TYPES, ) from learning_resources_search.tasks import start_update_index -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc valid_object_types = [*list(LEARNING_RESOURCE_TYPES), CONTENT_FILE_TYPE] diff --git a/learning_resources_search/tasks.py b/learning_resources_search/tasks.py index e8f0a5ed64..2e225e87a4 100644 --- a/learning_resources_search/tasks.py +++ b/learning_resources_search/tasks.py @@ -34,8 +34,8 @@ serialize_content_file_for_update, serialize_learning_resource_for_update, ) -from open_discussions.celery import app -from open_discussions.utils import chunks, merge_strings +from main.celery import app +from main.utils import chunks, merge_strings User = get_user_model() log = logging.getLogger(__name__) diff --git a/learning_resources_search/tasks_test.py b/learning_resources_search/tasks_test.py index a042bcac2c..a199848cd0 100644 --- a/learning_resources_search/tasks_test.py +++ b/learning_resources_search/tasks_test.py @@ -40,7 +40,7 @@ upsert_learning_resource, wrap_retry_exception, ) -from open_discussions.test_utils import assert_not_raises +from main.test_utils import assert_not_raises pytestmark = pytest.mark.django_db diff --git a/open_discussions/__init__.py b/main/__init__.py similarity index 100% rename from open_discussions/__init__.py rename to main/__init__.py diff --git a/open_discussions/app_tests.py b/main/app_tests.py similarity index 100% rename from open_discussions/app_tests.py rename to main/app_tests.py diff --git a/open_discussions/auth_utils.py b/main/auth_utils.py similarity index 100% rename from open_discussions/auth_utils.py rename to main/auth_utils.py diff --git a/open_discussions/auth_utils_test.py b/main/auth_utils_test.py similarity index 93% rename from open_discussions/auth_utils_test.py rename to main/auth_utils_test.py index f2685e84f7..3808582322 100644 --- a/open_discussions/auth_utils_test.py +++ b/main/auth_utils_test.py @@ -1,6 +1,6 @@ """Auth utils tests""" -from open_discussions.auth_utils import ( +from main.auth_utils import ( get_encoded_and_signed_subscription_token, unsign_and_verify_username_from_token, ) diff --git a/open_discussions/celery.py b/main/celery.py similarity index 90% rename from open_discussions/celery.py rename to main/celery.py index 0a90a438bb..fa3e6131f6 100644 --- a/open_discussions/celery.py +++ b/main/celery.py @@ -7,11 +7,11 @@ from celery import Celery -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "open_discussions.settings") +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings") from django.conf import settings # noqa: E402 -app = Celery("open_discussions") +app = Celery("main") app.config_from_object("django.conf:settings", namespace="CELERY") app.conf.task_default_queue = "default" app.autodiscover_tasks(lambda: settings.INSTALLED_APPS) # pragma: no cover diff --git a/open_discussions/constants.py b/main/constants.py similarity index 90% rename from open_discussions/constants.py rename to main/constants.py index 85ea28ff5d..f35f4dc4e7 100644 --- a/open_discussions/constants.py +++ b/main/constants.py @@ -1,4 +1,4 @@ -"""open_discussions constants""" +"""main constants""" from rest_framework import status diff --git a/open_discussions/envs.py b/main/envs.py similarity index 100% rename from open_discussions/envs.py rename to main/envs.py diff --git a/open_discussions/envs_test.py b/main/envs_test.py similarity index 90% rename from open_discussions/envs_test.py rename to main/envs_test.py index 00142d5d77..a3f565aa9e 100644 --- a/open_discussions/envs_test.py +++ b/main/envs_test.py @@ -4,7 +4,7 @@ import pytest -from open_discussions.envs import ( +from main.envs import ( EnvironmentVariableParseException, get_any, get_bool, @@ -45,7 +45,7 @@ def test_get_any(): "list_of_int": "[3,4,5]", "list_of_str": '["x", "y", \'z\']', } - with patch("open_discussions.envs.os", environ=FAKE_ENVIRONS): + with patch("main.envs.os", environ=FAKE_ENVIRONS): for key, value in expected.items(): assert get_any(key, "default") == value assert get_any("missing", "default") == "default" @@ -55,7 +55,7 @@ def test_get_string(): """ get_string should get the string from the environment variable """ - with patch("open_discussions.envs.os", environ=FAKE_ENVIRONS): + with patch("main.envs.os", environ=FAKE_ENVIRONS): for key, value in FAKE_ENVIRONS.items(): assert get_string(key, "default") == value assert get_string("missing", "default") == "default" @@ -66,7 +66,7 @@ def test_get_int(): """ get_int should get the int from the environment variable, or raise an exception if it's not parseable as an int """ - with patch("open_discussions.envs.os", environ=FAKE_ENVIRONS): + with patch("main.envs.os", environ=FAKE_ENVIRONS): assert get_int("positive", 1234) == 123 assert get_int("negative", 1234) == -456 assert get_int("zero", 1234) == 0 @@ -86,7 +86,7 @@ def test_get_bool(): """ get_bool should get the bool from the environment variable, or raise an exception if it's not parseable as a bool """ - with patch("open_discussions.envs.os", environ=FAKE_ENVIRONS): + with patch("main.envs.os", environ=FAKE_ENVIRONS): assert get_bool("true", 1234) is True assert get_bool("false", 1234) is False @@ -106,7 +106,7 @@ def test_get_list_of_str(): """ get_list_of_str should parse a list of strings """ - with patch("open_discussions.envs.os", environ=FAKE_ENVIRONS): + with patch("main.envs.os", environ=FAKE_ENVIRONS): assert get_list_of_str("list_of_str", ["noth", "ing"]) == ["x", "y", "z"] for key, value in FAKE_ENVIRONS.items(): diff --git a/open_discussions/exceptions.py b/main/exceptions.py similarity index 100% rename from open_discussions/exceptions.py rename to main/exceptions.py diff --git a/open_discussions/factories.py b/main/factories.py similarity index 100% rename from open_discussions/factories.py rename to main/factories.py diff --git a/open_discussions/features.py b/main/features.py similarity index 100% rename from open_discussions/features.py rename to main/features.py diff --git a/open_discussions/features_test.py b/main/features_test.py similarity index 98% rename from open_discussions/features_test.py rename to main/features_test.py index b80af04052..1a2479a29e 100644 --- a/open_discussions/features_test.py +++ b/main/features_test.py @@ -2,7 +2,7 @@ import pytest -from open_discussions import features +from main import features @pytest.mark.parametrize( diff --git a/open_discussions/management/__init__.py b/main/management/__init__.py similarity index 100% rename from open_discussions/management/__init__.py rename to main/management/__init__.py diff --git a/open_discussions/management/commands/__init__.py b/main/management/commands/__init__.py similarity index 100% rename from open_discussions/management/commands/__init__.py rename to main/management/commands/__init__.py diff --git a/open_discussions/management/commands/generate_channel_avatars.py b/main/management/commands/generate_channel_avatars.py similarity index 100% rename from open_discussions/management/commands/generate_channel_avatars.py rename to main/management/commands/generate_channel_avatars.py diff --git a/open_discussions/middleware/__init__.py b/main/middleware/__init__.py similarity index 100% rename from open_discussions/middleware/__init__.py rename to main/middleware/__init__.py diff --git a/open_discussions/middleware/feature_flags.py b/main/middleware/feature_flags.py similarity index 95% rename from open_discussions/middleware/feature_flags.py rename to main/middleware/feature_flags.py index abf0877aa6..e4d709c8e4 100644 --- a/open_discussions/middleware/feature_flags.py +++ b/main/middleware/feature_flags.py @@ -1,9 +1,9 @@ -"""Common open_discussions middleware""" +"""Common main middleware""" from django import shortcuts from django.conf import settings -from open_discussions.utils import FeatureFlag +from main.utils import FeatureFlag class QueryStringFeatureFlagMiddleware: @@ -125,6 +125,6 @@ def __call__(self, request): Args: request (django.http.request.Request): the request to inspect """ # noqa: D401 - request.open_discussions_feature_flags = self.get_feature_flags(request) + request.main_feature_flags = self.get_feature_flags(request) return self.get_response(request) diff --git a/open_discussions/middleware/feature_flags_test.py b/main/middleware/feature_flags_test.py similarity index 93% rename from open_discussions/middleware/feature_flags_test.py rename to main/middleware/feature_flags_test.py index c50c95ea9c..fb0b1dff0c 100644 --- a/open_discussions/middleware/feature_flags_test.py +++ b/main/middleware/feature_flags_test.py @@ -3,11 +3,11 @@ # pylint: disable=redefined-outer-name import pytest -from open_discussions.middleware.feature_flags import ( +from main.middleware.feature_flags import ( CookieFeatureFlagMiddleware, QueryStringFeatureFlagMiddleware, ) -from open_discussions.utils import FeatureFlag +from main.utils import FeatureFlag FEATURE_FLAG_COOKIE_NAME = "TEST_COOKIE" FEATURE_FLAG_COOKIE_MAX_AGE_SECONDS = 60 @@ -102,7 +102,7 @@ def test_process_request_valid_cookie(cookie_middleware, mocker): request.COOKIES = {FEATURE_FLAG_COOKIE_NAME: 1} request.get_signed_cookie.return_value = 1 assert cookie_middleware(request) == cookie_middleware.get_response.return_value - assert request.open_discussions_feature_flags == {FeatureFlag.EXAMPLE_FEATURE} + assert request.main_feature_flags == {FeatureFlag.EXAMPLE_FEATURE} request.get_signed_cookie.assert_called_once_with(FEATURE_FLAG_COOKIE_NAME) @@ -112,7 +112,7 @@ def test_process_request_invalid_cookie(cookie_middleware, mocker): request.COOKIES = {FEATURE_FLAG_COOKIE_NAME: 1} request.get_signed_cookie.side_effect = ValueError assert cookie_middleware(request) == cookie_middleware.get_response.return_value - assert request.open_discussions_feature_flags == set() + assert request.main_feature_flags == set() request.get_signed_cookie.assert_called_once_with(FEATURE_FLAG_COOKIE_NAME) @@ -122,4 +122,4 @@ def test_process_request_no_cookie(cookie_middleware, mocker): request.COOKIES = {} assert cookie_middleware(request) == cookie_middleware.get_response.return_value request.get_signed_cookie.assert_not_called() - assert request.open_discussions_feature_flags == set() + assert request.main_feature_flags == set() diff --git a/open_discussions/models.py b/main/models.py similarity index 94% rename from open_discussions/models.py rename to main/models.py index 27588c26fc..686cea755a 100644 --- a/open_discussions/models.py +++ b/main/models.py @@ -1,11 +1,11 @@ """ -Classes related to models for open_discussions +Classes related to models for main """ from django.db.models import DateTimeField, Model from django.db.models.query import QuerySet -from open_discussions.utils import now_in_utc +from main.utils import now_in_utc class TimestampedModelQuerySet(QuerySet): diff --git a/open_discussions/permissions.py b/main/permissions.py similarity index 99% rename from open_discussions/permissions.py rename to main/permissions.py index cbcdcc98df..4b9584e9bd 100644 --- a/open_discussions/permissions.py +++ b/main/permissions.py @@ -2,7 +2,7 @@ from rest_framework import permissions -from open_discussions import features +from main import features def is_admin_user(request): diff --git a/open_discussions/permissions_test.py b/main/permissions_test.py similarity index 90% rename from open_discussions/permissions_test.py rename to main/permissions_test.py index 29f1eaeaa8..44531a6e74 100644 --- a/open_discussions/permissions_test.py +++ b/main/permissions_test.py @@ -3,7 +3,7 @@ import pytest from django.contrib.auth.models import AnonymousUser -from open_discussions.permissions import ( +from main.permissions import ( AnonymousAccessReadonlyPermission, IsOwnSubscriptionOrAdminPermission, IsStaffOrReadonlyPermission, @@ -53,7 +53,7 @@ def test_is_staff_permission(mocker, is_staff): """ request, view = mocker.Mock(), mocker.Mock() is_staff_user_mock = mocker.patch( - "open_discussions.permissions.is_admin_user", + "main.permissions.is_admin_user", autospec=True, return_value=is_staff, ) @@ -76,12 +76,12 @@ def test_is_staff_or_readonly_permission(mocker, is_staff, readonly, expected): """ request, view = mocker.Mock(), mocker.Mock() is_staff_user_mock = mocker.patch( - "open_discussions.permissions.is_admin_user", + "main.permissions.is_admin_user", autospec=True, return_value=is_staff, ) is_readonly_mock = mocker.patch( - "open_discussions.permissions.is_readonly", autospec=True, return_value=readonly + "main.permissions.is_readonly", autospec=True, return_value=readonly ) assert IsStaffOrReadonlyPermission().has_permission(request, view) is expected if is_staff_user_mock.called: @@ -111,9 +111,9 @@ def test_is_own_subscription_permission( user=mocker.Mock(username=logged_in_username), data={"subscriber_name": req_body_username} if req_body_username else {}, ) - mocker.patch("open_discussions.permissions.is_admin_user", return_value=False) - mocker.patch("open_discussions.permissions.is_moderator", return_value=False) - mocker.patch("open_discussions.permissions.is_readonly", return_value=False) + mocker.patch("main.permissions.is_admin_user", return_value=False) + mocker.patch("main.permissions.is_moderator", return_value=False) + mocker.patch("main.permissions.is_readonly", return_value=False) assert ( IsOwnSubscriptionOrAdminPermission().has_permission(request, view) is expected ) diff --git a/open_discussions/sentry.py b/main/sentry.py similarity index 100% rename from open_discussions/sentry.py rename to main/sentry.py diff --git a/open_discussions/serializers.py b/main/serializers.py similarity index 100% rename from open_discussions/serializers.py rename to main/serializers.py diff --git a/open_discussions/settings.py b/main/settings.py similarity index 97% rename from open_discussions/settings.py rename to main/settings.py index d3c7804fef..185a574ab2 100644 --- a/open_discussions/settings.py +++ b/main/settings.py @@ -1,5 +1,5 @@ """ -Django settings for open_discussions. +Django settings for main. For more information on this file, see @@ -20,17 +20,17 @@ import dj_database_url from django.core.exceptions import ImproperlyConfigured -from open_discussions.envs import ( +from main.envs import ( get_any, get_bool, get_int, get_list_of_str, get_string, ) -from open_discussions.sentry import init_sentry -from open_discussions.settings_celery import * # noqa: F403 -from open_discussions.settings_course_etl import * # noqa: F403 -from open_discussions.settings_pluggy import * # noqa: F403 +from main.sentry import init_sentry +from main.settings_celery import * # noqa: F403 +from main.settings_course_etl import * # noqa: F403 +from main.settings_pluggy import * # noqa: F403 from openapi.settings_spectacular import open_spectacular_settings VERSION = "0.2.2" @@ -109,7 +109,7 @@ "django_filters", "drf_spectacular", # Put our apps after this point - "open_discussions", + "main", "authentication", "channels", "profiles", @@ -156,7 +156,7 @@ "MITOPEN_TOS_URL", urljoin(SITE_BASE_URL, "/terms-and-conditions/") ) -ROOT_URLCONF = "open_discussions.urls" +ROOT_URLCONF = "main.urls" TEMPLATES = [ { @@ -176,7 +176,7 @@ } ] -WSGI_APPLICATION = "open_discussions.wsgi.application" +WSGI_APPLICATION = "main.wsgi.application" # Database # https://docs.djangoproject.com/en/1.8/ref/settings/#databases @@ -582,8 +582,8 @@ def get_all_config_keys(): if MIDDLEWARE_FEATURE_FLAG_QS_PREFIX: MIDDLEWARE = ( *MIDDLEWARE, - "open_discussions.middleware.feature_flags.QueryStringFeatureFlagMiddleware", - "open_discussions.middleware.feature_flags.CookieFeatureFlagMiddleware", + "main.middleware.feature_flags.QueryStringFeatureFlagMiddleware", + "main.middleware.feature_flags.CookieFeatureFlagMiddleware", ) # django debug toolbar only in debug mode @@ -597,7 +597,7 @@ def get_all_config_keys(): "DEFAULT_AUTHENTICATION_CLASSES": ( "rest_framework.authentication.SessionAuthentication", ), - "EXCEPTION_HANDLER": "open_discussions.exceptions.api_exception_handler", + "EXCEPTION_HANDLER": "main.exceptions.api_exception_handler", "TEST_REQUEST_DEFAULT_FORMAT": "json", "TEST_REQUEST_RENDERER_CLASSES": [ "rest_framework.renderers.JSONRenderer", diff --git a/open_discussions/settings_celery.py b/main/settings_celery.py similarity index 97% rename from open_discussions/settings_celery.py rename to main/settings_celery.py index d60b275b33..ce1be971fd 100644 --- a/open_discussions/settings_celery.py +++ b/main/settings_celery.py @@ -4,7 +4,7 @@ from celery.schedules import crontab -from open_discussions.envs import get_bool, get_int, get_string +from main.envs import get_bool, get_int, get_string USE_CELERY = True CELERY_BROKER_URL = get_string("CELERY_BROKER_URL", get_string("REDISCLOUD_URL", None)) diff --git a/open_discussions/settings_course_etl.py b/main/settings_course_etl.py similarity index 98% rename from open_discussions/settings_course_etl.py rename to main/settings_course_etl.py index 3fd14e283e..a764b055e4 100644 --- a/open_discussions/settings_course_etl.py +++ b/main/settings_course_etl.py @@ -2,7 +2,7 @@ Django settings specific to learning_resources ingestion """ -from open_discussions.envs import get_bool, get_int, get_string +from main.envs import get_bool, get_int, get_string # EDX API Credentials EDX_API_URL = get_string("EDX_API_URL", None) diff --git a/open_discussions/settings_pluggy.py b/main/settings_pluggy.py similarity index 86% rename from open_discussions/settings_pluggy.py rename to main/settings_pluggy.py index f109045c19..c747c8cc58 100644 --- a/open_discussions/settings_pluggy.py +++ b/main/settings_pluggy.py @@ -1,4 +1,4 @@ -from open_discussions.envs import get_string +from main.envs import get_string MITOPEN_AUTHENTICATION_PLUGINS = get_string( "MITOPEN_AUTHENTICATION_PLUGINS", diff --git a/open_discussions/settings_test.py b/main/settings_test.py similarity index 96% rename from open_discussions/settings_test.py rename to main/settings_test.py index 4b8f2b3790..d5cd76f629 100644 --- a/open_discussions/settings_test.py +++ b/main/settings_test.py @@ -35,10 +35,10 @@ def reload_settings(self): Returns: dict: dictionary of the newly reloaded settings ``vars`` """ - importlib.reload(sys.modules["open_discussions.settings"]) + importlib.reload(sys.modules["main.settings"]) # Restore settings to original settings after test - self.addCleanup(importlib.reload, sys.modules["open_discussions.settings"]) - return vars(sys.modules["open_discussions.settings"]) + self.addCleanup(importlib.reload, sys.modules["main.settings"]) + return vars(sys.modules["main.settings"]) def test_s3_settings(self): """Verify that we enable and configure S3 with a variable""" diff --git a/open_discussions/templates/admin/channels/channelmembershipconfig/change_form.html b/main/templates/admin/channels/channelmembershipconfig/change_form.html similarity index 100% rename from open_discussions/templates/admin/channels/channelmembershipconfig/change_form.html rename to main/templates/admin/channels/channelmembershipconfig/change_form.html diff --git a/open_discussions/templates/index.html b/main/templates/index.html similarity index 100% rename from open_discussions/templates/index.html rename to main/templates/index.html diff --git a/open_discussions/templatetags/__init__.py b/main/templatetags/__init__.py similarity index 100% rename from open_discussions/templatetags/__init__.py rename to main/templatetags/__init__.py diff --git a/open_discussions/templatetags/noindex_meta.py b/main/templatetags/noindex_meta.py similarity index 100% rename from open_discussions/templatetags/noindex_meta.py rename to main/templatetags/noindex_meta.py diff --git a/open_discussions/test_utils.py b/main/test_utils.py similarity index 100% rename from open_discussions/test_utils.py rename to main/test_utils.py diff --git a/open_discussions/test_utils_test.py b/main/test_utils_test.py similarity index 97% rename from open_discussions/test_utils_test.py rename to main/test_utils_test.py index 5d7ceef48c..bf759df2b2 100644 --- a/open_discussions/test_utils_test.py +++ b/main/test_utils_test.py @@ -4,7 +4,7 @@ import pytest -from open_discussions.test_utils import ( +from main.test_utils import ( MockResponse, PickleableMock, any_instance_of, diff --git a/open_discussions/urls.py b/main/urls.py similarity index 90% rename from open_discussions/urls.py rename to main/urls.py index fdf9b97192..ff32d0c3d4 100644 --- a/open_discussions/urls.py +++ b/main/urls.py @@ -19,7 +19,7 @@ from django.contrib import admin from django.urls import include, re_path -from open_discussions.views import index +from main.views import index # Post slugs can contain unicode characters, so a letter-matching pattern like [A-Za-z] doesn't work. # noqa: E501 # "[^\W]" Matches any character that is NOT a non-alphanumeric character, including underscores. # noqa: E501 @@ -27,9 +27,9 @@ # as well, that character is added to the pattern via an alternation (|). POST_SLUG_PATTERN = "([^\\W]|-)+" -handler400 = "open_discussions.views.handle_400" -handler403 = "open_discussions.views.handle_403" -handler404 = "open_discussions.views.handle_404" +handler400 = "main.views.handle_400" +handler403 = "main.views.handle_403" +handler404 = "main.views.handle_404" urlpatterns = [ # noqa: RUF005 re_path(r"^admin/", admin.site.urls), @@ -45,7 +45,7 @@ re_path(r"", include("articles.urls")), re_path(r"", include("livestream.urls")), # React App - re_path(r"^$", index, name="open_discussions-index"), + re_path(r"^$", index, name="main-index"), re_path(r"^privacy-statement/", index, name="privacy-statement"), re_path(r"^search/", index, name="site-search"), re_path(r"^learningpaths/", index, name="learningpaths"), diff --git a/open_discussions/urls_test.py b/main/urls_test.py similarity index 70% rename from open_discussions/urls_test.py rename to main/urls_test.py index e03d2716cc..77380e5ed6 100644 --- a/open_discussions/urls_test.py +++ b/main/urls_test.py @@ -5,4 +5,4 @@ def test_index(): """Test that the index URL is set correctly""" - assert reverse("open_discussions-index") == "/" + assert reverse("main-index") == "/" diff --git a/open_discussions/utils.py b/main/utils.py similarity index 99% rename from open_discussions/utils.py rename to main/utils.py index b7107c373b..348e366dc5 100644 --- a/open_discussions/utils.py +++ b/main/utils.py @@ -1,4 +1,4 @@ -"""open_discussions utilities""" +"""main utilities""" import datetime import logging diff --git a/open_discussions/utils_test.py b/main/utils_test.py similarity index 98% rename from open_discussions/utils_test.py rename to main/utils_test.py index 0a22799153..dcf35831df 100644 --- a/open_discussions/utils_test.py +++ b/main/utils_test.py @@ -8,8 +8,8 @@ import pytz from django.contrib.auth import get_user_model -from open_discussions.factories import UserFactory -from open_discussions.utils import ( +from main.factories import UserFactory +from main.utils import ( chunks, extract_values, filter_dict_keys, diff --git a/open_discussions/views.py b/main/views.py similarity index 95% rename from open_discussions/views.py rename to main/views.py index e539aa5dab..8c7fc80eb9 100644 --- a/open_discussions/views.py +++ b/main/views.py @@ -1,5 +1,5 @@ """ -open_discussions views +main views """ from django.conf import settings @@ -11,7 +11,7 @@ from django.shortcuts import render from learning_resources.permissions import is_learning_path_editor -from open_discussions.permissions import is_admin_user +from main.permissions import is_admin_user def index(request, **kwargs): # pylint: disable=unused-argument # noqa: ARG001 diff --git a/open_discussions/wsgi.py b/main/wsgi.py similarity index 83% rename from open_discussions/wsgi.py rename to main/wsgi.py index dfca82de0c..f681cf8fc8 100644 --- a/open_discussions/wsgi.py +++ b/main/wsgi.py @@ -12,6 +12,6 @@ from dj_static import Cling from django.core.wsgi import get_wsgi_application -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "open_discussions.settings") +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings") application = Cling(get_wsgi_application()) # pylint: disable=invalid-name diff --git a/manage.py b/manage.py index 0886f74529..f1116e6082 100755 --- a/manage.py +++ b/manage.py @@ -6,7 +6,7 @@ import sys if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "open_discussions.settings") + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings") from django.core.management import execute_from_command_line diff --git a/openapi/management/commands/generate_openapi_spec.py b/openapi/management/commands/generate_openapi_spec.py index c44e265896..cc24596624 100644 --- a/openapi/management/commands/generate_openapi_spec.py +++ b/openapi/management/commands/generate_openapi_spec.py @@ -30,7 +30,7 @@ def handle(self, **options): filepath = Path(directory) / filename management.call_command( "spectacular", - urlconf="open_discussions.urls", + urlconf="main.urls", file=filepath, validate=True, api_version=version, diff --git a/openapi/settings_spectacular.py b/openapi/settings_spectacular.py index 2dcee095d9..9f81112c55 100644 --- a/openapi/settings_spectacular.py +++ b/openapi/settings_spectacular.py @@ -7,7 +7,7 @@ "DESCRIPTION": "MIT public API", "VERSION": "0.0.1", "SERVE_INCLUDE_SCHEMA": False, - "SERVE_URLCONF": "open_discussions.urls", + "SERVE_URLCONF": "main.urls", "ENUM_GENERATE_CHOICE_DESCRIPTION": True, "COMPONENT_SPLIT_REQUEST": True, "AUTHENTICATION_WHITELIST": [], diff --git a/profiles/api_test.py b/profiles/api_test.py index 1f7581b6cb..61503ba6ed 100644 --- a/profiles/api_test.py +++ b/profiles/api_test.py @@ -2,7 +2,7 @@ import pytest -from open_discussions.factories import UserFactory +from main.factories import UserFactory from profiles import api from profiles.api import ( get_site_type_from_url, diff --git a/profiles/filters_test.py b/profiles/filters_test.py index 1122f60877..a3e76df937 100644 --- a/profiles/filters_test.py +++ b/profiles/filters_test.py @@ -3,7 +3,7 @@ import pytest from django.contrib.auth import get_user_model -from open_discussions.factories import UserFactory +from main.factories import UserFactory from profiles.filters import UserFilter pytestmark = pytest.mark.django_db diff --git a/profiles/permissions.py b/profiles/permissions.py index 4d3c613ac8..0c8b319b66 100644 --- a/profiles/permissions.py +++ b/profiles/permissions.py @@ -2,7 +2,7 @@ from rest_framework import permissions -from open_discussions.permissions import is_admin_user +from main.permissions import is_admin_user def is_owner_or_privileged_user(obj_user, request): diff --git a/profiles/permissions_test.py b/profiles/permissions_test.py index 1baa44bc9f..1ad0d92a30 100644 --- a/profiles/permissions_test.py +++ b/profiles/permissions_test.py @@ -2,7 +2,7 @@ """Tests for profile permissions""" import pytest -from open_discussions.factories import UserFactory +from main.factories import UserFactory from profiles.permissions import ( HasEditPermission, HasSiteEditPermission, diff --git a/profiles/utils.py b/profiles/utils.py index 96522426c7..0bac78720e 100644 --- a/profiles/utils.py +++ b/profiles/utils.py @@ -11,7 +11,7 @@ from django.core.files.temp import NamedTemporaryFile from PIL import Image -from open_discussions.utils import generate_filepath +from main.utils import generate_filepath # Max dimension of either height or width for small and medium images IMAGE_SMALL_MAX_DIMENSION = 64 diff --git a/profiles/utils_test.py b/profiles/utils_test.py index 4be23fc94e..a49288d688 100644 --- a/profiles/utils_test.py +++ b/profiles/utils_test.py @@ -7,8 +7,8 @@ import pytest from PIL import Image -from open_discussions.factories import UserFactory -from open_discussions.utils import generate_filepath +from main.factories import UserFactory +from main.utils import generate_filepath from profiles.utils import ( DEFAULT_PROFILE_IMAGE, generate_initials, diff --git a/profiles/views.py b/profiles/views.py index ef4338b00e..aad94a885f 100644 --- a/profiles/views.py +++ b/profiles/views.py @@ -10,7 +10,7 @@ from rest_framework import mixins, viewsets from rest_framework.permissions import IsAuthenticated -from open_discussions.permissions import ( +from main.permissions import ( AnonymousAccessReadonlyPermission, IsStaffPermission, ) diff --git a/pyproject.toml b/pyproject.toml index 18f007b695..748506c1fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] -name = "open-discussions" +name = "mit-open" version = "0.71.0" -description = "Search index and discussion forum for use with other MIT applications." +description = "Search index for use with other MIT applications." license = "BSD-3" readme = "README.md" packages = [] diff --git a/pytest.ini b/pytest.ini index ed8c16d522..55c6271da5 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -addopts = --cov . --cov-report term --cov-report html --cov-report xml --ds=open_discussions.settings --reuse-db +addopts = --cov . --cov-report term --cov-report html --cov-report xml --ds=main.settings --reuse-db norecursedirs = node_modules .git .tox static templates .* CVS _darcs {arch} *.egg markers = betamax: test requires betamax diff --git a/renovate.json b/renovate.json index 25f1ff9c14..f0433f9741 100644 --- a/renovate.json +++ b/renovate.json @@ -3,7 +3,7 @@ "extends": ["local>mitodl/.github:renovate-config"], "packageRules": [ { - "matchFiles": ["frontends/open-discussions/package.json"], + "matchFiles": ["frontends/mit-open/package.json"], "matchUpdateTypes": ["major"], "enabled": false }, diff --git a/uwsgi.ini b/uwsgi.ini index 672e526264..a696b28626 100644 --- a/uwsgi.ini +++ b/uwsgi.ini @@ -15,8 +15,8 @@ if-not-env = UWSGI_THREADS threads = 100 endif = die-on-term = true -wsgi-file = open_discussions/wsgi.py -pidfile=/tmp/open_discussions-mast.pid +wsgi-file = main/wsgi.py +pidfile=/tmp/mit_open-mast.pid vacuum=True enable-threads = true single-interpreter = true diff --git a/widgets/factories.py b/widgets/factories.py index 0e651aacab..10c44d90d9 100644 --- a/widgets/factories.py +++ b/widgets/factories.py @@ -3,7 +3,7 @@ import factory from factory.django import DjangoModelFactory -from open_discussions.factories import UserFactory +from main.factories import UserFactory from widgets.models import WidgetInstance, WidgetList diff --git a/widgets/serializers/rss.py b/widgets/serializers/rss.py index 6f948c5f58..0aec58d00b 100644 --- a/widgets/serializers/rss.py +++ b/widgets/serializers/rss.py @@ -8,7 +8,7 @@ from django.conf import settings from rest_framework.serializers import ValidationError -from open_discussions.constants import ISOFORMAT +from main.constants import ISOFORMAT from widgets.serializers.react_fields import ReactIntegerField, ReactURLField from widgets.serializers.widget_instance import ( WidgetConfigSerializer, diff --git a/widgets/serializers/rss_test.py b/widgets/serializers/rss_test.py index 82ace66683..9e2f783582 100644 --- a/widgets/serializers/rss_test.py +++ b/widgets/serializers/rss_test.py @@ -5,7 +5,7 @@ import pytest from rest_framework.serializers import ValidationError -from open_discussions.test_utils import PickleableMock +from main.test_utils import PickleableMock from widgets.factories import WidgetInstanceFactory, WidgetListFactory from widgets.serializers import rss diff --git a/widgets/serializers/widget_instance.py b/widgets/serializers/widget_instance.py index 4c9dcdddbb..7713b1f3b5 100644 --- a/widgets/serializers/widget_instance.py +++ b/widgets/serializers/widget_instance.py @@ -2,7 +2,7 @@ from rest_framework import serializers -from open_discussions.serializers import WriteableSerializerMethodField +from main.serializers import WriteableSerializerMethodField from widgets.models import WidgetInstance from widgets.serializers.utils import get_widget_type_names diff --git a/widgets/serializers/widget_list.py b/widgets/serializers/widget_list.py index 4b2e3a2e5c..d84d530b31 100644 --- a/widgets/serializers/widget_list.py +++ b/widgets/serializers/widget_list.py @@ -3,7 +3,7 @@ from django.db import transaction from rest_framework import serializers -from open_discussions.serializers import WriteableSerializerMethodField +from main.serializers import WriteableSerializerMethodField from widgets.models import WidgetList from widgets.serializers.utils import get_widget_classes, get_widget_type_mapping diff --git a/widgets/views.py b/widgets/views.py index b3841c85ca..0921e589a4 100644 --- a/widgets/views.py +++ b/widgets/views.py @@ -2,7 +2,7 @@ from rest_framework import mixins, viewsets -from open_discussions.permissions import ObjectOnlyPermissions, ReadOnly +from main.permissions import ObjectOnlyPermissions, ReadOnly from widgets.models import WidgetList from widgets.serializers.widget_list import WidgetListSerializer From c05678db682eef44ca953215cc81fef5f7d0fd26 Mon Sep 17 00:00:00 2001 From: Matt Bertrand Date: Wed, 7 Feb 2024 08:50:10 -0500 Subject: [PATCH 26/27] Allow for blank OCW terms/years (adjust readable_id accordingly), raise an error at end of ocw_courses_etl function if any exceptions occurred during processing (#475) --- learning_resources/etl/ocw.py | 11 ++++++---- learning_resources/etl/ocw_test.py | 28 +++++++++++++++++++----- learning_resources/etl/pipelines.py | 6 ++++- learning_resources/etl/pipelines_test.py | 25 ++++++++++++--------- 4 files changed, 49 insertions(+), 21 deletions(-) diff --git a/learning_resources/etl/ocw.py b/learning_resources/etl/ocw.py index 38275ca823..8d7a95cf71 100644 --- a/learning_resources/etl/ocw.py +++ b/learning_resources/etl/ocw.py @@ -235,8 +235,8 @@ def transform_run(course_data: dict) -> dict: "published": True, "instructors": parse_instructors(course_data.get("instructors", [])), "description": course_data.get("course_description"), - "year": course_data.get("year"), - "semester": course_data.get("term"), + "year": course_data.get("year") or None, + "semester": course_data.get("term") or None, "availability": AvailabilityType.current.value, "image": { "url": urljoin(settings.OCW_BASE_URL, image_src) if image_src else None, @@ -289,8 +289,11 @@ def transform_course(course_data: dict) -> dict: extra_course_numbers = [num.strip() for num in extra_course_numbers.split(",")] else: extra_course_numbers = [] - - readable_id = f"{course_data[PRIMARY_COURSE_ID]}+{slugify(course_data.get('term'))}_{course_data.get('year')}" # noqa: E501 + term = course_data.get("term") + year = course_data.get("year") + readable_term = f"+{slugify(term)}" if term else "" + readable_year = f"_{course_data.get('year')}" if year else "" + readable_id = f"{course_data[PRIMARY_COURSE_ID]}{readable_term}{readable_year}" topics = [ {"name": topic_name} for topic_name in list( diff --git a/learning_resources/etl/ocw_test.py b/learning_resources/etl/ocw_test.py index 5a2289c26d..c5212ec9fd 100644 --- a/learning_resources/etl/ocw_test.py +++ b/learning_resources/etl/ocw_test.py @@ -164,14 +164,26 @@ def test_transform_content_file_needs_text_update( @mock_s3 @pytest.mark.parametrize( - ("legacy_uid", "site_uid", "expected_uid", "has_extra_num"), + ( + "legacy_uid", + "site_uid", + "expected_uid", + "has_extra_num", + "term", + "year", + "expected_id", + ), [ - ("legacy-uid", None, "legacyuid", False), - (None, "site-uid", "siteuid", True), - (None, None, None, True), + ("legacy-uid", None, "legacyuid", False, "Spring", "2005", "16.01+spring_2005"), + (None, "site-uid", "siteuid", True, "", 2005, "16.01_2005"), + (None, "site-uid", "siteuid", True, "", "", "16.01"), + (None, "site-uid", "siteuid", True, None, None, "16.01"), + (None, None, None, True, "Spring", "2005", None), ], ) -def test_transform_course(settings, legacy_uid, site_uid, expected_uid, has_extra_num): +def test_transform_course( # noqa: PLR0913 + settings, legacy_uid, site_uid, expected_uid, has_extra_num, term, year, expected_id +): """transform_course should return expected data""" settings.OCW_BASE_URL = "http://test.edu/" with Path.open( @@ -181,6 +193,8 @@ def test_transform_course(settings, legacy_uid, site_uid, expected_uid, has_extr ) as inf: course_json = json.load(inf) + course_json["term"] = term + course_json["year"] = year course_json["legacy_uid"] = legacy_uid course_json["site_uid"] = site_uid course_json["extra_course_numbers"] = "1, 2" if has_extra_num else None @@ -192,10 +206,12 @@ def test_transform_course(settings, legacy_uid, site_uid, expected_uid, has_extr } transformed_json = transform_course(extracted_json) if expected_uid: - assert transformed_json["readable_id"] == "16.01+fall_2005" + assert transformed_json["readable_id"] == expected_id assert transformed_json["etl_source"] == ETLSource.ocw.name assert transformed_json["runs"][0]["run_id"] == expected_uid assert transformed_json["runs"][0]["level"] == ["Undergraduate"] + assert transformed_json["runs"][0]["semester"] == (term if term else None) + assert transformed_json["runs"][0]["year"] == (year if year else None) assert ( transformed_json["image"]["url"] == "http://test.edu/courses/16-01-unified-engineering-i-ii-iii-iv-fall-2005-spring-2006/8f56bbb35d0e456dc8b70911bec7cd0d_16-01f05.jpg" diff --git a/learning_resources/etl/pipelines.py b/learning_resources/etl/pipelines.py index 0d11027d9d..a34f701b54 100644 --- a/learning_resources/etl/pipelines.py +++ b/learning_resources/etl/pipelines.py @@ -23,6 +23,7 @@ ETLSource, ProgramLoaderConfig, ) +from learning_resources.etl.exceptions import ExtractException log = logging.getLogger(__name__) @@ -117,7 +118,7 @@ def ocw_courses_etl( aws_access_key_id=settings.AWS_ACCESS_KEY_ID, aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY, ) - + exceptions = [] for url_path in url_paths: try: data = ocw.extract_course( @@ -140,3 +141,6 @@ def ocw_courses_etl( log.info("No course data found for %s", url_path) except: # noqa: E722 log.exception("Error encountered parsing OCW json for %s", url_path) + exceptions.append(url_path) + if exceptions: + raise ExtractException("Some OCW urls raised errors: %s" % ",".join(exceptions)) diff --git a/learning_resources/etl/pipelines_test.py b/learning_resources/etl/pipelines_test.py index 72a443be50..be3637d326 100644 --- a/learning_resources/etl/pipelines_test.py +++ b/learning_resources/etl/pipelines_test.py @@ -17,6 +17,7 @@ ETLSource, ProgramLoaderConfig, ) +from learning_resources.etl.exceptions import ExtractException from learning_resources.models import LearningResource @@ -200,6 +201,9 @@ def test_ocw_courses_etl(settings, mocker, skip_content_files): return_value={"content": "TEXT"}, ) mocker.patch("learning_resources.etl.pipelines.loaders.resource_upserted_actions") + mocker.patch( + "learning_resources.etl.pipelines.loaders.resource_run_upserted_actions" + ) mocker.patch( "learning_resources.etl.pipelines.loaders.resource_unpublished_actions" ) @@ -253,17 +257,18 @@ def test_ocw_courses_etl_exception(settings, mocker): mock_log = mocker.patch("learning_resources.etl.pipelines.log.exception") mocker.patch( - "learning_resources.etl.pipelines.ocw.extract_course", side_effect=Exception - ) - - pipelines.ocw_courses_etl( - url_paths=[OCW_TEST_PREFIX], - force_overwrite=True, - start_timestamp=datetime(2020, 12, 15, tzinfo=pytz.utc), - ) - mock_log.assert_called_once_with( - "Error encountered parsing OCW json for %s", OCW_TEST_PREFIX + "learning_resources.etl.pipelines.ocw.extract_course", side_effect=[Exception] ) + url_paths = ["courses/1", "courses/2", "courses/3"] + with pytest.raises(ExtractException) as ex: + pipelines.ocw_courses_etl( + url_paths=url_paths, + force_overwrite=True, + start_timestamp=datetime(2020, 12, 15, tzinfo=pytz.utc), + ) + assert str(ex.value) == "Some OCW urls raised errors: %s" % ",".join(url_paths) + for path in url_paths: + mock_log.assert_any_call("Error encountered parsing OCW json for %s", path) def test_micromasters_etl(): From de8d157a3b1e9ece93ffa602a2f4d3495be02405 Mon Sep 17 00:00:00 2001 From: Doof Date: Wed, 7 Feb 2024 13:51:40 +0000 Subject: [PATCH 27/27] Release 0.3.0 --- RELEASE.rst | 30 ++++++++++++++++++++++++++++++ main/settings.py | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/RELEASE.rst b/RELEASE.rst index 76ecede918..f7a0950097 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -1,6 +1,36 @@ Release Notes ============= +Version 0.3.0 +------------- + +- Allow for blank OCW terms/years (adjust readable_id accordingly), raise an error at end of ocw_courses_etl function if any exceptions occurred during processing (#475) +- Remove all references to open-discussions (#472) +- Fix prolearn etl (#471) +- Multiple filter options for learningresources and contenfiles API rest endpoints (#449) +- Lock file maintenance (#470) +- Update dependency pluggy to v1.4.0 (#468) +- Update dependency jekyll-feed to v0.17.0 (#467) +- Update dependency @types/react to v18.2.53 (#469) +- Update dependency ipython to v8.21.0 (#466) +- Update dependency google-api-python-client to v2.116.0 (#465) +- Update dependency django-debug-toolbar to v4.3.0 (#464) +- Update dependency @sentry/react to v7.99.0 (#463) +- Update apache/tika Docker tag to v2.5.0 (#461) +- Update docker.elastic.co/elasticsearch/elasticsearch Docker tag to v7.17.17 (#460) +- Update dependency prettier to v3.2.5 (#462) +- Update dependency social-auth-core to v4.5.2 (#458) +- Update dependency toolz to v0.12.1 (#459) +- Update dependency moto to v4.2.14 (#457) +- Update dependency drf-spectacular to v0.27.1 (#456) +- Update dependency boto3 to v1.34.34 (#454) +- Update dependency beautifulsoup4 to v4.12.3 (#453) +- Update dependency axios to v1.6.7 (#452) +- Update codecov/codecov-action action to v3.1.6 (#451) +- Update all non-major dev-dependencies (#450) +- Added support to set SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS (#429) +- do not allow None in levels/languages (#446) + Version 0.2.2 (Released February 02, 2024) ------------- diff --git a/main/settings.py b/main/settings.py index 185a574ab2..ea9585790a 100644 --- a/main/settings.py +++ b/main/settings.py @@ -33,7 +33,7 @@ from main.settings_pluggy import * # noqa: F403 from openapi.settings_spectacular import open_spectacular_settings -VERSION = "0.2.2" +VERSION = "0.3.0" log = logging.getLogger()