skill.ts
1 export type Skill = Readonly<{ 2 id: string; 3 4 /** 5 * Order the skill should be shown. 6 * For example, if this value is `2`, then it should be shown 7 * as the second skill on the evaluation skills table. 8 */ 9 order: number; 10 11 /** @example "Très bonne maîtrise" */ 12 level: string; 13 /** @example "A+" */ 14 abbreviation: string; 15 16 /** Apparently there's a coefficient on skills... not sure how it's calculated though. */ 17 coefficient: number; 18 19 /** 20 * ID of the domain tree containing that skill. 21 */ 22 domainID: string 23 /** 24 * ID of the domain tree containing that skill. 25 * @example "Écouter et comprendre" 26 */ 27 domainName: string 28 29 /** 30 * ID of the skill's item. 31 */ 32 itemID?: string 33 /** 34 * Name of the skill's item. 35 * @example "Se familiariser aux réalités sonores de la langue, et s’entraîner à la mémorisation." 36 */ 37 itemName?: string 38 39 /** 40 * Skill's pillar. 41 * This is linked to the student's level. 42 */ 43 pillarID: string 44 /** 45 * @example "LANGUES VIVANTES (ÉTRANGÈRES OU RÉGIONALES)" 46 */ 47 pillarName: string 48 /** 49 * @example ["D1.2", "D2"] 50 */ 51 pillarPrefixes: Array<string> 52 }>;