diff --git a/packages/mongodb-constants/src/filter.ts b/packages/mongodb-constants/src/filter.ts index fb7ab955..baa473c8 100644 --- a/packages/mongodb-constants/src/filter.ts +++ b/packages/mongodb-constants/src/filter.ts @@ -69,7 +69,7 @@ export type FilterOptions = { /** * Filter completions by completion category */ - meta?: (Meta | 'field:*' | 'accumulator:*' | 'expr:*')[]; + meta?: (Meta | 'field:*' | 'accumulator:*' | 'expr:*' | 'variable:*')[]; /** * Stage-only filters */ diff --git a/packages/mongodb-constants/src/system-variables.ts b/packages/mongodb-constants/src/system-variables.ts index 0d6ea645..2fe23abf 100644 --- a/packages/mongodb-constants/src/system-variables.ts +++ b/packages/mongodb-constants/src/system-variables.ts @@ -90,6 +90,6 @@ const SYSTEM_VARIABLES = [ description: 'A variable that stores the role names of the authenticated user running the command.', }, -]; +] as const; export { SYSTEM_VARIABLES };