Help › Reference: every action › Actions that change something
Library: skills
skill.add: Add skill. On the pages: Library ▸ Course. Parameters: {course: id, unit: id, title: string, goal?: string, lesson?: string, example?: string, video?: string, prereqs?: [id], source?: string}
skill.update: Save skill. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, title?: string, goal?: string, lesson?: string, example?: string, exampleNumbers?: string, exampleSteps?: bool, video?: string, prereqs?: [id], source?: string}
skill.delete: Delete skill. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, confirmed?: bool}
skill.addFile: Add a file. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, part: "lesson"|"example", file?: string, name?: string, size?: number, url?: string, title?: string, description: string}
skill.updateFile: Save file. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, lessonFile: id, description?: string, up?: bool}
skill.removeFile: Remove file. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, lessonFile: id}
skill.move: Move skill up or down. On the pages: Library ▸ Course. Parameters: {course: id, skill: id, up: bool}
skill.moveTo: Move skill to a place. On the pages: Library ▸ Course. Parameters: {course: id, skill: id, unit: id, position: number}
lesson.markRead: Mark as read. On the pages: Learn ▸ Lesson. Parameters: {skill: id, class?: id, practise?: bool}