mirror of
https://github.com/zedeus/nitter.git
synced 2024-06-26 08:30:33 +00:00
24 lines
450 B
Nim
24 lines
450 B
Nim
|
import std/tables
|
||
|
import user
|
||
|
|
||
|
type
|
||
|
Search* = object
|
||
|
globalObjects*: GlobalObjects
|
||
|
timeline*: Timeline
|
||
|
|
||
|
GlobalObjects = object
|
||
|
users*: Table[string, RawUser]
|
||
|
|
||
|
Timeline = object
|
||
|
instructions*: seq[Instructions]
|
||
|
|
||
|
Instructions = object
|
||
|
addEntries*: tuple[entries: seq[Entry]]
|
||
|
|
||
|
Entry = object
|
||
|
entryId*: string
|
||
|
content*: tuple[operation: Operation]
|
||
|
|
||
|
Operation = object
|
||
|
cursor*: tuple[value, cursorType: string]
|