# lib/Enums/default-ttls.js

    import METHOD_NAMES from './method-names';

    // Default cache TTLs.
    // This is subject to change (though that should not matter).
    const defaultTTLs = {};

    const overallTTLs = {
        CHAMPION_MASTERY: 10000,
        CHAMPION: 10000,
        LEAGUE: 10000,
        STATIC: 1000000,
        LOL_STATUS: 10000,
        MASTERIES: 10000,
        MATCH: 10000,
        RUNES: 10000,
        SPECTATOR: 10000,
        SUMMONER: 100000,
    };

    METHOD_NAMES.CHAMPION_MASTERY.forEach(
        methodName => (defaultTTLs[methodName] = overallTTLs.CHAMPION_MASTERY),
    );

    METHOD_NAMES.CHAMPION.forEach(
        methodName => (defaultTTLs[methodName] = overallTTLs.CHAMPION),
    );

    export default defaultTTLs;