refactor: import/export use cases (#2397)
This commit is contained in:
9
packages/services/src/Domain/Import/ImportDataResult.ts
Normal file
9
packages/services/src/Domain/Import/ImportDataResult.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { DecryptedItemInterface } from '@standardnotes/models'
|
||||
|
||||
export type ImportDataResult = {
|
||||
// Items that were either created or dirtied by this import
|
||||
affectedItems: DecryptedItemInterface[]
|
||||
|
||||
// The number of items that were not imported due to failure to decrypt.
|
||||
errorCount: number
|
||||
}
|
||||
Reference in New Issue
Block a user