fix: Add Backward Compatibility for Storage Import

This commit is contained in:
Rajarshee Chatterjee
2025-10-20 23:33:05 +05:30
parent b0992e30de
commit 4c037967fe
11 changed files with 148 additions and 400 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { Plugin } from '@/types/plugin';
import { NovelStatus } from '@libs/novelStatus';
import { defaultCover } from '@libs/defaultCover';
import { Filters } from '@libs/filterInputs';
import { storage } from '@/lib/storage';
import { storage } from '@libs/storage';
type LightNovelWPOptions = {
reverseChapters?: boolean;
+1 -1
View File
@@ -5,7 +5,7 @@ import { Cheerio, AnyNode, CheerioAPI, load as parseHTML } from 'cheerio';
import { defaultCover } from '@libs/defaultCover';
import { NovelStatus } from '@libs/novelStatus';
import dayjs from 'dayjs';
import { storage } from '@/lib/storage';
import { storage } from '@libs/storage';
const includesAny = (str: string, keywords: string[]) =>
new RegExp(keywords.join('|')).test(str);