# Copyright (C) 2019 the Software Heritage developers
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information


def register():
    from .models import NpmVisitModel, NpmModel
    from .lister import NpmLister

    return {'models': [NpmVisitModel, NpmModel],
            'lister': NpmLister,
            'task_modules': ['%s.tasks' % __name__],
            'task_types': {
                'list-npm-full': {
                    'default_interval': '7 days',
                    'min_interval': '7 days',
                    'max_interval': '7 days',
                    },
                },
            }
