mirror of
https://github.com/aykhans/slash-e.git
synced 2026-09-24 23:06:48 +00:00
chore: remove custom style
- Deleted the custom_style field from WorkspaceProfile and WorkspaceSetting messages in workspace_service.proto. - Updated the corresponding Go files and gRPC service implementations to reflect the removal of custom_style. - Removed references to custom_style in the API documentation and Swagger definitions. - Adjusted the workspace setting migration logic to exclude custom_style. - Updated README files to remove mentions of custom_style. - Bumped protoc-gen-go and protoc-gen-go-grpc versions in generated files.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.7
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc (unknown)
|
||||
// source: api/v1/workspace_service.proto
|
||||
|
||||
@@ -80,8 +80,6 @@ type WorkspaceProfile struct {
|
||||
Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
|
||||
// The workspace subscription.
|
||||
Subscription *Subscription `protobuf:"bytes,4,opt,name=subscription,proto3" json:"subscription,omitempty"`
|
||||
// The custom style.
|
||||
CustomStyle string `protobuf:"bytes,5,opt,name=custom_style,json=customStyle,proto3" json:"custom_style,omitempty"`
|
||||
// The workspace branding.
|
||||
Branding []byte `protobuf:"bytes,6,opt,name=branding,proto3" json:"branding,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@@ -146,13 +144,6 @@ func (x *WorkspaceProfile) GetSubscription() *Subscription {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkspaceProfile) GetCustomStyle() string {
|
||||
if x != nil {
|
||||
return x.CustomStyle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *WorkspaceProfile) GetBranding() []byte {
|
||||
if x != nil {
|
||||
return x.Branding
|
||||
@@ -166,8 +157,6 @@ type WorkspaceSetting struct {
|
||||
InstanceUrl string `protobuf:"bytes,1,opt,name=instance_url,json=instanceUrl,proto3" json:"instance_url,omitempty"`
|
||||
// The workspace custome branding.
|
||||
Branding []byte `protobuf:"bytes,2,opt,name=branding,proto3" json:"branding,omitempty"`
|
||||
// The custom style.
|
||||
CustomStyle string `protobuf:"bytes,3,opt,name=custom_style,json=customStyle,proto3" json:"custom_style,omitempty"`
|
||||
// The default visibility of shortcuts and collections.
|
||||
DefaultVisibility Visibility `protobuf:"varint,4,opt,name=default_visibility,json=defaultVisibility,proto3,enum=slash.api.v1.Visibility" json:"default_visibility,omitempty"`
|
||||
// The identity providers.
|
||||
@@ -224,13 +213,6 @@ func (x *WorkspaceSetting) GetBranding() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *WorkspaceSetting) GetCustomStyle() string {
|
||||
if x != nil {
|
||||
return x.CustomStyle
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *WorkspaceSetting) GetDefaultVisibility() Visibility {
|
||||
if x != nil {
|
||||
return x.DefaultVisibility
|
||||
@@ -668,18 +650,16 @@ var File_api_v1_workspace_service_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_api_v1_workspace_service_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1eapi/v1/workspace_service.proto\x12\fslash.api.v1\x1a\x13api/v1/common.proto\x1a!api/v1/subscription_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a google/protobuf/field_mask.proto\"\xd5\x01\n" +
|
||||
"\x1eapi/v1/workspace_service.proto\x12\fslash.api.v1\x1a\x13api/v1/common.proto\x1a!api/v1/subscription_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a google/protobuf/field_mask.proto\"\xb2\x01\n" +
|
||||
"\x10WorkspaceProfile\x12\x12\n" +
|
||||
"\x04mode\x18\x01 \x01(\tR\x04mode\x12\x18\n" +
|
||||
"\aversion\x18\x02 \x01(\tR\aversion\x12\x14\n" +
|
||||
"\x05owner\x18\x03 \x01(\tR\x05owner\x12>\n" +
|
||||
"\fsubscription\x18\x04 \x01(\v2\x1a.slash.api.v1.SubscriptionR\fsubscription\x12!\n" +
|
||||
"\fcustom_style\x18\x05 \x01(\tR\vcustomStyle\x12\x1a\n" +
|
||||
"\bbranding\x18\x06 \x01(\fR\bbranding\"\x80\x03\n" +
|
||||
"\fsubscription\x18\x04 \x01(\v2\x1a.slash.api.v1.SubscriptionR\fsubscription\x12\x1a\n" +
|
||||
"\bbranding\x18\x06 \x01(\fR\bbranding\"\xdd\x02\n" +
|
||||
"\x10WorkspaceSetting\x12!\n" +
|
||||
"\finstance_url\x18\x01 \x01(\tR\vinstanceUrl\x12\x1a\n" +
|
||||
"\bbranding\x18\x02 \x01(\fR\bbranding\x12!\n" +
|
||||
"\fcustom_style\x18\x03 \x01(\tR\vcustomStyle\x12G\n" +
|
||||
"\bbranding\x18\x02 \x01(\fR\bbranding\x12G\n" +
|
||||
"\x12default_visibility\x18\x04 \x01(\x0e2\x18.slash.api.v1.VisibilityR\x11defaultVisibility\x12M\n" +
|
||||
"\x12identity_providers\x18\x05 \x03(\v2\x1e.slash.api.v1.IdentityProviderR\x11identityProviders\x12<\n" +
|
||||
"\x1adisallow_user_registration\x18\x06 \x01(\bR\x18disallowUserRegistration\x124\n" +
|
||||
|
||||
Reference in New Issue
Block a user