mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
chore(web): remove unused code (#30768)
This commit is contained in:
parent
66d010381e
commit
b19c4a591e
20 changed files with 1 additions and 329 deletions
|
|
@ -1,16 +1,7 @@
|
|||
import { faker } from '@faker-js/faker';
|
||||
import { UserAvatarColor, UserStatus, type UserAdminResponseDto, type UserResponseDto } from '@immich/sdk';
|
||||
import { UserAvatarColor, UserStatus, type UserAdminResponseDto } from '@immich/sdk';
|
||||
import { Sync } from 'factory.ts';
|
||||
|
||||
export const userFactory = Sync.makeFactory<UserResponseDto>({
|
||||
id: Sync.each(() => faker.string.uuid()),
|
||||
email: Sync.each(() => faker.internet.email()),
|
||||
name: Sync.each(() => faker.person.fullName()),
|
||||
profileImagePath: '',
|
||||
avatarColor: UserAvatarColor.Primary,
|
||||
profileChangedAt: Sync.each(() => faker.date.recent().toISOString()),
|
||||
});
|
||||
|
||||
export const userAdminFactory = Sync.makeFactory<UserAdminResponseDto>({
|
||||
id: Sync.each(() => faker.string.uuid()),
|
||||
email: Sync.each(() => faker.internet.email()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue