From 92bb0b51338178aba2dfc904f76dc0ed067ff265 Mon Sep 17 00:00:00 2001 From: Jeremy Wiebe Date: Thu, 28 Nov 2024 15:18:05 -0800 Subject: [PATCH] Remove unused types for widgets that no longer exist --- packages/perseus/src/index.ts | 2 -- packages/perseus/src/perseus-types.ts | 15 --------------- 2 files changed, 17 deletions(-) diff --git a/packages/perseus/src/index.ts b/packages/perseus/src/index.ts index 57207e73ea..ecf8aab1b7 100644 --- a/packages/perseus/src/index.ts +++ b/packages/perseus/src/index.ts @@ -219,8 +219,6 @@ export type { PerseusPlotterWidgetOptions, PerseusPythonProgramWidgetOptions, PerseusRadioWidgetOptions, - PerseusExampleWidgetOptions, - PerseusSimpleMarkdownTesterWidgetOptions, PerseusRenderer, PerseusWidget, PerseusWidgetsMap, diff --git a/packages/perseus/src/perseus-types.ts b/packages/perseus/src/perseus-types.ts index f0d251c768..f31451e81b 100644 --- a/packages/perseus/src/perseus-types.ts +++ b/packages/perseus/src/perseus-types.ts @@ -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; @@ -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 @@ -1667,8 +1654,6 @@ export type PerseusWidgetOptions = | PerseusPhetSimulationWidgetOptions | PerseusPlotterWidgetOptions | PerseusRadioWidgetOptions - | PerseusSimpleMarkdownTesterWidgetOptions | PerseusSorterWidgetOptions | PerseusTableWidgetOptions - | PerseusUnitInputWidgetOptions | PerseusVideoWidgetOptions;