src/app/models/user.ts
| address |
address: |
| admin |
admin: |
| auth |
auth: |
| badges |
badges: |
| canUnlockJourney |
canUnlockJourney: |
Default value: false
|
| city |
city: |
| CODE_MAISON_CUSTOM |
CODE_MAISON_CUSTOM: |
Default value: 97d9-d0a1-f81a
|
| codeClasse |
codeClasse: |
| codeMaison |
codeMaison: |
| currentChapter |
currentChapter: |
| currentStory |
currentStory: |
| dayBeforeNextUnlock |
dayBeforeNextUnlock: |
email: |
| family |
family: |
| firstName |
firstName: |
| fremiumJourneyId |
fremiumJourneyId: |
| grade |
grade: |
| isC3 |
isC3: |
| journeyState |
journeyState: |
| lastName |
lastName: |
| loggedFromWp |
loggedFromWp: |
| premium |
premium: |
| premium_ose |
premium_ose: |
| storys |
storys: |
| storyStatistics |
storyStatistics: |
| studentId |
studentId: |
| teacher |
teacher: |
| tel |
tel: |
| videos |
videos: |
import { UserCredential } from "./user-credential";
import { Story, StoryStatistics } from "./story";
import { Chapter } from "./chapter";
import { Badges } from "./badges";
import { Videos } from "./videos";
export class User {
firstName: string;
lastName: string;
address: string;
city: string;
tel: string;
auth: UserCredential;
journeyState;
codeClasse: any;
grade: string;
email: string;
storys: Story[];
currentStory: Story;
currentChapter: Chapter;
badges: Badges;
studentId: string;
storyStatistics: StoryStatistics;
videos: Videos;
premium: boolean;
premium_ose: boolean;
loggedFromWp:boolean;
codeMaison: string;
CODE_MAISON_CUSTOM:string = "97d9-d0a1-f81a";
family: boolean;
teacher: boolean;
admin: boolean;
fremiumJourneyId: number[];
canUnlockJourney= false;
dayBeforeNextUnlock:string;
isC3: boolean;
}
export interface KidaiaSso {
codefamille: any;
authentication: {
email: {
email: string;
email_confirmed: boolean;
};
};
user_signed_up: boolean;
subscriptionid_number: number;
tralalereauthbearer_text: string;
opensteammathiaauthbearer_text:string;
oseauthbearer_text:string,
maxuser_number: number;
premium: boolean;
premium_ose: boolean;
admin ?: boolean;
famille ?: boolean;
enseignant ?: boolean;
tokenApple ?:string
_id: string;
}