refactor: deduplicate MemoryType and ReactionType enums (#11479)

* refactor: deduplicate memorytype and reactiontype enums

* fix mobile
This commit is contained in:
Michel Heusschen
2024-07-31 19:08:31 +02:00
committed by GitHub
parent 281cfc95a4
commit b73f7fe16f
8 changed files with 18 additions and 176 deletions

View File

@@ -7216,11 +7216,7 @@
"type": "string"
},
"type": {
"enum": [
"comment",
"like"
],
"type": "string"
"$ref": "#/components/schemas/ReactionType"
},
"user": {
"$ref": "#/components/schemas/UserResponseDto"
@@ -9311,10 +9307,7 @@
"type": "string"
},
"type": {
"enum": [
"on_this_day"
],
"type": "string"
"$ref": "#/components/schemas/MemoryType"
},
"updatedAt": {
"format": "date-time",