mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #19842 from overleaf/jpa-ro-mirror-on-client
[misc] add readonly mirror of full project content on the client GitOrigin-RevId: 940bd93bfd587f83ca383d10fc44579b38fc3e88
This commit is contained in:
@@ -51,6 +51,25 @@ export type StringFileRawData = {
|
||||
trackedChanges?: TrackedChangeRawData[]
|
||||
}
|
||||
|
||||
export type RawOrigin = {
|
||||
kind: string
|
||||
}
|
||||
|
||||
export type RawChange = {
|
||||
operations: RawOperation[]
|
||||
timestamp: string
|
||||
authors?: (number | null)[]
|
||||
v2Authors: string[]
|
||||
origin: RawOrigin
|
||||
projectVersion: string
|
||||
v2DocVersions: RawV2DocVersions
|
||||
}
|
||||
|
||||
export type RawOperation =
|
||||
| RawEditFileOperation
|
||||
// TODO(das7pad): add types for all the other operations
|
||||
| object
|
||||
|
||||
export type RawSnapshot = {
|
||||
files: RawFileMap
|
||||
projectVersion?: string
|
||||
|
||||
Reference in New Issue
Block a user