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
+10 -5
View File
@@ -1842,15 +1842,19 @@ export type MapReverseGeocodeResponseDto = {
/** State/Province name */
state: string | null;
};
export type OnThisDayDto = {
/** Year for on this day memory */
export type MemoryDataDto = {
/** Person ID (birthday memories) */
personId?: string;
/** Name of the person when the memory was created (birthday memories) */
personName?: string;
/** Year of the memory */
year: number;
};
export type MemoryResponseDto = {
assets: AssetResponseDto[];
/** Creation date */
createdAt: string;
data: OnThisDayDto;
data: MemoryDataDto;
/** Deletion date */
deletedAt?: string;
/** Date when memory should be hidden */
@@ -1874,7 +1878,7 @@ export type MemoryResponseDto = {
export type MemoryCreateDto = {
/** Asset IDs to associate with memory */
assetIds?: string[];
data: OnThisDayDto;
data: MemoryDataDto;
/** Date when memory should be hidden */
hideAt?: string;
/** Is memory saved */
@@ -8218,7 +8222,8 @@ export enum MemorySearchOrder {
Random = "random"
}
export enum MemoryType {
OnThisDay = "on_this_day"
OnThisDay = "on_this_day",
Birthday = "birthday"
}
export enum PartnerDirection {
SharedBy = "shared-by",