fix: Fixed issue with some Evernote imports getting cut-off

This commit is contained in:
Aman Harwara
2024-04-19 16:55:45 +05:30
parent 6e282c1c9a
commit 2bc7d57235
4 changed files with 38 additions and 25 deletions

View File

@@ -1,5 +1,9 @@
import { FileItem, PrefKey, PrefValue } from '@standardnotes/models'
export type SuperConverterHTMLOptions = {
addLineBreaks?: boolean
}
export interface SuperConverterServiceInterface {
isValidSuperString(superString: string): boolean
convertSuperStringToOtherFormat: (
@@ -18,9 +22,7 @@ export interface SuperConverterServiceInterface {
otherFormatString: string,
fromFormat: 'txt' | 'md' | 'html' | 'json',
options?: {
html?: {
addLineBreaks?: boolean
}
html?: SuperConverterHTMLOptions
},
) => string
getEmbeddedFileIDsFromSuperString(superString: string): string[]