Documentation
¶
Index ¶
- Variables
- type AccessTokensUserSetting
- func (*AccessTokensUserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokensUserSetting) GetAccessTokens() []*AccessTokensUserSetting_AccessToken
- func (*AccessTokensUserSetting) ProtoMessage()
- func (x *AccessTokensUserSetting) ProtoReflect() protoreflect.Message
- func (x *AccessTokensUserSetting) Reset()
- func (x *AccessTokensUserSetting) String() string
- type AccessTokensUserSetting_AccessToken
- func (*AccessTokensUserSetting_AccessToken) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTokensUserSetting_AccessToken) GetAccessToken() string
- func (x *AccessTokensUserSetting_AccessToken) GetDescription() string
- func (*AccessTokensUserSetting_AccessToken) ProtoMessage()
- func (x *AccessTokensUserSetting_AccessToken) ProtoReflect() protoreflect.Message
- func (x *AccessTokensUserSetting_AccessToken) Reset()
- func (x *AccessTokensUserSetting_AccessToken) String() string
- type ActivityMemoCommentPayload
- func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityMemoCommentPayload) GetMemoId() int32
- func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32
- func (*ActivityMemoCommentPayload) ProtoMessage()
- func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityMemoCommentPayload) Reset()
- func (x *ActivityMemoCommentPayload) String() string
- type ActivityPayload
- func (*ActivityPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload
- func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload
- func (*ActivityPayload) ProtoMessage()
- func (x *ActivityPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityPayload) Reset()
- func (x *ActivityPayload) String() string
- type ActivityVersionUpdatePayload
- func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityVersionUpdatePayload) GetVersion() string
- func (*ActivityVersionUpdatePayload) ProtoMessage()
- func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
- func (x *ActivityVersionUpdatePayload) Reset()
- func (x *ActivityVersionUpdatePayload) String() string
- type BackupConfig
- func (*BackupConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BackupConfig) GetCron() string
- func (x *BackupConfig) GetEnabled() bool
- func (x *BackupConfig) GetMaxKeep() int32
- func (*BackupConfig) ProtoMessage()
- func (x *BackupConfig) ProtoReflect() protoreflect.Message
- func (x *BackupConfig) Reset()
- func (x *BackupConfig) String() string
- type InboxMessage
- func (*InboxMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InboxMessage) GetActivityId() int32
- func (x *InboxMessage) GetType() InboxMessage_Type
- func (*InboxMessage) ProtoMessage()
- func (x *InboxMessage) ProtoReflect() protoreflect.Message
- func (x *InboxMessage) Reset()
- func (x *InboxMessage) String() string
- type InboxMessage_Type
- func (InboxMessage_Type) Descriptor() protoreflect.EnumDescriptor
- func (x InboxMessage_Type) Enum() *InboxMessage_Type
- func (InboxMessage_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboxMessage_Type) Number() protoreflect.EnumNumber
- func (x InboxMessage_Type) String() string
- func (InboxMessage_Type) Type() protoreflect.EnumType
- type RowStatus
- type SystemSettingKey
- func (SystemSettingKey) Descriptor() protoreflect.EnumDescriptor
- func (x SystemSettingKey) Enum() *SystemSettingKey
- func (SystemSettingKey) EnumDescriptor() ([]byte, []int)deprecated
- func (x SystemSettingKey) Number() protoreflect.EnumNumber
- func (x SystemSettingKey) String() string
- func (SystemSettingKey) Type() protoreflect.EnumType
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetAccessTokens() *AccessTokensUserSetting
- func (x *UserSetting) GetAppearance() string
- func (x *UserSetting) GetKey() UserSettingKey
- func (x *UserSetting) GetLocale() string
- func (x *UserSetting) GetMemoVisibility() string
- func (x *UserSetting) GetTelegramUserId() string
- func (x *UserSetting) GetUserId() int32
- func (m *UserSetting) GetValue() isUserSetting_Value
- func (*UserSetting) ProtoMessage()
- func (x *UserSetting) ProtoReflect() protoreflect.Message
- func (x *UserSetting) Reset()
- func (x *UserSetting) String() string
- type UserSettingKey
- func (UserSettingKey) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettingKey) Enum() *UserSettingKey
- func (UserSettingKey) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettingKey) Number() protoreflect.EnumNumber
- func (x UserSettingKey) String() string
- func (UserSettingKey) Type() protoreflect.EnumType
- type UserSetting_AccessTokens
- type UserSetting_Appearance
- type UserSetting_Locale
- type UserSetting_MemoVisibility
- type UserSetting_TelegramUserId
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook) GetCreatedTs() int64
- func (x *Webhook) GetCreatorId() int32
- func (x *Webhook) GetId() int32
- func (x *Webhook) GetName() string
- func (x *Webhook) GetRowStatus() RowStatus
- func (x *Webhook) GetUpdatedTs() int64
- func (x *Webhook) GetUrl() string
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
Constants ¶
This section is empty.
Variables ¶
var ( RowStatus_name = map[int32]string{ 0: "ROW_STATUS_UNSPECIFIED", 1: "NORMAL", 2: "ARCHIVED", } RowStatus_value = map[string]int32{ "ROW_STATUS_UNSPECIFIED": 0, "NORMAL": 1, "ARCHIVED": 2, } )
Enum value maps for RowStatus.
var ( InboxMessage_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_MEMO_COMMENT", 2: "TYPE_VERSION_UPDATE", } InboxMessage_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_MEMO_COMMENT": 1, "TYPE_VERSION_UPDATE": 2, } )
Enum value maps for InboxMessage_Type.
var ( SystemSettingKey_name = map[int32]string{ 0: "SYSTEM_SETTING_KEY_UNSPECIFIED", 1: "BACKUP_CONFIG", } SystemSettingKey_value = map[string]int32{ "SYSTEM_SETTING_KEY_UNSPECIFIED": 0, "BACKUP_CONFIG": 1, } )
Enum value maps for SystemSettingKey.
var ( UserSettingKey_name = map[int32]string{ 0: "USER_SETTING_KEY_UNSPECIFIED", 1: "USER_SETTING_ACCESS_TOKENS", 2: "USER_SETTING_LOCALE", 3: "USER_SETTING_APPEARANCE", 4: "USER_SETTING_MEMO_VISIBILITY", 5: "USER_SETTING_TELEGRAM_USER_ID", } UserSettingKey_value = map[string]int32{ "USER_SETTING_KEY_UNSPECIFIED": 0, "USER_SETTING_ACCESS_TOKENS": 1, "USER_SETTING_LOCALE": 2, "USER_SETTING_APPEARANCE": 3, "USER_SETTING_MEMO_VISIBILITY": 4, "USER_SETTING_TELEGRAM_USER_ID": 5, } )
Enum value maps for UserSettingKey.
var File_store_activity_proto protoreflect.FileDescriptor
var File_store_common_proto protoreflect.FileDescriptor
var File_store_inbox_proto protoreflect.FileDescriptor
var File_store_system_setting_proto protoreflect.FileDescriptor
var File_store_user_setting_proto protoreflect.FileDescriptor
var File_store_webhook_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 (x *AccessTokensUserSetting) GetAccessTokens() []*AccessTokensUserSetting_AccessToken
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 (x *AccessTokensUserSetting_AccessToken) ProtoReflect() protoreflect.Message
func (*AccessTokensUserSetting_AccessToken) Reset ¶
func (x *AccessTokensUserSetting_AccessToken) Reset()
func (*AccessTokensUserSetting_AccessToken) String ¶
func (x *AccessTokensUserSetting_AccessToken) String() 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 (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message
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 (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message
func (*ActivityVersionUpdatePayload) Reset ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) Reset()
func (*ActivityVersionUpdatePayload) String ¶ added in v0.17.1
func (x *ActivityVersionUpdatePayload) String() string
type BackupConfig ¶
type BackupConfig struct { // enabled indicates whether backup is enabled. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // cron is the cron expression for backup. See https://godoc.org/github.com/robfig/cron#hdr-CRON_Expression_Format Cron string `protobuf:"bytes,2,opt,name=cron,proto3" json:"cron,omitempty"` // max_keep is the maximum number of backups to keep. MaxKeep int32 `protobuf:"varint,3,opt,name=max_keep,json=maxKeep,proto3" json:"max_keep,omitempty"` // contains filtered or unexported fields }
func (*BackupConfig) Descriptor
deprecated
func (*BackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use BackupConfig.ProtoReflect.Descriptor instead.
func (*BackupConfig) GetCron ¶
func (x *BackupConfig) GetCron() string
func (*BackupConfig) GetEnabled ¶
func (x *BackupConfig) GetEnabled() bool
func (*BackupConfig) GetMaxKeep ¶
func (x *BackupConfig) GetMaxKeep() int32
func (*BackupConfig) ProtoMessage ¶
func (*BackupConfig) ProtoMessage()
func (*BackupConfig) ProtoReflect ¶
func (x *BackupConfig) ProtoReflect() protoreflect.Message
func (*BackupConfig) Reset ¶
func (x *BackupConfig) Reset()
func (*BackupConfig) String ¶
func (x *BackupConfig) String() string
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_TYPE_MEMO_COMMENT InboxMessage_Type = 1 InboxMessage_TYPE_VERSION_UPDATE InboxMessage_Type = 2 )
func (InboxMessage_Type) Descriptor ¶ added in v0.17.0
func (InboxMessage_Type) Descriptor() protoreflect.EnumDescriptor
func (InboxMessage_Type) Enum ¶ added in v0.17.0
func (x InboxMessage_Type) Enum() *InboxMessage_Type
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 (x InboxMessage_Type) Number() protoreflect.EnumNumber
func (InboxMessage_Type) String ¶ added in v0.17.0
func (x InboxMessage_Type) String() string
func (InboxMessage_Type) Type ¶ added in v0.17.0
func (InboxMessage_Type) Type() protoreflect.EnumType
type RowStatus ¶ added in v0.18.0
type RowStatus int32
func (RowStatus) Descriptor ¶ added in v0.18.0
func (RowStatus) Descriptor() protoreflect.EnumDescriptor
func (RowStatus) EnumDescriptor
deprecated
added in
v0.18.0
func (RowStatus) Number ¶ added in v0.18.0
func (x RowStatus) Number() protoreflect.EnumNumber
func (RowStatus) Type ¶ added in v0.18.0
func (RowStatus) Type() protoreflect.EnumType
type SystemSettingKey ¶
type SystemSettingKey int32
const ( SystemSettingKey_SYSTEM_SETTING_KEY_UNSPECIFIED SystemSettingKey = 0 // BackupConfig is the key for auto-backup configuration. SystemSettingKey_BACKUP_CONFIG SystemSettingKey = 1 )
func (SystemSettingKey) Descriptor ¶
func (SystemSettingKey) Descriptor() protoreflect.EnumDescriptor
func (SystemSettingKey) Enum ¶
func (x SystemSettingKey) Enum() *SystemSettingKey
func (SystemSettingKey) EnumDescriptor
deprecated
func (SystemSettingKey) EnumDescriptor() ([]byte, []int)
Deprecated: Use SystemSettingKey.Descriptor instead.
func (SystemSettingKey) Number ¶
func (x SystemSettingKey) Number() protoreflect.EnumNumber
func (SystemSettingKey) String ¶
func (x SystemSettingKey) String() string
func (SystemSettingKey) Type ¶
func (SystemSettingKey) Type() protoreflect.EnumType
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 // *UserSetting_TelegramUserId 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) GetTelegramUserId ¶ added in v0.18.0
func (x *UserSetting) GetTelegramUserId() 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_USER_SETTING_ACCESS_TOKENS UserSettingKey = 1 // The locale of the user. UserSettingKey_USER_SETTING_LOCALE UserSettingKey = 2 // The appearance of the user. UserSettingKey_USER_SETTING_APPEARANCE UserSettingKey = 3 // The visibility of the memo. UserSettingKey_USER_SETTING_MEMO_VISIBILITY UserSettingKey = 4 // The telegram user id of the user. UserSettingKey_USER_SETTING_TELEGRAM_USER_ID UserSettingKey = 5 )
func (UserSettingKey) Descriptor ¶
func (UserSettingKey) Descriptor() protoreflect.EnumDescriptor
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 (x UserSettingKey) Number() protoreflect.EnumNumber
func (UserSettingKey) String ¶
func (x UserSettingKey) String() string
func (UserSettingKey) Type ¶
func (UserSettingKey) Type() protoreflect.EnumType
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 UserSetting_TelegramUserId ¶ added in v0.18.0
type UserSetting_TelegramUserId struct {
TelegramUserId string `protobuf:"bytes,7,opt,name=telegram_user_id,json=telegramUserId,proto3,oneof"`
}
type Webhook ¶ added in v0.18.0
type Webhook struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatedTs int64 `protobuf:"varint,2,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,3,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` CreatorId int32 `protobuf:"varint,4,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` RowStatus RowStatus `protobuf:"varint,5,opt,name=row_status,json=rowStatus,proto3,enum=memos.store.RowStatus" json:"row_status,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*Webhook) Descriptor
deprecated
added in
v0.18.0
func (*Webhook) GetCreatedTs ¶ added in v0.18.0
func (*Webhook) GetCreatorId ¶ added in v0.18.0
func (*Webhook) GetRowStatus ¶ added in v0.18.0
func (*Webhook) GetUpdatedTs ¶ added in v0.18.0
func (*Webhook) ProtoMessage ¶ added in v0.18.0
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶ added in v0.18.0
func (x *Webhook) ProtoReflect() protoreflect.Message