package session

import "time"

type SessionState string

const (
	StateConnecting   SessionState = "connecting"
	StateConnected    SessionState = "connected"
	StateDisconnected SessionState = "disconnected"
	StateDetached     SessionState = "detached"
)

type SessionInfo struct {
	ID           string       `json:"id"`
	ConnectionID int64        `json:"connectionId"`
	Protocol     string       `json:"protocol"`
	State        SessionState `json:"state"`
	WindowID     string       `json:"windowId"`
	TabPosition  int          `json:"tabPosition"`
	ConnectedAt  time.Time    `json:"connectedAt"`
}
