Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap committed Aug 26, 2024
1 parent 0f6f8ca commit a5006a1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/layouts/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/modules/page/Login.page.unit.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { postLoginRoute } from "@/router/postLoginRoute";
import {
createTestingI18n,
createTestingVuetify,
Expand All @@ -8,7 +9,6 @@ import { createTestingPinia } from "@pinia/testing";
import { mount } from "@vue/test-utils";
import { setActivePinia } from "pinia";
import { Router, useRouter } from "vue-router";
import { postLoginRoute } from "../../router/postLoginRoute";
import LoginPage from "./Login.page.vue";

jest.mock("vue-router");
Expand Down
20 changes: 10 additions & 10 deletions src/serverApi/v3/api/courses-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ export const CoursesApiAxiosParamCreator = function (configuration?: Configurati
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
courseControllerGetCourseById: async (courseId: string, options: any = {}): Promise<RequestArgs> => {
courseControllerGetCourseCcMetadataById: async (courseId: string, options: any = {}): Promise<RequestArgs> => {
// verify required parameter 'courseId' is not null or undefined
assertParamExists('courseControllerGetCourseById', 'courseId', courseId)
const localVarPath = `/courses/{courseId}`
assertParamExists('courseControllerGetCourseCcMetadataById', 'courseId', courseId)
const localVarPath = `/courses/{courseId}/cc-metadata`
.replace(`{${"courseId"}}`, encodeURIComponent(String(courseId)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
Expand Down Expand Up @@ -324,8 +324,8 @@ export const CoursesApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async courseControllerGetCourseById(courseId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourseCommonCartridgeMetadataResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.courseControllerGetCourseById(courseId, options);
async courseControllerGetCourseCcMetadataById(courseId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourseCommonCartridgeMetadataResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.courseControllerGetCourseCcMetadataById(courseId, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand Down Expand Up @@ -399,8 +399,8 @@ export const CoursesApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
courseControllerGetCourseById(courseId: string, options?: any): AxiosPromise<CourseCommonCartridgeMetadataResponse> {
return localVarFp.courseControllerGetCourseById(courseId, options).then((request) => request(axios, basePath));
courseControllerGetCourseCcMetadataById(courseId: string, options?: any): AxiosPromise<CourseCommonCartridgeMetadataResponse> {
return localVarFp.courseControllerGetCourseCcMetadataById(courseId, options).then((request) => request(axios, basePath));
},
/**
*
Expand Down Expand Up @@ -470,7 +470,7 @@ export interface CoursesApiInterface {
* @throws {RequiredError}
* @memberof CoursesApiInterface
*/
courseControllerGetCourseById(courseId: string, options?: any): AxiosPromise<CourseCommonCartridgeMetadataResponse>;
courseControllerGetCourseCcMetadataById(courseId: string, options?: any): AxiosPromise<CourseCommonCartridgeMetadataResponse>;

/**
*
Expand Down Expand Up @@ -544,8 +544,8 @@ export class CoursesApi extends BaseAPI implements CoursesApiInterface {
* @throws {RequiredError}
* @memberof CoursesApi
*/
public courseControllerGetCourseById(courseId: string, options?: any) {
return CoursesApiFp(this.configuration).courseControllerGetCourseById(courseId, options).then((request) => request(this.axios, this.basePath));
public courseControllerGetCourseCcMetadataById(courseId: string, options?: any) {
return CoursesApiFp(this.configuration).courseControllerGetCourseCcMetadataById(courseId, options).then((request) => request(this.axios, this.basePath));
}

/**
Expand Down
6 changes: 6 additions & 0 deletions src/serverApi/v3/models/import-user-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ export interface ImportUserResponse {
* @memberof ImportUserResponse
*/
flagged: boolean;
/**
* exact user roles from the external system
* @type {Array<string>}
* @memberof ImportUserResponse
*/
externalRoleNames?: Array<string>;
}

/**
Expand Down

0 comments on commit a5006a1

Please sign in to comment.