Namespace

api/opportunity

api/opportunity

Classes

OpportunityCollection
OpportunityInstanceCollection
OpportunityTypeCollection

Members

# static constant exports.clearPlannedOpportunityInstances

Removes the planned Opportunities for the given studentID.

View Source api/opportunity/OpportunityUtilities.ts, line 25

# static constant exports.getRandomInt

Returns a random int between min and max.

View Source api/opportunity/OpportunityUtilities.ts, line 15

# static constant exports.makeSampleOpportunity

Creates an Opportunity with a unique slug and returns its docID.

View Source api/opportunity/SampleOpportunities.ts, line 29

# static constant exports.makeSampleOpportunityInstance

Creates an OpportunityInstance with a unique slug and returns its docID.

View Source api/opportunity/SampleOpportunities.ts, line 58

# static constant exports.makeSampleOpportunityType

Creates an OpportunityType with a unique slug and returns its docID.

View Source api/opportunity/SampleOpportunities.ts, line 16

api/opportunity.OpportunityCollection

# static constant exports.Opportunities

Provides the singleton instance of this class to all other entities.

View Source api/opportunity/OpportunityCollection.ts, line 376

api/opportunity.OpportunityInstanceCollection

# static constant exports.OpportunityInstances

Provides the singleton instance of this class to all other entities.

View Source api/opportunity/OpportunityInstanceCollection.ts, line 386

api/opportunity.OpportunityTypeCollection

# static constant exports.OpportunityTypes

Provides the singleton instance of this class to all other entities.

View Source api/opportunity/OpportunityTypeCollection.ts, line 55