"use strict";
// This class doesn't appear to be used at all
Object.defineProperty(exports, "__esModule", { value: true });
const BaseModel_1 = require("../BaseModel");
class Search extends BaseModel_1.default {
    static tableName() {
        throw new Error('Not using database');
    }
    static modelType() {
        return BaseModel_1.default.TYPE_SEARCH;
    }
    static keywords(query) {
        const trimmed = query.trim();
        const output = trimmed.split(/[\s\t\n]+/);
        return output.filter((o) => !!o);
    }
}
exports.default = Search;
//# sourceMappingURL=Search.js.map