File

src/app/models/user.ts

Properties

address
address: string
admin
admin: boolean
auth
auth: UserCredential
badges
badges: Badges
canUnlockJourney
canUnlockJourney: boolean
Default value: false
city
city: string
CODE_MAISON_CUSTOM
CODE_MAISON_CUSTOM: string
Default value: 97d9-d0a1-f81a
codeClasse
codeClasse: any
codeMaison
codeMaison: string
currentChapter
currentChapter: Chapter
currentStory
currentStory: Story
dayBeforeNextUnlock
dayBeforeNextUnlock: string
email
email: string
family
family: boolean
firstName
firstName: string
fremiumJourneyId
fremiumJourneyId: number[]
grade
grade: string
isC3
isC3: boolean
journeyState
journeyState: any
lastName
lastName: string
loggedFromWp
loggedFromWp: boolean
premium
premium: boolean
premium_ose
premium_ose: boolean
storys
storys: Story[]
storyStatistics
storyStatistics: StoryStatistics
studentId
studentId: string
teacher
teacher: boolean
tel
tel: string
videos
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;
}

results matching ""

    No results matching ""