mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-28 23:23:38 -05:00
7e8e2b0585
* 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
87 lines
3.5 KiB
JavaScript
87 lines
3.5 KiB
JavaScript
const AddCommentOperation = require('./lib/operation/add_comment_operation')
|
|
const Author = require('./lib/author')
|
|
const AuthorList = require('./lib/author_list')
|
|
const Blob = require('./lib/blob')
|
|
const Change = require('./lib/change')
|
|
const ChangeRequest = require('./lib/change_request')
|
|
const ChangeNote = require('./lib/change_note')
|
|
const Chunk = require('./lib/chunk')
|
|
const ChunkResponse = require('./lib/chunk_response')
|
|
const Comment = require('./lib/comment')
|
|
const DeleteCommentOperation = require('./lib/operation/delete_comment_operation')
|
|
const File = require('./lib/file')
|
|
const FileMap = require('./lib/file_map')
|
|
const History = require('./lib/history')
|
|
const Label = require('./lib/label')
|
|
const AddFileOperation = require('./lib/operation/add_file_operation')
|
|
const MoveFileOperation = require('./lib/operation/move_file_operation')
|
|
const SetCommentStateOperation = require('./lib/operation/set_comment_state_operation')
|
|
const EditFileOperation = require('./lib/operation/edit_file_operation')
|
|
const EditNoOperation = require('./lib/operation/edit_no_operation')
|
|
const SetFileMetadataOperation = require('./lib/operation/set_file_metadata_operation')
|
|
const NoOperation = require('./lib/operation/no_operation')
|
|
const Operation = require('./lib/operation')
|
|
const RestoreOrigin = require('./lib/origin/restore_origin')
|
|
const RestoreFileOrigin = require('./lib/origin/restore_file_origin')
|
|
const Origin = require('./lib/origin')
|
|
const OtClient = require('./lib/ot_client')
|
|
const TextOperation = require('./lib/operation/text_operation')
|
|
const EditOperation = require('./lib/operation/edit_operation')
|
|
const safePathname = require('./lib/safe_pathname')
|
|
const Snapshot = require('./lib/snapshot')
|
|
const util = require('./lib/util')
|
|
const V2DocVersions = require('./lib/v2_doc_versions')
|
|
const {
|
|
InsertOp,
|
|
RemoveOp,
|
|
RetainOp,
|
|
ScanOp,
|
|
} = require('./lib/operation/scan_op')
|
|
const TrackedChange = require('./lib/file_data/tracked_change')
|
|
const TrackedChangeList = require('./lib/file_data/tracked_change_list')
|
|
const TrackingProps = require('./lib/file_data/tracking_props')
|
|
const Range = require('./lib/range')
|
|
const CommentList = require('./lib/file_data/comment_list')
|
|
|
|
exports.AddCommentOperation = AddCommentOperation
|
|
exports.Author = Author
|
|
exports.AuthorList = AuthorList
|
|
exports.Blob = Blob
|
|
exports.Change = Change
|
|
exports.ChangeRequest = ChangeRequest
|
|
exports.ChangeNote = ChangeNote
|
|
exports.Chunk = Chunk
|
|
exports.ChunkResponse = ChunkResponse
|
|
exports.Comment = Comment
|
|
exports.DeleteCommentOperation = DeleteCommentOperation
|
|
exports.File = File
|
|
exports.FileMap = FileMap
|
|
exports.History = History
|
|
exports.Label = Label
|
|
exports.AddFileOperation = AddFileOperation
|
|
exports.MoveFileOperation = MoveFileOperation
|
|
exports.SetCommentStateOperation = SetCommentStateOperation
|
|
exports.EditFileOperation = EditFileOperation
|
|
exports.EditNoOperation = EditNoOperation
|
|
exports.SetFileMetadataOperation = SetFileMetadataOperation
|
|
exports.NoOperation = NoOperation
|
|
exports.Operation = Operation
|
|
exports.RestoreOrigin = RestoreOrigin
|
|
exports.RestoreFileOrigin = RestoreFileOrigin
|
|
exports.Origin = Origin
|
|
exports.OtClient = OtClient
|
|
exports.TextOperation = TextOperation
|
|
exports.EditOperation = EditOperation
|
|
exports.safePathname = safePathname
|
|
exports.Snapshot = Snapshot
|
|
exports.util = util
|
|
exports.V2DocVersions = V2DocVersions
|
|
exports.ScanOp = ScanOp
|
|
exports.InsertOp = InsertOp
|
|
exports.RetainOp = RetainOp
|
|
exports.RemoveOp = RemoveOp
|
|
exports.TrackedChangeList = TrackedChangeList
|
|
exports.TrackedChange = TrackedChange
|
|
exports.Range = Range
|
|
exports.CommentList = CommentList
|
|
exports.TrackingProps = TrackingProps
|