1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

refactor: enum casing (#19946)

This commit is contained in:
Jason Rasmussen
2025-07-15 14:50:13 -04:00
committed by GitHub
parent 920d7de349
commit e73abe0762
174 changed files with 2675 additions and 2459 deletions

View File

@ -5,7 +5,7 @@ import { authStub } from 'test/fixtures/auth.stub';
export const userStub = {
admin: <UserAdmin>{
...authStub.admin.user,
status: UserStatus.ACTIVE,
status: UserStatus.Active,
profileChangedAt: new Date('2021-01-01'),
name: 'admin_name',
id: 'admin_id',
@ -23,7 +23,7 @@ export const userStub = {
},
user1: <UserAdmin>{
...authStub.user1.user,
status: UserStatus.ACTIVE,
status: UserStatus.Active,
profileChangedAt: new Date('2021-01-01'),
name: 'immich_name',
storageLabel: null,
@ -40,7 +40,7 @@ export const userStub = {
},
user2: <UserAdmin>{
...authStub.user2.user,
status: UserStatus.ACTIVE,
status: UserStatus.Active,
profileChangedAt: new Date('2021-01-01'),
metadata: [],
name: 'immich_name',