Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { USER_DEFAULT_SETTINGS, type User } from '@amalia/core/models';
import { CurrencySymbolsEnum } from '@amalia/ext/iso-4217';
import { LanguagesEnum } from '@amalia/kernel/intl/types';
import { UserExternalIdSource, UserHrisIdSource, UserRole, UserStatus } from '@amalia/tenants/users/types';
import { company } from './company';
export const users = {
admin: {
authToken: process.env['ACME_ADMIN_ACCESS_TOKEN']!,
email: 'matthieu+api+acme+admin@amalia.io',
id: '93ba7682-34a5-44cb-bf03-44587221aaf9',
firstName: 'John',
lastName: 'Doe',
role: UserRole.ADMIN,
pictureURL: null,
externalId: null,
externalIdSource: UserExternalIdSource.NONE,
clearedAt: null,
company,
companyId: company.id,
currency: CurrencySymbolsEnum.EUR,
createdAt: new Date(),
updatedAt: new Date(),
hrisId: null,
hrisIdSource: UserHrisIdSource.NONE,
invitationSentAt: new Date(),
joinedAt: null,
language: LanguagesEnum.en,
lastConnection: null,
settings: USER_DEFAULT_SETTINGS,
status: UserStatus.ACTIVE,
},
} as const satisfies Record<string, User & { authToken?: string }>;
|