diff --git a/pkg/server/grpc/storage.pb.go b/pkg/server/grpc/storage.pb.go index 4ceb0e8..b160579 100644 --- a/pkg/server/grpc/storage.pb.go +++ b/pkg/server/grpc/storage.pb.go @@ -28,8 +28,8 @@ const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package type CreateSchemaRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -82,7 +82,7 @@ func (m *CreateSchemaRequest) GetDefinition() string { type CreateSchemaResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -166,11 +166,11 @@ func (m *ReadSchemaRequest) GetId() string { type ReadSchemaResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + DeletedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -244,8 +244,8 @@ func (m *ReadSchemaResponse) GetDeletedAt() *timestamp.Timestamp { type UpdateSchemaRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -297,7 +297,8 @@ func (m *UpdateSchemaRequest) GetDefinition() string { } type UpdateSchemaResponse struct { - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -327,6 +328,13 @@ func (m *UpdateSchemaResponse) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateSchemaResponse proto.InternalMessageInfo +func (m *UpdateSchemaResponse) GetId() string { + if m != nil { + return m.Id + } + return "" +} + func (m *UpdateSchemaResponse) GetUpdatedAt() *timestamp.Timestamp { if m != nil { return m.UpdatedAt @@ -373,7 +381,8 @@ func (m *DeleteSchemaRequest) GetId() string { } type DeleteSchemaResponse struct { - DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + DeletedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -403,6 +412,13 @@ func (m *DeleteSchemaResponse) XXX_DiscardUnknown() { var xxx_messageInfo_DeleteSchemaResponse proto.InternalMessageInfo +func (m *DeleteSchemaResponse) GetId() string { + if m != nil { + return m.Id + } + return "" +} + func (m *DeleteSchemaResponse) GetDeletedAt() *timestamp.Timestamp { if m != nil { return m.DeletedAt @@ -412,8 +428,8 @@ func (m *DeleteSchemaResponse) GetDeletedAt() *timestamp.Timestamp { type CreateTemplateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -466,7 +482,7 @@ func (m *CreateTemplateRequest) GetDefinition() string { type CreateTemplateResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -550,11 +566,11 @@ func (m *ReadTemplateRequest) GetId() string { type ReadTemplateResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` - CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` + CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + DeletedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -628,8 +644,8 @@ func (m *ReadTemplateResponse) GetDeletedAt() *timestamp.Timestamp { type UpdateTemplateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - Definition string `protobuf:"bytes,4,opt,name=definition,proto3" json:"definition,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Definition string `protobuf:"bytes,3,opt,name=definition,proto3" json:"definition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -681,7 +697,8 @@ func (m *UpdateTemplateRequest) GetDefinition() string { } type UpdateTemplateResponse struct { - UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -711,6 +728,13 @@ func (m *UpdateTemplateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_UpdateTemplateResponse proto.InternalMessageInfo +func (m *UpdateTemplateResponse) GetId() string { + if m != nil { + return m.Id + } + return "" +} + func (m *UpdateTemplateResponse) GetUpdatedAt() *timestamp.Timestamp { if m != nil { return m.UpdatedAt @@ -757,7 +781,8 @@ func (m *DeleteTemplateRequest) GetId() string { } type DeleteTemplateResponse struct { - DeletedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + DeletedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -787,6 +812,13 @@ func (m *DeleteTemplateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_DeleteTemplateResponse proto.InternalMessageInfo +func (m *DeleteTemplateResponse) GetId() string { + if m != nil { + return m.Id + } + return "" +} + func (m *DeleteTemplateResponse) GetDeletedAt() *timestamp.Timestamp { if m != nil { return m.DeletedAt @@ -797,7 +829,7 @@ func (m *DeleteTemplateResponse) GetDeletedAt() *timestamp.Timestamp { type InputEntry struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SchemaId string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -842,11 +874,11 @@ func (m *InputEntry) GetSchemaId() string { return "" } -func (m *InputEntry) GetData() []byte { +func (m *InputEntry) GetData() string { if m != nil { return m.Data } - return nil + return "" } func (m *InputEntry) GetCreatedAt() *timestamp.Timestamp { @@ -857,8 +889,8 @@ func (m *InputEntry) GetCreatedAt() *timestamp.Timestamp { } type InputFilter struct { - SchemaId string `protobuf:"bytes,2,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` - CreatedAt *TimestampRange `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + SchemaId string `protobuf:"bytes,1,opt,name=schema_id,json=schemaId,proto3" json:"schema_id,omitempty"` + CreatedAt *TimestampRange `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1505,47 +1537,47 @@ var _Input_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("storage.proto", fileDescriptor_0d2c4ccf1453ffdb) } var fileDescriptor_0d2c4ccf1453ffdb = []byte{ - // 670 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x55, 0xcd, 0x6e, 0xda, 0x40, - 0x10, 0x36, 0x0e, 0x38, 0x61, 0x48, 0x2b, 0xb2, 0x18, 0xe2, 0x98, 0xaa, 0x45, 0xae, 0xa2, 0xa2, - 0x1e, 0x88, 0x4a, 0x4e, 0x51, 0x0f, 0x11, 0x69, 0xa9, 0x92, 0x5b, 0x63, 0xd2, 0x53, 0x15, 0xa1, - 0x8d, 0xbd, 0x50, 0x4b, 0xf8, 0xa7, 0xf6, 0x72, 0xe8, 0x1b, 0x54, 0xaa, 0xda, 0x67, 0xe8, 0xa3, - 0x56, 0xde, 0xb5, 0xc1, 0x98, 0x05, 0x14, 0x92, 0x9c, 0x7a, 0x83, 0xd9, 0x6f, 0xbe, 0xf9, 0xe6, - 0xcf, 0x03, 0xcf, 0x22, 0xea, 0x87, 0x78, 0x4c, 0x3a, 0x41, 0xe8, 0x53, 0x1f, 0x15, 0xc7, 0x61, - 0x60, 0xe9, 0xfb, 0x96, 0xef, 0xba, 0xbe, 0xc7, 0x6d, 0xfa, 0xab, 0xb1, 0xef, 0x8f, 0x27, 0xe4, - 0x84, 0xfd, 0xbb, 0x9b, 0x8e, 0x4e, 0xa8, 0xe3, 0x92, 0x88, 0x62, 0x37, 0xe0, 0x00, 0xe3, 0x2b, - 0xd4, 0x3e, 0x84, 0x04, 0x53, 0x32, 0xb0, 0xbe, 0x11, 0x17, 0x9b, 0xe4, 0xfb, 0x94, 0x44, 0x14, - 0x3d, 0x07, 0xd9, 0xb1, 0xb5, 0x42, 0xab, 0xd0, 0x2e, 0x9b, 0xb2, 0x63, 0x23, 0x15, 0x4a, 0xd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xd1, 0x13, 0x8f, 0x6b, - 0x48, 0xe8, 0x3d, 0x14, 0x63, 0x39, 0xe8, 0x90, 0xa3, 0x96, 0x6e, 0xae, 0xae, 0x2d, 0x3f, 0xcc, - 0x9c, 0x7b, 0xa0, 0xf0, 0x69, 0x4f, 0xe3, 0x0b, 0xee, 0x4f, 0x1a, 0x5f, 0x74, 0x3d, 0x38, 0x05, - 0x1f, 0xd9, 0x94, 0x42, 0x70, 0x12, 0x52, 0x0a, 0xd1, 0x19, 0x30, 0xa4, 0xee, 0x5f, 0x19, 0xf6, - 0xd2, 0x81, 0x47, 0xfd, 0x59, 0x49, 0x9a, 0xd9, 0xbc, 0x73, 0x9b, 0xa3, 0xbf, 0x10, 0x3f, 0xce, - 0x64, 0x9d, 0x27, 0x65, 0x39, 0x9a, 0x67, 0x9f, 0xa7, 0xd0, 0x45, 0x4f, 0x33, 0x82, 0xfe, 0xac, - 0x34, 0xcd, 0x6c, 0xfe, 0x2b, 0x74, 0x88, 0xbf, 0x19, 0x9c, 0x26, 0x29, 0x4f, 0x33, 0x5b, 0x83, - 0x15, 0x34, 0xe2, 0xe5, 0x37, 0xa4, 0xee, 0x05, 0x94, 0xd8, 0x28, 0xa1, 0xb3, 0x24, 0xaf, 0xc6, - 0x5c, 0x7c, 0x76, 0xd8, 0xf5, 0xc3, 0x25, 0x7b, 0xca, 0xf1, 0x59, 0xba, 0x53, 0xd8, 0x76, 0x9e, - 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x77, 0x6e, 0x45, 0x1c, 0xa0, 0x0a, 0x00, 0x00, + // 668 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0x4d, 0x6f, 0xd3, 0x4c, + 0x10, 0x76, 0xdc, 0xd4, 0x6f, 0x33, 0x79, 0x41, 0xe9, 0xe6, 0xa3, 0xa9, 0x83, 0xa0, 0x32, 0xaa, + 0xa8, 0x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x40, 0xd9, 0xa5, + 0x9c, 0x66, 0x85, 0x14, 0xbf, 0xff, 0x62, 0xa4, 0xac, 0x21, 0x54, 0x05, 0x93, 0x77, 0xde, 0x84, + 0xb3, 0x78, 0x31, 0x74, 0xa9, 0x10, 0xfa, 0x4c, 0x21, 0xbd, 0x46, 0x37, 0x5d, 0xc5, 0x12, 0x36, + 0x0d, 0xc6, 0x4c, 0x0e, 0x40, 0xa1, 0x96, 0x8a, 0x49, 0x04, 0xc9, 0x8b, 0x5e, 0x9b, 0x27, 0x7c, + 0xa5, 0x89, 0x94, 0x5f, 0x41, 0xc5, 0x09, 0x03, 0x17, 0x67, 0x04, 0x91, 0xf7, 0x11, 0x59, 0x62, + 0x77, 0xa5, 0xd9, 0x73, 0xab, 0xcb, 0x3d, 0x30, 0x46, 0xe2, 0xd8, 0xba, 0xc0, 0xc5, 0x98, 0x85, + 0xc8, 0xda, 0xf5, 0x12, 0xfe, 0x63, 0x01, 0x8f, 0x3d, 0x96, 0xb4, 0x4b, 0x47, 0x3b, 0x27, 0xd5, + 0x5e, 0x4d, 0xc2, 0x13, 0x75, 0xb7, 0x73, 0x83, 0xde, 0x4f, 0x1d, 0x0c, 0x7c, 0x3a, 0x49, 0x1f, + 0x0c, 0x7c, 0x88, 0xc8, 0x21, 0xda, 0x2b, 0xfe, 0x32, 0x98, 0xa6, 0xea, 0x0a, 0xe3, 0x5a, 0x1a, + 0x79, 0x0d, 0xe5, 0x94, 0x0e, 0x39, 0x40, 0xab, 0xa5, 0x9d, 0x6d, 0xb6, 0x97, 0x2f, 0x66, 0xce, + 0x7d, 0x30, 0x50, 0x0d, 0x79, 0x7c, 0xc5, 0xfe, 0xca, 0xe3, 0xab, 0xb6, 0x0f, 0x42, 0xe0, 0x08, + 0xe7, 0x10, 0x8a, 0x15, 0x92, 0x43, 0xa8, 0xd6, 0x86, 0xa5, 0xf5, 0x7e, 0xe9, 0xb0, 0x97, 0x0b, + 0x80, 0x0c, 0x66, 0x25, 0xe9, 0xc8, 0x79, 0x17, 0x94, 0x64, 0x3e, 0x51, 0x5f, 0xce, 0x68, 0x5d, + 0x64, 0x65, 0x39, 0x9c, 0x67, 0x5f, 0x84, 0x30, 0x55, 0x57, 0x33, 0x80, 0xc1, 0xac, 0x34, 0x1d, + 0x39, 0xff, 0x15, 0x3c, 0xd4, 0x6f, 0x0a, 0xc2, 0x64, 0xe5, 0xe9, 0xc8, 0x35, 0x58, 0x01, 0xa3, + 0x7e, 0x0c, 0x2c, 0xad, 0x77, 0x09, 0xbb, 0x62, 0x94, 0xc8, 0x79, 0x96, 0x57, 0x6b, 0x4e, 0x5e, + 0x1e, 0x76, 0xf3, 0x60, 0xe9, 0x3c, 0xc7, 0x78, 0xaf, 0xdd, 0x19, 0x42, 0x9d, 0x67, 0xbf, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x35, 0x45, 0xa6, 0xce, 0xe0, 0x0a, 0x00, 0x00, } diff --git a/pkg/server/grpc/storage.proto b/pkg/server/grpc/storage.proto index d61a715..3911f9a 100644 --- a/pkg/server/grpc/storage.proto +++ b/pkg/server/grpc/storage.proto @@ -7,13 +7,13 @@ import "google/protobuf/timestamp.proto"; message CreateSchemaRequest { string id = 1; - string title = 3; - string definition = 4; + string title = 2; + string definition = 3; } message CreateSchemaResponse { string id = 1; - google.protobuf.Timestamp created_at = 5; + google.protobuf.Timestamp created_at = 2; } message ReadSchemaRequest { @@ -22,21 +22,22 @@ message ReadSchemaRequest { message ReadSchemaResponse { string id = 1; - string title = 3; - string definition = 4; - google.protobuf.Timestamp created_at = 5; - google.protobuf.Timestamp updated_at = 6; - google.protobuf.Timestamp deleted_at = 7; + string title = 2; + string definition = 3; + google.protobuf.Timestamp created_at = 4; + google.protobuf.Timestamp updated_at = 5; + google.protobuf.Timestamp deleted_at = 6; } message UpdateSchemaRequest { string id = 1; - string title = 3; - string definition = 4; + string title = 2; + string definition = 3; } message UpdateSchemaResponse { - google.protobuf.Timestamp updated_at = 6; + string id = 1; + google.protobuf.Timestamp updated_at = 2; } message DeleteSchemaRequest { @@ -44,7 +45,8 @@ message DeleteSchemaRequest { } message DeleteSchemaResponse { - google.protobuf.Timestamp deleted_at = 7; + string id = 1; + google.protobuf.Timestamp deleted_at = 2; } service Schema { @@ -56,13 +58,13 @@ service Schema { message CreateTemplateRequest { string id = 1; - string title = 3; - string definition = 4; + string title = 2; + string definition = 3; } message CreateTemplateResponse { string id = 1; - google.protobuf.Timestamp created_at = 5; + google.protobuf.Timestamp created_at = 2; } message ReadTemplateRequest { @@ -71,21 +73,22 @@ message ReadTemplateRequest { message ReadTemplateResponse { string id = 1; - string title = 3; - string definition = 4; - google.protobuf.Timestamp created_at = 5; - google.protobuf.Timestamp updated_at = 6; - google.protobuf.Timestamp deleted_at = 7; + string title = 2; + string definition = 3; + google.protobuf.Timestamp created_at = 4; + google.protobuf.Timestamp updated_at = 5; + google.protobuf.Timestamp deleted_at = 6; } message UpdateTemplateRequest { string id = 1; - string title = 3; - string definition = 4; + string title = 2; + string definition = 3; } message UpdateTemplateResponse { - google.protobuf.Timestamp updated_at = 5; + string id = 1; + google.protobuf.Timestamp updated_at = 2; } message DeleteTemplateRequest { @@ -93,7 +96,8 @@ message DeleteTemplateRequest { } message DeleteTemplateResponse { - google.protobuf.Timestamp deleted_at = 7; + string id = 1; + google.protobuf.Timestamp deleted_at = 2; } service Template { @@ -106,13 +110,13 @@ service Template { message InputEntry { string id = 1; string schema_id = 2; - bytes data = 3; + string data = 3; google.protobuf.Timestamp created_at = 4; } message InputFilter { - string schema_id = 2; - TimestampRange created_at = 4; + string schema_id = 1; + TimestampRange created_at = 2; } message ReadInputRequest {