feat: export repo as sqlite db

This commit is contained in:
Tienson Qin
2023-12-11 19:14:10 +08:00
parent 4437534685
commit 4d445b8387
3 changed files with 18 additions and 1 deletions

View File

@@ -26,6 +26,9 @@
[:li.mb-4
[:a.font-medium {:on-click #(export/export-repo-as-json-v2! current-repo)}
(t :export-json)]]
[:li.mb-4
[:a.font-medium {:on-click #(export/export-repo-as-sqlite-db! current-repo)}
(t :export-sqlite-db)]]
(when (util/electron?)
[:li.mb-4
[:a.font-medium {:on-click #(export/download-repo-as-html! current-repo)}
@@ -44,6 +47,7 @@
(t :export-roam-json)]])]
[:a#download-as-edn-v2.hidden]
[:a#download-as-json-v2.hidden]
[:a#download-as-sqlite-db.hidden]
[:a#download-as-roam-json.hidden]
[:a#download-as-html.hidden]
[:a#download-as-zip.hidden]