chore: lifecycle metadata (#9103)

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

View file

@ -3,6 +3,11 @@ import { readFileSync } from 'node:fs';
import { join } from 'node:path';
import { Version } from 'src/utils/version';
export const NEXT_RELEASE = 'NEXT_RELEASE';
export const LIFECYCLE_EXTENSION = 'x-immich-lifecycle';
export const DEPRECATED_IN_PREFIX = 'This property was deprecated in ';
export const ADDED_IN_PREFIX = 'This property was added in ';
export const SALT_ROUNDS = 10;
const { version } = JSON.parse(readFileSync('./package.json', 'utf8'));