waveterm/pkg/wcloud/wclouddata.go

24 lines
778 B
Go
Raw Normal View History

// Copyright 2024, Command Line Inc.
2024-08-09 03:24:54 +02:00
// SPDX-License-Identifier: Apache-2.0
package wcloud
import (
2024-09-05 23:25:45 +02:00
"github.com/wavetermdev/waveterm/pkg/telemetry"
2024-08-09 03:24:54 +02:00
)
type NoTelemetryInputType struct {
ClientId string `json:"clientid"`
Value bool `json:"value"`
}
type TelemetryInputType struct {
UserId string `json:"userid"`
ClientId string `json:"clientid"`
AppType string `json:"apptype,omitempty"`
AutoUpdateEnabled bool `json:"autoupdateenabled,omitempty"`
AutoUpdateChannel string `json:"autoupdatechannel,omitempty"`
CurDay string `json:"curday"`
Activity []*telemetry.ActivityType `json:"activity"`
2024-08-09 03:24:54 +02:00
}