From 54f27cc3334a3bf677441a3bff3132b8b6a953ee Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Mon, 23 Sep 2024 21:46:26 -0300 Subject: [PATCH] Use relative path rather than @ project-scope... Suspect that `express` package build was failing because it encounters a descendent of this class but is not configured to understand the @ scope --- packages/vue/src/base-course/Viewable.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/vue/src/base-course/Viewable.ts b/packages/vue/src/base-course/Viewable.ts index da066579..5fc80526 100644 --- a/packages/vue/src/base-course/Viewable.ts +++ b/packages/vue/src/base-course/Viewable.ts @@ -5,14 +5,15 @@ import { HotKey } from '../SkldrMouseTrap'; import { Answer, Displayable, Question } from '../base-course/Displayable'; import { ViewData } from '../base-course/Interfaces/ViewData'; import { CardRecord, QuestionRecord } from '../db/types'; -import SkldrVue from '@/SkldrVue'; +import SkldrVue from '../SkldrVue'; /** * Base class for card views in courses. */ -export default abstract class Viewable extends SkldrVue { +export default abstract class Viewable extends SkldrVue implements Vue { @Prop() public data: ViewData[]; public toString(): string { + this.warn('toString() not implemented'); return '!!! preview not implemented !!!'; } protected startTime: moment.Moment = moment.utc(); @@ -60,11 +61,11 @@ export abstract class QuestionView extends Viewable { static seedData: any[]; /** * Represents an ELO spread between the user and the question. - * + * * Negative values indicate that the user is likely to get the question * wrong, while positive values indicate that the user is likely to get * the question right. - * + * * Questions may be presented to the user in a way that is more or less * difficult than the question's default difficulty. */