aboutsummaryrefslogtreecommitdiffstats
path: root/api/dto
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-01-20 02:56:25 +0000
committerLeonardo Bishop <me@leonardobishop.com>2025-01-20 02:56:25 +0000
commitdc55f9c0097e1c36b85d7666071b840b902920e9 (patch)
treec8c8ae10a9e134810b3361aabc8a9d426d813808 /api/dto
parent5e7ce6cbae81a1b6e46fe6738dc10039a06bec95 (diff)
Add calendar support
Diffstat (limited to 'api/dto')
-rw-r--r--api/dto/calendar.go15
1 files changed, 15 insertions, 0 deletions
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"`
+}