Skip to content

Commit

Permalink
Refactor: Removed superfluous word from an interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Feb 25, 2024
1 parent 1d83881 commit b578597
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/settings/SettingsManager.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Plugin } from 'obsidian';
import { HanayamaHuzzlesRecipeSettings } from 'src/recipes/hanayama_huzzles/settings/HanayamaHuzzlesRecipeSettings';
import { IQPuzzlesRecipeSettings } from 'src/recipes/iq_puzzles/settings/IQPuzzlesRecipeSettings';
import { RecipesPluginSettings } from './data/RecipesPluginSettings';
import { RecipesSettings } from './data/RecipesSettings';

export class SettingsManager {
static readonly #DEFAULT_SETTINGS: Partial<RecipesPluginSettings> = {
static readonly #DEFAULT_SETTINGS: Partial<RecipesSettings> = {
hanayamaHuzzles: new HanayamaHuzzlesRecipeSettings(),
iqPuzzles: new IQPuzzlesRecipeSettings()
};

settings: RecipesPluginSettings;
settings: RecipesSettings;

constructor(private plugin: Plugin) {}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HanayamaHuzzlesRecipeSettings } from 'src/recipes/hanayama_huzzles/settings/HanayamaHuzzlesRecipeSettings';
import { IQPuzzlesRecipeSettings } from 'src/recipes/iq_puzzles/settings/IQPuzzlesRecipeSettings';

export interface RecipesPluginSettings {
export interface RecipesSettings {
hanayamaHuzzles: HanayamaHuzzlesRecipeSettings;
iqPuzzles: IQPuzzlesRecipeSettings;
}

0 comments on commit b578597

Please sign in to comment.