Skip to content

Commit 7653735

Browse files
joehanTrCaM
authored andcommitted
Fix the type of eventFilters (firebase#8643)
1 parent 2d444a0 commit 7653735

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

schema/extension-yaml.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,11 @@
218218
"description": "The name or pattern of the resource to trigger on"
219219
},
220220
"eventFilters": {
221-
"type": "string",
222-
"description": "Filters that further limit the events to listen to."
221+
"type": "array",
222+
"description": "Filters that further limit the events to listen to.",
223+
"items": {
224+
"$ref": "#/definitions/eventFilter"
225+
}
223226
},
224227
"channel": {
225228
"type": "string",
@@ -327,6 +330,16 @@
327330
"description": "A description of the event"
328331
}
329332
}
333+
},
334+
"eventFilter": {
335+
"type": "object",
336+
"properties": {
337+
"attribute": {
338+
"type": "string",
339+
"description": "The event attribute to filter on",
340+
"value": "The value to filter for"
341+
}
342+
}
330343
}
331344
},
332345
"properties": {

0 commit comments

Comments
 (0)