Import categories

pull/73/head
MillenniumEarl 2021-02-21 15:13:38 +01:00
parent 31d31bbf08
commit cf0caad9cb
1 changed files with 1 additions and 1 deletions

View File

@ -4,9 +4,9 @@ import validator from 'class-validator';
// Modules from file // Modules from file
import { urls } from "../constants/url.js"; import { urls } from "../constants/url.js";
import PrefixParser from './prefix-parser.js'; import PrefixParser from './prefix-parser.js';
import { TCategory } from "../interfaces";
// Type definitions // Type definitions
type TCategory = "games" | "comics" | "animations" | "assets";
type TSort = "date" | "likes" | "views" | "title" | "rating"; type TSort = "date" | "likes" | "views" | "title" | "rating";
type TDate = 365 | 180 | 90 | 30 | 14 | 7 | 3 | 1; type TDate = 365 | 180 | 90 | 30 | 14 | 7 | 3 | 1;