small tweaks

This commit is contained in:
Moritz Jung 2026-06-21 22:37:50 +02:00
parent 63e8359895
commit c522ff1301
4 changed files with 20 additions and 36 deletions

View file

@ -11,6 +11,8 @@ import { MediaType } from 'packages/obsidian/src/utils/MediaType';
import { MEDIA_TYPES } from 'packages/obsidian/src/utils/MediaTypeManager';
import { unCamelCase } from 'packages/obsidian/src/utils/Utils';
export const LEGACY_API_KEY_SETTINGS: readonly string[] = ['OMDbKey', 'TMDBKey', 'MobyGamesKey', 'GiantBombKey', 'ComicVineKey', 'BoardgameGeekKey'];
function createDateFormatDescription(preview: string): DocumentFragment {
return createFragment(frag => {
const container = frag.createDiv();
@ -58,8 +60,6 @@ export interface MediaDbPluginSettings {
ComicVineKeyId: string;
BoardgameGeekKeyId: string;
LegacyApiKeys: readonly ['OMDbKey', 'TMDBKey', 'MobyGamesKey', 'GiantBombKey', 'ComicVineKey', 'BoardgameGeekKey'];
sfwFilter: boolean;
templates: boolean;
customDateFormat: string;
@ -319,8 +319,6 @@ const DEFAULT_SETTINGS: MediaDbPluginSettings = {
ComicVineKeyId: '',
BoardgameGeekKeyId: '',
LegacyApiKeys: ['OMDbKey', 'TMDBKey', 'MobyGamesKey', 'GiantBombKey', 'ComicVineKey', 'BoardgameGeekKey'],
sfwFilter: true,
templates: true,
customDateFormat: 'L',