forked from EVOgeek/Vmeda.Online
		
	MOBILE-3654 forum: Rename service files
This commit is contained in:
		
							parent
							
								
									1e039b0b0f
								
							
						
					
					
						commit
						3dbe1d12d7
					
				| @ -19,7 +19,7 @@ import { CoreSites } from '@services/sites'; | ||||
| import { CoreDomUtils } from '@services/utils/dom'; | ||||
| import { ModalController, Translate } from '@singletons'; | ||||
| import { AddonModForumData, AddonModForumPost, AddonModForumReply } from '@addons/mod/forum/services/forum'; | ||||
| import { AddonModForumHelper } from '@addons/mod/forum/services/helper'; | ||||
| import { AddonModForumHelper } from '@addons/mod/forum/services/forum-helper'; | ||||
| 
 | ||||
| /** | ||||
|  * Page that displays a form to edit discussion post. | ||||
|  | ||||
| @ -25,10 +25,10 @@ import { | ||||
|     AddonModForumNewDiscussionData, | ||||
|     AddonModForumReplyDiscussionData, | ||||
| } from '@addons/mod/forum/services/forum'; | ||||
| import { AddonModForumOffline, AddonModForumOfflineDiscussion } from '@addons/mod/forum/services/offline'; | ||||
| import { AddonModForumOffline, AddonModForumOfflineDiscussion } from '@addons/mod/forum/services/forum-offline'; | ||||
| import { ModalController, PopoverController, Translate } from '@singletons'; | ||||
| import { CoreCourseContentsPage } from '@features/course/pages/contents/contents'; | ||||
| import { AddonModForumHelper } from '@addons/mod/forum/services/helper'; | ||||
| import { AddonModForumHelper } from '@addons/mod/forum/services/forum-helper'; | ||||
| import { CoreGroups, CoreGroupsProvider } from '@services/groups'; | ||||
| import { CoreEvents, CoreEventObserver } from '@singletons/events'; | ||||
| import { | ||||
| @ -36,7 +36,7 @@ import { | ||||
|     AddonModForumManualSyncData, | ||||
|     AddonModForumSyncProvider, | ||||
|     AddonModForumSyncResult, | ||||
| } from '@addons/mod/forum/services/sync'; | ||||
| } from '@addons/mod/forum/services/forum-sync'; | ||||
| import { CoreSites } from '@services/sites'; | ||||
| import { CoreUser } from '@features/user/services/user'; | ||||
| import { CoreDomUtils } from '@services/utils/dom'; | ||||
|  | ||||
| @ -44,11 +44,11 @@ import { CoreTag } from '@features/tag/services/tag'; | ||||
| import { ModalController, PopoverController, Translate } from '@singletons'; | ||||
| import { CoreFileEntry, CoreFileUploader } from '@features/fileuploader/services/fileuploader'; | ||||
| import { IonContent } from '@ionic/angular'; | ||||
| import { AddonModForumSync } from '../../services/sync'; | ||||
| import { AddonModForumSync } from '../../services/forum-sync'; | ||||
| import { CoreSync } from '@services/sync'; | ||||
| import { CoreTextUtils } from '@services/utils/text'; | ||||
| import { AddonModForumHelper } from '../../services/helper'; | ||||
| import { AddonModForumOffline, AddonModForumReplyOptions } from '../../services/offline'; | ||||
| import { AddonModForumHelper } from '../../services/forum-helper'; | ||||
| import { AddonModForumOffline, AddonModForumReplyOptions } from '../../services/forum-offline'; | ||||
| import { CoreUtils } from '@services/utils/utils'; | ||||
| import { AddonModForumPostOptionsMenuComponent } from '../post-options-menu/post-options-menu'; | ||||
| import { AddonModForumEditPostComponent } from '../edit-post/edit-post'; | ||||
|  | ||||
| @ -39,9 +39,9 @@ import { AddonModForumTagAreaHandler } from './services/handlers/tag-area'; | ||||
| import { CorePushNotificationsDelegate } from '@features/pushnotifications/services/push-delegate'; | ||||
| import { AddonModForumPushClickHandler } from './services/handlers/push-click'; | ||||
| import { AddonModForumProvider } from './services/forum'; | ||||
| import { AddonModForumOfflineProvider } from './services/offline'; | ||||
| import { AddonModForumHelperProvider } from './services/helper'; | ||||
| import { AddonModForumSyncProvider } from './services/sync'; | ||||
| import { AddonModForumOfflineProvider } from './services/forum-offline'; | ||||
| import { AddonModForumHelperProvider } from './services/forum-helper'; | ||||
| import { AddonModForumSyncProvider } from './services/forum-sync'; | ||||
| 
 | ||||
| export const ADDON_MOD_FORUM_SERVICES: Type<unknown>[] = [ | ||||
|     AddonModForumProvider, | ||||
|  | ||||
| @ -39,9 +39,9 @@ import { | ||||
|     AddonModForumPost, | ||||
|     AddonModForumProvider, | ||||
| } from '../../services/forum'; | ||||
| import { AddonModForumHelper } from '../../services/helper'; | ||||
| import { AddonModForumOffline } from '../../services/offline'; | ||||
| import { AddonModForumSync, AddonModForumSyncProvider } from '../../services/sync'; | ||||
| import { AddonModForumHelper } from '../../services/forum-helper'; | ||||
| import { AddonModForumOffline } from '../../services/forum-offline'; | ||||
| import { AddonModForumSync, AddonModForumSyncProvider } from '../../services/forum-sync'; | ||||
| 
 | ||||
| type SortType = 'flat-newest' | 'flat-oldest' | 'nested'; | ||||
| 
 | ||||
|  | ||||
| @ -26,14 +26,14 @@ import { | ||||
|     AddonModForumProvider, | ||||
| } from '@addons/mod/forum/services/forum'; | ||||
| import { CoreEditorRichTextEditorComponent } from '@features/editor/components/rich-text-editor/rich-text-editor'; | ||||
| import { AddonModForumSync, AddonModForumSyncProvider } from '@addons/mod/forum/services/sync'; | ||||
| import { AddonModForumSync, AddonModForumSyncProvider } from '@addons/mod/forum/services/forum-sync'; | ||||
| import { CoreSites } from '@services/sites'; | ||||
| import { CoreDomUtils } from '@services/utils/dom'; | ||||
| import { Translate } from '@singletons'; | ||||
| import { CoreSync } from '@services/sync'; | ||||
| import { AddonModForumDiscussionOptions, AddonModForumOffline } from '@addons/mod/forum/services/offline'; | ||||
| import { AddonModForumDiscussionOptions, AddonModForumOffline } from '@addons/mod/forum/services/forum-offline'; | ||||
| import { CoreUtils } from '@services/utils/utils'; | ||||
| import { AddonModForumHelper } from '@addons/mod/forum/services/helper'; | ||||
| import { AddonModForumHelper } from '@addons/mod/forum/services/forum-helper'; | ||||
| import { IonRefresher } from '@ionic/angular'; | ||||
| import { CoreFileUploader } from '@features/fileuploader/services/fileuploader'; | ||||
| import { CoreTextUtils } from '@services/utils/text'; | ||||
|  | ||||
| @ -13,7 +13,7 @@ | ||||
| // limitations under the License.
 | ||||
| 
 | ||||
| import { CoreSiteSchema } from '@services/sites'; | ||||
| import { AddonModForumOfflineDiscussion, AddonModForumOfflineReply } from '../offline'; | ||||
| import { AddonModForumOfflineDiscussion, AddonModForumOfflineReply } from '../forum-offline'; | ||||
| 
 | ||||
| /** | ||||
|  * Database variables for AddonModForum service. | ||||
|  | ||||
| @ -30,7 +30,7 @@ import { | ||||
|     AddonModForumPost, | ||||
|     AddonModForumProvider, | ||||
| } from './forum'; | ||||
| import { AddonModForumDiscussionOptions, AddonModForumOffline, AddonModForumOfflineReply } from './offline'; | ||||
| import { AddonModForumDiscussionOptions, AddonModForumOffline, AddonModForumOfflineReply } from './forum-offline'; | ||||
| 
 | ||||
| /** | ||||
|  * Service that provides some features for forums. | ||||
| @ -34,8 +34,8 @@ import { | ||||
|     AddonModForumAddDiscussionWSOptionsObject, | ||||
|     AddonModForumProvider, | ||||
| } from './forum'; | ||||
| import { AddonModForumHelper } from './helper'; | ||||
| import { AddonModForumOffline, AddonModForumOfflineDiscussion, AddonModForumOfflineReply } from './offline'; | ||||
| import { AddonModForumHelper } from './forum-helper'; | ||||
| import { AddonModForumOffline, AddonModForumOfflineDiscussion, AddonModForumOfflineReply } from './forum-offline'; | ||||
| 
 | ||||
| declare module '@singletons/events' { | ||||
| 
 | ||||
| @ -27,7 +27,7 @@ import { CoreUrlUtils } from '@services/utils/url'; | ||||
| import { CoreUtils } from '@services/utils/utils'; | ||||
| import { CoreStatusWithWarningsWSResponse, CoreWSExternalFile, CoreWSExternalWarning } from '@services/ws'; | ||||
| import { makeSingleton, Translate } from '@singletons'; | ||||
| import { AddonModForumOffline, AddonModForumOfflineDiscussion, AddonModForumReplyOptions } from './offline'; | ||||
| import { AddonModForumOffline, AddonModForumOfflineDiscussion, AddonModForumReplyOptions } from './forum-offline'; | ||||
| 
 | ||||
| const ROOT_CACHE_KEY = 'mmaModForum:'; | ||||
| 
 | ||||
|  | ||||
| @ -22,7 +22,7 @@ import { CoreCourse, CoreCourseAnyModuleData, CoreCourseCommonModWSOptions } fro | ||||
| import { CoreUser } from '@features/user/services/user'; | ||||
| import { CoreGroups, CoreGroupsProvider } from '@services/groups'; | ||||
| import { CoreUtils } from '@services/utils/utils'; | ||||
| import { AddonModForumSync } from '../sync'; | ||||
| import { AddonModForumSync } from '../forum-sync'; | ||||
| import { makeSingleton } from '@singletons'; | ||||
| 
 | ||||
| /** | ||||
|  | ||||
| @ -15,7 +15,7 @@ | ||||
| import { Injectable } from '@angular/core'; | ||||
| import { CoreCronHandler } from '@services/cron'; | ||||
| import { makeSingleton } from '@singletons'; | ||||
| import { AddonModForumSync } from '../sync'; | ||||
| import { AddonModForumSync } from '../forum-sync'; | ||||
| 
 | ||||
| /** | ||||
|  * Synchronization cron handler. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user