import { UserEntity } from '@app/infra/entities'; import { authStub } from './auth.stub'; export const userStub = { admin: Object.freeze({ ...authStub.admin, password: 'admin_password', firstName: 'admin_first_name', lastName: 'admin_last_name', storageLabel: 'admin', externalPath: null, oauthId: '', shouldChangePassword: false, profileImagePath: '', createdAt: new Date('2021-01-01'), deletedAt: null, updatedAt: new Date('2021-01-01'), tags: [], assets: [], }), user1: Object.freeze({ ...authStub.user1, password: 'immich_password', firstName: 'immich_first_name', lastName: 'immich_last_name', storageLabel: null, externalPath: null, oauthId: '', shouldChangePassword: false, profileImagePath: '', createdAt: new Date('2021-01-01'), deletedAt: null, updatedAt: new Date('2021-01-01'), tags: [], assets: [], }), user2: Object.freeze({ ...authStub.user2, password: 'immich_password', firstName: 'immich_first_name', lastName: 'immich_last_name', storageLabel: null, externalPath: null, oauthId: '', shouldChangePassword: false, profileImagePath: '', createdAt: new Date('2021-01-01'), deletedAt: null, updatedAt: new Date('2021-01-01'), tags: [], assets: [], }), storageLabel: Object.freeze({ ...authStub.user1, password: 'immich_password', firstName: 'immich_first_name', lastName: 'immich_last_name', storageLabel: 'label-1', externalPath: null, oauthId: '', shouldChangePassword: false, profileImagePath: '', createdAt: new Date('2021-01-01'), deletedAt: null, updatedAt: new Date('2021-01-01'), tags: [], assets: [], }), };