Skip to content

Latest commit

 

History

History
94 lines (85 loc) · 1.4 KB

TnP Strapi Schema.md

File metadata and controls

94 lines (85 loc) · 1.4 KB

STRAPI SCHEMAS

type Company = {
	name: string;
	logo: Media;
	isTopRecruiter: boolean;
	providesInternships: boolean;
	superDreamCompany: boolean;
	dreamCompany: boolean;
	normalCompany: boolean;
	coreCompany: boolean;
}
type Stats = {
	NumberOfStudentsPlaced: number;
	NumberOfCompaniesVisited: number;
	StudentsWith10plusLPA: number;
	NumberOfCompaniesThatComeToTCET: number;
	NumberOfStudentsGotInternships: number;
	NumberOfCompaniesVisitedForInternships: number;
}
type Achievement = {
	title: string;
	caption: string;
	image: Media;
	isStudentAchievement: boolean;
}
type Student = {
	name: string;
	year: string;
	profileImg: Media;
	branch: string;	
	ERP: string;
	companyPlaced: Type<Company>;
	package: string;
	superStarPerformer: boolean;
	startPerformer: boolean;
}
type Testimonial = {
	name: string;
	image: Media;
	testimonial: string;
	position: string;
	isStudent: boolean;
	event: null || Event;
}
type AllStarPerformersPDF = {
	year: number;
	file: File;
}
type IndustryInteraction = {
	company: Type<Company>;
	title: string;
	desciprtion: string;
	images: Array<Media>;
}
type Event = {
	title: string;
	purpose: string;
	heroImages: Array<Media>;
	objective: string;
	testimonials: Array<Testimonial>		
}
type Staff = {
	name: string;
  	designation: string;
  	image: ImageLink;
  	department: Enum<string>;	
}