chore: lifecycle metadata ()

feat(server): track endpoint lifecycle
This commit is contained in:
Jason Rasmussen 2024-04-29 09:48:28 -04:00 committed by GitHub
parent 6eb5d2e95e
commit 59caf1fce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 171 additions and 19 deletions
server/src/dtos

View file

@ -1,4 +1,5 @@
import { ApiProperty } from '@nestjs/swagger';
import { PropertyLifecycle } from 'src/decorators';
import { AuthDto } from 'src/dtos/auth.dto';
import { ExifResponseDto, mapExif } from 'src/dtos/exif.dto';
import { PersonWithFacesResponseDto, mapFacesWithoutPerson, mapPerson } from 'src/dtos/person.dto';
@ -131,7 +132,7 @@ export function mapAsset(entity: AssetEntity, options: AssetMapOptions = {}): As
}
export class MemoryLaneResponseDto {
@ApiProperty({ deprecated: true })
@PropertyLifecycle({ deprecatedAt: 'v1.100.0' })
title!: string;
@ApiProperty({ type: 'integer' })