web: fix exporting

This commit is contained in:
Abdullah Atta
2024-01-17 21:21:05 +05:00
parent e6186c0bbd
commit becc00d2ee
7 changed files with 69 additions and 80 deletions

View File

@@ -17,11 +17,10 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { Note } from "@notesnook/core/dist/types";
import { db } from "../../common/db";
import { exportNote } from "../../common/export";
import { makeUniqueFilename } from "./utils";
import { ZipFile } from "./zip-stream";
import { Note } from "@notesnook/core";
export class ExportStream extends TransformStream<Note, ZipFile> {
constructor(