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 ActivityShorcutCreatePayload
- func (*ActivityShorcutCreatePayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityShorcutCreatePayload) GetShortcutId() int32
- func (*ActivityShorcutCreatePayload) ProtoMessage()
- func (x *ActivityShorcutCreatePayload) ProtoReflect() protoreflect.Message
- func (x *ActivityShorcutCreatePayload) Reset()
- func (x *ActivityShorcutCreatePayload) String() string
- type ActivityShorcutViewPayload
- func (*ActivityShorcutViewPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityShorcutViewPayload) GetIp() string
- func (x *ActivityShorcutViewPayload) GetReferer() string
- func (x *ActivityShorcutViewPayload) GetShortcutId() int32
- func (x *ActivityShorcutViewPayload) GetUserAgent() string
- func (*ActivityShorcutViewPayload) ProtoMessage()
- func (x *ActivityShorcutViewPayload) ProtoReflect() protoreflect.Message
- func (x *ActivityShorcutViewPayload) Reset()
- func (x *ActivityShorcutViewPayload) String() string
- type AutoBackupWorkspaceSetting
- func (*AutoBackupWorkspaceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *AutoBackupWorkspaceSetting) GetCronExpression() string
- func (x *AutoBackupWorkspaceSetting) GetEnabled() bool
- func (x *AutoBackupWorkspaceSetting) GetMaxKeep() int32
- func (*AutoBackupWorkspaceSetting) ProtoMessage()
- func (x *AutoBackupWorkspaceSetting) ProtoReflect() protoreflect.Message
- func (x *AutoBackupWorkspaceSetting) Reset()
- func (x *AutoBackupWorkspaceSetting) String() string
- type Collection
- func (*Collection) Descriptor() ([]byte, []int)deprecated
- func (x *Collection) GetCreatedTs() int64
- func (x *Collection) GetCreatorId() int32
- func (x *Collection) GetDescription() string
- func (x *Collection) GetId() int32
- func (x *Collection) GetName() string
- func (x *Collection) GetShortcutIds() []int32
- func (x *Collection) GetTitle() string
- func (x *Collection) GetUpdatedTs() int64
- func (x *Collection) GetVisibility() Visibility
- func (*Collection) ProtoMessage()
- func (x *Collection) ProtoReflect() protoreflect.Message
- func (x *Collection) Reset()
- func (x *Collection) String() string
- type ColorThemeUserSetting
- func (ColorThemeUserSetting) Descriptor() protoreflect.EnumDescriptor
- func (x ColorThemeUserSetting) Enum() *ColorThemeUserSetting
- func (ColorThemeUserSetting) EnumDescriptor() ([]byte, []int)deprecated
- func (x ColorThemeUserSetting) Number() protoreflect.EnumNumber
- func (x ColorThemeUserSetting) String() string
- func (ColorThemeUserSetting) Type() protoreflect.EnumType
- type LocaleUserSetting
- func (LocaleUserSetting) Descriptor() protoreflect.EnumDescriptor
- func (x LocaleUserSetting) Enum() *LocaleUserSetting
- func (LocaleUserSetting) EnumDescriptor() ([]byte, []int)deprecated
- func (x LocaleUserSetting) Number() protoreflect.EnumNumber
- func (x LocaleUserSetting) String() string
- func (LocaleUserSetting) Type() protoreflect.EnumType
- type OpenGraphMetadata
- func (*OpenGraphMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OpenGraphMetadata) GetDescription() string
- func (x *OpenGraphMetadata) GetImage() string
- func (x *OpenGraphMetadata) GetTitle() string
- func (*OpenGraphMetadata) ProtoMessage()
- func (x *OpenGraphMetadata) ProtoReflect() protoreflect.Message
- func (x *OpenGraphMetadata) Reset()
- func (x *OpenGraphMetadata) String() string
- type RowStatus
- type Shortcut
- func (*Shortcut) Descriptor() ([]byte, []int)deprecated
- func (x *Shortcut) GetCreatedTs() int64
- func (x *Shortcut) GetCreatorId() int32
- func (x *Shortcut) GetDescription() string
- func (x *Shortcut) GetId() int32
- func (x *Shortcut) GetLink() string
- func (x *Shortcut) GetName() string
- func (x *Shortcut) GetOgMetadata() *OpenGraphMetadata
- func (x *Shortcut) GetRowStatus() RowStatus
- func (x *Shortcut) GetTags() []string
- func (x *Shortcut) GetTitle() string
- func (x *Shortcut) GetUpdatedTs() int64
- func (x *Shortcut) GetVisibility() Visibility
- func (*Shortcut) ProtoMessage()
- func (x *Shortcut) ProtoReflect() protoreflect.Message
- func (x *Shortcut) Reset()
- func (x *Shortcut) String() string
- type UserSetting
- func (*UserSetting) Descriptor() ([]byte, []int)deprecated
- func (x *UserSetting) GetAccessTokens() *AccessTokensUserSetting
- func (x *UserSetting) GetColorTheme() ColorThemeUserSetting
- func (x *UserSetting) GetKey() UserSettingKey
- func (x *UserSetting) GetLocale() LocaleUserSetting
- 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_ColorTheme
- type UserSetting_Locale
- type Visibility
- type WorkspaceSetting
- func (*WorkspaceSetting) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceSetting) GetAutoBackup() *AutoBackupWorkspaceSetting
- func (x *WorkspaceSetting) GetCustomScript() string
- func (x *WorkspaceSetting) GetCustomStyle() string
- func (x *WorkspaceSetting) GetDefaultVisibility() Visibility
- func (x *WorkspaceSetting) GetEnableSignup() bool
- func (x *WorkspaceSetting) GetFaviconProvider() string
- func (x *WorkspaceSetting) GetInstanceUrl() string
- func (x *WorkspaceSetting) GetKey() WorkspaceSettingKey
- func (x *WorkspaceSetting) GetLicenseKey() string
- func (x *WorkspaceSetting) GetSecretSession() string
- func (m *WorkspaceSetting) GetValue() isWorkspaceSetting_Value
- func (*WorkspaceSetting) ProtoMessage()
- func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message
- func (x *WorkspaceSetting) Reset()
- func (x *WorkspaceSetting) String() string
- type WorkspaceSettingKey
- func (WorkspaceSettingKey) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceSettingKey) Enum() *WorkspaceSettingKey
- func (WorkspaceSettingKey) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceSettingKey) Number() protoreflect.EnumNumber
- func (x WorkspaceSettingKey) String() string
- func (WorkspaceSettingKey) Type() protoreflect.EnumType
- type WorkspaceSetting_AutoBackup
- type WorkspaceSetting_CustomScript
- type WorkspaceSetting_CustomStyle
- type WorkspaceSetting_DefaultVisibility
- type WorkspaceSetting_EnableSignup
- type WorkspaceSetting_FaviconProvider
- type WorkspaceSetting_InstanceUrl
- type WorkspaceSetting_LicenseKey
- type WorkspaceSetting_SecretSession
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 ( Visibility_name = map[int32]string{ 0: "VISIBILITY_UNSPECIFIED", 1: "PRIVATE", 2: "WORKSPACE", 3: "PUBLIC", } Visibility_value = map[string]int32{ "VISIBILITY_UNSPECIFIED": 0, "PRIVATE": 1, "WORKSPACE": 2, "PUBLIC": 3, } )
Enum value maps for Visibility.
var ( UserSettingKey_name = map[int32]string{ 0: "USER_SETTING_KEY_UNSPECIFIED", 1: "USER_SETTING_ACCESS_TOKENS", 2: "USER_SETTING_LOCALE", 3: "USER_SETTING_COLOR_THEME", } UserSettingKey_value = map[string]int32{ "USER_SETTING_KEY_UNSPECIFIED": 0, "USER_SETTING_ACCESS_TOKENS": 1, "USER_SETTING_LOCALE": 2, "USER_SETTING_COLOR_THEME": 3, } )
Enum value maps for UserSettingKey.
var ( LocaleUserSetting_name = map[int32]string{ 0: "LOCALE_USER_SETTING_UNSPECIFIED", 1: "LOCALE_USER_SETTING_EN", 2: "LOCALE_USER_SETTING_ZH", } LocaleUserSetting_value = map[string]int32{ "LOCALE_USER_SETTING_UNSPECIFIED": 0, "LOCALE_USER_SETTING_EN": 1, "LOCALE_USER_SETTING_ZH": 2, } )
Enum value maps for LocaleUserSetting.
var ( ColorThemeUserSetting_name = map[int32]string{ 0: "COLOR_THEME_USER_SETTING_UNSPECIFIED", 1: "COLOR_THEME_USER_SETTING_SYSTEM", 2: "COLOR_THEME_USER_SETTING_LIGHT", 3: "COLOR_THEME_USER_SETTING_DARK", } ColorThemeUserSetting_value = map[string]int32{ "COLOR_THEME_USER_SETTING_UNSPECIFIED": 0, "COLOR_THEME_USER_SETTING_SYSTEM": 1, "COLOR_THEME_USER_SETTING_LIGHT": 2, "COLOR_THEME_USER_SETTING_DARK": 3, } )
Enum value maps for ColorThemeUserSetting.
var ( WorkspaceSettingKey_name = map[int32]string{ 0: "WORKSPACE_SETTING_KEY_UNSPECIFIED", 1: "WORKSPACE_SETTING_LICENSE_KEY", 2: "WORKSPACE_SETTING_SECRET_SESSION", 3: "WORKSAPCE_SETTING_ENABLE_SIGNUP", 4: "WORKSPACE_SETTING_CUSTOM_STYLE", 5: "WORKSPACE_SETTING_CUSTOM_SCRIPT", 6: "WORKSPACE_SETTING_AUTO_BACKUP", 7: "WORKSPACE_SETTING_INSTANCE_URL", 8: "WORKSPACE_SETTING_DEFAULT_VISIBILITY", 9: "WORKSPACE_SETTING_FAVICON_PROVIDER", } WorkspaceSettingKey_value = map[string]int32{ "WORKSPACE_SETTING_KEY_UNSPECIFIED": 0, "WORKSPACE_SETTING_LICENSE_KEY": 1, "WORKSPACE_SETTING_SECRET_SESSION": 2, "WORKSAPCE_SETTING_ENABLE_SIGNUP": 3, "WORKSPACE_SETTING_CUSTOM_STYLE": 4, "WORKSPACE_SETTING_CUSTOM_SCRIPT": 5, "WORKSPACE_SETTING_AUTO_BACKUP": 6, "WORKSPACE_SETTING_INSTANCE_URL": 7, "WORKSPACE_SETTING_DEFAULT_VISIBILITY": 8, "WORKSPACE_SETTING_FAVICON_PROVIDER": 9, } )
Enum value maps for WorkspaceSettingKey.
var File_store_activity_proto protoreflect.FileDescriptor
var File_store_collection_proto protoreflect.FileDescriptor
var File_store_common_proto protoreflect.FileDescriptor
var File_store_shortcut_proto protoreflect.FileDescriptor
var File_store_user_setting_proto protoreflect.FileDescriptor
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 (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 ActivityShorcutCreatePayload ¶
type ActivityShorcutCreatePayload struct { ShortcutId int32 `protobuf:"varint,1,opt,name=shortcut_id,json=shortcutId,proto3" json:"shortcut_id,omitempty"` // contains filtered or unexported fields }
func (*ActivityShorcutCreatePayload) Descriptor
deprecated
func (*ActivityShorcutCreatePayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityShorcutCreatePayload.ProtoReflect.Descriptor instead.
func (*ActivityShorcutCreatePayload) GetShortcutId ¶
func (x *ActivityShorcutCreatePayload) GetShortcutId() int32
func (*ActivityShorcutCreatePayload) ProtoMessage ¶
func (*ActivityShorcutCreatePayload) ProtoMessage()
func (*ActivityShorcutCreatePayload) ProtoReflect ¶
func (x *ActivityShorcutCreatePayload) ProtoReflect() protoreflect.Message
func (*ActivityShorcutCreatePayload) Reset ¶
func (x *ActivityShorcutCreatePayload) Reset()
func (*ActivityShorcutCreatePayload) String ¶
func (x *ActivityShorcutCreatePayload) String() string
type ActivityShorcutViewPayload ¶
type ActivityShorcutViewPayload struct { ShortcutId int32 `protobuf:"varint,1,opt,name=shortcut_id,json=shortcutId,proto3" json:"shortcut_id,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Referer string `protobuf:"bytes,3,opt,name=referer,proto3" json:"referer,omitempty"` UserAgent string `protobuf:"bytes,4,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` // contains filtered or unexported fields }
func (*ActivityShorcutViewPayload) Descriptor
deprecated
func (*ActivityShorcutViewPayload) Descriptor() ([]byte, []int)
Deprecated: Use ActivityShorcutViewPayload.ProtoReflect.Descriptor instead.
func (*ActivityShorcutViewPayload) GetIp ¶
func (x *ActivityShorcutViewPayload) GetIp() string
func (*ActivityShorcutViewPayload) GetReferer ¶
func (x *ActivityShorcutViewPayload) GetReferer() string
func (*ActivityShorcutViewPayload) GetShortcutId ¶
func (x *ActivityShorcutViewPayload) GetShortcutId() int32
func (*ActivityShorcutViewPayload) GetUserAgent ¶
func (x *ActivityShorcutViewPayload) GetUserAgent() string
func (*ActivityShorcutViewPayload) ProtoMessage ¶
func (*ActivityShorcutViewPayload) ProtoMessage()
func (*ActivityShorcutViewPayload) ProtoReflect ¶
func (x *ActivityShorcutViewPayload) ProtoReflect() protoreflect.Message
func (*ActivityShorcutViewPayload) Reset ¶
func (x *ActivityShorcutViewPayload) Reset()
func (*ActivityShorcutViewPayload) String ¶
func (x *ActivityShorcutViewPayload) String() string
type AutoBackupWorkspaceSetting ¶
type AutoBackupWorkspaceSetting struct { // Whether auto backup is enabled. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The cron expression for auto backup. // For example, "0 0 0 * * *" means backup at 00:00:00 every day. // See https://en.wikipedia.org/wiki/Cron for more details. CronExpression string `protobuf:"bytes,2,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"` // 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 (*AutoBackupWorkspaceSetting) Descriptor
deprecated
func (*AutoBackupWorkspaceSetting) Descriptor() ([]byte, []int)
Deprecated: Use AutoBackupWorkspaceSetting.ProtoReflect.Descriptor instead.
func (*AutoBackupWorkspaceSetting) GetCronExpression ¶
func (x *AutoBackupWorkspaceSetting) GetCronExpression() string
func (*AutoBackupWorkspaceSetting) GetEnabled ¶
func (x *AutoBackupWorkspaceSetting) GetEnabled() bool
func (*AutoBackupWorkspaceSetting) GetMaxKeep ¶
func (x *AutoBackupWorkspaceSetting) GetMaxKeep() int32
func (*AutoBackupWorkspaceSetting) ProtoMessage ¶
func (*AutoBackupWorkspaceSetting) ProtoMessage()
func (*AutoBackupWorkspaceSetting) ProtoReflect ¶
func (x *AutoBackupWorkspaceSetting) ProtoReflect() protoreflect.Message
func (*AutoBackupWorkspaceSetting) Reset ¶
func (x *AutoBackupWorkspaceSetting) Reset()
func (*AutoBackupWorkspaceSetting) String ¶
func (x *AutoBackupWorkspaceSetting) String() string
type Collection ¶
type Collection struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` CreatedTs int64 `protobuf:"varint,3,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,4,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` ShortcutIds []int32 `protobuf:"varint,9,rep,packed,name=shortcut_ids,json=shortcutIds,proto3" json:"shortcut_ids,omitempty"` Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=slash.store.Visibility" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*Collection) Descriptor
deprecated
func (*Collection) Descriptor() ([]byte, []int)
Deprecated: Use Collection.ProtoReflect.Descriptor instead.
func (*Collection) GetCreatedTs ¶
func (x *Collection) GetCreatedTs() int64
func (*Collection) GetCreatorId ¶
func (x *Collection) GetCreatorId() int32
func (*Collection) GetDescription ¶
func (x *Collection) GetDescription() string
func (*Collection) GetId ¶
func (x *Collection) GetId() int32
func (*Collection) GetName ¶
func (x *Collection) GetName() string
func (*Collection) GetShortcutIds ¶
func (x *Collection) GetShortcutIds() []int32
func (*Collection) GetTitle ¶
func (x *Collection) GetTitle() string
func (*Collection) GetUpdatedTs ¶
func (x *Collection) GetUpdatedTs() int64
func (*Collection) GetVisibility ¶
func (x *Collection) GetVisibility() Visibility
func (*Collection) ProtoMessage ¶
func (*Collection) ProtoMessage()
func (*Collection) ProtoReflect ¶
func (x *Collection) ProtoReflect() protoreflect.Message
func (*Collection) Reset ¶
func (x *Collection) Reset()
func (*Collection) String ¶
func (x *Collection) String() string
type ColorThemeUserSetting ¶
type ColorThemeUserSetting int32
const ( ColorThemeUserSetting_COLOR_THEME_USER_SETTING_UNSPECIFIED ColorThemeUserSetting = 0 ColorThemeUserSetting_COLOR_THEME_USER_SETTING_SYSTEM ColorThemeUserSetting = 1 ColorThemeUserSetting_COLOR_THEME_USER_SETTING_LIGHT ColorThemeUserSetting = 2 ColorThemeUserSetting_COLOR_THEME_USER_SETTING_DARK ColorThemeUserSetting = 3 )
func (ColorThemeUserSetting) Descriptor ¶
func (ColorThemeUserSetting) Descriptor() protoreflect.EnumDescriptor
func (ColorThemeUserSetting) Enum ¶
func (x ColorThemeUserSetting) Enum() *ColorThemeUserSetting
func (ColorThemeUserSetting) EnumDescriptor
deprecated
func (ColorThemeUserSetting) EnumDescriptor() ([]byte, []int)
Deprecated: Use ColorThemeUserSetting.Descriptor instead.
func (ColorThemeUserSetting) Number ¶
func (x ColorThemeUserSetting) Number() protoreflect.EnumNumber
func (ColorThemeUserSetting) String ¶
func (x ColorThemeUserSetting) String() string
func (ColorThemeUserSetting) Type ¶
func (ColorThemeUserSetting) Type() protoreflect.EnumType
type LocaleUserSetting ¶
type LocaleUserSetting int32
const ( LocaleUserSetting_LOCALE_USER_SETTING_UNSPECIFIED LocaleUserSetting = 0 LocaleUserSetting_LOCALE_USER_SETTING_EN LocaleUserSetting = 1 LocaleUserSetting_LOCALE_USER_SETTING_ZH LocaleUserSetting = 2 )
func (LocaleUserSetting) Descriptor ¶
func (LocaleUserSetting) Descriptor() protoreflect.EnumDescriptor
func (LocaleUserSetting) Enum ¶
func (x LocaleUserSetting) Enum() *LocaleUserSetting
func (LocaleUserSetting) EnumDescriptor
deprecated
func (LocaleUserSetting) EnumDescriptor() ([]byte, []int)
Deprecated: Use LocaleUserSetting.Descriptor instead.
func (LocaleUserSetting) Number ¶
func (x LocaleUserSetting) Number() protoreflect.EnumNumber
func (LocaleUserSetting) String ¶
func (x LocaleUserSetting) String() string
func (LocaleUserSetting) Type ¶
func (LocaleUserSetting) Type() protoreflect.EnumType
type OpenGraphMetadata ¶
type OpenGraphMetadata 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"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*OpenGraphMetadata) Descriptor
deprecated
func (*OpenGraphMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OpenGraphMetadata.ProtoReflect.Descriptor instead.
func (*OpenGraphMetadata) GetDescription ¶
func (x *OpenGraphMetadata) GetDescription() string
func (*OpenGraphMetadata) GetImage ¶
func (x *OpenGraphMetadata) GetImage() string
func (*OpenGraphMetadata) GetTitle ¶
func (x *OpenGraphMetadata) GetTitle() string
func (*OpenGraphMetadata) ProtoMessage ¶
func (*OpenGraphMetadata) ProtoMessage()
func (*OpenGraphMetadata) ProtoReflect ¶
func (x *OpenGraphMetadata) ProtoReflect() protoreflect.Message
func (*OpenGraphMetadata) Reset ¶
func (x *OpenGraphMetadata) Reset()
func (*OpenGraphMetadata) String ¶
func (x *OpenGraphMetadata) String() string
type RowStatus ¶
type RowStatus int32
func (RowStatus) Descriptor ¶
func (RowStatus) Descriptor() protoreflect.EnumDescriptor
func (RowStatus) EnumDescriptor
deprecated
func (RowStatus) Number ¶
func (x RowStatus) Number() protoreflect.EnumNumber
func (RowStatus) Type ¶
func (RowStatus) Type() protoreflect.EnumType
type Shortcut ¶
type Shortcut struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` CreatedTs int64 `protobuf:"varint,3,opt,name=created_ts,json=createdTs,proto3" json:"created_ts,omitempty"` UpdatedTs int64 `protobuf:"varint,4,opt,name=updated_ts,json=updatedTs,proto3" json:"updated_ts,omitempty"` RowStatus RowStatus `protobuf:"varint,5,opt,name=row_status,json=rowStatus,proto3,enum=slash.store.RowStatus" json:"row_status,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"` Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` Visibility Visibility `protobuf:"varint,11,opt,name=visibility,proto3,enum=slash.store.Visibility" json:"visibility,omitempty"` OgMetadata *OpenGraphMetadata `protobuf:"bytes,12,opt,name=og_metadata,json=ogMetadata,proto3" json:"og_metadata,omitempty"` // contains filtered or unexported fields }
func (*Shortcut) Descriptor
deprecated
func (*Shortcut) GetCreatedTs ¶
func (*Shortcut) GetCreatorId ¶
func (*Shortcut) GetDescription ¶
func (*Shortcut) GetOgMetadata ¶
func (x *Shortcut) GetOgMetadata() *OpenGraphMetadata
func (*Shortcut) GetRowStatus ¶
func (*Shortcut) GetUpdatedTs ¶
func (*Shortcut) GetVisibility ¶
func (x *Shortcut) GetVisibility() Visibility
func (*Shortcut) ProtoMessage ¶
func (*Shortcut) ProtoMessage()
func (*Shortcut) ProtoReflect ¶
func (x *Shortcut) ProtoReflect() protoreflect.Message
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=slash.store.UserSettingKey" json:"key,omitempty"` // Types that are assignable to Value: // // *UserSetting_AccessTokens // *UserSetting_Locale // *UserSetting_ColorTheme 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) GetColorTheme ¶
func (x *UserSetting) GetColorTheme() ColorThemeUserSetting
func (*UserSetting) GetKey ¶
func (x *UserSetting) GetKey() UserSettingKey
func (*UserSetting) GetLocale ¶
func (x *UserSetting) GetLocale() LocaleUserSetting
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 // Locale for the user. UserSettingKey_USER_SETTING_LOCALE UserSettingKey = 2 // Color theme for the user. UserSettingKey_USER_SETTING_COLOR_THEME UserSettingKey = 3 )
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_ColorTheme ¶
type UserSetting_ColorTheme struct {
ColorTheme ColorThemeUserSetting `protobuf:"varint,5,opt,name=color_theme,json=colorTheme,proto3,enum=slash.store.ColorThemeUserSetting,oneof"`
}
type UserSetting_Locale ¶
type UserSetting_Locale struct {
Locale LocaleUserSetting `protobuf:"varint,4,opt,name=locale,proto3,enum=slash.store.LocaleUserSetting,oneof"`
}
type Visibility ¶
type Visibility int32
const ( Visibility_VISIBILITY_UNSPECIFIED Visibility = 0 Visibility_PRIVATE Visibility = 1 Visibility_WORKSPACE Visibility = 2 Visibility_PUBLIC Visibility = 3 )
func (Visibility) Descriptor ¶
func (Visibility) Descriptor() protoreflect.EnumDescriptor
func (Visibility) Enum ¶
func (x Visibility) Enum() *Visibility
func (Visibility) EnumDescriptor
deprecated
func (Visibility) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility.Descriptor instead.
func (Visibility) Number ¶
func (x Visibility) Number() protoreflect.EnumNumber
func (Visibility) String ¶
func (x Visibility) String() string
func (Visibility) Type ¶
func (Visibility) Type() protoreflect.EnumType
type WorkspaceSetting ¶
type WorkspaceSetting struct { Key WorkspaceSettingKey `protobuf:"varint,1,opt,name=key,proto3,enum=slash.store.WorkspaceSettingKey" json:"key,omitempty"` // Types that are assignable to Value: // // *WorkspaceSetting_LicenseKey // *WorkspaceSetting_SecretSession // *WorkspaceSetting_EnableSignup // *WorkspaceSetting_CustomStyle // *WorkspaceSetting_CustomScript // *WorkspaceSetting_AutoBackup // *WorkspaceSetting_InstanceUrl // *WorkspaceSetting_DefaultVisibility // *WorkspaceSetting_FaviconProvider Value isWorkspaceSetting_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*WorkspaceSetting) Descriptor
deprecated
func (*WorkspaceSetting) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceSetting.ProtoReflect.Descriptor instead.
func (*WorkspaceSetting) GetAutoBackup ¶
func (x *WorkspaceSetting) GetAutoBackup() *AutoBackupWorkspaceSetting
func (*WorkspaceSetting) GetCustomScript ¶
func (x *WorkspaceSetting) GetCustomScript() string
func (*WorkspaceSetting) GetCustomStyle ¶
func (x *WorkspaceSetting) GetCustomStyle() string
func (*WorkspaceSetting) GetDefaultVisibility ¶ added in v1.0.0
func (x *WorkspaceSetting) GetDefaultVisibility() Visibility
func (*WorkspaceSetting) GetEnableSignup ¶
func (x *WorkspaceSetting) GetEnableSignup() bool
func (*WorkspaceSetting) GetFaviconProvider ¶ added in v1.0.0
func (x *WorkspaceSetting) GetFaviconProvider() string
func (*WorkspaceSetting) GetInstanceUrl ¶
func (x *WorkspaceSetting) GetInstanceUrl() string
func (*WorkspaceSetting) GetKey ¶
func (x *WorkspaceSetting) GetKey() WorkspaceSettingKey
func (*WorkspaceSetting) GetLicenseKey ¶
func (x *WorkspaceSetting) GetLicenseKey() string
func (*WorkspaceSetting) GetSecretSession ¶
func (x *WorkspaceSetting) GetSecretSession() string
func (*WorkspaceSetting) GetValue ¶
func (m *WorkspaceSetting) GetValue() isWorkspaceSetting_Value
func (*WorkspaceSetting) ProtoMessage ¶
func (*WorkspaceSetting) ProtoMessage()
func (*WorkspaceSetting) ProtoReflect ¶
func (x *WorkspaceSetting) ProtoReflect() protoreflect.Message
func (*WorkspaceSetting) Reset ¶
func (x *WorkspaceSetting) Reset()
func (*WorkspaceSetting) String ¶
func (x *WorkspaceSetting) String() string
type WorkspaceSettingKey ¶
type WorkspaceSettingKey int32
const ( WorkspaceSettingKey_WORKSPACE_SETTING_KEY_UNSPECIFIED WorkspaceSettingKey = 0 // The license key. WorkspaceSettingKey_WORKSPACE_SETTING_LICENSE_KEY WorkspaceSettingKey = 1 // The secret session key used to encrypt session data. WorkspaceSettingKey_WORKSPACE_SETTING_SECRET_SESSION WorkspaceSettingKey = 2 // Whether to enable other users to sign up. WorkspaceSettingKey_WORKSAPCE_SETTING_ENABLE_SIGNUP WorkspaceSettingKey = 3 // The custom style. WorkspaceSettingKey_WORKSPACE_SETTING_CUSTOM_STYLE WorkspaceSettingKey = 4 // The custom script. WorkspaceSettingKey_WORKSPACE_SETTING_CUSTOM_SCRIPT WorkspaceSettingKey = 5 // The auto backup setting. WorkspaceSettingKey_WORKSPACE_SETTING_AUTO_BACKUP WorkspaceSettingKey = 6 // The instance URL. WorkspaceSettingKey_WORKSPACE_SETTING_INSTANCE_URL WorkspaceSettingKey = 7 // The default visibility of shortcuts and collections. WorkspaceSettingKey_WORKSPACE_SETTING_DEFAULT_VISIBILITY WorkspaceSettingKey = 8 // The url of custom favicon provider. WorkspaceSettingKey_WORKSPACE_SETTING_FAVICON_PROVIDER WorkspaceSettingKey = 9 )
func (WorkspaceSettingKey) Descriptor ¶
func (WorkspaceSettingKey) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceSettingKey) Enum ¶
func (x WorkspaceSettingKey) Enum() *WorkspaceSettingKey
func (WorkspaceSettingKey) EnumDescriptor
deprecated
func (WorkspaceSettingKey) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceSettingKey.Descriptor instead.
func (WorkspaceSettingKey) Number ¶
func (x WorkspaceSettingKey) Number() protoreflect.EnumNumber
func (WorkspaceSettingKey) String ¶
func (x WorkspaceSettingKey) String() string
func (WorkspaceSettingKey) Type ¶
func (WorkspaceSettingKey) Type() protoreflect.EnumType
type WorkspaceSetting_AutoBackup ¶
type WorkspaceSetting_AutoBackup struct { // The auto backup setting. (Unimplemented) AutoBackup *AutoBackupWorkspaceSetting `protobuf:"bytes,7,opt,name=auto_backup,json=autoBackup,proto3,oneof"` }
type WorkspaceSetting_CustomScript ¶
type WorkspaceSetting_CustomScript struct { // The custom script. CustomScript string `protobuf:"bytes,6,opt,name=custom_script,json=customScript,proto3,oneof"` }
type WorkspaceSetting_CustomStyle ¶
type WorkspaceSetting_CustomStyle struct { // The custom style. CustomStyle string `protobuf:"bytes,5,opt,name=custom_style,json=customStyle,proto3,oneof"` }
type WorkspaceSetting_DefaultVisibility ¶ added in v1.0.0
type WorkspaceSetting_DefaultVisibility struct { // The default visibility of shortcuts and collections. DefaultVisibility Visibility `protobuf:"varint,9,opt,name=default_visibility,json=defaultVisibility,proto3,enum=slash.store.Visibility,oneof"` }
type WorkspaceSetting_EnableSignup ¶
type WorkspaceSetting_EnableSignup struct { // Whether to enable other users to sign up. EnableSignup bool `protobuf:"varint,4,opt,name=enable_signup,json=enableSignup,proto3,oneof"` }
type WorkspaceSetting_FaviconProvider ¶ added in v1.0.0
type WorkspaceSetting_FaviconProvider struct { // The url of custom favicon provider. e.g. https://github.com/yourselfhosted/favicons FaviconProvider string `protobuf:"bytes,10,opt,name=favicon_provider,json=faviconProvider,proto3,oneof"` }
type WorkspaceSetting_InstanceUrl ¶
type WorkspaceSetting_InstanceUrl struct { // The instance URL of workspace. InstanceUrl string `protobuf:"bytes,8,opt,name=instance_url,json=instanceUrl,proto3,oneof"` }
type WorkspaceSetting_LicenseKey ¶
type WorkspaceSetting_LicenseKey struct { // The license key of workspace. LicenseKey string `protobuf:"bytes,2,opt,name=license_key,json=licenseKey,proto3,oneof"` }
type WorkspaceSetting_SecretSession ¶
type WorkspaceSetting_SecretSession struct { // The secret session key used to encrypt session data. SecretSession string `protobuf:"bytes,3,opt,name=secret_session,json=secretSession,proto3,oneof"` }