0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 18:26:15 +01:00
posthog/ee/idl/element.proto
James Greenhill 83b5273113
Protobufize events to protect from malformed JSON (#2085)
* Protobuf all the things

* oops

* Protobufize events to protect from malformed JSON

* format the generated files (will need to remember this for future)

* format

* clean up kafka produce serializer

* fixes
2020-10-28 15:18:52 -07:00

19 lines
436 B
Protocol Buffer

syntax = "proto3";
import "google/protobuf/timestamp.proto";
message Element {
string uuid = 1;
string event_uuid = 2;
string text = 3;
string tag_name = 4;
string href = 5;
string attr_id = 6;
repeated string attr_class = 7;
uint64 nth_child = 8;
uint64 nth_of_type = 9;
string attributes = 10;
uint64 order = 11;
uint64 team_id = 12;
google.protobuf.Timestamp created_at = 13;
string elements_hash = 14;
}