MCPcopy Create free account
hub / github.com/codecombat/codecombat / codeNinjaClassroomTypes

Method codeNinjaClassroomTypes

app/models/Classroom.js:546–559  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

544 }
545
546 static codeNinjaClassroomTypes () {
547 return [
548 { id: 'club-3-month', name: 'Club (3 Month)', disabled: true },
549 { id: 'club-esports', name: 'Club Esports' },
550 { id: 'club-hackstack', name: 'Club Hackstack' },
551 { id: 'club-roblox', name: 'Club Roblox' },
552 { id: 'club-ozaria', name: 'Club Ozaria' },
553 { id: 'camp-week', name: 'Camp (1 Week)', disabled: true },
554 { id: 'camp-esports', name: 'Camp Esports' },
555 { id: 'camp-junior', name: 'Camp Junior' },
556 { id: 'annual-plan', name: 'Annual', disabled: true },
557 { id: 'annual-plan-cn-coco', name: 'Annual CodeCombat & CodeCombat Junior' },
558 ]
559 }
560
561 isCodeNinjaClubCamp () {
562 return Classroom.codeNinjaClassroomTypes().map(type => type.id).includes(this.get('type'))

Callers 2

isCodeNinjaClubCampMethod · 0.80
isCodeNinjaClubCampFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected