From cda9a0f02cc3e779da378d0328f9d24c708b2600 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/csapi') 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