src/app/models/user.ts
| _id |
_id: |
Type : string
|
| admin |
admin: |
Type : boolean
|
| authentication |
authentication: |
Type : { email: { email: string; email_confirmed: boolean; }; }
|
| codefamille |
codefamille: |
Type : any
|
| enseignant |
enseignant: |
Type : boolean
|
| famille |
famille: |
Type : boolean
|
| maxuser_number |
maxuser_number: |
Type : number
|
| opensteammathiaauthbearer_text |
opensteammathiaauthbearer_text: |
Type : string
|
| oseauthbearer_text |
oseauthbearer_text: |
Type : string
|
| premium |
premium: |
Type : boolean
|
| premium_ose |
premium_ose: |
Type : boolean
|
| subscriptionid_number |
subscriptionid_number: |
Type : number
|
| tokenApple |
tokenApple: |
Type : string
|
| tralalereauthbearer_text |
tralalereauthbearer_text: |
Type : string
|
| user_signed_up |
user_signed_up: |
Type : boolean
|
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;
}