From 91b20cae3f60bf8c3b2b66c28911feca2d1d575d Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 12 Dec 2018 17:05:26 +0900 Subject: gtad.yaml: use more compact definitions where possible --- lib/csapi/gtad.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib') 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" 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: } - map: # `additionalProperties` in OpenAPI - RoomState: -- cgit v1.2.3