overleaf/libraries/overleaf-editor-core/test
Domagoj Kriskovic 7e8e2b0585 Send origin metadata through docupdater and project-history when restoring files (#18721)
* add RestoreFileOrigin in overleaf-editor-core

* support source to be an object

* use sourceOrOrigin as param

* rename to originOrSource so the priority is more clear

* get timestamp from version

* fix test

* include version and min_count in getUpdatesFromHistory

* extractOriginOrSource util function

* fix RestoreManagerTests

GitOrigin-RevId: 0ace05a6ade2794c753a9d0bffb4f858ecc6899a
2024-06-18 08:04:34 +00:00
..
support
add_comment_operation.test.js
change.test.js
comment.test.js
comments_list.test.js
delete_comment_operation.test.js
edit_file_operation.test.js
edit_operation.test.js
file.test.js
file_map.test.js
hash_file_data.test.js
history.test.js
hollow_string_file_data.test.js
label.test.js
lazy_string_file_data.test.js
move_file_operation.test.js
operation.test.js
range.test.js
safe_pathname.test.js
scan_op.test.js
snapshot.test.js
string_file_data.test.js
text_operation.test.js
tracked_change.test.js
tracked_change_list.test.js