This commit is contained in:
Chocobozzz 2022-02-23 16:46:16 +01:00
parent 5a8b24c0fc
commit de3c53069d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@
"scripts": {
"tsc": "tsc",
"eslint": "eslint",
"lint": "eslint --ext .ts \"server/**/*.ts\"",
"lint": "eslint --ext .ts \"server/**/*.ts\" && cd client && npm run lint",
"build": "rm -rf dist && tsc && cp -r themes dist/ && cd ./client && npm run build",
"postinstall": "cd client/ && yarn install --pure-lockfile",
"start": "node dist/server.js",

View File

@ -4,7 +4,6 @@ import { logger } from '../../../helpers/logger'
import { INDEXER_QUEUE_CONCURRENCY } from '../../../initializers/constants'
import { buildIndex, indexDocuments, refreshIndex } from '../../../lib/elastic-search/elastic-search-index'
import { removeFromHosts, removeNotExistingIdsFromHost } from '../../../lib/elastic-search/elastic-search-queries'
import { buildVideosMapping } from '../../../lib/elastic-search/elastic-search-videos'
import { IndexableDoc } from '../../../types/indexable-doc.model'
// identifier could be an uuid, an handle or a url for example