store

package
v0.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IdentityProvider_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "OAUTH2",
	}
	IdentityProvider_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"OAUTH2":           1,
	}
)

Enum value maps for IdentityProvider_Type.

View Source
var (
	InboxMessage_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MEMO_COMMENT",
		2: "VERSION_UPDATE",
	}
	InboxMessage_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MEMO_COMMENT":     1,
		"VERSION_UPDATE":   2,
	}
)

Enum value maps for InboxMessage_Type.

View Source
var (
	ReactionType_name = map[int32]string{
		0:  "REACTION_TYPE_UNSPECIFIED",
		1:  "THUMBS_UP",
		2:  "THUMBS_DOWN",
		3:  "HEART",
		4:  "FIRE",
		5:  "CLAPPING_HANDS",
		6:  "LAUGH",
		7:  "OK_HAND",
		8:  "ROCKET",
		9:  "EYES",
		10: "THINKING_FACE",
		11: "CLOWN_FACE",
		12: "QUESTION_MARK",
	}
	ReactionType_value = map[string]int32{
		"REACTION_TYPE_UNSPECIFIED": 0,
		"THUMBS_UP":                 1,
		"THUMBS_DOWN":               2,
		"HEART":                     3,
		"FIRE":                      4,
		"CLAPPING_HANDS":            5,
		"LAUGH":                     6,
		"OK_HAND":                   7,
		"ROCKET":                    8,
		"EYES":                      9,
		"THINKING_FACE":             10,
		"CLOWN_FACE":                11,
		"QUESTION_MARK":             12,
	}
)

Enum value maps for ReactionType.

View Source
var (
	ResourceStorageType_name = map[int32]string{
		0: "RESOURCE_STORAGE_TYPE_UNSPECIFIED",
		1: "LOCAL",
		2: "S3",
		3: "EXTERNAL",
	}
	ResourceStorageType_value = map[string]int32{
		"RESOURCE_STORAGE_TYPE_UNSPECIFIED": 0,
		"LOCAL":                             1,
		"S3":                                2,
		"EXTERNAL":                          3,
	}
)

Enum value maps for ResourceStorageType.

View Source
var (
	UserSettingKey_name = map[int32]string{
		0: "USER_SETTING_KEY_UNSPECIFIED",
		1: "ACCESS_TOKENS",
		2: "LOCALE",
		3: "APPEARANCE",
		4: "MEMO_VISIBILITY",
	}
	UserSettingKey_value = map[string]int32{
		"USER_SETTING_KEY_UNSPECIFIED": 0,
		"ACCESS_TOKENS":                1,
		"LOCALE":                       2,
		"APPEARANCE":                   3,
		"MEMO_VISIBILITY":              4,
	}
)

Enum value maps for UserSettingKey.

View Source
var (
	WorkspaceSettingKey_name = map[int32]string{
		0: "WORKSPACE_SETTING_KEY_UNSPECIFIED",
		1: "BASIC",
		2: "GENERAL",
		3: "STORAGE",
		4: "MEMO_RELATED",
	}
	WorkspaceSettingKey_value = map[string]int32{
		"WORKSPACE_SETTING_KEY_UNSPECIFIED": 0,
		"BASIC":                             1,
		"GENERAL":                           2,
		"STORAGE":                           3,
		"MEMO_RELATED":                      4,
	}
)

Enum value maps for WorkspaceSettingKey.

View Source
var (
	WorkspaceStorageSetting_StorageType_name = map[int32]string{
		0: "STORAGE_TYPE_UNSPECIFIED",
		1: "DATABASE",
		2: "LOCAL",
		3: "S3",
	}
	WorkspaceStorageSetting_StorageType_value = map[string]int32{
		"STORAGE_TYPE_UNSPECIFIED": 0,
		"DATABASE":                 1,
		"LOCAL":                    2,
		"S3":                       3,
	}
)

Enum value maps for WorkspaceStorageSetting_StorageType.

View Source
var File_store_activity_proto protoreflect.FileDescriptor
View Source
var File_store_idp_proto protoreflect.FileDescriptor
View Source
var File_store_inbox_proto protoreflect.FileDescriptor
View Source
var File_store_memo_proto protoreflect.FileDescriptor
View Source
var File_store_reaction_proto protoreflect.FileDescriptor
View Source
var File_store_resource_proto protoreflect.FileDescriptor
View Source
var File_store_user_setting_proto protoreflect.FileDescriptor
View Source
var File_store_workspace_setting_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AccessTokensUserSetting

type AccessTokensUserSetting struct {
	AccessTokens []*AccessTokensUserSetting_AccessToken `protobuf:"bytes,1,rep,name=access_tokens,json=accessTokens,proto3" json:"access_tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTokensUserSetting) Descriptor deprecated

func (*AccessTokensUserSetting) Descriptor() ([]byte, []int)

Deprecated: Use AccessTokensUserSetting.ProtoReflect.Descriptor instead.

func (*AccessTokensUserSetting) GetAccessTokens

func (*AccessTokensUserSetting) ProtoMessage

func (*AccessTokensUserSetting) ProtoMessage()

func (*AccessTokensUserSetting) ProtoReflect

func (x *AccessTokensUserSetting) ProtoReflect() protoreflect.Message

func (*AccessTokensUserSetting) Reset

func (x *AccessTokensUserSetting) Reset()

func (*AccessTokensUserSetting) String

func (x *AccessTokensUserSetting) String() string

type AccessTokensUserSetting_AccessToken

type AccessTokensUserSetting_AccessToken struct {

	// The access token is a JWT token.
	// Including expiration time, issuer, etc.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// A description for the access token.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTokensUserSetting_AccessToken) Descriptor deprecated

func (*AccessTokensUserSetting_AccessToken) Descriptor() ([]byte, []int)

Deprecated: Use AccessTokensUserSetting_AccessToken.ProtoReflect.Descriptor instead.

func (*AccessTokensUserSetting_AccessToken) GetAccessToken

func (x *AccessTokensUserSetting_AccessToken) GetAccessToken() string

func (*AccessTokensUserSetting_AccessToken) GetDescription

func (x *AccessTokensUserSetting_AccessToken) GetDescription() string

func (*AccessTokensUserSetting_AccessToken) ProtoMessage

func (*AccessTokensUserSetting_AccessToken) ProtoMessage()

func (*AccessTokensUserSetting_AccessToken) ProtoReflect

func (*AccessTokensUserSetting_AccessToken) Reset

func (*AccessTokensUserSetting_AccessToken) String

type ActivityMemoCommentPayload added in v0.17.0

type ActivityMemoCommentPayload struct {
	MemoId        int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"`
	RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityMemoCommentPayload) Descriptor deprecated added in v0.17.0

func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)

Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.

func (*ActivityMemoCommentPayload) GetMemoId added in v0.17.0

func (x *ActivityMemoCommentPayload) GetMemoId() int32

func (*ActivityMemoCommentPayload) GetRelatedMemoId added in v0.17.0

func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32

func (*ActivityMemoCommentPayload) ProtoMessage added in v0.17.0

func (*ActivityMemoCommentPayload) ProtoMessage()

func (*ActivityMemoCommentPayload) ProtoReflect added in v0.17.0

func (*ActivityMemoCommentPayload) Reset added in v0.17.0

func (x *ActivityMemoCommentPayload) Reset()

func (*ActivityMemoCommentPayload) String added in v0.17.0

func (x *ActivityMemoCommentPayload) String() string

type ActivityPayload added in v0.17.0

type ActivityPayload struct {
	MemoComment   *ActivityMemoCommentPayload   `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3" json:"memo_comment,omitempty"`
	VersionUpdate *ActivityVersionUpdatePayload `protobuf:"bytes,2,opt,name=version_update,json=versionUpdate,proto3" json:"version_update,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityPayload) Descriptor deprecated added in v0.17.0

func (*ActivityPayload) Descriptor() ([]byte, []int)

Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.

func (*ActivityPayload) GetMemoComment added in v0.17.0

func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload

func (*ActivityPayload) GetVersionUpdate added in v0.17.1

func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload

func (*ActivityPayload) ProtoMessage added in v0.17.0

func (*ActivityPayload) ProtoMessage()

func (*ActivityPayload) ProtoReflect added in v0.17.0

func (x *ActivityPayload) ProtoReflect() protoreflect.Message

func (*ActivityPayload) Reset added in v0.17.0

func (x *ActivityPayload) Reset()

func (*ActivityPayload) String added in v0.17.0

func (x *ActivityPayload) String() string

type ActivityVersionUpdatePayload added in v0.17.1

type ActivityVersionUpdatePayload struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivityVersionUpdatePayload) Descriptor deprecated added in v0.17.1

func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)

Deprecated: Use ActivityVersionUpdatePayload.ProtoReflect.Descriptor instead.

func (*ActivityVersionUpdatePayload) GetVersion added in v0.17.1

func (x *ActivityVersionUpdatePayload) GetVersion() string

func (*ActivityVersionUpdatePayload) ProtoMessage added in v0.17.1

func (*ActivityVersionUpdatePayload) ProtoMessage()

func (*ActivityVersionUpdatePayload) ProtoReflect added in v0.17.1

func (*ActivityVersionUpdatePayload) Reset added in v0.17.1

func (x *ActivityVersionUpdatePayload) Reset()

func (*ActivityVersionUpdatePayload) String added in v0.17.1

type FieldMapping added in v0.21.1

type FieldMapping struct {
	Identifier  string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Email       string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldMapping) Descriptor deprecated added in v0.21.1

func (*FieldMapping) Descriptor() ([]byte, []int)

Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.

func (*FieldMapping) GetDisplayName added in v0.21.1

func (x *FieldMapping) GetDisplayName() string

func (*FieldMapping) GetEmail added in v0.21.1

func (x *FieldMapping) GetEmail() string

func (*FieldMapping) GetIdentifier added in v0.21.1

func (x *FieldMapping) GetIdentifier() string

func (*FieldMapping) ProtoMessage added in v0.21.1

func (*FieldMapping) ProtoMessage()

func (*FieldMapping) ProtoReflect added in v0.21.1

func (x *FieldMapping) ProtoReflect() protoreflect.Message

func (*FieldMapping) Reset added in v0.21.1

func (x *FieldMapping) Reset()

func (*FieldMapping) String added in v0.21.1

func (x *FieldMapping) String() string

type IdentityProvider added in v0.21.1

type IdentityProvider struct {
	Id               int32                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name             string                  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type             IdentityProvider_Type   `protobuf:"varint,3,opt,name=type,proto3,enum=memos.store.IdentityProvider_Type" json:"type,omitempty"`
	IdentifierFilter string                  `protobuf:"bytes,4,opt,name=identifier_filter,json=identifierFilter,proto3" json:"identifier_filter,omitempty"`
	Config           *IdentityProviderConfig `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityProvider) Descriptor deprecated added in v0.21.1

func (*IdentityProvider) Descriptor() ([]byte, []int)

Deprecated: Use IdentityProvider.ProtoReflect.Descriptor instead.

func (*IdentityProvider) GetConfig added in v0.21.1

func (x *IdentityProvider) GetConfig() *IdentityProviderConfig

func (*IdentityProvider) GetId added in v0.21.1

func (x *IdentityProvider) GetId() int32

func (*IdentityProvider) GetIdentifierFilter added in v0.21.1

func (x *IdentityProvider) GetIdentifierFilter() string

func (*IdentityProvider) GetName added in v0.21.1

func (x *IdentityProvider) GetName() string

func (*IdentityProvider) GetType added in v0.21.1

func (*IdentityProvider) ProtoMessage added in v0.21.1

func (*IdentityProvider) ProtoMessage()

func (*IdentityProvider) ProtoReflect added in v0.21.1

func (x *IdentityProvider) ProtoReflect() protoreflect.Message

func (*IdentityProvider) Reset added in v0.21.1

func (x *IdentityProvider) Reset()

func (*IdentityProvider) String added in v0.21.1

func (x *IdentityProvider) String() string

type IdentityProviderConfig added in v0.21.0

type IdentityProviderConfig struct {

	// Types that are assignable to Config:
	//
	//	*IdentityProviderConfig_Oauth2Config
	Config isIdentityProviderConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*IdentityProviderConfig) Descriptor deprecated added in v0.21.0

func (*IdentityProviderConfig) Descriptor() ([]byte, []int)

Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.

func (*IdentityProviderConfig) GetConfig added in v0.21.0

func (m *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config

func (*IdentityProviderConfig) GetOauth2Config added in v0.21.1

func (x *IdentityProviderConfig) GetOauth2Config() *OAuth2Config

func (*IdentityProviderConfig) ProtoMessage added in v0.21.0

func (*IdentityProviderConfig) ProtoMessage()

func (*IdentityProviderConfig) ProtoReflect added in v0.21.0

func (x *IdentityProviderConfig) ProtoReflect() protoreflect.Message

func (*IdentityProviderConfig) Reset added in v0.21.0

func (x *IdentityProviderConfig) Reset()

func (*IdentityProviderConfig) String added in v0.21.0

func (x *IdentityProviderConfig) String() string

type IdentityProviderConfig_Oauth2Config added in v0.21.1

type IdentityProviderConfig_Oauth2Config struct {
	Oauth2Config *OAuth2Config `protobuf:"bytes,1,opt,name=oauth2_config,json=oauth2Config,proto3,oneof"`
}

type IdentityProvider_Type added in v0.21.1

type IdentityProvider_Type int32
const (
	IdentityProvider_TYPE_UNSPECIFIED IdentityProvider_Type = 0
	IdentityProvider_OAUTH2           IdentityProvider_Type = 1
)

func (IdentityProvider_Type) Descriptor added in v0.21.1

func (IdentityProvider_Type) Enum added in v0.21.1

func (IdentityProvider_Type) EnumDescriptor deprecated added in v0.21.1

func (IdentityProvider_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use IdentityProvider_Type.Descriptor instead.

func (IdentityProvider_Type) Number added in v0.21.1

func (IdentityProvider_Type) String added in v0.21.1

func (x IdentityProvider_Type) String() string

func (IdentityProvider_Type) Type added in v0.21.1

type InboxMessage added in v0.17.0

type InboxMessage struct {
	Type       InboxMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=memos.store.InboxMessage_Type" json:"type,omitempty"`
	ActivityId *int32            `protobuf:"varint,2,opt,name=activity_id,json=activityId,proto3,oneof" json:"activity_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InboxMessage) Descriptor deprecated added in v0.17.0

func (*InboxMessage) Descriptor() ([]byte, []int)

Deprecated: Use InboxMessage.ProtoReflect.Descriptor instead.

func (*InboxMessage) GetActivityId added in v0.17.0

func (x *InboxMessage) GetActivityId() int32

func (*InboxMessage) GetType added in v0.17.0

func (x *InboxMessage) GetType() InboxMessage_Type

func (*InboxMessage) ProtoMessage added in v0.17.0

func (*InboxMessage) ProtoMessage()

func (*InboxMessage) ProtoReflect added in v0.17.0

func (x *InboxMessage) ProtoReflect() protoreflect.Message

func (*InboxMessage) Reset added in v0.17.0

func (x *InboxMessage) Reset()

func (*InboxMessage) String added in v0.17.0

func (x *InboxMessage) String() string

type InboxMessage_Type added in v0.17.0

type InboxMessage_Type int32
const (
	InboxMessage_TYPE_UNSPECIFIED InboxMessage_Type = 0
	InboxMessage_MEMO_COMMENT     InboxMessage_Type = 1
	InboxMessage_VERSION_UPDATE   InboxMessage_Type = 2
)

func (InboxMessage_Type) Descriptor added in v0.17.0

func (InboxMessage_Type) Enum added in v0.17.0

func (InboxMessage_Type) EnumDescriptor deprecated added in v0.17.0

func (InboxMessage_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use InboxMessage_Type.Descriptor instead.

func (InboxMessage_Type) Number added in v0.17.0

func (InboxMessage_Type) String added in v0.17.0

func (x InboxMessage_Type) String() string

func (InboxMessage_Type) Type added in v0.17.0

type MemoPayload added in v0.22.0

type MemoPayload struct {

	// property is the memo's property.
	Property *MemoPayload_Property `protobuf:"bytes,1,opt,name=property,proto3" json:"property,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoPayload) Descriptor deprecated added in v0.22.0

func (*MemoPayload) Descriptor() ([]byte, []int)

Deprecated: Use MemoPayload.ProtoReflect.Descriptor instead.

func (*MemoPayload) GetProperty added in v0.22.0

func (x *MemoPayload) GetProperty() *MemoPayload_Property

func (*MemoPayload) ProtoMessage added in v0.22.0

func (*MemoPayload) ProtoMessage()

func (*MemoPayload) ProtoReflect added in v0.22.0

func (x *MemoPayload) ProtoReflect() protoreflect.Message

func (*MemoPayload) Reset added in v0.22.0

func (x *MemoPayload) Reset()

func (*MemoPayload) String added in v0.22.0

func (x *MemoPayload) String() string

type MemoPayload_Property added in v0.22.0

type MemoPayload_Property struct {
	Tags        []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	HasLink     bool     `protobuf:"varint,2,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`
	HasTaskList bool     `protobuf:"varint,3,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`
	HasCode     bool     `protobuf:"varint,4,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoPayload_Property) Descriptor deprecated added in v0.22.0

func (*MemoPayload_Property) Descriptor() ([]byte, []int)

Deprecated: Use MemoPayload_Property.ProtoReflect.Descriptor instead.

func (*MemoPayload_Property) GetHasCode added in v0.22.1

func (x *MemoPayload_Property) GetHasCode() bool
func (x *MemoPayload_Property) GetHasLink() bool

func (*MemoPayload_Property) GetHasTaskList added in v0.22.0

func (x *MemoPayload_Property) GetHasTaskList() bool

func (*MemoPayload_Property) GetTags added in v0.22.0

func (x *MemoPayload_Property) GetTags() []string

func (*MemoPayload_Property) ProtoMessage added in v0.22.0

func (*MemoPayload_Property) ProtoMessage()

func (*MemoPayload_Property) ProtoReflect added in v0.22.0

func (x *MemoPayload_Property) ProtoReflect() protoreflect.Message

func (*MemoPayload_Property) Reset added in v0.22.0

func (x *MemoPayload_Property) Reset()

func (*MemoPayload_Property) String added in v0.22.0

func (x *MemoPayload_Property) String() string

type OAuth2Config added in v0.21.1

type OAuth2Config struct {
	ClientId     string        `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string        `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	AuthUrl      string        `protobuf:"bytes,3,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
	TokenUrl     string        `protobuf:"bytes,4,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	UserInfoUrl  string        `protobuf:"bytes,5,opt,name=user_info_url,json=userInfoUrl,proto3" json:"user_info_url,omitempty"`
	Scopes       []string      `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
	FieldMapping *FieldMapping `protobuf:"bytes,7,opt,name=field_mapping,json=fieldMapping,proto3" json:"field_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuth2Config) Descriptor deprecated added in v0.21.1

func (*OAuth2Config) Descriptor() ([]byte, []int)

Deprecated: Use OAuth2Config.ProtoReflect.Descriptor instead.

func (*OAuth2Config) GetAuthUrl added in v0.21.1

func (x *OAuth2Config) GetAuthUrl() string

func (*OAuth2Config) GetClientId added in v0.21.1

func (x *OAuth2Config) GetClientId() string

func (*OAuth2Config) GetClientSecret added in v0.21.1

func (x *OAuth2Config) GetClientSecret() string

func (*OAuth2Config) GetFieldMapping added in v0.21.1

func (x *OAuth2Config) GetFieldMapping() *FieldMapping

func (*OAuth2Config) GetScopes added in v0.21.1

func (x *OAuth2Config) GetScopes() []string

func (*OAuth2Config) GetTokenUrl added in v0.21.1

func (x *OAuth2Config) GetTokenUrl() string

func (*OAuth2Config) GetUserInfoUrl added in v0.21.1

func (x *OAuth2Config) GetUserInfoUrl() string

func (*OAuth2Config) ProtoMessage added in v0.21.1

func (*OAuth2Config) ProtoMessage()

func (*OAuth2Config) ProtoReflect added in v0.21.1

func (x *OAuth2Config) ProtoReflect() protoreflect.Message

func (*OAuth2Config) Reset added in v0.21.1

func (x *OAuth2Config) Reset()

func (*OAuth2Config) String added in v0.21.1

func (x *OAuth2Config) String() string

type ReactionType added in v0.21.1

type ReactionType int32
const (
	ReactionType_REACTION_TYPE_UNSPECIFIED ReactionType = 0
	ReactionType_THUMBS_UP                 ReactionType = 1
	ReactionType_THUMBS_DOWN               ReactionType = 2
	ReactionType_HEART                     ReactionType = 3
	ReactionType_FIRE                      ReactionType = 4
	ReactionType_CLAPPING_HANDS            ReactionType = 5
	ReactionType_LAUGH                     ReactionType = 6
	ReactionType_OK_HAND                   ReactionType = 7
	ReactionType_ROCKET                    ReactionType = 8
	ReactionType_EYES                      ReactionType = 9
	ReactionType_THINKING_FACE             ReactionType = 10
	ReactionType_CLOWN_FACE                ReactionType = 11
	ReactionType_QUESTION_MARK             ReactionType = 12
)

func (ReactionType) Descriptor added in v0.21.1

func (ReactionType) Enum added in v0.21.1

func (x ReactionType) Enum() *ReactionType

func (ReactionType) EnumDescriptor deprecated added in v0.21.1

func (ReactionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReactionType.Descriptor instead.

func (ReactionType) Number added in v0.21.1

func (ReactionType) String added in v0.21.1

func (x ReactionType) String() string

func (ReactionType) Type added in v0.21.1

type ResourcePayload added in v0.22.0

type ResourcePayload struct {

	// Types that are assignable to Payload:
	//
	//	*ResourcePayload_S3Object_
	Payload isResourcePayload_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*ResourcePayload) Descriptor deprecated added in v0.22.0

func (*ResourcePayload) Descriptor() ([]byte, []int)

Deprecated: Use ResourcePayload.ProtoReflect.Descriptor instead.

func (*ResourcePayload) GetPayload added in v0.22.0

func (m *ResourcePayload) GetPayload() isResourcePayload_Payload

func (*ResourcePayload) GetS3Object added in v0.22.0

func (x *ResourcePayload) GetS3Object() *ResourcePayload_S3Object

func (*ResourcePayload) ProtoMessage added in v0.22.0

func (*ResourcePayload) ProtoMessage()

func (*ResourcePayload) ProtoReflect added in v0.22.0

func (x *ResourcePayload) ProtoReflect() protoreflect.Message

func (*ResourcePayload) Reset added in v0.22.0

func (x *ResourcePayload) Reset()

func (*ResourcePayload) String added in v0.22.0

func (x *ResourcePayload) String() string

type ResourcePayload_S3Object added in v0.22.0

type ResourcePayload_S3Object struct {
	S3Config *StorageS3Config `protobuf:"bytes,1,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// key is the S3 object key.
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// last_presigned_time is the last time the object was presigned.
	// This is used to determine if the presigned URL is still valid.
	LastPresignedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_presigned_time,json=lastPresignedTime,proto3" json:"last_presigned_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePayload_S3Object) Descriptor deprecated added in v0.22.0

func (*ResourcePayload_S3Object) Descriptor() ([]byte, []int)

Deprecated: Use ResourcePayload_S3Object.ProtoReflect.Descriptor instead.

func (*ResourcePayload_S3Object) GetKey added in v0.22.0

func (x *ResourcePayload_S3Object) GetKey() string

func (*ResourcePayload_S3Object) GetLastPresignedTime added in v0.22.0

func (x *ResourcePayload_S3Object) GetLastPresignedTime() *timestamppb.Timestamp

func (*ResourcePayload_S3Object) GetS3Config added in v0.22.0

func (x *ResourcePayload_S3Object) GetS3Config() *StorageS3Config

func (*ResourcePayload_S3Object) ProtoMessage added in v0.22.0

func (*ResourcePayload_S3Object) ProtoMessage()

func (*ResourcePayload_S3Object) ProtoReflect added in v0.22.0

func (x *ResourcePayload_S3Object) ProtoReflect() protoreflect.Message

func (*ResourcePayload_S3Object) Reset added in v0.22.0

func (x *ResourcePayload_S3Object) Reset()

func (*ResourcePayload_S3Object) String added in v0.22.0

func (x *ResourcePayload_S3Object) String() string

type ResourcePayload_S3Object_ added in v0.22.0

type ResourcePayload_S3Object_ struct {
	S3Object *ResourcePayload_S3Object `protobuf:"bytes,1,opt,name=s3_object,json=s3Object,proto3,oneof"`
}

type ResourceStorageType added in v0.22.0

type ResourceStorageType int32
const (
	ResourceStorageType_RESOURCE_STORAGE_TYPE_UNSPECIFIED ResourceStorageType = 0
	ResourceStorageType_LOCAL                             ResourceStorageType = 1
	ResourceStorageType_S3                                ResourceStorageType = 2
	ResourceStorageType_EXTERNAL                          ResourceStorageType = 3
)

func (ResourceStorageType) Descriptor added in v0.22.0

func (ResourceStorageType) Enum added in v0.22.0

func (ResourceStorageType) EnumDescriptor deprecated added in v0.22.0

func (ResourceStorageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceStorageType.Descriptor instead.

func (ResourceStorageType) Number added in v0.22.0

func (ResourceStorageType) String added in v0.22.0

func (x ResourceStorageType) String() string

func (ResourceStorageType) Type added in v0.22.0

type StorageS3Config added in v0.22.0

type StorageS3Config struct {
	AccessKeyId     string `protobuf:"bytes,1,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	AccessKeySecret string `protobuf:"bytes,2,opt,name=access_key_secret,json=accessKeySecret,proto3" json:"access_key_secret,omitempty"`
	Endpoint        string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Region          string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	Bucket          string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

Reference: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/

func (*StorageS3Config) Descriptor deprecated added in v0.22.0

func (*StorageS3Config) Descriptor() ([]byte, []int)

Deprecated: Use StorageS3Config.ProtoReflect.Descriptor instead.

func (*StorageS3Config) GetAccessKeyId added in v0.22.0

func (x *StorageS3Config) GetAccessKeyId() string

func (*StorageS3Config) GetAccessKeySecret added in v0.22.0

func (x *StorageS3Config) GetAccessKeySecret() string

func (*StorageS3Config) GetBucket added in v0.22.0

func (x *StorageS3Config) GetBucket() string

func (*StorageS3Config) GetEndpoint added in v0.22.0

func (x *StorageS3Config) GetEndpoint() string

func (*StorageS3Config) GetRegion added in v0.22.0

func (x *StorageS3Config) GetRegion() string

func (*StorageS3Config) ProtoMessage added in v0.22.0

func (*StorageS3Config) ProtoMessage()

func (*StorageS3Config) ProtoReflect added in v0.22.0

func (x *StorageS3Config) ProtoReflect() protoreflect.Message

func (*StorageS3Config) Reset added in v0.22.0

func (x *StorageS3Config) Reset()

func (*StorageS3Config) String added in v0.22.0

func (x *StorageS3Config) String() string

type UserSetting

type UserSetting struct {
	UserId int32          `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Key    UserSettingKey `protobuf:"varint,2,opt,name=key,proto3,enum=memos.store.UserSettingKey" json:"key,omitempty"`
	// Types that are assignable to Value:
	//
	//	*UserSetting_AccessTokens
	//	*UserSetting_Locale
	//	*UserSetting_Appearance
	//	*UserSetting_MemoVisibility
	Value isUserSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*UserSetting) Descriptor deprecated

func (*UserSetting) Descriptor() ([]byte, []int)

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetAccessTokens

func (x *UserSetting) GetAccessTokens() *AccessTokensUserSetting

func (*UserSetting) GetAppearance added in v0.18.0

func (x *UserSetting) GetAppearance() string

func (*UserSetting) GetKey

func (x *UserSetting) GetKey() UserSettingKey

func (*UserSetting) GetLocale added in v0.18.0

func (x *UserSetting) GetLocale() string

func (*UserSetting) GetMemoVisibility added in v0.18.0

func (x *UserSetting) GetMemoVisibility() string

func (*UserSetting) GetUserId

func (x *UserSetting) GetUserId() int32

func (*UserSetting) GetValue

func (m *UserSetting) GetValue() isUserSetting_Value

func (*UserSetting) ProtoMessage

func (*UserSetting) ProtoMessage()

func (*UserSetting) ProtoReflect

func (x *UserSetting) ProtoReflect() protoreflect.Message

func (*UserSetting) Reset

func (x *UserSetting) Reset()

func (*UserSetting) String

func (x *UserSetting) String() string

type UserSettingKey

type UserSettingKey int32
const (
	UserSettingKey_USER_SETTING_KEY_UNSPECIFIED UserSettingKey = 0
	// Access tokens for the user.
	UserSettingKey_ACCESS_TOKENS UserSettingKey = 1
	// The locale of the user.
	UserSettingKey_LOCALE UserSettingKey = 2
	// The appearance of the user.
	UserSettingKey_APPEARANCE UserSettingKey = 3
	// The visibility of the memo.
	UserSettingKey_MEMO_VISIBILITY UserSettingKey = 4
)

func (UserSettingKey) Descriptor

func (UserSettingKey) Enum

func (x UserSettingKey) Enum() *UserSettingKey

func (UserSettingKey) EnumDescriptor deprecated

func (UserSettingKey) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserSettingKey.Descriptor instead.

func (UserSettingKey) Number

func (UserSettingKey) String

func (x UserSettingKey) String() string

func (UserSettingKey) Type

type UserSetting_AccessTokens

type UserSetting_AccessTokens struct {
	AccessTokens *AccessTokensUserSetting `protobuf:"bytes,3,opt,name=access_tokens,json=accessTokens,proto3,oneof"`
}

type UserSetting_Appearance added in v0.18.0

type UserSetting_Appearance struct {
	Appearance string `protobuf:"bytes,5,opt,name=appearance,proto3,oneof"`
}

type UserSetting_Locale added in v0.18.0

type UserSetting_Locale struct {
	Locale string `protobuf:"bytes,4,opt,name=locale,proto3,oneof"`
}

type UserSetting_MemoVisibility added in v0.18.0

type UserSetting_MemoVisibility struct {
	MemoVisibility string `protobuf:"bytes,6,opt,name=memo_visibility,json=memoVisibility,proto3,oneof"`
}

type WorkspaceBasicSetting added in v0.21.1

type WorkspaceBasicSetting struct {
	SecretKey string `protobuf:"bytes,1,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceBasicSetting) Descriptor deprecated added in v0.21.1

func (*WorkspaceBasicSetting) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceBasicSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceBasicSetting) GetSecretKey added in v0.21.1

func (x *WorkspaceBasicSetting) GetSecretKey() string

func (*WorkspaceBasicSetting) ProtoMessage added in v0.21.1

func (*WorkspaceBasicSetting) ProtoMessage()

func (*WorkspaceBasicSetting) ProtoReflect added in v0.21.1

func (x *WorkspaceBasicSetting) ProtoReflect() protoreflect.Message

func (*WorkspaceBasicSetting) Reset added in v0.21.1

func (x *WorkspaceBasicSetting) Reset()

func (*WorkspaceBasicSetting) String added in v0.21.1

func (x *WorkspaceBasicSetting) String() string

type WorkspaceCustomProfile added in v0.21.1

type WorkspaceCustomProfile struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	LogoUrl     string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
	Locale      string `protobuf:"bytes,4,opt,name=locale,proto3" json:"locale,omitempty"`
	Appearance  string `protobuf:"bytes,5,opt,name=appearance,proto3" json:"appearance,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceCustomProfile) Descriptor deprecated added in v0.21.1

func (*WorkspaceCustomProfile) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceCustomProfile.ProtoReflect.Descriptor instead.

func (*WorkspaceCustomProfile) GetAppearance added in v0.21.1

func (x *WorkspaceCustomProfile) GetAppearance() string

func (*WorkspaceCustomProfile) GetDescription added in v0.21.1

func (x *WorkspaceCustomProfile) GetDescription() string

func (*WorkspaceCustomProfile) GetLocale added in v0.21.1

func (x *WorkspaceCustomProfile) GetLocale() string

func (*WorkspaceCustomProfile) GetLogoUrl added in v0.21.1

func (x *WorkspaceCustomProfile) GetLogoUrl() string

func (*WorkspaceCustomProfile) GetTitle added in v0.21.1

func (x *WorkspaceCustomProfile) GetTitle() string

func (*WorkspaceCustomProfile) ProtoMessage added in v0.21.1

func (*WorkspaceCustomProfile) ProtoMessage()

func (*WorkspaceCustomProfile) ProtoReflect added in v0.21.1

func (x *WorkspaceCustomProfile) ProtoReflect() protoreflect.Message

func (*WorkspaceCustomProfile) Reset added in v0.21.1

func (x *WorkspaceCustomProfile) Reset()

func (*WorkspaceCustomProfile) String added in v0.21.1

func (x *WorkspaceCustomProfile) String() string

type WorkspaceGeneralSetting added in v0.19.1

type WorkspaceGeneralSetting struct {

	// disallow_signup is the flag to disallow signup.
	DisallowSignup bool `protobuf:"varint,1,opt,name=disallow_signup,json=disallowSignup,proto3" json:"disallow_signup,omitempty"`
	// disallow_password_login is the flag to disallow password login.
	DisallowPasswordLogin bool `` /* 127-byte string literal not displayed */
	// additional_script is the additional script.
	AdditionalScript string `protobuf:"bytes,3,opt,name=additional_script,json=additionalScript,proto3" json:"additional_script,omitempty"`
	// additional_style is the additional style.
	AdditionalStyle string `protobuf:"bytes,4,opt,name=additional_style,json=additionalStyle,proto3" json:"additional_style,omitempty"`
	// custom_profile is the custom profile.
	CustomProfile *WorkspaceCustomProfile `protobuf:"bytes,5,opt,name=custom_profile,json=customProfile,proto3" json:"custom_profile,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceGeneralSetting) Descriptor deprecated added in v0.19.1

func (*WorkspaceGeneralSetting) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceGeneralSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceGeneralSetting) GetAdditionalScript added in v0.20.0

func (x *WorkspaceGeneralSetting) GetAdditionalScript() string

func (*WorkspaceGeneralSetting) GetAdditionalStyle added in v0.20.0

func (x *WorkspaceGeneralSetting) GetAdditionalStyle() string

func (*WorkspaceGeneralSetting) GetCustomProfile added in v0.21.1

func (x *WorkspaceGeneralSetting) GetCustomProfile() *WorkspaceCustomProfile

func (*WorkspaceGeneralSetting) GetDisallowPasswordLogin added in v0.19.1

func (x *WorkspaceGeneralSetting) GetDisallowPasswordLogin() bool

func (*WorkspaceGeneralSetting) GetDisallowSignup added in v0.19.1

func (x *WorkspaceGeneralSetting) GetDisallowSignup() bool

func (*WorkspaceGeneralSetting) ProtoMessage added in v0.19.1

func (*WorkspaceGeneralSetting) ProtoMessage()

func (*WorkspaceGeneralSetting) ProtoReflect added in v0.19.1

func (x *WorkspaceGeneralSetting) ProtoReflect() protoreflect.Message

func (*WorkspaceGeneralSetting) Reset added in v0.19.1

func (x *WorkspaceGeneralSetting) Reset()

func (*WorkspaceGeneralSetting) String added in v0.19.1

func (x *WorkspaceGeneralSetting) String() string

type WorkspaceMemoRelatedSetting added in v0.21.1

type WorkspaceMemoRelatedSetting struct {

	// disallow_public_share disallows set memo as public visible.
	DisallowPublicVisible bool `` /* 127-byte string literal not displayed */
	// display_with_update_time orders and displays memo with update time.
	DisplayWithUpdateTime bool `` /* 129-byte string literal not displayed */
	// content_length_limit is the limit of content length. Unit is byte.
	ContentLengthLimit int32 `protobuf:"varint,3,opt,name=content_length_limit,json=contentLengthLimit,proto3" json:"content_length_limit,omitempty"`
	// enable_auto_compact enables auto compact for large content.
	EnableAutoCompact bool `protobuf:"varint,4,opt,name=enable_auto_compact,json=enableAutoCompact,proto3" json:"enable_auto_compact,omitempty"`
	// enable_double_click_edit enables editing on double click.
	EnableDoubleClickEdit bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WorkspaceMemoRelatedSetting) Descriptor deprecated added in v0.21.1

func (*WorkspaceMemoRelatedSetting) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceMemoRelatedSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceMemoRelatedSetting) GetContentLengthLimit added in v0.22.0

func (x *WorkspaceMemoRelatedSetting) GetContentLengthLimit() int32

func (*WorkspaceMemoRelatedSetting) GetDisallowPublicVisible added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) GetDisallowPublicVisible() bool

func (*WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) GetDisplayWithUpdateTime() bool

func (*WorkspaceMemoRelatedSetting) GetEnableAutoCompact added in v0.22.1

func (x *WorkspaceMemoRelatedSetting) GetEnableAutoCompact() bool

func (*WorkspaceMemoRelatedSetting) GetEnableDoubleClickEdit added in v0.22.1

func (x *WorkspaceMemoRelatedSetting) GetEnableDoubleClickEdit() bool

func (*WorkspaceMemoRelatedSetting) ProtoMessage added in v0.21.1

func (*WorkspaceMemoRelatedSetting) ProtoMessage()

func (*WorkspaceMemoRelatedSetting) ProtoReflect added in v0.21.1

func (*WorkspaceMemoRelatedSetting) Reset added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) Reset()

func (*WorkspaceMemoRelatedSetting) String added in v0.21.1

func (x *WorkspaceMemoRelatedSetting) String() string

type WorkspaceSetting added in v0.20.0

type WorkspaceSetting struct {
	Key WorkspaceSettingKey `protobuf:"varint,1,opt,name=key,proto3,enum=memos.store.WorkspaceSettingKey" json:"key,omitempty"`
	// Types that are assignable to Value:
	//
	//	*WorkspaceSetting_BasicSetting
	//	*WorkspaceSetting_GeneralSetting
	//	*WorkspaceSetting_StorageSetting
	//	*WorkspaceSetting_MemoRelatedSetting
	Value isWorkspaceSetting_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*WorkspaceSetting) Descriptor deprecated added in v0.20.0

func (*WorkspaceSetting) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceSetting) GetBasicSetting added in v0.21.1

func (x *WorkspaceSetting) GetBasicSetting() *WorkspaceBasicSetting

func (*WorkspaceSetting) GetGeneralSetting added in v0.21.1

func (x *WorkspaceSetting) GetGeneralSetting() *WorkspaceGeneralSetting

func (*WorkspaceSetting) GetKey added in v0.20.0

func (*WorkspaceSetting) GetMemoRelatedSetting added in v0.21.1

func (x *WorkspaceSetting) GetMemoRelatedSetting() *WorkspaceMemoRelatedSetting

func (*WorkspaceSetting) GetStorageSetting added in v0.21.1

func (x *WorkspaceSetting) GetStorageSetting() *WorkspaceStorageSetting

func (*WorkspaceSetting) GetValue added in v0.20.0

func (m *WorkspaceSetting) GetValue() isWorkspaceSetting_Value

func (*WorkspaceSetting) ProtoMessage added in v0.20.0

func (*WorkspaceSetting) ProtoMessage()

func (*WorkspaceSetting) ProtoReflect added in v0.20.0

func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message

func (*WorkspaceSetting) Reset added in v0.20.0

func (x *WorkspaceSetting) Reset()

func (*WorkspaceSetting) String added in v0.20.0

func (x *WorkspaceSetting) String() string

type WorkspaceSettingKey added in v0.18.2

type WorkspaceSettingKey int32
const (
	WorkspaceSettingKey_WORKSPACE_SETTING_KEY_UNSPECIFIED WorkspaceSettingKey = 0
	// BASIC is the key for basic settings.
	WorkspaceSettingKey_BASIC WorkspaceSettingKey = 1
	// GENERAL is the key for general settings.
	WorkspaceSettingKey_GENERAL WorkspaceSettingKey = 2
	// STORAGE is the key for storage settings.
	WorkspaceSettingKey_STORAGE WorkspaceSettingKey = 3
	// MEMO_RELATED is the key for memo related settings.
	WorkspaceSettingKey_MEMO_RELATED WorkspaceSettingKey = 4
)

func (WorkspaceSettingKey) Descriptor added in v0.18.2

func (WorkspaceSettingKey) Enum added in v0.18.2

func (WorkspaceSettingKey) EnumDescriptor deprecated added in v0.18.2

func (WorkspaceSettingKey) EnumDescriptor() ([]byte, []int)

Deprecated: Use WorkspaceSettingKey.Descriptor instead.

func (WorkspaceSettingKey) Number added in v0.18.2

func (WorkspaceSettingKey) String added in v0.18.2

func (x WorkspaceSettingKey) String() string

func (WorkspaceSettingKey) Type added in v0.18.2

type WorkspaceSetting_BasicSetting added in v0.21.1

type WorkspaceSetting_BasicSetting struct {
	BasicSetting *WorkspaceBasicSetting `protobuf:"bytes,2,opt,name=basic_setting,json=basicSetting,proto3,oneof"`
}

type WorkspaceSetting_GeneralSetting added in v0.21.1

type WorkspaceSetting_GeneralSetting struct {
	GeneralSetting *WorkspaceGeneralSetting `protobuf:"bytes,3,opt,name=general_setting,json=generalSetting,proto3,oneof"`
}

type WorkspaceSetting_MemoRelatedSetting added in v0.21.1

type WorkspaceSetting_MemoRelatedSetting struct {
	MemoRelatedSetting *WorkspaceMemoRelatedSetting `protobuf:"bytes,5,opt,name=memo_related_setting,json=memoRelatedSetting,proto3,oneof"`
}

type WorkspaceSetting_StorageSetting added in v0.21.1

type WorkspaceSetting_StorageSetting struct {
	StorageSetting *WorkspaceStorageSetting `protobuf:"bytes,4,opt,name=storage_setting,json=storageSetting,proto3,oneof"`
}

type WorkspaceStorageSetting added in v0.21.1

type WorkspaceStorageSetting struct {

	// storage_type is the storage type.
	StorageType WorkspaceStorageSetting_StorageType `` /* 148-byte string literal not displayed */
	// The template of file path.
	// e.g. assets/{timestamp}_{filename}
	FilepathTemplate string `protobuf:"bytes,2,opt,name=filepath_template,json=filepathTemplate,proto3" json:"filepath_template,omitempty"`
	// The max upload size in megabytes.
	UploadSizeLimitMb int64 `protobuf:"varint,3,opt,name=upload_size_limit_mb,json=uploadSizeLimitMb,proto3" json:"upload_size_limit_mb,omitempty"`
	// The S3 config.
	S3Config *StorageS3Config `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkspaceStorageSetting) Descriptor deprecated added in v0.21.1

func (*WorkspaceStorageSetting) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceStorageSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceStorageSetting) GetFilepathTemplate added in v0.22.0

func (x *WorkspaceStorageSetting) GetFilepathTemplate() string

func (*WorkspaceStorageSetting) GetS3Config added in v0.22.0

func (x *WorkspaceStorageSetting) GetS3Config() *StorageS3Config

func (*WorkspaceStorageSetting) GetStorageType added in v0.21.1

func (*WorkspaceStorageSetting) GetUploadSizeLimitMb added in v0.21.1

func (x *WorkspaceStorageSetting) GetUploadSizeLimitMb() int64

func (*WorkspaceStorageSetting) ProtoMessage added in v0.21.1

func (*WorkspaceStorageSetting) ProtoMessage()

func (*WorkspaceStorageSetting) ProtoReflect added in v0.21.1

func (x *WorkspaceStorageSetting) ProtoReflect() protoreflect.Message

func (*WorkspaceStorageSetting) Reset added in v0.21.1

func (x *WorkspaceStorageSetting) Reset()

func (*WorkspaceStorageSetting) String added in v0.21.1

func (x *WorkspaceStorageSetting) String() string

type WorkspaceStorageSetting_StorageType added in v0.21.1

type WorkspaceStorageSetting_StorageType int32
const (
	WorkspaceStorageSetting_STORAGE_TYPE_UNSPECIFIED WorkspaceStorageSetting_StorageType = 0
	// STORAGE_TYPE_DATABASE is the database storage type.
	WorkspaceStorageSetting_DATABASE WorkspaceStorageSetting_StorageType = 1
	// STORAGE_TYPE_LOCAL is the local storage type.
	WorkspaceStorageSetting_LOCAL WorkspaceStorageSetting_StorageType = 2
	// STORAGE_TYPE_S3 is the S3 storage type.
	WorkspaceStorageSetting_S3 WorkspaceStorageSetting_StorageType = 3
)

func (WorkspaceStorageSetting_StorageType) Descriptor added in v0.21.1

func (WorkspaceStorageSetting_StorageType) Enum added in v0.21.1

func (WorkspaceStorageSetting_StorageType) EnumDescriptor deprecated added in v0.21.1

func (WorkspaceStorageSetting_StorageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WorkspaceStorageSetting_StorageType.Descriptor instead.

func (WorkspaceStorageSetting_StorageType) Number added in v0.21.1

func (WorkspaceStorageSetting_StorageType) String added in v0.21.1

func (WorkspaceStorageSetting_StorageType) Type added in v0.21.1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL