Appearance
DoCurious API Reference / types / SchoolContext
Interface: SchoolContext
Defined in: types/context.types.ts:49
School context — optional, managed by a school. Goes away if user leaves the school, but personal stuff stays.
Properties
role
role:
SchoolRole
Defined in: types/context.types.ts:51
schoolId
schoolId:
string
Defined in: types/context.types.ts:52
schoolName?
optionalschoolName:string
Defined in: types/context.types.ts:53
tier?
optionaltier:"tier_1_school_only"|"tier_2_full"
Defined in: types/context.types.ts:55
Account tier — only relevant for students (COPPA compliance)
type
type:
"school"
Defined in: types/context.types.ts:50