CreationContext

View Source

oli / Exports / CreationContext

Interface: CreationContext

Context supplied to a creation function.

Hierarchy

  • ResourceContext

    ↳ CreationContext

Table of contents

Properties

Properties

activityContexts

• activityContexts: ActivityEditContext[]

Inherited from

ResourceContext.activityContexts

Defined in

src/data/content/resource.ts:222


allObjectives

• allObjectives: Objective[]

Inherited from

ResourceContext.allObjectives

Defined in

src/data/content/resource.ts:217


allTags

• allTags: Tag[]

Inherited from

ResourceContext.allTags

Defined in

src/data/content/resource.ts:221


alternativesEnabled

• alternativesEnabled: boolean

Inherited from

ResourceContext.alternativesEnabled

Defined in

src/data/content/resource.ts:213


authorEmail

• authorEmail: string

Inherited from

ResourceContext.authorEmail

Defined in

src/data/content/resource.ts:208


content

• content: PageContent

Inherited from

ResourceContext.content

Defined in

src/data/content/resource.ts:215


creationData

• Optional creationData: CreationData

Inherited from

ResourceContext.creationData

Defined in

src/data/content/resource.ts:224


experimentsEnabled

• experimentsEnabled: boolean

Inherited from

ResourceContext.experimentsEnabled

Defined in

src/data/content/resource.ts:212


graded

• graded: boolean

Inherited from

ResourceContext.graded

Defined in

src/data/content/resource.ts:207


learningObjectives

• Optional learningObjectives: ResolvedLearningObjective[]

Inherited from

ResourceContext.learningObjectives

Defined in

src/data/content/resource.ts:219


learningObjectivesRefreshPendingFor

• Optional learningObjectivesRefreshPendingFor: string

Inherited from

ResourceContext.learningObjectivesRefreshPendingFor

Defined in

src/data/content/resource.ts:220


loWellFormed

• Optional loWellFormed: boolean

Inherited from

ResourceContext.loWellFormed

Defined in

src/data/content/resource.ts:218


objectives

• objectives: AttachedObjectives

Inherited from

ResourceContext.objectives

Defined in

src/data/content/resource.ts:216


optionalContentTypes

• optionalContentTypes: OptionalContentTypes

Inherited from

ResourceContext.optionalContentTypes

Defined in

src/data/content/resource.ts:223


projectSlug

• projectSlug: string

Inherited from

ResourceContext.projectSlug

Defined in

src/data/content/resource.ts:209


resourceId

• resourceId: number

Inherited from

ResourceContext.resourceId

Defined in

src/data/content/resource.ts:211


resourceSlug

• resourceSlug: string

Inherited from

ResourceContext.resourceSlug

Defined in

src/data/content/resource.ts:210


title

• title: string

Inherited from

ResourceContext.title

Defined in

src/data/content/resource.ts:214