From b83ca2f37d6bb1007f62216cebf96a1177e556dc Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Thu, 21 Dec 2023 23:33:49 +0900 Subject: Minor optimizations for dictionary import (#412) * minor dictionary import optimizations * fix comment * use regex for matching --- types/ext/dictionary-importer.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'types/ext') diff --git a/types/ext/dictionary-importer.d.ts b/types/ext/dictionary-importer.d.ts index 5ae20dd1..cccfdc42 100644 --- a/types/ext/dictionary-importer.d.ts +++ b/types/ext/dictionary-importer.d.ts @@ -98,6 +98,16 @@ export type ImportRequirementContext = { export type ArchiveFileMap = Map; +/** + * A map of file types inside a dictionary and its corresponding regular expressions. + */ +export type QueryDetails = Map; + +/** + * A map of file types inside a dictionary and its matching entries. + */ +export type QueryResult = Map; + export type CompiledSchemaNameArray = [ termBank: CompiledSchemaName, termMetaBank: CompiledSchemaName, -- cgit v1.2.3