import Vue from "vue";
import TimeConvert from "@/filtres/time-convert.filter";
import formatFileSize from "@/filtres/format-file-size.filter";
import toUpperCase from "@/filtres/to-upper-case.filter";
import dictionaryConversion from "@/filtres/dictionary-conversion.filter";

class FilterService {
  init() {
    Vue.filter("TimeConvert", TimeConvert);
    Vue.filter("toUpperCase", toUpperCase);
    Vue.filter("formatFileSize", formatFileSize);
    Vue.filter("dictionary", dictionaryConversion);
  }
}
const filterService = new FilterService();
export default filterService;
