File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- import { Dictionary , SingleKeyDictionary } from '@spec_utils/Dictionary'
20+ import { Dictionary } from '@spec_utils/Dictionary'
2121import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2222import { Field , Fields } from '@_types/common'
2323import { integer } from '@_types/Numeric'
@@ -151,9 +151,7 @@ export class HighlightBase {
151151
152152export class Highlight extends HighlightBase {
153153 encoder ?: HighlighterEncoder
154- fields :
155- | SingleKeyDictionary < Field , HighlightField >
156- | SingleKeyDictionary < Field , HighlightField > [ ]
154+ fields : Dictionary < Field , HighlightField >
157155}
158156
159157export enum HighlighterEncoder {
Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- import { SingleKeyDictionary } from '@spec_utils/Dictionary'
20+ import { Dictionary } from '@spec_utils/Dictionary'
2121import { float } from '@_types/Numeric'
2222import { QueryBase } from './abstractions'
2323import { TokenPruningConfig } from './TokenPruningConfig'
@@ -27,7 +27,7 @@ import { TokenPruningConfig } from './TokenPruningConfig'
2727 */
2828export class WeightedTokensQuery extends QueryBase {
2929 /** The tokens representing this query */
30- tokens : SingleKeyDictionary < string , float > [ ]
30+ tokens : Dictionary < string , float >
3131 /** Token pruning configurations */
3232 pruning_config ?: TokenPruningConfig
3333}
You can’t perform that action at this time.
0 commit comments