feat: Allow exporting multiple Super notes and select what format to export them to (#2191)

This commit is contained in:
Aman Harwara
2023-02-01 00:47:28 +05:30
committed by GitHub
parent 5c17ae3c4e
commit 506a1e83f1
12 changed files with 185 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ export enum PrefKey {
DefaultEditorIdentifier = 'defaultEditorIdentifier',
MomentsDefaultTagUuid = 'momentsDefaultTagUuid',
SystemViewPreferences = 'systemViewPreferences',
SuperNoteExportFormat = 'superNoteExportFormat',
}
export enum NewNoteTitleFormat {
@@ -109,4 +110,5 @@ export type PrefValue = {
[PrefKey.DefaultEditorIdentifier]: EditorIdentifier
[PrefKey.MomentsDefaultTagUuid]: string | undefined
[PrefKey.SystemViewPreferences]: Partial<Record<SystemViewId, TagPreferences>>
[PrefKey.SuperNoteExportFormat]: 'json' | 'md' | 'html'
}

View File

@@ -15,6 +15,7 @@ export type IconType =
| 'arrow-right'
| 'arrow-up'
| 'arrows-horizontal'
| 'arrows-vertical'
| 'arrows-sort-down'
| 'arrows-sort-up'
| 'asterisk'