clients/libs/importer/src
Daniel James Smith 2dd314e992
[PM-27083] Prevent collection nesting on import into a MyItems-collection (#16937)
* Prevent collection nesting on import into a my items collection

My Items collections do not support nested collections. The import source hierarchy needs to be flattened into the My Items collection

* Introduce new types for folder and collection relationship
Makes it easier to identify which position is for the cipherIndex and which is for the folder-/collection-index

* Fix assignment of ciphers to My items collection

* Remove unneeded type cast or assertions

* Add clarifying comment

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-10-30 21:10:01 +00:00
..
components Tools - Prefer signal & change detection (#16941) 2025-10-21 15:49:22 +02:00
importers PM-22143 Refactor TS enums to be const objects (Import only) (#16770) 2025-10-15 09:08:47 -07:00
metadata [PM-25521] Move importer metadata to native code (#16695) 2025-10-17 15:46:10 +02:00
models [PM-27083] Prevent collection nesting on import into a MyItems-collection (#16937) 2025-10-30 21:10:01 +00:00
services [PM-27083] Prevent collection nesting on import into a MyItems-collection (#16937) 2025-10-30 21:10:01 +00:00
index.ts [PM-25521] Move importer metadata to native code (#16695) 2025-10-17 15:46:10 +02:00
util.ts [PM-25521] Move importer metadata to native code (#16695) 2025-10-17 15:46:10 +02:00