mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
feat: allow additional data to be attached to the stripped content
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
export default class Debug {
|
||||
strip(item) {
|
||||
return JSON.stringify({
|
||||
title: !!item.title,
|
||||
description: !!item.description,
|
||||
headline: !!item.headline,
|
||||
colored: !!item.color,
|
||||
type: item.type,
|
||||
notebooks: item.notebooks,
|
||||
tags: item.tags,
|
||||
@@ -9,6 +13,7 @@ export default class Debug {
|
||||
dateEdited: item.dateEdited,
|
||||
dateDeleted: item.dateDeleted,
|
||||
dateCreated: item.dateCreated,
|
||||
additionalData: item.additionalData,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user