MOBILE-3833 course: Deprecate skipListStatus on prefetch handlers

main
Pau Ferrer Ocaña 2022-04-06 09:50:17 +02:00
parent 5c3fe58ed7
commit be8ed25daa
3 changed files with 3 additions and 8 deletions

View File

@ -31,7 +31,6 @@ export class AddonModLabelPrefetchHandlerService extends CoreCourseResourcePrefe
modName = 'label';
component = AddonModLabelProvider.COMPONENT;
updatesNames = /^.*files$/;
skipListStatus = true;
/**
* @inheritdoc

View File

@ -47,12 +47,6 @@ export class CoreCourseModulePrefetchHandlerBase implements CoreCourseModulePref
*/
updatesNames = /^.*files$/;
/**
* If true, this module will be ignored when determining the status of a list of modules. The module will
* still be downloaded when downloading the section/course, it only affects whether the button should be displayed.
*/
skipListStatus = false;
/**
* List of download promises to prevent downloading the module twice at the same time.
*/

View File

@ -1361,8 +1361,10 @@ export interface CoreCourseModulePrefetchHandler extends CoreDelegateHandler {
/**
* If true, this module will be treated as not downloadable when determining the status of a list of modules. The module will
* still be downloaded when downloading the section/course, it only affects whether the button should be displayed.
*
* @depracated since app 4.0.
*/
skipListStatus: boolean;
skipListStatus?: boolean;
/**
* Get the download size of a module.