MOBILE-3915 chore: Fix some imports
This commit is contained in:
		
							parent
							
								
									1e2eb7e4fb
								
							
						
					
					
						commit
						2c2be04065
					
				| @ -26,7 +26,7 @@ import { CoreSite } from '@classes/site'; | |||||||
| import { CoreUtils } from '@services/utils/utils'; | import { CoreUtils } from '@services/utils/utils'; | ||||||
| import { CoreDomUtils } from '@services/utils/dom'; | import { CoreDomUtils } from '@services/utils/dom'; | ||||||
| import { CoreTextUtils } from '@services/utils/text'; | import { CoreTextUtils } from '@services/utils/text'; | ||||||
| import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion'; | import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion'; | ||||||
| import { AddonBlockMyOverviewFilterOptionsComponent } from '../filteroptions/filteroptions'; | import { AddonBlockMyOverviewFilterOptionsComponent } from '../filteroptions/filteroptions'; | ||||||
| import { IonSearchbar } from '@ionic/angular'; | import { IonSearchbar } from '@ionic/angular'; | ||||||
| import moment from 'moment'; | import moment from 'moment'; | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ import { | |||||||
|     CoreEnrolledCourseDataWithOptions, |     CoreEnrolledCourseDataWithOptions, | ||||||
| } from '@features/courses/services/courses-helper'; | } from '@features/courses/services/courses-helper'; | ||||||
| import { CoreCourseOptionsDelegate } from '@features/course/services/course-options-delegate'; | import { CoreCourseOptionsDelegate } from '@features/course/services/course-options-delegate'; | ||||||
| import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion'; | import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion'; | ||||||
| import { CoreBlockBaseComponent } from '@features/block/classes/base-block-component'; | import { CoreBlockBaseComponent } from '@features/block/classes/base-block-component'; | ||||||
| import { CoreUtils } from '@services/utils/utils'; | import { CoreUtils } from '@services/utils/utils'; | ||||||
| import { CoreSite } from '@classes/site'; | import { CoreSite } from '@classes/site'; | ||||||
|  | |||||||
| @ -21,7 +21,7 @@ import { | |||||||
|     CoreEnrolledCourseDataWithOptions, |     CoreEnrolledCourseDataWithOptions, | ||||||
| } from '@features/courses/services/courses-helper'; | } from '@features/courses/services/courses-helper'; | ||||||
| import { CoreCourseOptionsDelegate } from '@features/course/services/course-options-delegate'; | import { CoreCourseOptionsDelegate } from '@features/course/services/course-options-delegate'; | ||||||
| import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion'; | import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion'; | ||||||
| import { CoreBlockBaseComponent } from '@features/block/classes/base-block-component'; | import { CoreBlockBaseComponent } from '@features/block/classes/base-block-component'; | ||||||
| import { CoreUtils } from '@services/utils/utils'; | import { CoreUtils } from '@services/utils/utils'; | ||||||
| import { CoreSite } from '@classes/site'; | import { CoreSite } from '@classes/site'; | ||||||
|  | |||||||
| @ -25,26 +25,26 @@ function buildRoutes(injector: Injector): Routes { | |||||||
|             data: { |             data: { | ||||||
|                 mainMenuTabRoot: AddonCalendarMainMenuHandlerService.PAGE_NAME, |                 mainMenuTabRoot: AddonCalendarMainMenuHandlerService.PAGE_NAME, | ||||||
|             }, |             }, | ||||||
|             loadChildren: () => import('@/addons/calendar/pages/index/index.module').then(m => m.AddonCalendarIndexPageModule), |             loadChildren: () => import('@addons/calendar/pages/index/index.module').then(m => m.AddonCalendarIndexPageModule), | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: 'settings', |             path: 'settings', | ||||||
|             loadChildren: () => |             loadChildren: () => | ||||||
|                 import('@/addons/calendar/pages/settings/settings.module').then(m => m.AddonCalendarSettingsPageModule), |                 import('@addons/calendar/pages/settings/settings.module').then(m => m.AddonCalendarSettingsPageModule), | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: 'day', |             path: 'day', | ||||||
|             loadChildren: () => |             loadChildren: () => | ||||||
|                 import('@/addons/calendar/pages/day/day.module').then(m => m.AddonCalendarDayPageModule), |                 import('@addons/calendar/pages/day/day.module').then(m => m.AddonCalendarDayPageModule), | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: 'event/:id', |             path: 'event/:id', | ||||||
|             loadChildren: () => import('@/addons/calendar/pages/event/event.module').then(m => m.AddonCalendarEventPageModule), |             loadChildren: () => import('@addons/calendar/pages/event/event.module').then(m => m.AddonCalendarEventPageModule), | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             path: 'edit/:eventId', |             path: 'edit/:eventId', | ||||||
|             loadChildren: () => |             loadChildren: () => | ||||||
|                 import('@/addons/calendar/pages/edit-event/edit-event.module').then(m => m.AddonCalendarEditEventPageModule), |                 import('@addons/calendar/pages/edit-event/edit-event.module').then(m => m.AddonCalendarEditEventPageModule), | ||||||
|         }, |         }, | ||||||
|         ...buildTabMainRoutes(injector, { |         ...buildTabMainRoutes(injector, { | ||||||
|             redirectTo: 'index', |             redirectTo: 'index', | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
| import { Injectable } from '@angular/core'; | import { Injectable } from '@angular/core'; | ||||||
| import { CoreError } from '@classes/errors/error'; | import { CoreError } from '@classes/errors/error'; | ||||||
| import { CoreFileUploader, CoreFileUploaderStoreFilesResult } from '@features/fileuploader/services/fileuploader'; | import { CoreFileUploader, CoreFileUploaderStoreFilesResult } from '@features/fileuploader/services/fileuploader'; | ||||||
| import { FileEntry } from '@ionic-native/file'; | import { FileEntry } from '@ionic-native/file/ngx'; | ||||||
| import { CoreFile } from '@services/file'; | import { CoreFile } from '@services/file'; | ||||||
| import { CoreFileEntry } from '@services/file-helper'; | import { CoreFileEntry } from '@services/file-helper'; | ||||||
| import { CoreSites } from '@services/sites'; | import { CoreSites } from '@services/sites'; | ||||||
|  | |||||||
| @ -37,7 +37,7 @@ export const ADDON_NOTIFICATIONS_SERVICES: Type<unknown>[] = [ | |||||||
| const routes: Routes = [ | const routes: Routes = [ | ||||||
|     { |     { | ||||||
|         path: AddonNotificationsMainMenuHandlerService.PAGE_NAME, |         path: AddonNotificationsMainMenuHandlerService.PAGE_NAME, | ||||||
|         loadChildren: () => import('@/addons/notifications/notifications-lazy.module').then(m => m.AddonNotificationsLazyModule), |         loadChildren: () => import('@addons/notifications/notifications-lazy.module').then(m => m.AddonNotificationsLazyModule), | ||||||
|     }, |     }, | ||||||
| ]; | ]; | ||||||
| const preferencesRoutes: Routes = [ | const preferencesRoutes: Routes = [ | ||||||
|  | |||||||
| @ -28,8 +28,8 @@ import { | |||||||
|     AddonPrivateFilesFile, |     AddonPrivateFilesFile, | ||||||
|     AddonPrivateFilesGetUserInfoWSResult, |     AddonPrivateFilesGetUserInfoWSResult, | ||||||
|     AddonPrivateFilesGetFilesWSParams, |     AddonPrivateFilesGetFilesWSParams, | ||||||
| } from '@/addons/privatefiles/services/privatefiles'; | } from '@addons/privatefiles/services/privatefiles'; | ||||||
| import { AddonPrivateFilesHelper } from '@/addons/privatefiles/services/privatefiles-helper'; | import { AddonPrivateFilesHelper } from '@addons/privatefiles/services/privatefiles-helper'; | ||||||
| import { CoreUtils } from '@services/utils/utils'; | import { CoreUtils } from '@services/utils/utils'; | ||||||
| import { CoreNavigator } from '@services/navigator'; | import { CoreNavigator } from '@services/navigator'; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -30,7 +30,7 @@ export const ADDON_PRIVATEFILES_SERVICES: Type<unknown>[] = [ | |||||||
| const routes: Routes = [ | const routes: Routes = [ | ||||||
|     { |     { | ||||||
|         path: AddonPrivateFilesUserHandlerService.PAGE_NAME, |         path: AddonPrivateFilesUserHandlerService.PAGE_NAME, | ||||||
|         loadChildren: () => import('@/addons/privatefiles/privatefiles-lazy.module').then(m => m.AddonPrivateFilesLazyModule), |         loadChildren: () => import('@addons/privatefiles/privatefiles-lazy.module').then(m => m.AddonPrivateFilesLazyModule), | ||||||
|     }, |     }, | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -14,7 +14,7 @@ | |||||||
| 
 | 
 | ||||||
| import { Injectable } from '@angular/core'; | import { Injectable } from '@angular/core'; | ||||||
| 
 | 
 | ||||||
| import { AddonPrivateFiles } from '@/addons/privatefiles/services/privatefiles'; | import { AddonPrivateFiles } from '@addons/privatefiles/services/privatefiles'; | ||||||
| import { makeSingleton } from '@singletons'; | import { makeSingleton } from '@singletons'; | ||||||
| import { | import { | ||||||
|     CoreUserDelegateContext, |     CoreUserDelegateContext, | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ import { TranslateHttpLoader } from '@ngx-translate/http-loader'; | |||||||
| import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; | import { IonicModule, IonicRouteStrategy } from '@ionic/angular'; | ||||||
| 
 | 
 | ||||||
| import { CoreModule } from '@/core/core.module'; | import { CoreModule } from '@/core/core.module'; | ||||||
| import { AddonsModule } from '@/addons/addons.module'; | import { AddonsModule } from '@addons/addons.module'; | ||||||
| 
 | 
 | ||||||
| import { AppComponent } from './app.component'; | import { AppComponent } from './app.component'; | ||||||
| import { AppRoutingModule } from './app-routing.module'; | import { AppRoutingModule } from './app-routing.module'; | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ import { | |||||||
| } from './courses'; | } from './courses'; | ||||||
| import { makeSingleton, Translate } from '@singletons'; | import { makeSingleton, Translate } from '@singletons'; | ||||||
| import { CoreWSExternalFile } from '@services/ws'; | import { CoreWSExternalFile } from '@services/ws'; | ||||||
| import { AddonCourseCompletion } from '@/addons/coursecompletion/services/coursecompletion'; | import { AddonCourseCompletion } from '@addons/coursecompletion/services/coursecompletion'; | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Helper to gather some common courses functions. |  * Helper to gather some common courses functions. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user