aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-12 17:05:26 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-13 07:20:18 +0900
commit91b20cae3f60bf8c3b2b66c28911feca2d1d575d (patch)
tree0c06ed3194c3360e1d0ab245e19fbd728365e6e4 /lib
parent8f39d870759de362d5ac911d6554347fb3b46759 (diff)
downloadlibquotient-91b20cae3f60bf8c3b2b66c28911feca2d1d575d.tar.gz
libquotient-91b20cae3f60bf8c3b2b66c28911feca2d1d575d.zip
gtad.yaml: use more compact definitions where possible
Diffstat (limited to 'lib')
-rw-r--r--lib/csapi/gtad.yaml9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/csapi/gtad.yaml b/lib/csapi/gtad.yaml
index cb5e553c..ca4a0fb9 100644
--- a/lib/csapi/gtad.yaml
+++ b/lib/csapi/gtad.yaml
@@ -86,12 +86,9 @@ analyzer:
- /m\.room\.member$/:
type: "EventsArray<RoomMemberEvent>"
imports: '"events/roommemberevent.h"'
- - /state_event.yaml$/:
- type: StateEvents
- - /room_event.yaml$/:
- type: RoomEvents
- - /event.yaml$/:
- type: Events
+ - /state_event.yaml$/: StateEvents
+ - /room_event.yaml$/: RoomEvents
+ - /event.yaml$/: Events
- //: { type: "QVector<{{1}}>", imports: <QtCore/QVector> }
- map: # `additionalProperties` in OpenAPI
- RoomState: