From 197eb1bca376118f054ea125822853440ba529dc Mon Sep 17 00:00:00 2001 From: Antoine Grondin Date: Wed, 22 Oct 2025 12:00:16 +0900 Subject: [PATCH] refine dashboard read/write model --- go/types/v1/dashboard.pb.go | 393 ++++++++++++++++++++++---- js/buf/validate/validate_pb.ts | 2 +- js/svc/alert/v1/service_pb.ts | 2 +- js/svc/auth/v1/service_pb.ts | 2 +- js/svc/cliupdate/v1/service_pb.ts | 2 +- js/svc/dashboard/v1/service_pb.ts | 2 +- js/svc/environment/v1/service_pb.ts | 2 +- js/svc/feature/v1/service_pb.ts | 2 +- js/svc/ingest/v1/service_pb.ts | 2 +- js/svc/localhost/v1/service_pb.ts | 2 +- js/svc/organization/v1/service_pb.ts | 2 +- js/svc/product/v1/service_pb.ts | 2 +- js/svc/project/v1/service_pb.ts | 2 +- js/svc/query/v1/service_pb.ts | 2 +- js/svc/query/v1/trace_service_pb.ts | 2 +- js/svc/release/v1/service_pb.ts | 2 +- js/svc/share/v1/service_pb.ts | 2 +- js/svc/token/v1/service_pb.ts | 2 +- js/svc/user/v1/service_private_pb.ts | 2 +- js/svc/user/v1/service_public_pb.ts | 2 +- js/types/v1/alert_pb.ts | 2 +- js/types/v1/cursor_pb.ts | 2 +- js/types/v1/dashboard_pb.ts | 127 ++++++++- js/types/v1/data_pb.ts | 2 +- js/types/v1/database_pb.ts | 2 +- js/types/v1/environment_pb.ts | 2 +- js/types/v1/environment_token_pb.ts | 2 +- js/types/v1/favorite_query_pb.ts | 2 +- js/types/v1/feature_pb.ts | 2 +- js/types/v1/localhost_config_pb.ts | 2 +- js/types/v1/machine_pb.ts | 2 +- js/types/v1/meta_pb.ts | 2 +- js/types/v1/organization_pb.ts | 2 +- js/types/v1/otel_logging_pb.ts | 2 +- js/types/v1/otel_resource_pb.ts | 2 +- js/types/v1/otel_scope_pb.ts | 2 +- js/types/v1/otel_tracing_pb.ts | 2 +- js/types/v1/payment_method_pb.ts | 2 +- js/types/v1/price_pb.ts | 2 +- js/types/v1/product_pb.ts | 2 +- js/types/v1/project_pb.ts | 2 +- js/types/v1/query_history_entry_pb.ts | 2 +- js/types/v1/query_metrics_pb.ts | 2 +- js/types/v1/query_pb.ts | 2 +- js/types/v1/release_channel_pb.ts | 2 +- js/types/v1/session_pb.ts | 2 +- js/types/v1/shared_result_pb.ts | 2 +- js/types/v1/subscription_pb.ts | 2 +- js/types/v1/symbol_pb.ts | 2 +- js/types/v1/types_pb.ts | 2 +- js/types/v1/ulid_pb.ts | 2 +- js/types/v1/user_pb.ts | 2 +- js/types/v1/user_token_pb.ts | 2 +- js/types/v1/version_artifact_pb.ts | 2 +- js/types/v1/version_pb.ts | 2 +- package-lock.json | 94 +++--- package.json | 6 +- proto/types/v1/dashboard.proto | 29 +- 58 files changed, 576 insertions(+), 179 deletions(-) diff --git a/go/types/v1/dashboard.pb.go b/go/types/v1/dashboard.pb.go index fd67e11..9cfcf2c 100644 --- a/go/types/v1/dashboard.pb.go +++ b/go/types/v1/dashboard.pb.go @@ -127,14 +127,10 @@ func (x *DashboardMeta) GetId() string { } type DashboardSpec struct { - state protoimpl.MessageState `protogen:"open.v1"` - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - IsReadonly bool `protobuf:"varint,3,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"` - // Types that are valid to be assigned to Source: - // - // *DashboardSpec_File - Source isDashboardSpec_Source `protobuf_oneof:"source"` + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + IsReadonly bool `protobuf:"varint,3,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"` PersesJson []byte `protobuf:"bytes,5,opt,name=perses_json,json=persesJson,proto3" json:"perses_json,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache @@ -191,22 +187,6 @@ func (x *DashboardSpec) GetIsReadonly() bool { return false } -func (x *DashboardSpec) GetSource() isDashboardSpec_Source { - if x != nil { - return x.Source - } - return nil -} - -func (x *DashboardSpec) GetFile() string { - if x != nil { - if x, ok := x.Source.(*DashboardSpec_File); ok { - return x.File - } - } - return "" -} - func (x *DashboardSpec) GetPersesJson() []byte { if x != nil { return x.PersesJson @@ -214,21 +194,18 @@ func (x *DashboardSpec) GetPersesJson() []byte { return nil } -type isDashboardSpec_Source interface { - isDashboardSpec_Source() -} - -type DashboardSpec_File struct { - File string `protobuf:"bytes,401,opt,name=file,proto3,oneof"` -} - -func (*DashboardSpec_File) isDashboardSpec_Source() {} - type DashboardStatus struct { - state protoimpl.MessageState `protogen:"open.v1"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` - Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + Errors []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"` + // Types that are valid to be assigned to Origin: + // + // *DashboardStatus_Managed + // *DashboardStatus_Generated + // *DashboardStatus_Builtin + // *DashboardStatus_Remote + Origin isDashboardStatus_Origin `protobuf_oneof:"origin"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -284,6 +261,277 @@ func (x *DashboardStatus) GetErrors() []string { return nil } +func (x *DashboardStatus) GetOrigin() isDashboardStatus_Origin { + if x != nil { + return x.Origin + } + return nil +} + +func (x *DashboardStatus) GetManaged() *DashboardStatus_ManagedDashboard { + if x != nil { + if x, ok := x.Origin.(*DashboardStatus_Managed); ok { + return x.Managed + } + } + return nil +} + +func (x *DashboardStatus) GetGenerated() *DashboardStatus_GeneratedDashboard { + if x != nil { + if x, ok := x.Origin.(*DashboardStatus_Generated); ok { + return x.Generated + } + } + return nil +} + +func (x *DashboardStatus) GetBuiltin() *DashboardStatus_BuiltinDashboard { + if x != nil { + if x, ok := x.Origin.(*DashboardStatus_Builtin); ok { + return x.Builtin + } + } + return nil +} + +func (x *DashboardStatus) GetRemote() *DashboardStatus_RemoteDashboard { + if x != nil { + if x, ok := x.Origin.(*DashboardStatus_Remote); ok { + return x.Remote + } + } + return nil +} + +type isDashboardStatus_Origin interface { + isDashboardStatus_Origin() +} + +type DashboardStatus_Managed struct { + Managed *DashboardStatus_ManagedDashboard `protobuf:"bytes,4,opt,name=managed,proto3,oneof"` +} + +type DashboardStatus_Generated struct { + Generated *DashboardStatus_GeneratedDashboard `protobuf:"bytes,5,opt,name=generated,proto3,oneof"` +} + +type DashboardStatus_Builtin struct { + Builtin *DashboardStatus_BuiltinDashboard `protobuf:"bytes,6,opt,name=builtin,proto3,oneof"` +} + +type DashboardStatus_Remote struct { + Remote *DashboardStatus_RemoteDashboard `protobuf:"bytes,7,opt,name=remote,proto3,oneof"` +} + +func (*DashboardStatus_Managed) isDashboardStatus_Origin() {} + +func (*DashboardStatus_Generated) isDashboardStatus_Origin() {} + +func (*DashboardStatus_Builtin) isDashboardStatus_Origin() {} + +func (*DashboardStatus_Remote) isDashboardStatus_Origin() {} + +type DashboardStatus_ManagedDashboard struct { + state protoimpl.MessageState `protogen:"open.v1"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DashboardStatus_ManagedDashboard) Reset() { + *x = DashboardStatus_ManagedDashboard{} + mi := &file_types_v1_dashboard_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DashboardStatus_ManagedDashboard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DashboardStatus_ManagedDashboard) ProtoMessage() {} + +func (x *DashboardStatus_ManagedDashboard) ProtoReflect() protoreflect.Message { + mi := &file_types_v1_dashboard_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DashboardStatus_ManagedDashboard.ProtoReflect.Descriptor instead. +func (*DashboardStatus_ManagedDashboard) Descriptor() ([]byte, []int) { + return file_types_v1_dashboard_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *DashboardStatus_ManagedDashboard) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +type DashboardStatus_GeneratedDashboard struct { + state protoimpl.MessageState `protogen:"open.v1"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + DetectionReason string `protobuf:"bytes,2,opt,name=detection_reason,json=detectionReason,proto3" json:"detection_reason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DashboardStatus_GeneratedDashboard) Reset() { + *x = DashboardStatus_GeneratedDashboard{} + mi := &file_types_v1_dashboard_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DashboardStatus_GeneratedDashboard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DashboardStatus_GeneratedDashboard) ProtoMessage() {} + +func (x *DashboardStatus_GeneratedDashboard) ProtoReflect() protoreflect.Message { + mi := &file_types_v1_dashboard_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DashboardStatus_GeneratedDashboard.ProtoReflect.Descriptor instead. +func (*DashboardStatus_GeneratedDashboard) Descriptor() ([]byte, []int) { + return file_types_v1_dashboard_proto_rawDescGZIP(), []int{3, 1} +} + +func (x *DashboardStatus_GeneratedDashboard) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *DashboardStatus_GeneratedDashboard) GetDetectionReason() string { + if x != nil { + return x.DetectionReason + } + return "" +} + +type DashboardStatus_BuiltinDashboard struct { + state protoimpl.MessageState `protogen:"open.v1"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DashboardStatus_BuiltinDashboard) Reset() { + *x = DashboardStatus_BuiltinDashboard{} + mi := &file_types_v1_dashboard_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DashboardStatus_BuiltinDashboard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DashboardStatus_BuiltinDashboard) ProtoMessage() {} + +func (x *DashboardStatus_BuiltinDashboard) ProtoReflect() protoreflect.Message { + mi := &file_types_v1_dashboard_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DashboardStatus_BuiltinDashboard.ProtoReflect.Descriptor instead. +func (*DashboardStatus_BuiltinDashboard) Descriptor() ([]byte, []int) { + return file_types_v1_dashboard_proto_rawDescGZIP(), []int{3, 2} +} + +func (x *DashboardStatus_BuiltinDashboard) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type DashboardStatus_RemoteDashboard struct { + state protoimpl.MessageState `protogen:"open.v1"` + RepositoryUrl string `protobuf:"bytes,1,opt,name=repository_url,json=repositoryUrl,proto3" json:"repository_url,omitempty"` + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *DashboardStatus_RemoteDashboard) Reset() { + *x = DashboardStatus_RemoteDashboard{} + mi := &file_types_v1_dashboard_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *DashboardStatus_RemoteDashboard) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DashboardStatus_RemoteDashboard) ProtoMessage() {} + +func (x *DashboardStatus_RemoteDashboard) ProtoReflect() protoreflect.Message { + mi := &file_types_v1_dashboard_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DashboardStatus_RemoteDashboard.ProtoReflect.Descriptor instead. +func (*DashboardStatus_RemoteDashboard) Descriptor() ([]byte, []int) { + return file_types_v1_dashboard_proto_rawDescGZIP(), []int{3, 3} +} + +func (x *DashboardStatus_RemoteDashboard) GetRepositoryUrl() string { + if x != nil { + return x.RepositoryUrl + } + return "" +} + +func (x *DashboardStatus_RemoteDashboard) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *DashboardStatus_RemoteDashboard) GetRef() string { + if x != nil { + return x.Ref + } + return "" +} + var File_types_v1_dashboard_proto protoreflect.FileDescriptor const file_types_v1_dashboard_proto_rawDesc = "" + @@ -294,22 +542,36 @@ const file_types_v1_dashboard_proto_rawDesc = "" + "\x04spec\x18\x02 \x01(\v2\x17.types.v1.DashboardSpecR\x04spec\x121\n" + "\x06status\x18\x03 \x01(\v2\x19.types.v1.DashboardStatusR\x06status\"\x1f\n" + "\rDashboardMeta\x12\x0e\n" + - "\x02id\x18\x01 \x01(\tR\x02id\"\xa8\x01\n" + + "\x02id\x18\x01 \x01(\tR\x02id\"\x87\x01\n" + "\rDashboardSpec\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12 \n" + "\vdescription\x18\x02 \x01(\tR\vdescription\x12\x1f\n" + "\vis_readonly\x18\x03 \x01(\bR\n" + - "isReadonly\x12\x15\n" + - "\x04file\x18\x91\x03 \x01(\tH\x00R\x04file\x12\x1f\n" + + "isReadonly\x12\x1f\n" + "\vperses_json\x18\x05 \x01(\fR\n" + - "persesJsonB\b\n" + - "\x06source\"\x9f\x01\n" + + "persesJson\"\xcd\x05\n" + "\x0fDashboardStatus\x129\n" + "\n" + "created_at\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" + "\n" + "updated_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x16\n" + - "\x06errors\x18\x03 \x03(\tR\x06errorsB\x8e\x01\n" + + "\x06errors\x18\x03 \x03(\tR\x06errors\x12F\n" + + "\amanaged\x18\x04 \x01(\v2*.types.v1.DashboardStatus.ManagedDashboardH\x00R\amanaged\x12L\n" + + "\tgenerated\x18\x05 \x01(\v2,.types.v1.DashboardStatus.GeneratedDashboardH\x00R\tgenerated\x12F\n" + + "\abuiltin\x18\x06 \x01(\v2*.types.v1.DashboardStatus.BuiltinDashboardH\x00R\abuiltin\x12C\n" + + "\x06remote\x18\a \x01(\v2).types.v1.DashboardStatus.RemoteDashboardH\x00R\x06remote\x1a&\n" + + "\x10ManagedDashboard\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\x1aS\n" + + "\x12GeneratedDashboard\x12\x12\n" + + "\x04path\x18\x01 \x01(\tR\x04path\x12)\n" + + "\x10detection_reason\x18\x02 \x01(\tR\x0fdetectionReason\x1a\"\n" + + "\x10BuiltinDashboard\x12\x0e\n" + + "\x02id\x18\x01 \x01(\tR\x02id\x1a^\n" + + "\x0fRemoteDashboard\x12%\n" + + "\x0erepository_url\x18\x01 \x01(\tR\rrepositoryUrl\x12\x12\n" + + "\x04path\x18\x02 \x01(\tR\x04path\x12\x10\n" + + "\x03ref\x18\x03 \x01(\tR\x03refB\b\n" + + "\x06originB\x8e\x01\n" + "\fcom.types.v1B\x0eDashboardProtoP\x01Z-github.com/humanlogio/api/go/types/v1;typesv1\xa2\x02\x03TXX\xaa\x02\bTypes.V1\xca\x02\bTypes\\V1\xe2\x02\x14Types\\V1\\GPBMetadata\xea\x02\tTypes::V1b\x06proto3" var ( @@ -324,25 +586,33 @@ func file_types_v1_dashboard_proto_rawDescGZIP() []byte { return file_types_v1_dashboard_proto_rawDescData } -var file_types_v1_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_types_v1_dashboard_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_types_v1_dashboard_proto_goTypes = []any{ - (*Dashboard)(nil), // 0: types.v1.Dashboard - (*DashboardMeta)(nil), // 1: types.v1.DashboardMeta - (*DashboardSpec)(nil), // 2: types.v1.DashboardSpec - (*DashboardStatus)(nil), // 3: types.v1.DashboardStatus - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*Dashboard)(nil), // 0: types.v1.Dashboard + (*DashboardMeta)(nil), // 1: types.v1.DashboardMeta + (*DashboardSpec)(nil), // 2: types.v1.DashboardSpec + (*DashboardStatus)(nil), // 3: types.v1.DashboardStatus + (*DashboardStatus_ManagedDashboard)(nil), // 4: types.v1.DashboardStatus.ManagedDashboard + (*DashboardStatus_GeneratedDashboard)(nil), // 5: types.v1.DashboardStatus.GeneratedDashboard + (*DashboardStatus_BuiltinDashboard)(nil), // 6: types.v1.DashboardStatus.BuiltinDashboard + (*DashboardStatus_RemoteDashboard)(nil), // 7: types.v1.DashboardStatus.RemoteDashboard + (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp } var file_types_v1_dashboard_proto_depIdxs = []int32{ 1, // 0: types.v1.Dashboard.meta:type_name -> types.v1.DashboardMeta 2, // 1: types.v1.Dashboard.spec:type_name -> types.v1.DashboardSpec 3, // 2: types.v1.Dashboard.status:type_name -> types.v1.DashboardStatus - 4, // 3: types.v1.DashboardStatus.created_at:type_name -> google.protobuf.Timestamp - 4, // 4: types.v1.DashboardStatus.updated_at:type_name -> google.protobuf.Timestamp - 5, // [5:5] is the sub-list for method output_type - 5, // [5:5] is the sub-list for method input_type - 5, // [5:5] is the sub-list for extension type_name - 5, // [5:5] is the sub-list for extension extendee - 0, // [0:5] is the sub-list for field type_name + 8, // 3: types.v1.DashboardStatus.created_at:type_name -> google.protobuf.Timestamp + 8, // 4: types.v1.DashboardStatus.updated_at:type_name -> google.protobuf.Timestamp + 4, // 5: types.v1.DashboardStatus.managed:type_name -> types.v1.DashboardStatus.ManagedDashboard + 5, // 6: types.v1.DashboardStatus.generated:type_name -> types.v1.DashboardStatus.GeneratedDashboard + 6, // 7: types.v1.DashboardStatus.builtin:type_name -> types.v1.DashboardStatus.BuiltinDashboard + 7, // 8: types.v1.DashboardStatus.remote:type_name -> types.v1.DashboardStatus.RemoteDashboard + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name } func init() { file_types_v1_dashboard_proto_init() } @@ -350,8 +620,11 @@ func file_types_v1_dashboard_proto_init() { if File_types_v1_dashboard_proto != nil { return } - file_types_v1_dashboard_proto_msgTypes[2].OneofWrappers = []any{ - (*DashboardSpec_File)(nil), + file_types_v1_dashboard_proto_msgTypes[3].OneofWrappers = []any{ + (*DashboardStatus_Managed)(nil), + (*DashboardStatus_Generated)(nil), + (*DashboardStatus_Builtin)(nil), + (*DashboardStatus_Remote)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -359,7 +632,7 @@ func file_types_v1_dashboard_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_types_v1_dashboard_proto_rawDesc), len(file_types_v1_dashboard_proto_rawDesc)), NumEnums: 0, - NumMessages: 4, + NumMessages: 8, NumExtensions: 0, NumServices: 0, }, diff --git a/js/buf/validate/validate_pb.ts b/js/buf/validate/validate_pb.ts index 34892f2..9613942 100644 --- a/js/buf/validate/validate_pb.ts +++ b/js/buf/validate/validate_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file buf/validate/validate.proto (package buf.validate, syntax proto2) /* eslint-disable */ diff --git a/js/svc/alert/v1/service_pb.ts b/js/svc/alert/v1/service_pb.ts index 039c6c3..baabb45 100644 --- a/js/svc/alert/v1/service_pb.ts +++ b/js/svc/alert/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/alert/v1/service.proto (package svc.alert.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/auth/v1/service_pb.ts b/js/svc/auth/v1/service_pb.ts index 0b59ed1..5e5b848 100644 --- a/js/svc/auth/v1/service_pb.ts +++ b/js/svc/auth/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/auth/v1/service.proto (package svc.auth.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/cliupdate/v1/service_pb.ts b/js/svc/cliupdate/v1/service_pb.ts index 41cbc26..748420e 100644 --- a/js/svc/cliupdate/v1/service_pb.ts +++ b/js/svc/cliupdate/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/cliupdate/v1/service.proto (package svc.cliupdate.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/dashboard/v1/service_pb.ts b/js/svc/dashboard/v1/service_pb.ts index 9773373..9abbf6d 100644 --- a/js/svc/dashboard/v1/service_pb.ts +++ b/js/svc/dashboard/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/dashboard/v1/service.proto (package svc.dashboard.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/environment/v1/service_pb.ts b/js/svc/environment/v1/service_pb.ts index f0e07fd..93059bd 100644 --- a/js/svc/environment/v1/service_pb.ts +++ b/js/svc/environment/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/environment/v1/service.proto (package svc.environment.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/feature/v1/service_pb.ts b/js/svc/feature/v1/service_pb.ts index 8f886c5..323c483 100644 --- a/js/svc/feature/v1/service_pb.ts +++ b/js/svc/feature/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/feature/v1/service.proto (package svc.feature.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/ingest/v1/service_pb.ts b/js/svc/ingest/v1/service_pb.ts index 3ec5b78..c252201 100644 --- a/js/svc/ingest/v1/service_pb.ts +++ b/js/svc/ingest/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/ingest/v1/service.proto (package svc.ingest.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/localhost/v1/service_pb.ts b/js/svc/localhost/v1/service_pb.ts index 12a90ae..74e5d91 100644 --- a/js/svc/localhost/v1/service_pb.ts +++ b/js/svc/localhost/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/localhost/v1/service.proto (package svc.localhost.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/organization/v1/service_pb.ts b/js/svc/organization/v1/service_pb.ts index 72f6aa7..d7bba73 100644 --- a/js/svc/organization/v1/service_pb.ts +++ b/js/svc/organization/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/organization/v1/service.proto (package svc.organization.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/product/v1/service_pb.ts b/js/svc/product/v1/service_pb.ts index 4fca4f1..11215c1 100644 --- a/js/svc/product/v1/service_pb.ts +++ b/js/svc/product/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/product/v1/service.proto (package svc.product.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/project/v1/service_pb.ts b/js/svc/project/v1/service_pb.ts index 8d7d377..da79891 100644 --- a/js/svc/project/v1/service_pb.ts +++ b/js/svc/project/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/project/v1/service.proto (package svc.project.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/query/v1/service_pb.ts b/js/svc/query/v1/service_pb.ts index 08fb7c1..e460887 100644 --- a/js/svc/query/v1/service_pb.ts +++ b/js/svc/query/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/query/v1/service.proto (package svc.query.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/query/v1/trace_service_pb.ts b/js/svc/query/v1/trace_service_pb.ts index f273e6d..db43a05 100644 --- a/js/svc/query/v1/trace_service_pb.ts +++ b/js/svc/query/v1/trace_service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/query/v1/trace_service.proto (package svc.query.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/release/v1/service_pb.ts b/js/svc/release/v1/service_pb.ts index 40f1711..b7cb87c 100644 --- a/js/svc/release/v1/service_pb.ts +++ b/js/svc/release/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/release/v1/service.proto (package svc.release.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/share/v1/service_pb.ts b/js/svc/share/v1/service_pb.ts index ba867f6..55f8a53 100644 --- a/js/svc/share/v1/service_pb.ts +++ b/js/svc/share/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/share/v1/service.proto (package svc.share.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/token/v1/service_pb.ts b/js/svc/token/v1/service_pb.ts index 50368a8..72fc6b9 100644 --- a/js/svc/token/v1/service_pb.ts +++ b/js/svc/token/v1/service_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/token/v1/service.proto (package svc.token.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/user/v1/service_private_pb.ts b/js/svc/user/v1/service_private_pb.ts index efcf99d..45ba5b0 100644 --- a/js/svc/user/v1/service_private_pb.ts +++ b/js/svc/user/v1/service_private_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/user/v1/service_private.proto (package svc.user.v1, syntax proto3) /* eslint-disable */ diff --git a/js/svc/user/v1/service_public_pb.ts b/js/svc/user/v1/service_public_pb.ts index 625a877..7ece77a 100644 --- a/js/svc/user/v1/service_public_pb.ts +++ b/js/svc/user/v1/service_public_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file svc/user/v1/service_public.proto (package svc.user.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/alert_pb.ts b/js/types/v1/alert_pb.ts index e4fb3d3..c7a7817 100644 --- a/js/types/v1/alert_pb.ts +++ b/js/types/v1/alert_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/alert.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/cursor_pb.ts b/js/types/v1/cursor_pb.ts index 2d46c7a..b0e1e55 100644 --- a/js/types/v1/cursor_pb.ts +++ b/js/types/v1/cursor_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/cursor.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/dashboard_pb.ts b/js/types/v1/dashboard_pb.ts index ae7efc8..03661f8 100644 --- a/js/types/v1/dashboard_pb.ts +++ b/js/types/v1/dashboard_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/dashboard.proto (package types.v1, syntax proto3) /* eslint-disable */ @@ -12,7 +12,7 @@ import type { Message } from "@bufbuild/protobuf"; * Describes the file types/v1/dashboard.proto. */ export const file_types_v1_dashboard: GenFile = /*@__PURE__*/ - fileDesc("Chh0eXBlcy92MS9kYXNoYm9hcmQucHJvdG8SCHR5cGVzLnYxIoQBCglEYXNoYm9hcmQSJQoEbWV0YRgBIAEoCzIXLnR5cGVzLnYxLkRhc2hib2FyZE1ldGESJQoEc3BlYxgCIAEoCzIXLnR5cGVzLnYxLkRhc2hib2FyZFNwZWMSKQoGc3RhdHVzGAMgASgLMhkudHlwZXMudjEuRGFzaGJvYXJkU3RhdHVzIhsKDURhc2hib2FyZE1ldGESCgoCaWQYASABKAkidwoNRGFzaGJvYXJkU3BlYxIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhMKC2lzX3JlYWRvbmx5GAMgASgIEg8KBGZpbGUYkQMgASgJSAASEwoLcGVyc2VzX2pzb24YBSABKAxCCAoGc291cmNlIoEBCg9EYXNoYm9hcmRTdGF0dXMSLgoKY3JlYXRlZF9hdBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDgoGZXJyb3JzGAMgAygJQo4BCgxjb20udHlwZXMudjFCDkRhc2hib2FyZFByb3RvUAFaLWdpdGh1Yi5jb20vaHVtYW5sb2dpby9hcGkvZ28vdHlwZXMvdjE7dHlwZXN2MaICA1RYWKoCCFR5cGVzLlYxygIIVHlwZXNcVjHiAhRUeXBlc1xWMVxHUEJNZXRhZGF0YeoCCVR5cGVzOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp]); + fileDesc("Chh0eXBlcy92MS9kYXNoYm9hcmQucHJvdG8SCHR5cGVzLnYxIoQBCglEYXNoYm9hcmQSJQoEbWV0YRgBIAEoCzIXLnR5cGVzLnYxLkRhc2hib2FyZE1ldGESJQoEc3BlYxgCIAEoCzIXLnR5cGVzLnYxLkRhc2hib2FyZFNwZWMSKQoGc3RhdHVzGAMgASgLMhkudHlwZXMudjEuRGFzaGJvYXJkU3RhdHVzIhsKDURhc2hib2FyZE1ldGESCgoCaWQYASABKAkiXAoNRGFzaGJvYXJkU3BlYxIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhMKC2lzX3JlYWRvbmx5GAMgASgIEhMKC3BlcnNlc19qc29uGAUgASgMIs8ECg9EYXNoYm9hcmRTdGF0dXMSLgoKY3JlYXRlZF9hdBgBIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASDgoGZXJyb3JzGAMgAygJEj0KB21hbmFnZWQYBCABKAsyKi50eXBlcy52MS5EYXNoYm9hcmRTdGF0dXMuTWFuYWdlZERhc2hib2FyZEgAEkEKCWdlbmVyYXRlZBgFIAEoCzIsLnR5cGVzLnYxLkRhc2hib2FyZFN0YXR1cy5HZW5lcmF0ZWREYXNoYm9hcmRIABI9CgdidWlsdGluGAYgASgLMioudHlwZXMudjEuRGFzaGJvYXJkU3RhdHVzLkJ1aWx0aW5EYXNoYm9hcmRIABI7CgZyZW1vdGUYByABKAsyKS50eXBlcy52MS5EYXNoYm9hcmRTdGF0dXMuUmVtb3RlRGFzaGJvYXJkSAAaIAoQTWFuYWdlZERhc2hib2FyZBIMCgRwYXRoGAEgASgJGjwKEkdlbmVyYXRlZERhc2hib2FyZBIMCgRwYXRoGAEgASgJEhgKEGRldGVjdGlvbl9yZWFzb24YAiABKAkaHgoQQnVpbHRpbkRhc2hib2FyZBIKCgJpZBgBIAEoCRpECg9SZW1vdGVEYXNoYm9hcmQSFgoOcmVwb3NpdG9yeV91cmwYASABKAkSDAoEcGF0aBgCIAEoCRILCgNyZWYYAyABKAlCCAoGb3JpZ2luQo4BCgxjb20udHlwZXMudjFCDkRhc2hib2FyZFByb3RvUAFaLWdpdGh1Yi5jb20vaHVtYW5sb2dpby9hcGkvZ28vdHlwZXMvdjE7dHlwZXN2MaICA1RYWKoCCFR5cGVzLlYxygIIVHlwZXNcVjHiAhRUeXBlc1xWMVxHUEJNZXRhZGF0YeoCCVR5cGVzOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp]); /** * @generated from message types.v1.Dashboard @@ -77,17 +77,6 @@ export type DashboardSpec = Message<"types.v1.DashboardSpec"> & { */ isReadonly: boolean; - /** - * @generated from oneof types.v1.DashboardSpec.source - */ - source: { - /** - * @generated from field: string file = 401; - */ - value: string; - case: "file"; - } | { case: undefined; value?: undefined }; - /** * @generated from field: bytes perses_json = 5; */ @@ -119,6 +108,35 @@ export type DashboardStatus = Message<"types.v1.DashboardStatus"> & { * @generated from field: repeated string errors = 3; */ errors: string[]; + + /** + * @generated from oneof types.v1.DashboardStatus.origin + */ + origin: { + /** + * @generated from field: types.v1.DashboardStatus.ManagedDashboard managed = 4; + */ + value: DashboardStatus_ManagedDashboard; + case: "managed"; + } | { + /** + * @generated from field: types.v1.DashboardStatus.GeneratedDashboard generated = 5; + */ + value: DashboardStatus_GeneratedDashboard; + case: "generated"; + } | { + /** + * @generated from field: types.v1.DashboardStatus.BuiltinDashboard builtin = 6; + */ + value: DashboardStatus_BuiltinDashboard; + case: "builtin"; + } | { + /** + * @generated from field: types.v1.DashboardStatus.RemoteDashboard remote = 7; + */ + value: DashboardStatus_RemoteDashboard; + case: "remote"; + } | { case: undefined; value?: undefined }; }; /** @@ -128,3 +146,86 @@ export type DashboardStatus = Message<"types.v1.DashboardStatus"> & { export const DashboardStatusSchema: GenMessage = /*@__PURE__*/ messageDesc(file_types_v1_dashboard, 3); +/** + * @generated from message types.v1.DashboardStatus.ManagedDashboard + */ +export type DashboardStatus_ManagedDashboard = Message<"types.v1.DashboardStatus.ManagedDashboard"> & { + /** + * @generated from field: string path = 1; + */ + path: string; +}; + +/** + * Describes the message types.v1.DashboardStatus.ManagedDashboard. + * Use `create(DashboardStatus_ManagedDashboardSchema)` to create a new message. + */ +export const DashboardStatus_ManagedDashboardSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_types_v1_dashboard, 3, 0); + +/** + * @generated from message types.v1.DashboardStatus.GeneratedDashboard + */ +export type DashboardStatus_GeneratedDashboard = Message<"types.v1.DashboardStatus.GeneratedDashboard"> & { + /** + * @generated from field: string path = 1; + */ + path: string; + + /** + * @generated from field: string detection_reason = 2; + */ + detectionReason: string; +}; + +/** + * Describes the message types.v1.DashboardStatus.GeneratedDashboard. + * Use `create(DashboardStatus_GeneratedDashboardSchema)` to create a new message. + */ +export const DashboardStatus_GeneratedDashboardSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_types_v1_dashboard, 3, 1); + +/** + * @generated from message types.v1.DashboardStatus.BuiltinDashboard + */ +export type DashboardStatus_BuiltinDashboard = Message<"types.v1.DashboardStatus.BuiltinDashboard"> & { + /** + * @generated from field: string id = 1; + */ + id: string; +}; + +/** + * Describes the message types.v1.DashboardStatus.BuiltinDashboard. + * Use `create(DashboardStatus_BuiltinDashboardSchema)` to create a new message. + */ +export const DashboardStatus_BuiltinDashboardSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_types_v1_dashboard, 3, 2); + +/** + * @generated from message types.v1.DashboardStatus.RemoteDashboard + */ +export type DashboardStatus_RemoteDashboard = Message<"types.v1.DashboardStatus.RemoteDashboard"> & { + /** + * @generated from field: string repository_url = 1; + */ + repositoryUrl: string; + + /** + * @generated from field: string path = 2; + */ + path: string; + + /** + * @generated from field: string ref = 3; + */ + ref: string; +}; + +/** + * Describes the message types.v1.DashboardStatus.RemoteDashboard. + * Use `create(DashboardStatus_RemoteDashboardSchema)` to create a new message. + */ +export const DashboardStatus_RemoteDashboardSchema: GenMessage = /*@__PURE__*/ + messageDesc(file_types_v1_dashboard, 3, 3); + diff --git a/js/types/v1/data_pb.ts b/js/types/v1/data_pb.ts index 66496ae..8cd475f 100644 --- a/js/types/v1/data_pb.ts +++ b/js/types/v1/data_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/data.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/database_pb.ts b/js/types/v1/database_pb.ts index 428ed2a..3e6da94 100644 --- a/js/types/v1/database_pb.ts +++ b/js/types/v1/database_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/database.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/environment_pb.ts b/js/types/v1/environment_pb.ts index 5134d4c..bc98d0d 100644 --- a/js/types/v1/environment_pb.ts +++ b/js/types/v1/environment_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/environment.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/environment_token_pb.ts b/js/types/v1/environment_token_pb.ts index ab87fa8..c37107c 100644 --- a/js/types/v1/environment_token_pb.ts +++ b/js/types/v1/environment_token_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/environment_token.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/favorite_query_pb.ts b/js/types/v1/favorite_query_pb.ts index 3a7c50c..c238b9c 100644 --- a/js/types/v1/favorite_query_pb.ts +++ b/js/types/v1/favorite_query_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/favorite_query.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/feature_pb.ts b/js/types/v1/feature_pb.ts index d9928a2..d5d553c 100644 --- a/js/types/v1/feature_pb.ts +++ b/js/types/v1/feature_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/feature.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/localhost_config_pb.ts b/js/types/v1/localhost_config_pb.ts index fa2d388..b08ec1d 100644 --- a/js/types/v1/localhost_config_pb.ts +++ b/js/types/v1/localhost_config_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/localhost_config.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/machine_pb.ts b/js/types/v1/machine_pb.ts index ce795f4..6b4cc99 100644 --- a/js/types/v1/machine_pb.ts +++ b/js/types/v1/machine_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/machine.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/meta_pb.ts b/js/types/v1/meta_pb.ts index 1c9b1a0..ba47054 100644 --- a/js/types/v1/meta_pb.ts +++ b/js/types/v1/meta_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/meta.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/organization_pb.ts b/js/types/v1/organization_pb.ts index 62d9975..97c942d 100644 --- a/js/types/v1/organization_pb.ts +++ b/js/types/v1/organization_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/organization.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/otel_logging_pb.ts b/js/types/v1/otel_logging_pb.ts index a8745a9..4203edb 100644 --- a/js/types/v1/otel_logging_pb.ts +++ b/js/types/v1/otel_logging_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/otel_logging.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/otel_resource_pb.ts b/js/types/v1/otel_resource_pb.ts index f6aa6cb..fad842e 100644 --- a/js/types/v1/otel_resource_pb.ts +++ b/js/types/v1/otel_resource_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/otel_resource.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/otel_scope_pb.ts b/js/types/v1/otel_scope_pb.ts index c6033d9..effd3ea 100644 --- a/js/types/v1/otel_scope_pb.ts +++ b/js/types/v1/otel_scope_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/otel_scope.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/otel_tracing_pb.ts b/js/types/v1/otel_tracing_pb.ts index 2db9324..a45c9eb 100644 --- a/js/types/v1/otel_tracing_pb.ts +++ b/js/types/v1/otel_tracing_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/otel_tracing.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/payment_method_pb.ts b/js/types/v1/payment_method_pb.ts index d7ba7e0..926cf5c 100644 --- a/js/types/v1/payment_method_pb.ts +++ b/js/types/v1/payment_method_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/payment_method.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/price_pb.ts b/js/types/v1/price_pb.ts index 8810bc0..bfa76d6 100644 --- a/js/types/v1/price_pb.ts +++ b/js/types/v1/price_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/price.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/product_pb.ts b/js/types/v1/product_pb.ts index bebe39d..83b7aa9 100644 --- a/js/types/v1/product_pb.ts +++ b/js/types/v1/product_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/product.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/project_pb.ts b/js/types/v1/project_pb.ts index 3c26b95..b9f1eec 100644 --- a/js/types/v1/project_pb.ts +++ b/js/types/v1/project_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/project.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/query_history_entry_pb.ts b/js/types/v1/query_history_entry_pb.ts index 38dbdb1..9e1c281 100644 --- a/js/types/v1/query_history_entry_pb.ts +++ b/js/types/v1/query_history_entry_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/query_history_entry.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/query_metrics_pb.ts b/js/types/v1/query_metrics_pb.ts index 4899ec3..4c07f2c 100644 --- a/js/types/v1/query_metrics_pb.ts +++ b/js/types/v1/query_metrics_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/query_metrics.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/query_pb.ts b/js/types/v1/query_pb.ts index f74d799..7732cab 100644 --- a/js/types/v1/query_pb.ts +++ b/js/types/v1/query_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/query.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/release_channel_pb.ts b/js/types/v1/release_channel_pb.ts index fa3542b..e3a0b53 100644 --- a/js/types/v1/release_channel_pb.ts +++ b/js/types/v1/release_channel_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/release_channel.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/session_pb.ts b/js/types/v1/session_pb.ts index 6205431..126f82b 100644 --- a/js/types/v1/session_pb.ts +++ b/js/types/v1/session_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/session.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/shared_result_pb.ts b/js/types/v1/shared_result_pb.ts index 732517c..14d96ef 100644 --- a/js/types/v1/shared_result_pb.ts +++ b/js/types/v1/shared_result_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/shared_result.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/subscription_pb.ts b/js/types/v1/subscription_pb.ts index 1c2c3ac..3516bfc 100644 --- a/js/types/v1/subscription_pb.ts +++ b/js/types/v1/subscription_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/subscription.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/symbol_pb.ts b/js/types/v1/symbol_pb.ts index 6232620..8b81fdf 100644 --- a/js/types/v1/symbol_pb.ts +++ b/js/types/v1/symbol_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/symbol.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/types_pb.ts b/js/types/v1/types_pb.ts index 4b2702a..2aa4e2b 100644 --- a/js/types/v1/types_pb.ts +++ b/js/types/v1/types_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/types.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/ulid_pb.ts b/js/types/v1/ulid_pb.ts index 69348aa..f027b3d 100644 --- a/js/types/v1/ulid_pb.ts +++ b/js/types/v1/ulid_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/ulid.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/user_pb.ts b/js/types/v1/user_pb.ts index de45932..4929568 100644 --- a/js/types/v1/user_pb.ts +++ b/js/types/v1/user_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/user.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/user_token_pb.ts b/js/types/v1/user_token_pb.ts index 352c13b..f044b43 100644 --- a/js/types/v1/user_token_pb.ts +++ b/js/types/v1/user_token_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/user_token.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/version_artifact_pb.ts b/js/types/v1/version_artifact_pb.ts index 37abf37..8532186 100644 --- a/js/types/v1/version_artifact_pb.ts +++ b/js/types/v1/version_artifact_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/version_artifact.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/js/types/v1/version_pb.ts b/js/types/v1/version_pb.ts index 9c07abf..85e76be 100644 --- a/js/types/v1/version_pb.ts +++ b/js/types/v1/version_pb.ts @@ -1,4 +1,4 @@ -// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=none" +// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=none" // @generated from file types/v1/version.proto (package types.v1, syntax proto3) /* eslint-disable */ diff --git a/package-lock.json b/package-lock.json index 9ec6f52..e0a6a0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "@bufbuild/protobuf": "^2.9.0", + "@bufbuild/protobuf": "^2.10.0", "@bufbuild/protovalidate": "^0.8.0", "debug": "^4.3.6", "ms": "^2.1.2", "typescript": "^4.5.2" }, "devDependencies": { - "@bufbuild/buf": "^1.58.0", - "@bufbuild/protoc-gen-es": "^2.9.0", + "@bufbuild/buf": "^1.59.0", + "@bufbuild/protoc-gen-es": "^2.10.0", "@connectrpc/connect": "^2.1.0", "@connectrpc/connect-query": "^2.2.0", "@connectrpc/connect-web": "^2.1.0", @@ -25,9 +25,9 @@ } }, "node_modules/@bufbuild/buf": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf/-/buf-1.58.0.tgz", - "integrity": "sha512-/R+6kyZijftKDFLwY2JlvXqreZrIkz6jvcsmILXC0HwjkJ8dcADSPS93CFTZrtDQfui6K/GCJOsZrNbY5SLRyA==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf/-/buf-1.59.0.tgz", + "integrity": "sha512-VdLuGnFp1OKJaiMevlLow6Jcvv9omOyM02Qa1zexl8dBB4Ac2ggz6bpT3Zb06tmCnqd8tFrI/Im1fbom3CznlQ==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -40,19 +40,19 @@ "node": ">=12" }, "optionalDependencies": { - "@bufbuild/buf-darwin-arm64": "1.58.0", - "@bufbuild/buf-darwin-x64": "1.58.0", - "@bufbuild/buf-linux-aarch64": "1.58.0", - "@bufbuild/buf-linux-armv7": "1.58.0", - "@bufbuild/buf-linux-x64": "1.58.0", - "@bufbuild/buf-win32-arm64": "1.58.0", - "@bufbuild/buf-win32-x64": "1.58.0" + "@bufbuild/buf-darwin-arm64": "1.59.0", + "@bufbuild/buf-darwin-x64": "1.59.0", + "@bufbuild/buf-linux-aarch64": "1.59.0", + "@bufbuild/buf-linux-armv7": "1.59.0", + "@bufbuild/buf-linux-x64": "1.59.0", + "@bufbuild/buf-win32-arm64": "1.59.0", + "@bufbuild/buf-win32-x64": "1.59.0" } }, "node_modules/@bufbuild/buf-darwin-arm64": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-arm64/-/buf-darwin-arm64-1.58.0.tgz", - "integrity": "sha512-bMlTG23f7oIrroVM7dijbCxwLy+fd4QOAkmnIkZ922UIuwXkexr8TWzrul4Ivs0Af6aOWNzQSyHrh3UkGNZa2A==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-arm64/-/buf-darwin-arm64-1.59.0.tgz", + "integrity": "sha512-d3JTxBCibC+C94JU0jwLMgo/WBhaAHBIRzZXaZ3Y8KREjTj3jhzAlelGZmCtQJyyE0l6DFSm3lQgMblJ5qlq/w==", "cpu": [ "arm64" ], @@ -67,9 +67,9 @@ } }, "node_modules/@bufbuild/buf-darwin-x64": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-x64/-/buf-darwin-x64-1.58.0.tgz", - "integrity": "sha512-sNOu4ta7IDaQi4F66BXk76AQVCr0H10Ic7UFfU9ELs1f+FP+JYsQRU5CrWeaDWnLUTu3o4EZqwC6AvhGLOJUnw==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-x64/-/buf-darwin-x64-1.59.0.tgz", + "integrity": "sha512-eFnFB96GM6KjP5S8QFqjufjlMF41CVnXjkR8cIfR5jUXdwl1vf5S82Zv+cK1+Uogqhmt7AVBntd5Z+xmz4NKaw==", "cpu": [ "x64" ], @@ -84,9 +84,9 @@ } }, "node_modules/@bufbuild/buf-linux-aarch64": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-aarch64/-/buf-linux-aarch64-1.58.0.tgz", - "integrity": "sha512-UE3tmIBpA4tK4Y34602UAbCFJzZVuRrFoXys5qSu9LnqhP9OF+vT6x9SXpAlQigmq3VGwNr8wgxD17ys2oDEmA==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-aarch64/-/buf-linux-aarch64-1.59.0.tgz", + "integrity": "sha512-g6DxTcJM29SBvqe42ll7HpkmTfecuG+PZYTysaxON9Y59fwtflhuLDpNqGhxWehHMkH11bFfpNeCGKjpGbVvkw==", "cpu": [ "arm64" ], @@ -101,9 +101,9 @@ } }, "node_modules/@bufbuild/buf-linux-armv7": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-armv7/-/buf-linux-armv7-1.58.0.tgz", - "integrity": "sha512-6V0bEseFAcNGP8IyHb1b3dEr/FpeuN6A/gHNotJ8zZbtyWsKEPsiSNomED8bARvW/3hs802khVJAUeD0duIpAw==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-armv7/-/buf-linux-armv7-1.59.0.tgz", + "integrity": "sha512-C92s+gmKnAyCzN7MdbtukRXOiW7e0hkeQrOie17vF6qWXPk2r9ix0WXZvg5gZr9R4zD8pOYwRVwYiB9zFXZOaA==", "cpu": [ "arm" ], @@ -118,9 +118,9 @@ } }, "node_modules/@bufbuild/buf-linux-x64": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-x64/-/buf-linux-x64-1.58.0.tgz", - "integrity": "sha512-k2xOlOky3IY9Zxeih5vccfp/MDfO0UPZfGYxkYJ7reNuUTtJEOWfzuQxeZY+E8q1W83RtIwGjAVhbKYCGA1MpQ==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-x64/-/buf-linux-x64-1.59.0.tgz", + "integrity": "sha512-Pzc3TFm1t2fZ5uT7jkYBjyuLNKo5ji/wRl/lLLvOlTFRyqsSZBkFNQcJGHoHSej1yDWau16VMrAh0GN1rZfvAg==", "cpu": [ "x64" ], @@ -135,9 +135,9 @@ } }, "node_modules/@bufbuild/buf-win32-arm64": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-arm64/-/buf-win32-arm64-1.58.0.tgz", - "integrity": "sha512-GXNjYaOyjJ2J4hhCkldsc3r6eS1YqQ+qOHsn/PvtcxUkzV6UN5HoLoh0Bx/NStZOA4QqCEfQphLUqJLvwBuhbw==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-arm64/-/buf-win32-arm64-1.59.0.tgz", + "integrity": "sha512-hS5VThgYNqbMFgY9SibDA/RXBdegw12jgrT2H+Tzaa2rvlSADck9ZAq9rwf2H0IvFJOqtR75Lejb+5Fx2rThpQ==", "cpu": [ "arm64" ], @@ -152,9 +152,9 @@ } }, "node_modules/@bufbuild/buf-win32-x64": { - "version": "1.58.0", - "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-x64/-/buf-win32-x64-1.58.0.tgz", - "integrity": "sha512-5o1d/7lEeDXuTyroiro+rRmFAbKIaKjVCFZwF0pPISUmIANFzvI41UpzciMQACXCSnYQdEcNHLtZRGCzGT9GiQ==", + "version": "1.59.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-x64/-/buf-win32-x64-1.59.0.tgz", + "integrity": "sha512-JAGSF3oaKC2L/TelqvjB1N7oB5pTiviVr8mxiaxHyv4HpvcxCVdiO+iw0goRhZb4QHhYYswk2gLMezWHBxtR/g==", "cpu": [ "x64" ], @@ -190,20 +190,20 @@ } }, "node_modules/@bufbuild/protobuf": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.9.0.tgz", - "integrity": "sha512-rnJenoStJ8nvmt9Gzye8nkYd6V22xUAnu4086ER7h1zJ508vStko4pMvDeQ446ilDTFpV5wnoc5YS7XvMwwMqA==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.10.0.tgz", + "integrity": "sha512-fdRs9PSrBF7QUntpZpq6BTw58fhgGJojgg39m9oFOJGZT+nip9b0so5cYY1oWl5pvemDLr0cPPsH46vwThEbpQ==", "license": "(Apache-2.0 AND BSD-3-Clause)" }, "node_modules/@bufbuild/protoc-gen-es": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.9.0.tgz", - "integrity": "sha512-g54rrHLKc7fnxN25ikynstRxR19M5G5l/hyqut2JoypJ9iU9QgUE63zEm8PNvVfBd4r5PEzWPfbWy5MNOeuMKQ==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.10.0.tgz", + "integrity": "sha512-g3xtuxeMkbacn8/qWQ8NbHBA8unLAvGD7sjcXV1/lfO4iCfd6hYL1Z+rn2yLQZE/JEkG+GPZoIs7m5KI5VYaMw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@bufbuild/protobuf": "2.9.0", - "@bufbuild/protoplugin": "2.9.0" + "@bufbuild/protobuf": "2.10.0", + "@bufbuild/protoplugin": "2.10.0" }, "bin": { "protoc-gen-es": "bin/protoc-gen-es" @@ -212,7 +212,7 @@ "node": ">=20" }, "peerDependencies": { - "@bufbuild/protobuf": "2.9.0" + "@bufbuild/protobuf": "2.10.0" }, "peerDependenciesMeta": { "@bufbuild/protobuf": { @@ -221,13 +221,13 @@ } }, "node_modules/@bufbuild/protoplugin": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.9.0.tgz", - "integrity": "sha512-uoiwNVYoTq+AyqaV1L6pBazGx5fXOO89L0NSR9/7hEfo0Y8n9T1jsKGu4mkitLmP3z+8gJREaule1mMuKBPyYw==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.10.0.tgz", + "integrity": "sha512-GPJOZ1Gp9/Ci3MXP3yI7+q4G7IhB5cSpbLjsfnBILxtNx69I9+ix3r9P7JfewHvqMjtPe6L+YWX1LPBGNfZMGw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@bufbuild/protobuf": "2.9.0", + "@bufbuild/protobuf": "2.10.0", "@typescript/vfs": "^1.5.2", "typescript": "5.4.5" } diff --git a/package.json b/package.json index 0414c9a..dd91e39 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "devDependencies": { - "@bufbuild/buf": "^1.58.0", - "@bufbuild/protoc-gen-es": "^2.9.0", + "@bufbuild/buf": "^1.59.0", + "@bufbuild/protoc-gen-es": "^2.10.0", "@connectrpc/connect": "^2.1.0", "@connectrpc/connect-query": "^2.2.0", "@connectrpc/connect-web": "^2.1.0", @@ -11,7 +11,7 @@ "version": "0.1.0", "description": "API for humanlog.io", "dependencies": { - "@bufbuild/protobuf": "^2.9.0", + "@bufbuild/protobuf": "^2.10.0", "@bufbuild/protovalidate": "^0.8.0", "debug": "^4.3.6", "ms": "^2.1.2", diff --git a/proto/types/v1/dashboard.proto b/proto/types/v1/dashboard.proto index 110db0a..b2c84f9 100644 --- a/proto/types/v1/dashboard.proto +++ b/proto/types/v1/dashboard.proto @@ -20,9 +20,6 @@ message DashboardSpec { string name = 1; string description = 2; bool is_readonly = 3; - oneof source { - string file = 401; - } bytes perses_json = 5; } @@ -30,4 +27,30 @@ message DashboardStatus { google.protobuf.Timestamp created_at = 1; google.protobuf.Timestamp updated_at = 2; repeated string errors = 3; + + oneof origin { + ManagedDashboard managed = 4; + GeneratedDashboard generated = 5; + BuiltinDashboard builtin = 6; + RemoteDashboard remote = 7; + } + + message ManagedDashboard { + string path = 1; + } + + message GeneratedDashboard { + string path = 1; + string detection_reason = 2; + } + + message BuiltinDashboard { + string id = 1; + } + + message RemoteDashboard { + string repository_url = 1; + string path = 2; + string ref = 3; + } }