Skip to content

Commit

Permalink
update todos
Browse files Browse the repository at this point in the history
  • Loading branch information
handeyeco committed Jan 14, 2025
1 parent 86e053f commit fe112da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/perseus-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export type KEScore = {
state: any;
};

// TODO: should these be part of data-schema?
// Base marker, with the props that are set by the editor.
export type MarkerType = {
// The list of correct answers expected for the marker.
Expand All @@ -40,7 +39,6 @@ export type MarkerType = {
y: number;
};

// TODO: should these be part of data-schema?
// Additional props that are set when user interacts with the marker.
export type InteractiveMarkerType = MarkerType & {
// The user selected list of answers, used to grade the question.
Expand All @@ -50,6 +48,6 @@ export type InteractiveMarkerType = MarkerType & {
focused?: boolean;
};

// TODO: should these be part of data-schema?
// Used for NumberLine
// TODO: can this be merged with PerseusNumberLineWidgetOptions.correctRel?
export type Relationship = "lt" | "gt" | "le" | "ge";

0 comments on commit fe112da

Please sign in to comment.