aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/mi/main.go6
-rw-r--r--cmd/mi/models/events.go2
-rw-r--r--cmd/mi/services/events/events.go26
-rw-r--r--cmd/mi/services/events/flyghttracker.go38
-rw-r--r--cmd/mi/services/events/flyghttracker/flyghttracker.go154
-rw-r--r--cmd/x/mi.go5
-rw-r--r--proto/mi.proto2
-rw-r--r--proto/mi/mi.pb.go103
-rw-r--r--proto/mi/mi.twirp.go91
9 files changed, 331 insertions, 96 deletions
diff --git a/cmd/mi/main.go b/cmd/mi/main.go
index 173b0c0..5147ae3 100644
--- a/cmd/mi/main.go
+++ b/cmd/mi/main.go
@@ -26,6 +26,9 @@ var (
dbLoc = flag.String("db-loc", "./var/data.db", "")
internalBind = flag.String("internal-bind", ":9195", "HTTP internal routes bind address")
+ // Events flags
+ flyghtTrackerURL = flag.String("flyght-tracker-url", "", "Flyght Tracker URL")
+
// POSSE flags
blueskyAuthkey = flag.String("bsky-authkey", "", "Bluesky authkey")
blueskyHandle = flag.String("bsky-handle", "", "Bluesky handle")
@@ -51,6 +54,7 @@ func main() {
"mastodon-url", *mastodonURL,
"mastodon-username", *mastodonUsername,
"have-mimi-announce-url", *mimiAnnounceURL != "",
+ "have-flyght-tracker-url", *flyghtTrackerURL != "",
)
dao, err := models.New(*dbLoc)
@@ -76,7 +80,7 @@ func main() {
mux.Handle(announce.AnnouncePathPrefix, announce.NewAnnounceServer(ann))
mux.Handle(pb.SwitchTrackerPathPrefix, pb.NewSwitchTrackerServer(switchtracker.New(dao)))
- mux.Handle(pb.EventsPathPrefix, pb.NewEventsServer(events.New(dao)))
+ mux.Handle(pb.EventsPathPrefix, pb.NewEventsServer(events.New(dao, *flyghtTrackerURL)))
mux.Handle("/front", homefrontshim.New(dao))
i := importer.New(dao)
diff --git a/cmd/mi/models/events.go b/cmd/mi/models/events.go
index c4239b2..0e60fb9 100644
--- a/cmd/mi/models/events.go
+++ b/cmd/mi/models/events.go
@@ -19,6 +19,7 @@ type Event struct {
EndDate time.Time
Location string `gorm:"index"`
Description string
+ Syndicate bool
}
func (e *Event) AsProto() *pb.Event {
@@ -30,6 +31,7 @@ func (e *Event) AsProto() *pb.Event {
EndDate: timestamppb.New(e.EndDate),
Location: e.Location,
Description: e.Description,
+ Syndicate: e.Syndicate,
}
}
diff --git a/cmd/mi/services/events/events.go b/cmd/mi/services/events/events.go
index bbc1015..6921306 100644
--- a/cmd/mi/services/events/events.go
+++ b/cmd/mi/services/events/events.go
@@ -5,22 +5,35 @@ import (
"errors"
"log/slog"
+ _ "github.com/lib/pq"
"github.com/twitchtv/twirp"
"google.golang.org/protobuf/types/known/emptypb"
"gorm.io/gorm"
"within.website/x/cmd/mi/models"
+ "within.website/x/cmd/mi/services/events/flyghttracker"
pb "within.website/x/proto/mi"
)
type Events struct {
- dao *models.DAO
+ dao *models.DAO
+ flyghtTracker *flyghttracker.Client
}
var _ pb.Events = &Events{}
// New creates a new Events service.
-func New(dao *models.DAO) *Events {
- return &Events{dao: dao}
+func New(dao *models.DAO, flyghtTrackerURL string) *Events {
+ result := &Events{
+ dao: dao,
+ }
+
+ if flyghtTrackerURL != "" {
+ result.flyghtTracker = flyghttracker.New(flyghtTrackerURL)
+ } else {
+ slog.Warn("no flyght tracker database URL provided, not syndicating events to flyght tracker")
+ }
+
+ return result
}
// Get fetches upcoming events.
@@ -57,6 +70,7 @@ func (e *Events) Add(ctx context.Context, ev *pb.Event) (*emptypb.Empty, error)
EndDate: ev.EndDate.AsTime(),
Location: ev.Location,
Description: ev.Description,
+ Syndicate: ev.Syndicate,
}
_, err := e.dao.CreateEvent(ctx, event)
@@ -66,5 +80,11 @@ func (e *Events) Add(ctx context.Context, ev *pb.Event) (*emptypb.Empty, error)
slog.Info("tracking new event", "event", event)
+ if e.flyghtTracker != nil {
+ if err := e.syndicateToFlyghtTracker(ctx, ev); err != nil {
+ slog.Error("can't syndicate event to flyght tracker", "err", err)
+ }
+ }
+
return &emptypb.Empty{}, nil
}
diff --git a/cmd/mi/services/events/flyghttracker.go b/cmd/mi/services/events/flyghttracker.go
new file mode 100644
index 0000000..fce3f70
--- /dev/null
+++ b/cmd/mi/services/events/flyghttracker.go
@@ -0,0 +1,38 @@
+package events
+
+import (
+ "context"
+ "log/slog"
+
+ "within.website/x/cmd/mi/services/events/flyghttracker"
+ pb "within.website/x/proto/mi"
+)
+
+func (e *Events) syndicateToFlyghtTracker(ctx context.Context, ev *pb.Event) error {
+ if !ev.GetSyndicate() {
+ slog.Debug("not syndicating event to flyght tracker", "event", ev)
+ return nil
+ }
+
+ ftev := flyghttracker.Event{
+ Name: ev.GetName(),
+ URL: ev.GetUrl(),
+ StartDate: flyghttracker.Date{
+ Time: ev.GetStartDate().AsTime(),
+ },
+ Location: ev.GetLocation(),
+ People: []string{"Xe"},
+ }
+
+ if ev.GetStartDate().Seconds != ev.GetEndDate().Seconds {
+ ftev.EndDate = flyghttracker.Date{
+ Time: ev.GetEndDate().AsTime(),
+ }
+ }
+
+ if err := e.flyghtTracker.Create(ctx, ftev); err != nil {
+ return err
+ }
+
+ return nil
+}
diff --git a/cmd/mi/services/events/flyghttracker/flyghttracker.go b/cmd/mi/services/events/flyghttracker/flyghttracker.go
new file mode 100644
index 0000000..f6398fb
--- /dev/null
+++ b/cmd/mi/services/events/flyghttracker/flyghttracker.go
@@ -0,0 +1,154 @@
+package flyghttracker
+
+import (
+ "bytes"
+ "context"
+ "encoding/json"
+ "flag"
+ "fmt"
+ "log/slog"
+ "net/http"
+ "strings"
+ "time"
+
+ "within.website/x/web"
+)
+
+var (
+ flyghttrackerURL = flag.String("flyghttracker-url", "https://flyght-tracker.fly.dev/api/upcoming_events", "Flyghttracker URL")
+)
+
+// Date represents a date in the format "YYYY-MM-DD"
+type Date struct {
+ time.Time
+}
+
+// UnmarshalJSON parses a JSON string in the format "YYYY-MM-DD" to a Date
+func (d *Date) UnmarshalJSON(b []byte) error {
+ s := strings.Trim(string(b), "\"")
+ t, err := time.Parse("2006-01-02", s)
+ if err != nil {
+ return err
+ }
+ d.Time = t
+ return nil
+}
+
+// MarshalJSON returns a JSON string in the format "YYYY-MM-DD"
+func (d Date) MarshalJSON() ([]byte, error) {
+ return json.Marshal(d.Time.Format("2006-01-02"))
+}
+
+// Event represents an event that members of DevRel will be attending.
+type Event struct {
+ ID string `json:"id,omitempty"`
+ Name string `json:"name,omitempty"`
+ URL string `json:"url,omitempty"`
+ StartDate Date `json:"start_date,omitempty"`
+ EndDate Date `json:"end_date,omitempty"`
+ Location string `json:"location,omitempty"`
+ People []string `json:"people,omitempty"`
+}
+
+type Error struct {
+ Code int
+ Detail string `json:"detail"`
+}
+
+func (e Error) LogValues() slog.Value {
+ return slog.GroupValue(
+ slog.Int("code", e.Code),
+ slog.String("detail", e.Detail),
+ )
+}
+
+func (e Error) Error() string {
+ return fmt.Sprintf("flyghttracker: %d %s", e.Code, e.Detail)
+}
+
+type Client struct {
+ URL string
+}
+
+// New creates a new Flyght Tracker client.
+func New(url string) *Client {
+ return &Client{
+ URL: url,
+ }
+}
+
+// Create creates a new Flyght Tracker event.
+func (c *Client) Create(ctx context.Context, event Event) error {
+ body, err := json.Marshal(event)
+ if err != nil {
+ return fmt.Errorf("failed to marshal event: %w", err)
+ }
+
+ req, err := http.NewRequestWithContext(ctx, http.MethodPost, c.URL+"/api/events", bytes.NewReader(body))
+ if err != nil {
+ return fmt.Errorf("failed to create request: %w", err)
+ }
+
+ req.Header.Set("Content-Type", "application/json")
+
+ resp, err := http.DefaultClient.Do(req)
+ if err != nil {
+ return fmt.Errorf("failed to create event: %w", err)
+ }
+ defer resp.Body.Close()
+
+ if resp.StatusCode != http.StatusOK {
+ var e Error
+ if err := json.NewDecoder(resp.Body).Decode(&e); err != nil {
+ return fmt.Errorf("failed to decode error: %w", err)
+ }
+
+ e.Code = resp.StatusCode
+
+ return e
+ }
+
+ return nil
+}
+
+// Fetch new events from the Flyght Tracker URL.
+//
+// It returns a list of events that end in the future and that have "Xe" as one of the attendees.
+func (c *Client) Fetch() ([]Event, error) {
+ resp, err := http.Get(c.URL + "/api/upcoming_events")
+ if err != nil {
+ return nil, fmt.Errorf("failed to fetch flyghttracker events: %w", err)
+ }
+ defer resp.Body.Close()
+
+ if resp.StatusCode != http.StatusOK {
+ return nil, web.NewError(http.StatusOK, resp)
+ }
+
+ var events []Event
+ if err := json.NewDecoder(resp.Body).Decode(&events); err != nil {
+ return nil, fmt.Errorf("failed to decode flyghttracker events: %w", err)
+ }
+
+ var result []Event
+
+ for _, event := range events {
+ if event.EndDate.Before(time.Now()) {
+ continue
+ }
+
+ found := false
+ for _, person := range event.People {
+ if person == "Xe" {
+ found = true
+ break
+ }
+ }
+
+ if found {
+ result = append(result, event)
+ }
+ }
+
+ return result, nil
+}
diff --git a/cmd/x/mi.go b/cmd/x/mi.go
index ba183ff..71bd57f 100644
--- a/cmd/x/mi.go
+++ b/cmd/x/mi.go
@@ -188,12 +188,13 @@ type miAddEvent struct {
endDate string
location string
description string
+ syndicate bool
}
func (*miAddEvent) Name() string { return "add-event" }
func (*miAddEvent) Synopsis() string { return "Add an event to be attended." }
func (*miAddEvent) Usage() string {
- return `add-event [--name] [--url] [--start-date] [--end-date] [--location] [--description]:
+ return `add-event [--name] [--url] [--start-date] [--end-date] [--location] [--description] [--syndicate]:
Add an event to be attended.
`
}
@@ -204,6 +205,7 @@ func (ae *miAddEvent) SetFlags(f *flag.FlagSet) {
f.StringVar(&ae.endDate, "end-date", "", "End date of the event.")
f.StringVar(&ae.location, "location", "", "Location of the event.")
f.StringVar(&ae.description, "description", "", "Description of the event.")
+ f.BoolVar(&ae.syndicate, "syndicate", false, "Syndicate this event to other services.")
}
func (ae *miAddEvent) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus {
@@ -292,6 +294,7 @@ func (ae *miAddEvent) Execute(ctx context.Context, f *flag.FlagSet, _ ...interfa
EndDate: timestamppb.New(endDate),
Location: ae.location,
Description: ae.description,
+ Syndicate: ae.syndicate,
}
slog.Info("adding event", "event", ev)
diff --git a/proto/mi.proto b/proto/mi.proto
index e25be2b..aa13027 100644
--- a/proto/mi.proto
+++ b/proto/mi.proto
@@ -75,6 +75,8 @@ message Event {
int32 id = 6;
// The description of the event
string description = 7;
+ // If the event is syndicated to Flyght Tracker
+ bool syndicate = 8;
}
// A feed of events, result from mi query.
diff --git a/proto/mi/mi.pb.go b/proto/mi/mi.pb.go
index a49f66c..56c6000 100644
--- a/proto/mi/mi.pb.go
+++ b/proto/mi/mi.pb.go
@@ -529,6 +529,8 @@ type Event struct {
Id int32 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
// The description of the event
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
+ // If the event is syndicated to Flyght Tracker
+ Syndicate bool `protobuf:"varint,8,opt,name=syndicate,proto3" json:"syndicate,omitempty"`
}
func (x *Event) Reset() {
@@ -612,6 +614,13 @@ func (x *Event) GetDescription() string {
return ""
}
+func (x *Event) GetSyndicate() bool {
+ if x != nil {
+ return x.Syndicate
+ }
+ return false
+}
+
// A feed of events, result from mi query.
type EventFeed struct {
state protoimpl.MessageState
@@ -714,7 +723,7 @@ var file_mi_proto_rawDesc = []byte{
0x08, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x20, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65,
0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x52, 0x08, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x05,
+ 0x65, 0x52, 0x08, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0x8b, 0x02, 0x0a, 0x05,
0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x73,
@@ -729,52 +738,54 @@ var file_mi_proto_rawDesc = []byte{
0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x0a, 0x09, 0x45,
- 0x76, 0x65, 0x6e, 0x74, 0x46, 0x65, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e,
- 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69,
- 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x45,
- 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x96, 0x03, 0x0a,
- 0x0d, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x43,
- 0x0a, 0x07, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
- 0x79, 0x1a, 0x20, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69,
- 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0a, 0x57, 0x68, 0x6f, 0x49, 0x73, 0x46, 0x72, 0x6f, 0x6e,
- 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x77, 0x69, 0x74, 0x68,
- 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e,
- 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x53,
- 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x1e, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77,
- 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x53, 0x77, 0x69, 0x74,
- 0x63, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77,
- 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x53, 0x77, 0x69, 0x74,
- 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x50, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69,
- 0x74, 0x63, 0x68, 0x12, 0x21, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62,
- 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69,
- 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e,
- 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x46, 0x72, 0x6f,
- 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x5b, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74,
- 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69,
- 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x4c,
- 0x69, 0x73, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x25,
- 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e,
- 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x32, 0x46, 0x0a, 0x05, 0x50, 0x4f, 0x53, 0x53, 0x45, 0x12, 0x3d,
- 0x0a, 0x0b, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x6c, 0x6f, 0x67, 0x12, 0x16, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x82, 0x01,
- 0x0a, 0x06, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12,
+ 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73,
+ 0x79, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
+ 0x73, 0x79, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x3f, 0x0a, 0x09, 0x45, 0x76, 0x65,
+ 0x6e, 0x74, 0x46, 0x65, 0x65, 0x64, 0x12, 0x32, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e,
+ 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x45, 0x76, 0x65,
+ 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x32, 0x96, 0x03, 0x0a, 0x0d, 0x53,
+ 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x07,
+ 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
+ 0x20, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65,
+ 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x12, 0x46, 0x0a, 0x0a, 0x57, 0x68, 0x6f, 0x49, 0x73, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x12,
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1e, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e,
- 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x45, 0x76,
- 0x65, 0x6e, 0x74, 0x46, 0x65, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x03, 0x41, 0x64, 0x64, 0x12, 0x1a,
- 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e,
- 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x42, 0x1b, 0x5a, 0x19, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62,
- 0x73, 0x69, 0x74, 0x65, 0x2f, 0x78, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x69, 0x62,
- 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x20, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e,
+ 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x46, 0x72,
+ 0x6f, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x53, 0x77, 0x69,
+ 0x74, 0x63, 0x68, 0x12, 0x1e, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62,
+ 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
+ 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62,
+ 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
+ 0x52, 0x65, 0x73, 0x70, 0x12, 0x50, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63,
+ 0x68, 0x12, 0x21, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69,
+ 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63,
+ 0x68, 0x52, 0x65, 0x71, 0x1a, 0x20, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65,
+ 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x46, 0x72, 0x6f, 0x6e, 0x74,
+ 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x5b, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77,
+ 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e,
+ 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x4c, 0x69, 0x73,
+ 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x25, 0x2e, 0x77,
+ 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e,
+ 0x6d, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x32, 0x46, 0x0a, 0x05, 0x50, 0x4f, 0x53, 0x53, 0x45, 0x12, 0x3d, 0x0a, 0x0b,
+ 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x42, 0x6c, 0x6f, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
+ 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x82, 0x01, 0x0a, 0x06,
+ 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x16, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+ 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x1e, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77,
+ 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x6d, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e,
+ 0x74, 0x46, 0x65, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x03, 0x41, 0x64, 0x64, 0x12, 0x1a, 0x2e, 0x77,
+ 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e,
+ 0x6d, 0x69, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
+ 0x42, 0x1b, 0x5a, 0x19, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69,
+ 0x74, 0x65, 0x2f, 0x78, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6d, 0x69, 0x62, 0x06, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/proto/mi/mi.twirp.go b/proto/mi/mi.twirp.go
index a59cefa..9298f53 100644
--- a/proto/mi/mi.twirp.go
+++ b/proto/mi/mi.twirp.go
@@ -3475,49 +3475,50 @@ func callClientError(ctx context.Context, h *twirp.ClientHooks, err twirp.Error)
}
var twirpFileDescriptor0 = []byte{
- // 692 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xdb, 0x6e, 0xd3, 0x4c,
- 0x10, 0x56, 0x9a, 0xc6, 0x89, 0xc7, 0xfd, 0x7f, 0xaa, 0x05, 0xa1, 0xd4, 0x11, 0x6d, 0xb0, 0x40,
- 0xea, 0x05, 0x38, 0x52, 0xaa, 0x5e, 0x54, 0x50, 0xa1, 0x9e, 0x52, 0x55, 0x9c, 0x2a, 0xb7, 0x08,
- 0x09, 0x2e, 0xa2, 0x4d, 0x3c, 0x4d, 0x56, 0xc4, 0x87, 0xee, 0x6e, 0x9a, 0x72, 0xcb, 0x43, 0xf0,
- 0x96, 0xbc, 0x03, 0xf2, 0xee, 0x3a, 0xb8, 0x25, 0x49, 0xcb, 0xdd, 0xce, 0xec, 0x37, 0x33, 0xdf,
- 0xce, 0x7c, 0x63, 0x43, 0x2d, 0x62, 0x7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2f, 0xe7, 0xf8, 0xdb, 0x3f, 0x4a, 0x60, 0xa9, 0x91, 0x0b, 0xb2,
- 0x0b, 0xe5, 0x63, 0x9c, 0x3f, 0x8d, 0xf5, 0xf9, 0x72, 0x51, 0xf2, 0xda, 0x81, 0xf2, 0x5e, 0x18,
- 0x92, 0x05, 0xaa, 0x9a, 0x47, 0x62, 0xbf, 0xf1, 0x65, 0xed, 0x66, 0x50, 0xeb, 0x5a, 0xff, 0x91,
- 0x5a, 0x11, 0xeb, 0x59, 0xea, 0xb4, 0xf5, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x88, 0xa2, 0x0d,
- 0xe7, 0x06, 0x00, 0x00,
+ // 707 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x4b, 0x6f, 0xd3, 0x40,
+ 0x10, 0x56, 0x92, 0xe6, 0xe1, 0x49, 0x81, 0x6a, 0x41, 0x28, 0x75, 0xa0, 0x0d, 0x16, 0x48, 0x39,
+ 0x80, 0x23, 0xa5, 0xea, 0xa1, 0x82, 0x0a, 0xf5, 0x95, 0xaa, 0xe2, 0x55, 0xb9, 0x45, 0x48, 0x70,
+ 0x88, 0x36, 0xf1, 0x34, 0x59, 0x11, 0x3f, 0xba, 0xbb, 0x69, 0xda, 0x2b, 0x57, 0xee, 0xfc, 0x5e,
+ 0xe4, 0xdd, 0x75, 0xea, 0x96, 0x24, 0x2d, 0xb7, 0x9d, 0xd9, 0x6f, 0x66, 0x3e, 0xcf, 0x7c, 0xb3,
+ 0x86, 0x4a, 0xc0, 0xdc, 0x98, 0x47, 0x32, 0x22, 0x8f, 0x27, 0x4c, 0x0e, 0x59, 0xe8, 0x4e, 0xb0,
+ 0x27, 0x98, 0x44, 0xf7, 0xd2, 0x0d, 0x98, 0x5d, 0x1f, 0x44, 0xd1, 0x60, 0x84, 0x2d, 0x05, 0xe9,
+ 0x8d, 0xc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