const debug = require('ghost-ignition').debug('api:v2:utils:serializers:output:themes');

module.exports = {
    browse(themes, apiConfig, frame) {
        debug('browse');

        frame.response = themes;
    },

    upload() {
        debug('upload');
        this.browse(...arguments);
    },

    activate() {
        debug('activate');
        this.browse(...arguments);
    },

    download(fn, apiConfig, frame) {
        debug('download');

        frame.response = fn;
    }
};
