From dc55f9c0097e1c36b85d7666071b840b902920e9 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Mon, 20 Jan 2025 02:56:25 +0000 Subject: Add calendar support --- api/dto/calendar.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 api/dto/calendar.go (limited to 'api/dto/calendar.go') diff --git a/api/dto/calendar.go b/api/dto/calendar.go new file mode 100644 index 0000000..33da621 --- /dev/null +++ b/api/dto/calendar.go @@ -0,0 +1,15 @@ +package dto + +type GetCalendarResponse struct { + ID int32 `json:"id"` + Name string `json:"name"` + Key string `json:"key"` + URL string `json:"url"` +} + +type CreateCalendarResponse struct { + ID int32 `json:"id"` + Name string `json:"name"` + Key string `json:"key"` + URL string `json:"url"` +} -- cgit v1.2.3-70-g09d2