From e19e0b053096c396b34fad5180c1bd5b7da7fb36 Mon Sep 17 00:00:00 2001 From: Haroen Viaene Date: Mon, 8 Jul 2019 17:19:27 +0200 Subject: [PATCH] feat(ts): allow faceting --- src/__tests__/__snapshots__/config.test.js.snap | 1 + src/config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/__tests__/__snapshots__/config.test.js.snap b/src/__tests__/__snapshots__/config.test.js.snap index c380643ea..ad3347569 100644 --- a/src/__tests__/__snapshots__/config.test.js.snap +++ b/src/__tests__/__snapshots__/config.test.js.snap @@ -95,6 +95,7 @@ Object { "searchable(computedKeywords)", "searchable(owner.name)", "deprecated", + "types.ts", ], "customRanking": Array [ "desc(_searchInternal.downloadsMagnitude)", diff --git a/src/config.js b/src/config.js index 97a40b9d2..33463c69a 100644 --- a/src/config.js +++ b/src/config.js @@ -33,6 +33,7 @@ const defaultConfig = { 'searchable(computedKeywords)', 'searchable(owner.name)', 'deprecated', + 'types.ts', ], customRanking: [ 'desc(_searchInternal.downloadsMagnitude)',