Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { useRoute } from 'vue-router/composables';
import ContentNodeResource from 'kolibri-common/apiResources/ContentNodeResource';
import ChannelResource from 'kolibri-common/apiResources/ChannelResource';
import useBaseSearch from 'kolibri-common/composables/useBaseSearch';
import useFetch from 'kolibri-common/composables/useFetch.js';
import useFetch from 'kolibri/composables/useFetch';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import QuizResourceSelectionHeader from '../QuizResourceSelectionHeader.vue';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
import { SelectionTarget } from '../contants';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
import QuizResourceSelectionHeader from '../QuizResourceSelectionHeader.vue';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Modalities from 'kolibri-constants/Modalities';
import ContentNodeResource from 'kolibri-common/apiResources/ContentNodeResource';
import CourseSessionResource from 'kolibri-common/apiResources/CourseSessionResource';
import { ref, computed, provide, inject, watch } from 'vue';
import useFetch from 'kolibri-common/composables/useFetch.js';
import useFetch from 'kolibri/composables/useFetch';
import { useCourses } from '../../../composables/useCourses';

/**
Expand Down Expand Up @@ -161,7 +161,7 @@ export default function useAssignCourse({ classId }) {
}

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import { PageNames } from '../../../../../../constants';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
import { SelectionTarget } from '../../../../../common/resourceSelection/contants';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
import { injectQuizCreation } from '../../../../../../composables/useQuizCreation';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import { PageNames } from '../../../../../../constants';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
import QuizResourceSelectionHeader from '../../../../../common/resourceSelection/QuizResourceSelectionHeader.vue';

/**
* @typedef {import('kolibri-common/composables/useFetch.js').FetchObject} FetchObject
* @typedef {import('kolibri/composables/useFetch').FetchObject} FetchObject
*/

export default {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
import { computed, nextTick, ref, toRef, watch } from 'vue';
import { coursesStrings } from 'kolibri-common/strings/coursesStrings.js';
import Modalities from 'kolibri-constants/Modalities';
import useFetch from 'kolibri-common/composables/useFetch.js';
import useFetch from 'kolibri/composables/useFetch';
import { injectPreviousRoute } from 'kolibri-common/composables/usePreviousRoute';
import { LearnerCourseResource } from '../../apiResources';
import ResourceLayout from '../ResourceLayout/index.vue';
Expand Down
Loading
Loading