From cf0caad9cb9fe6796689a068cf21e2e9832293b2 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 21 Feb 2021 15:13:38 +0100 Subject: [PATCH] Import categories --- src/scripts/classes/handiwork-search-query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/classes/handiwork-search-query.ts b/src/scripts/classes/handiwork-search-query.ts index 022e3db..81f1b5e 100644 --- a/src/scripts/classes/handiwork-search-query.ts +++ b/src/scripts/classes/handiwork-search-query.ts @@ -4,9 +4,9 @@ import validator from 'class-validator'; // Modules from file import { urls } from "../constants/url.js"; import PrefixParser from './prefix-parser.js'; +import { TCategory } from "../interfaces"; // Type definitions -type TCategory = "games" | "comics" | "animations" | "assets"; type TSort = "date" | "likes" | "views" | "title" | "rating"; type TDate = 365 | 180 | 90 | 30 | 14 | 7 | 3 | 1;