Add the defaultAugmentationProperties constant

This makes some syntax in tests somewhat simpler.
This commit is contained in:
Andrew Eisenberg 2022-08-10 15:42:45 -07:00
parent 0403fb7d8c
commit 2314063848
12 changed files with 33 additions and 40 deletions

View file

@ -190,6 +190,16 @@ export interface AugmentationProperties {
injectedMlQueries: boolean;
}
/**
* The default, empty augmentation properties. This is most useeful
* for tests.
*/
export const defaultAugmentationProperties: AugmentationProperties = {
queriesInputCombines: false,
packsInputCombines: false,
injectedMlQueries: false,
};
export type Packs = Partial<Record<Language, string[]>>;
/**