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-12 17:05:26 +0900
commitcda9a0f02cc3e779da378d0328f9d24c708b2600 (patch)
treee2040231d01a54f8a08fb2d0aeec623040dc949d /lib
parentc33680b62d968e1e0e2abcdc084eaecf5dd94d2f (diff)
downloadlibquotient-cda9a0f02cc3e779da378d0328f9d24c708b2600.tar.gz
libquotient-cda9a0f02cc3e779da378d0328f9d24c708b2600.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: