Skip to content

Commit 840550a

Browse files
authored
INTMDB-870: Fixed trigger resource (#88)
1 parent 02fba3e commit 840550a

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

API.md

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/l1-resources/trigger/index.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,11 @@ export interface DatabaseConfig {
173173
readonly operationTypes?: DatabaseConfigOperationTypes[];
174174

175175
/**
176-
* A [$match](https://www.mongodb.com/docs/manual/reference/operator/aggregation/match)
177-
* expression filters change events. The trigger will only
178-
* fire if the expression evaluates to true for a given
179-
* change event.
176+
* stringify version of a [$match](https://www.mongodb.com/docs/manual/reference/operator/aggregation/match) expression filters change events. The trigger will only fire if the expression evaluates to true for a given change event.
180177
*
181178
* @schema DatabaseConfig#Match
182179
*/
183-
readonly match?: any;
180+
readonly match?: string;
184181

185182
/**
186183
* If `true`, indicates that `UPDATE` change events should

0 commit comments

Comments
 (0)