src/route.js

const S3Mixin = require('./mixin');
const Image = require('flamingo/src/routes/image');

/**
 * Flamingo Image route
 * @external Image
 * @see {@link https://piobyte.github.io/flamingo/Image.html|Image}
 */

/**
 * Route that converts an image, stored on aws s3
 * @class
 * @mixes S3
 * @extends external:Image
 */
class S3Route extends S3Mixin(Image) {
  constructor(conf, method = 'GET', path = '/s3/{bucketAlias}/{profile}/{key}', description = 'Profile conversion based on aws s3 input') {
    super(conf, method, path, description);
  }
}

module.exports = S3Route;