Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update and rename edx_module_id #2109

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions frontends/api/src/generated/v0/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ export interface ContentFile {
* @type {string}
* @memberof ContentFile
*/
edx_block_id?: string | null
edx_module_id?: string | null
}

/**
Expand Down Expand Up @@ -10916,7 +10916,7 @@ export const VectorContentFilesSearchApiAxiosParamCreator = function (
* @param {string} [collection_name] Manually specify the name of the Qdrant collection to query
* @param {Array<string>} [content_feature_type] The feature type of the content file. Possible options are at api/v1/course_features/
* @param {Array<string>} [course_number] Course number of the content file
* @param {Array<string>} [edx_block_id] The edx_block_id of the content file
* @param {Array<string>} [edx_module_id] The edx_module_id of the content file
* @param {Array<string>} [file_extension] The extension of the content file.
* @param {Array<string>} [key] The filename of the content file
* @param {number} [limit] Number of results to return per page
Expand All @@ -10934,7 +10934,7 @@ export const VectorContentFilesSearchApiAxiosParamCreator = function (
collection_name?: string,
content_feature_type?: Array<string>,
course_number?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
file_extension?: Array<string>,
key?: Array<string>,
limit?: number,
Expand Down Expand Up @@ -10975,8 +10975,8 @@ export const VectorContentFilesSearchApiAxiosParamCreator = function (
localVarQueryParameter["course_number"] = course_number
}

if (edx_block_id) {
localVarQueryParameter["edx_block_id"] = edx_block_id
if (edx_module_id) {
localVarQueryParameter["edx_module_id"] = edx_module_id
}

if (file_extension) {
Expand Down Expand Up @@ -11052,7 +11052,7 @@ export const VectorContentFilesSearchApiFp = function (
* @param {string} [collection_name] Manually specify the name of the Qdrant collection to query
* @param {Array<string>} [content_feature_type] The feature type of the content file. Possible options are at api/v1/course_features/
* @param {Array<string>} [course_number] Course number of the content file
* @param {Array<string>} [edx_block_id] The edx_block_id of the content file
* @param {Array<string>} [edx_module_id] The edx_module_id of the content file
* @param {Array<string>} [file_extension] The extension of the content file.
* @param {Array<string>} [key] The filename of the content file
* @param {number} [limit] Number of results to return per page
Expand All @@ -11070,7 +11070,7 @@ export const VectorContentFilesSearchApiFp = function (
collection_name?: string,
content_feature_type?: Array<string>,
course_number?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
file_extension?: Array<string>,
key?: Array<string>,
limit?: number,
Expand All @@ -11093,7 +11093,7 @@ export const VectorContentFilesSearchApiFp = function (
collection_name,
content_feature_type,
course_number,
edx_block_id,
edx_module_id,
file_extension,
key,
limit,
Expand Down Expand Up @@ -11149,7 +11149,7 @@ export const VectorContentFilesSearchApiFactory = function (
requestParameters.collection_name,
requestParameters.content_feature_type,
requestParameters.course_number,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.file_extension,
requestParameters.key,
requestParameters.limit,
Expand Down Expand Up @@ -11195,11 +11195,11 @@ export interface VectorContentFilesSearchApiVectorContentFilesSearchRetrieveRequ
readonly course_number?: Array<string>

/**
* The edx_block_id of the content file
* The edx_module_id of the content file
* @type {Array<string>}
* @memberof VectorContentFilesSearchApiVectorContentFilesSearchRetrieve
*/
readonly edx_block_id?: Array<string>
readonly edx_module_id?: Array<string>

/**
* The extension of the content file.
Expand Down Expand Up @@ -11296,7 +11296,7 @@ export class VectorContentFilesSearchApi extends BaseAPI {
requestParameters.collection_name,
requestParameters.content_feature_type,
requestParameters.course_number,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.file_extension,
requestParameters.key,
requestParameters.limit,
Expand Down
62 changes: 31 additions & 31 deletions frontends/api/src/generated/v1/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export interface ContentFile {
* @type {string}
* @memberof ContentFile
*/
edx_block_id?: string | null
edx_module_id?: string | null
}

/**
Expand Down Expand Up @@ -8660,7 +8660,7 @@ export const ContentfilesApiAxiosParamCreator = function (
* @summary List
* @param {number} learning_resource_id id of the parent learning resource
* @param {Array<string>} [content_feature_type] Multiple values may be separated by commas.
* @param {Array<string>} [edx_block_id] Multiple values may be separated by commas.
* @param {Array<string>} [edx_module_id] Multiple values may be separated by commas.
* @param {number} [limit] Number of results to return per page.
* @param {Array<ContentfilesListOfferedByEnum>} [offered_by] The organization that offers a learning resource the content file belongs to * &#x60;mitx&#x60; - MITx * &#x60;ocw&#x60; - MIT OpenCourseWare * &#x60;bootcamps&#x60; - Bootcamps * &#x60;xpro&#x60; - MIT xPRO * &#x60;mitpe&#x60; - MIT Professional Education * &#x60;see&#x60; - MIT Sloan Executive Education
* @param {number} [offset] The initial index from which to return the results.
Expand All @@ -8673,7 +8673,7 @@ export const ContentfilesApiAxiosParamCreator = function (
contentfilesList: async (
learning_resource_id: number,
content_feature_type?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
limit?: number,
offered_by?: Array<ContentfilesListOfferedByEnum>,
offset?: number,
Expand Down Expand Up @@ -8712,8 +8712,8 @@ export const ContentfilesApiAxiosParamCreator = function (
content_feature_type.join(COLLECTION_FORMATS.csv)
}

if (edx_block_id) {
localVarQueryParameter["edx_block_id"] = edx_block_id.join(
if (edx_module_id) {
localVarQueryParameter["edx_module_id"] = edx_module_id.join(
COLLECTION_FORMATS.csv,
)
}
Expand Down Expand Up @@ -8830,7 +8830,7 @@ export const ContentfilesApiFp = function (configuration?: Configuration) {
* @summary List
* @param {number} learning_resource_id id of the parent learning resource
* @param {Array<string>} [content_feature_type] Multiple values may be separated by commas.
* @param {Array<string>} [edx_block_id] Multiple values may be separated by commas.
* @param {Array<string>} [edx_module_id] Multiple values may be separated by commas.
* @param {number} [limit] Number of results to return per page.
* @param {Array<ContentfilesListOfferedByEnum>} [offered_by] The organization that offers a learning resource the content file belongs to * &#x60;mitx&#x60; - MITx * &#x60;ocw&#x60; - MIT OpenCourseWare * &#x60;bootcamps&#x60; - Bootcamps * &#x60;xpro&#x60; - MIT xPRO * &#x60;mitpe&#x60; - MIT Professional Education * &#x60;see&#x60; - MIT Sloan Executive Education
* @param {number} [offset] The initial index from which to return the results.
Expand All @@ -8843,7 +8843,7 @@ export const ContentfilesApiFp = function (configuration?: Configuration) {
async contentfilesList(
learning_resource_id: number,
content_feature_type?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
limit?: number,
offered_by?: Array<ContentfilesListOfferedByEnum>,
offset?: number,
Expand All @@ -8861,7 +8861,7 @@ export const ContentfilesApiFp = function (configuration?: Configuration) {
await localVarAxiosParamCreator.contentfilesList(
learning_resource_id,
content_feature_type,
edx_block_id,
edx_module_id,
limit,
offered_by,
offset,
Expand Down Expand Up @@ -8942,7 +8942,7 @@ export const ContentfilesApiFactory = function (
.contentfilesList(
requestParameters.learning_resource_id,
requestParameters.content_feature_type,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.limit,
requestParameters.offered_by,
requestParameters.offset,
Expand Down Expand Up @@ -9000,7 +9000,7 @@ export interface ContentfilesApiContentfilesListRequest {
* @type {Array<string>}
* @memberof ContentfilesApiContentfilesList
*/
readonly edx_block_id?: Array<string>
readonly edx_module_id?: Array<string>

/**
* Number of results to return per page.
Expand Down Expand Up @@ -9089,7 +9089,7 @@ export class ContentfilesApi extends BaseAPI {
.contentfilesList(
requestParameters.learning_resource_id,
requestParameters.content_feature_type,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.limit,
requestParameters.offered_by,
requestParameters.offset,
Expand Down Expand Up @@ -9488,7 +9488,7 @@ export const CoursesApiAxiosParamCreator = function (
* @summary Learning Resource Content File List
* @param {number} learning_resource_id id of the parent learning resource
* @param {Array<string>} [content_feature_type] Multiple values may be separated by commas.
* @param {Array<string>} [edx_block_id] Multiple values may be separated by commas.
* @param {Array<string>} [edx_module_id] Multiple values may be separated by commas.
* @param {number} [limit] Number of results to return per page.
* @param {Array<CoursesContentfilesListOfferedByEnum>} [offered_by] The organization that offers a learning resource the content file belongs to * &#x60;mitx&#x60; - MITx * &#x60;ocw&#x60; - MIT OpenCourseWare * &#x60;bootcamps&#x60; - Bootcamps * &#x60;xpro&#x60; - MIT xPRO * &#x60;mitpe&#x60; - MIT Professional Education * &#x60;see&#x60; - MIT Sloan Executive Education
* @param {number} [offset] The initial index from which to return the results.
Expand All @@ -9501,7 +9501,7 @@ export const CoursesApiAxiosParamCreator = function (
coursesContentfilesList: async (
learning_resource_id: number,
content_feature_type?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
limit?: number,
offered_by?: Array<CoursesContentfilesListOfferedByEnum>,
offset?: number,
Expand Down Expand Up @@ -9541,8 +9541,8 @@ export const CoursesApiAxiosParamCreator = function (
content_feature_type.join(COLLECTION_FORMATS.csv)
}

if (edx_block_id) {
localVarQueryParameter["edx_block_id"] = edx_block_id.join(
if (edx_module_id) {
localVarQueryParameter["edx_module_id"] = edx_module_id.join(
COLLECTION_FORMATS.csv,
)
}
Expand Down Expand Up @@ -9850,7 +9850,7 @@ export const CoursesApiFp = function (configuration?: Configuration) {
* @summary Learning Resource Content File List
* @param {number} learning_resource_id id of the parent learning resource
* @param {Array<string>} [content_feature_type] Multiple values may be separated by commas.
* @param {Array<string>} [edx_block_id] Multiple values may be separated by commas.
* @param {Array<string>} [edx_module_id] Multiple values may be separated by commas.
* @param {number} [limit] Number of results to return per page.
* @param {Array<CoursesContentfilesListOfferedByEnum>} [offered_by] The organization that offers a learning resource the content file belongs to * &#x60;mitx&#x60; - MITx * &#x60;ocw&#x60; - MIT OpenCourseWare * &#x60;bootcamps&#x60; - Bootcamps * &#x60;xpro&#x60; - MIT xPRO * &#x60;mitpe&#x60; - MIT Professional Education * &#x60;see&#x60; - MIT Sloan Executive Education
* @param {number} [offset] The initial index from which to return the results.
Expand All @@ -9863,7 +9863,7 @@ export const CoursesApiFp = function (configuration?: Configuration) {
async coursesContentfilesList(
learning_resource_id: number,
content_feature_type?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
limit?: number,
offered_by?: Array<CoursesContentfilesListOfferedByEnum>,
offset?: number,
Expand All @@ -9881,7 +9881,7 @@ export const CoursesApiFp = function (configuration?: Configuration) {
await localVarAxiosParamCreator.coursesContentfilesList(
learning_resource_id,
content_feature_type,
edx_block_id,
edx_module_id,
limit,
offered_by,
offset,
Expand Down Expand Up @@ -10070,7 +10070,7 @@ export const CoursesApiFactory = function (
.coursesContentfilesList(
requestParameters.learning_resource_id,
requestParameters.content_feature_type,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.limit,
requestParameters.offered_by,
requestParameters.offset,
Expand Down Expand Up @@ -10177,7 +10177,7 @@ export interface CoursesApiCoursesContentfilesListRequest {
* @type {Array<string>}
* @memberof CoursesApiCoursesContentfilesList
*/
readonly edx_block_id?: Array<string>
readonly edx_module_id?: Array<string>

/**
* Number of results to return per page.
Expand Down Expand Up @@ -10406,7 +10406,7 @@ export class CoursesApi extends BaseAPI {
.coursesContentfilesList(
requestParameters.learning_resource_id,
requestParameters.content_feature_type,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.limit,
requestParameters.offered_by,
requestParameters.offset,
Expand Down Expand Up @@ -11770,7 +11770,7 @@ export const LearningResourcesApiAxiosParamCreator = function (
* @summary Learning Resource Content File List
* @param {number} learning_resource_id id of the parent learning resource
* @param {Array<string>} [content_feature_type] Multiple values may be separated by commas.
* @param {Array<string>} [edx_block_id] Multiple values may be separated by commas.
* @param {Array<string>} [edx_module_id] Multiple values may be separated by commas.
* @param {number} [limit] Number of results to return per page.
* @param {Array<LearningResourcesContentfilesListOfferedByEnum>} [offered_by] The organization that offers a learning resource the content file belongs to * &#x60;mitx&#x60; - MITx * &#x60;ocw&#x60; - MIT OpenCourseWare * &#x60;bootcamps&#x60; - Bootcamps * &#x60;xpro&#x60; - MIT xPRO * &#x60;mitpe&#x60; - MIT Professional Education * &#x60;see&#x60; - MIT Sloan Executive Education
* @param {number} [offset] The initial index from which to return the results.
Expand All @@ -11783,7 +11783,7 @@ export const LearningResourcesApiAxiosParamCreator = function (
learningResourcesContentfilesList: async (
learning_resource_id: number,
content_feature_type?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
limit?: number,
offered_by?: Array<LearningResourcesContentfilesListOfferedByEnum>,
offset?: number,
Expand Down Expand Up @@ -11823,8 +11823,8 @@ export const LearningResourcesApiAxiosParamCreator = function (
content_feature_type.join(COLLECTION_FORMATS.csv)
}

if (edx_block_id) {
localVarQueryParameter["edx_block_id"] = edx_block_id.join(
if (edx_module_id) {
localVarQueryParameter["edx_module_id"] = edx_module_id.join(
COLLECTION_FORMATS.csv,
)
}
Expand Down Expand Up @@ -12675,7 +12675,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) {
* @summary Learning Resource Content File List
* @param {number} learning_resource_id id of the parent learning resource
* @param {Array<string>} [content_feature_type] Multiple values may be separated by commas.
* @param {Array<string>} [edx_block_id] Multiple values may be separated by commas.
* @param {Array<string>} [edx_module_id] Multiple values may be separated by commas.
* @param {number} [limit] Number of results to return per page.
* @param {Array<LearningResourcesContentfilesListOfferedByEnum>} [offered_by] The organization that offers a learning resource the content file belongs to * &#x60;mitx&#x60; - MITx * &#x60;ocw&#x60; - MIT OpenCourseWare * &#x60;bootcamps&#x60; - Bootcamps * &#x60;xpro&#x60; - MIT xPRO * &#x60;mitpe&#x60; - MIT Professional Education * &#x60;see&#x60; - MIT Sloan Executive Education
* @param {number} [offset] The initial index from which to return the results.
Expand All @@ -12688,7 +12688,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) {
async learningResourcesContentfilesList(
learning_resource_id: number,
content_feature_type?: Array<string>,
edx_block_id?: Array<string>,
edx_module_id?: Array<string>,
limit?: number,
offered_by?: Array<LearningResourcesContentfilesListOfferedByEnum>,
offset?: number,
Expand All @@ -12706,7 +12706,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) {
await localVarAxiosParamCreator.learningResourcesContentfilesList(
learning_resource_id,
content_feature_type,
edx_block_id,
edx_module_id,
limit,
offered_by,
offset,
Expand Down Expand Up @@ -13228,7 +13228,7 @@ export const LearningResourcesApiFactory = function (
.learningResourcesContentfilesList(
requestParameters.learning_resource_id,
requestParameters.content_feature_type,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.limit,
requestParameters.offered_by,
requestParameters.offset,
Expand Down Expand Up @@ -13483,7 +13483,7 @@ export interface LearningResourcesApiLearningResourcesContentfilesListRequest {
* @type {Array<string>}
* @memberof LearningResourcesApiLearningResourcesContentfilesList
*/
readonly edx_block_id?: Array<string>
readonly edx_module_id?: Array<string>

/**
* Number of results to return per page.
Expand Down Expand Up @@ -14078,7 +14078,7 @@ export class LearningResourcesApi extends BaseAPI {
.learningResourcesContentfilesList(
requestParameters.learning_resource_id,
requestParameters.content_feature_type,
requestParameters.edx_block_id,
requestParameters.edx_module_id,
requestParameters.limit,
requestParameters.offered_by,
requestParameters.offset,
Expand Down
Loading
Loading