Skip to content

Commit

Permalink
Remove unused types for widgets that no longer exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywiebe committed Nov 28, 2024
1 parent 3d777d1 commit 92bb0b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions packages/perseus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ export type {
PerseusPlotterWidgetOptions,
PerseusPythonProgramWidgetOptions,
PerseusRadioWidgetOptions,
PerseusExampleWidgetOptions,
PerseusSimpleMarkdownTesterWidgetOptions,
PerseusRenderer,
PerseusWidget,
PerseusWidgetsMap,
Expand Down
15 changes: 0 additions & 15 deletions packages/perseus/src/perseus-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,6 @@ export type PerseusDropdownChoice = {
correct: boolean;
};

export type PerseusExampleWidgetOptions = {
value: string;
};

export type PerseusExplanationWidgetOptions = {
// Translatable Text; The clickable text to expand an explanation. e.g. "What is an apple?"
showPrompt: string;
Expand Down Expand Up @@ -1630,20 +1626,11 @@ export type PerseusPassageRefTargetWidgetOptions = {
content: string;
};

export type PerseusSimpleMarkdownTesterWidgetOptions = {
value: string;
};

type PerseusUnitInputWidgetOptions = {
value: string;
};

export type PerseusWidgetOptions =
| PerseusCategorizerWidgetOptions
| PerseusCSProgramWidgetOptions
| PerseusDefinitionWidgetOptions
| PerseusDropdownWidgetOptions
| PerseusExampleWidgetOptions
| PerseusExplanationWidgetOptions
| PerseusExpressionWidgetOptions
| PerseusGradedGroupSetWidgetOptions
Expand All @@ -1667,8 +1654,6 @@ export type PerseusWidgetOptions =
| PerseusPhetSimulationWidgetOptions
| PerseusPlotterWidgetOptions
| PerseusRadioWidgetOptions
| PerseusSimpleMarkdownTesterWidgetOptions
| PerseusSorterWidgetOptions
| PerseusTableWidgetOptions
| PerseusUnitInputWidgetOptions
| PerseusVideoWidgetOptions;

0 comments on commit 92bb0b5

Please sign in to comment.