mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #12366 from overleaf/ii-react-history-context
[web] Add context to history GitOrigin-RevId: bc504994c50c0e7abe8181a671357d5db59a3343
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { Nullable } from '../utils'
|
||||
|
||||
type Docs = Record<string, unknown>
|
||||
|
||||
interface Range {
|
||||
fromV: Nullable<unknown>
|
||||
toV: Nullable<unknown>
|
||||
}
|
||||
|
||||
interface HoveredRange {
|
||||
fromV: Nullable<unknown>
|
||||
toV: Nullable<unknown>
|
||||
}
|
||||
|
||||
export interface Selection {
|
||||
docs: Docs
|
||||
pathname: Nullable<string>
|
||||
range: Range
|
||||
hoveredRange: HoveredRange
|
||||
diff: Nullable<unknown>
|
||||
files: unknown[]
|
||||
file: Nullable<unknown>
|
||||
}
|
||||
Reference in New Issue
Block a user