@acceleratxr/core_sdk / SkillDefinition
Class: SkillDefinition#
Describes a single trackable concept within the product that a persona can make progress towards and complete. A skill can be any talent, level, skill or other trackable concept.
REQUIRES: Progression Services
author Jean-Philippe Steinmetz info@acceleratxr.com
Hierarchy#
-
↳ SkillDefinition
Index#
Constructors#
Properties#
Accessors#
Constructors#
constructor#
+ new SkillDefinition(other?: any): SkillDefinition
Overrides EntityBase.constructor
Defined in src/models/SkillDefinition.ts:50
Parameters:#
Name |
Type |
|---|---|
|
any |
Returns: SkillDefinition
Properties#
data#
• data: any = null
Defined in src/models/SkillDefinition.ts:50
Stores any custom data to be used by the product.
dateCreated#
• dateCreated: Date = new Date()
Inherited from EntityBase.dateCreated
Defined in src/EntityBase.ts:18
The date and time that the object was created.
dateModified#
• dateModified: Date = new Date()
Inherited from EntityBase.dateModified
Defined in src/EntityBase.ts:23
The date and time that the object was last modified.
description#
• description: string = “”
Defined in src/models/SkillDefinition.ts:30
A textual description of the skill.
icon#
• icon: string = “”
Defined in src/models/SkillDefinition.ts:35
The icon to display when representing the skill.
name#
• name: string = “”
Defined in src/models/SkillDefinition.ts:20
The unique name of the skill.
productUid#
• productUid: string | undefined = undefined
Defined in src/models/SkillDefinition.ts:40
The uid of the product that this skill definition is associated with.
requirements#
• requirements: SkillRequirement[] = []
Defined in src/models/SkillDefinition.ts:45
The list of requirements that the persona must fulfill to unlock the skill.
title#
• title: string = “”
Defined in src/models/SkillDefinition.ts:25
A textual title or name of the skill.
uid#
• uid: string = uuid.v4()
Inherited from EntityBase.uid
Defined in src/EntityBase.ts:13
The universally unique identifier of the object.
version#
• version: number = 0
Inherited from EntityBase.version
Defined in src/EntityBase.ts:28
The optimistic locking version of the object.
Accessors#
ClassName#
• Staticget ClassName(): string
Defined in src/models/SkillDefinition.ts:15
Returns: string