Add event_property_is and event_property_contains props to PushConditions (#1673)

Signed-off-by: tusooa <tusooa@kazv.moe>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
pull/1676/head
No 7 months ago committed by GitHub
parent 161a4a2cfb
commit 25a9157f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Add missing properties for `event_property_is` and `event_property_contains` push conditions to `PushConditions` object.

@ -23,8 +23,8 @@ properties:
key: key:
type: string type: string
description: |- description: |-
Required for `event_match` conditions. The dot-separated field of the Required for `event_match`, `event_property_is` and `event_property_contains`
event to match. conditions. The dot-separated field of the event to match.
Required for `sender_notification_permission` conditions. The field in Required for `sender_notification_permission` conditions. The field in
the power level event the user needs a minimum power level for. Fields the power level event the user needs a minimum power level for. Fields
@ -43,5 +43,11 @@ properties:
optionally prefixed by one of, ==, <, >, >= or <=. A prefix of < matches optionally prefixed by one of, ==, <, >, >= or <=. A prefix of < matches
rooms where the member count is strictly less than the given number and rooms where the member count is strictly less than the given number and
so forth. If no prefix is present, this parameter defaults to ==. so forth. If no prefix is present, this parameter defaults to ==.
value:
type: ["string", "integer", "boolean", "null"]
description: |-
Required for `event_property_is` and `event_property_contains` conditions.
A non-compound [canonical JSON](/appendices#canonical-json) value to match
against.
required: required:
- kind - kind

Loading…
Cancel
Save