mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-23 15:23:22 +01:00
add updatets
This commit is contained in:
parent
50caeee5c2
commit
6753f5eaf4
pkg/pcloud
@ -192,6 +192,7 @@ func makeWebShareUpdate(ctx context.Context, update *sstore.ScreenUpdateType) (*
|
||||
LineId: update.LineId,
|
||||
UpdateId: update.UpdateId,
|
||||
UpdateType: update.UpdateType,
|
||||
UpdateTs: update.UpdateTs,
|
||||
}
|
||||
switch update.UpdateType {
|
||||
case sstore.UpdateType_ScreenNew:
|
||||
|
@ -27,6 +27,7 @@ type WebShareUpdateType struct {
|
||||
LineId string `json:"lineid"`
|
||||
UpdateId int64 `json:"updateid"`
|
||||
UpdateType string `json:"updatetype"`
|
||||
UpdateTs int64 `json:"updatets"`
|
||||
|
||||
Screen *WebShareScreenType `json:"screen,omitempty"`
|
||||
Line *WebShareLineType `json:"line,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user