feat: birthday memories (#30831)

This commit is contained in:
Alex
2026-09-22 04:30:43 -05:00
committed by GitHub
parent f48d4b3321
commit d6d0947383
23 changed files with 1111 additions and 60 deletions
+28 -17
View File
@@ -23056,7 +23056,7 @@
"type": "array"
},
"data": {
"$ref": "#/components/schemas/OnThisDayDto"
"$ref": "#/components/schemas/MemoryDataDto"
},
"hideAt": {
"description": "Date when memory should be hidden",
@@ -23123,6 +23123,30 @@
],
"type": "object"
},
"MemoryDataDto": {
"properties": {
"personId": {
"description": "Person ID (birthday memories)",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
"type": "string"
},
"personName": {
"description": "Name of the person when the memory was created (birthday memories)",
"type": "string"
},
"year": {
"description": "Year of the memory",
"maximum": 9999,
"minimum": 1000,
"type": "integer"
}
},
"required": [
"year"
],
"type": "object"
},
"MemoryResponseDto": {
"properties": {
"assets": {
@@ -23139,7 +23163,7 @@
"type": "string"
},
"data": {
"$ref": "#/components/schemas/OnThisDayDto"
"$ref": "#/components/schemas/MemoryDataDto"
},
"deletedAt": {
"description": "Deletion date",
@@ -23242,7 +23266,8 @@
"MemoryType": {
"description": "Memory type",
"enum": [
"on_this_day"
"on_this_day",
"birthday"
],
"type": "string"
},
@@ -24521,20 +24546,6 @@
],
"type": "string"
},
"OnThisDayDto": {
"properties": {
"year": {
"description": "Year for on this day memory",
"maximum": 9999,
"minimum": 1000,
"type": "integer"
}
},
"required": [
"year"
],
"type": "object"
},
"OnboardingDto": {
"properties": {
"isOnboarded": {