refactor(server): enums (#11809)

This commit is contained in:
Jason Rasmussen 2024-08-15 06:57:01 -04:00 committed by GitHub
parent fa64277476
commit b288241a5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
82 changed files with 242 additions and 207 deletions

View file

@ -1,5 +1,6 @@
import { AssetEntity } from 'src/entities/asset.entity';
import { UserEntity } from 'src/entities/user.entity';
import { MemoryType } from 'src/enum';
import {
Column,
CreateDateColumn,
@ -12,11 +13,6 @@ import {
UpdateDateColumn,
} from 'typeorm';
export enum MemoryType {
/** pictures taken on this day X years ago */
ON_THIS_DAY = 'on_this_day',
}
export type OnThisDayData = { year: number };
export interface MemoryData {