You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
871 B
59 lines
871 B
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.13.0
|
|
|
|
package mysqlgen
|
|
|
|
import (
|
|
"encoding/json"
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type DeviceAlias struct {
|
|
ID string
|
|
Alias string
|
|
}
|
|
|
|
type DeviceAssignment struct {
|
|
ID uuid.UUID
|
|
CreatedDate time.Time
|
|
Match string
|
|
Effect json.RawMessage
|
|
}
|
|
|
|
type DeviceAuth struct {
|
|
ID string
|
|
ApiKey string
|
|
Extras json.RawMessage
|
|
}
|
|
|
|
type DeviceInfo struct {
|
|
ID string
|
|
Kind string
|
|
Data json.RawMessage
|
|
}
|
|
|
|
type Script struct {
|
|
Name string
|
|
Data json.RawMessage
|
|
}
|
|
|
|
type ScriptTrigger struct {
|
|
ID uuid.UUID
|
|
Event string
|
|
DeviceMatch string
|
|
Parameter string
|
|
ScriptTarget string
|
|
ScriptName string
|
|
ScriptPre json.RawMessage
|
|
ScriptPost json.RawMessage
|
|
Name string
|
|
}
|
|
|
|
type ScriptVariable struct {
|
|
Scope string
|
|
Name string
|
|
Value string
|
|
}
|