"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractProvider = void 0;
const uuid_1 = require("uuid");
class AbstractProvider {
    getExtension(filename) {
        return filename.split('.').pop();
    }
    getFilename(filename) {
        const newFilename = (0, uuid_1.v4)();
        return `${newFilename}.${this.getExtension(filename)}`;
    }
}
exports.AbstractProvider = AbstractProvider;
//# sourceMappingURL=abstract.provider.js.map