feat: Added "Page size" option when exporting Super notes as PDF
This commit is contained in:
@@ -1,8 +1,18 @@
|
||||
import { FileItem, PrefKey, PrefValue } from '@standardnotes/models'
|
||||
|
||||
export interface SuperConverterServiceInterface {
|
||||
isValidSuperString(superString: string): boolean
|
||||
convertSuperStringToOtherFormat: (
|
||||
superString: string,
|
||||
toFormat: 'txt' | 'md' | 'html' | 'json' | 'pdf',
|
||||
config?: {
|
||||
embedBehavior?: PrefValue[PrefKey.SuperNoteExportEmbedBehavior]
|
||||
getFileItem?: (id: string) => FileItem | undefined
|
||||
getFileBase64?: (id: string) => Promise<string | undefined>
|
||||
pdf?: {
|
||||
pageSize?: PrefValue[PrefKey.SuperNoteExportPDFPageSize]
|
||||
}
|
||||
},
|
||||
) => Promise<string>
|
||||
convertOtherFormatToSuperString: (
|
||||
otherFormatString: string,
|
||||
|
||||
Reference in New Issue
Block a user