@solidskills/types
Version:
Solidskills typings
30 lines (26 loc) • 995 B
text/typescript
import { DocumentReference, Timestamp } from '@firebase/firestore-types';
import { SlsAccountProvider } from '../enums/sls-account-provider';
import { SlsGender } from '../enums/sls-gender';
import { SlsNote } from './sls-note';
import { SlsNotificationChannelsList } from './sls-notification-channels-list';
export interface SlsUser {
// firestore references (https://firebase.google.com/docs/reference/js/firebase.firestore.DocumentReference)
jobSearchStatus: DocumentReference;
// storage references TODO type storage references ?
pictureStorageUrl: string;
// other
firstname: string;
lastname: string;
gender: SlsGender;
cguAccepted: number;
birthdate: Timestamp | Date;
notes: SlsNote;
accountProvider: SlsAccountProvider;
registrationDate: Timestamp | Date;
phones: Array<string>; // TODO add PhoneNumberHelper
emails: Array<string>;
qrate: number;
notificationChannels: SlsNotificationChannelsList;
substrings: string[];
categoryIds: string[];
}