mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: move tags from property to payload (#4229)
* refactor: move tags from property to payload * chore: fix tests * chore: drop memo tags * chore: update --------- Co-authored-by: Steven <stevenlgtm@gmail.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.2
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc (unknown)
|
||||
// source: api/v1/markdown_service.proto
|
||||
|
||||
@ -212,11 +212,10 @@ func (ListNode_Kind) EnumDescriptor() ([]byte, []int) {
|
||||
}
|
||||
|
||||
type ParseMarkdownRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ParseMarkdownRequest) Reset() {
|
||||
@ -257,11 +256,10 @@ func (x *ParseMarkdownRequest) GetMarkdown() string {
|
||||
}
|
||||
|
||||
type ParseMarkdownResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ParseMarkdownResponse) Reset() {
|
||||
@ -302,11 +300,10 @@ func (x *ParseMarkdownResponse) GetNodes() []*Node {
|
||||
}
|
||||
|
||||
type RestoreMarkdownNodesRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RestoreMarkdownNodesRequest) Reset() {
|
||||
@ -347,11 +344,10 @@ func (x *RestoreMarkdownNodesRequest) GetNodes() []*Node {
|
||||
}
|
||||
|
||||
type RestoreMarkdownNodesResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RestoreMarkdownNodesResponse) Reset() {
|
||||
@ -392,11 +388,10 @@ func (x *RestoreMarkdownNodesResponse) GetMarkdown() string {
|
||||
}
|
||||
|
||||
type StringifyMarkdownNodesRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StringifyMarkdownNodesRequest) Reset() {
|
||||
@ -437,11 +432,10 @@ func (x *StringifyMarkdownNodesRequest) GetNodes() []*Node {
|
||||
}
|
||||
|
||||
type StringifyMarkdownNodesResponse struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
PlainText string `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
PlainText string `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StringifyMarkdownNodesResponse) Reset() {
|
||||
@ -482,11 +476,10 @@ func (x *StringifyMarkdownNodesResponse) GetPlainText() string {
|
||||
}
|
||||
|
||||
type GetLinkMetadataRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetLinkMetadataRequest) Reset() {
|
||||
@ -527,13 +520,12 @@ func (x *GetLinkMetadataRequest) GetLink() string {
|
||||
}
|
||||
|
||||
type LinkMetadata struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
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"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
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"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *LinkMetadata) Reset() {
|
||||
@ -588,12 +580,9 @@ func (x *LinkMetadata) GetImage() string {
|
||||
}
|
||||
|
||||
type Node struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Type NodeType `protobuf:"varint,1,opt,name=type,proto3,enum=memos.api.v1.NodeType" json:"type,omitempty"`
|
||||
// Types that are assignable to Node:
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Type NodeType `protobuf:"varint,1,opt,name=type,proto3,enum=memos.api.v1.NodeType" json:"type,omitempty"`
|
||||
// Types that are valid to be assigned to Node:
|
||||
//
|
||||
// *Node_LineBreakNode
|
||||
// *Node_ParagraphNode
|
||||
@ -626,7 +615,9 @@ type Node struct {
|
||||
// *Node_ReferencedContentNode
|
||||
// *Node_SpoilerNode
|
||||
// *Node_HtmlElementNode
|
||||
Node isNode_Node `protobuf_oneof:"node"`
|
||||
Node isNode_Node `protobuf_oneof:"node"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *Node) Reset() {
|
||||
@ -666,226 +657,288 @@ func (x *Node) GetType() NodeType {
|
||||
return NodeType_NODE_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *Node) GetNode() isNode_Node {
|
||||
if m != nil {
|
||||
return m.Node
|
||||
func (x *Node) GetNode() isNode_Node {
|
||||
if x != nil {
|
||||
return x.Node
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetLineBreakNode() *LineBreakNode {
|
||||
if x, ok := x.GetNode().(*Node_LineBreakNode); ok {
|
||||
return x.LineBreakNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_LineBreakNode); ok {
|
||||
return x.LineBreakNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetParagraphNode() *ParagraphNode {
|
||||
if x, ok := x.GetNode().(*Node_ParagraphNode); ok {
|
||||
return x.ParagraphNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_ParagraphNode); ok {
|
||||
return x.ParagraphNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetCodeBlockNode() *CodeBlockNode {
|
||||
if x, ok := x.GetNode().(*Node_CodeBlockNode); ok {
|
||||
return x.CodeBlockNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_CodeBlockNode); ok {
|
||||
return x.CodeBlockNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetHeadingNode() *HeadingNode {
|
||||
if x, ok := x.GetNode().(*Node_HeadingNode); ok {
|
||||
return x.HeadingNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_HeadingNode); ok {
|
||||
return x.HeadingNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetHorizontalRuleNode() *HorizontalRuleNode {
|
||||
if x, ok := x.GetNode().(*Node_HorizontalRuleNode); ok {
|
||||
return x.HorizontalRuleNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_HorizontalRuleNode); ok {
|
||||
return x.HorizontalRuleNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetBlockquoteNode() *BlockquoteNode {
|
||||
if x, ok := x.GetNode().(*Node_BlockquoteNode); ok {
|
||||
return x.BlockquoteNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_BlockquoteNode); ok {
|
||||
return x.BlockquoteNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetListNode() *ListNode {
|
||||
if x, ok := x.GetNode().(*Node_ListNode); ok {
|
||||
return x.ListNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_ListNode); ok {
|
||||
return x.ListNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetOrderedListItemNode() *OrderedListItemNode {
|
||||
if x, ok := x.GetNode().(*Node_OrderedListItemNode); ok {
|
||||
return x.OrderedListItemNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_OrderedListItemNode); ok {
|
||||
return x.OrderedListItemNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetUnorderedListItemNode() *UnorderedListItemNode {
|
||||
if x, ok := x.GetNode().(*Node_UnorderedListItemNode); ok {
|
||||
return x.UnorderedListItemNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_UnorderedListItemNode); ok {
|
||||
return x.UnorderedListItemNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetTaskListItemNode() *TaskListItemNode {
|
||||
if x, ok := x.GetNode().(*Node_TaskListItemNode); ok {
|
||||
return x.TaskListItemNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_TaskListItemNode); ok {
|
||||
return x.TaskListItemNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetMathBlockNode() *MathBlockNode {
|
||||
if x, ok := x.GetNode().(*Node_MathBlockNode); ok {
|
||||
return x.MathBlockNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_MathBlockNode); ok {
|
||||
return x.MathBlockNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetTableNode() *TableNode {
|
||||
if x, ok := x.GetNode().(*Node_TableNode); ok {
|
||||
return x.TableNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_TableNode); ok {
|
||||
return x.TableNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetEmbeddedContentNode() *EmbeddedContentNode {
|
||||
if x, ok := x.GetNode().(*Node_EmbeddedContentNode); ok {
|
||||
return x.EmbeddedContentNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_EmbeddedContentNode); ok {
|
||||
return x.EmbeddedContentNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetTextNode() *TextNode {
|
||||
if x, ok := x.GetNode().(*Node_TextNode); ok {
|
||||
return x.TextNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_TextNode); ok {
|
||||
return x.TextNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetBoldNode() *BoldNode {
|
||||
if x, ok := x.GetNode().(*Node_BoldNode); ok {
|
||||
return x.BoldNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_BoldNode); ok {
|
||||
return x.BoldNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetItalicNode() *ItalicNode {
|
||||
if x, ok := x.GetNode().(*Node_ItalicNode); ok {
|
||||
return x.ItalicNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_ItalicNode); ok {
|
||||
return x.ItalicNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetBoldItalicNode() *BoldItalicNode {
|
||||
if x, ok := x.GetNode().(*Node_BoldItalicNode); ok {
|
||||
return x.BoldItalicNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_BoldItalicNode); ok {
|
||||
return x.BoldItalicNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetCodeNode() *CodeNode {
|
||||
if x, ok := x.GetNode().(*Node_CodeNode); ok {
|
||||
return x.CodeNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_CodeNode); ok {
|
||||
return x.CodeNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetImageNode() *ImageNode {
|
||||
if x, ok := x.GetNode().(*Node_ImageNode); ok {
|
||||
return x.ImageNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_ImageNode); ok {
|
||||
return x.ImageNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetLinkNode() *LinkNode {
|
||||
if x, ok := x.GetNode().(*Node_LinkNode); ok {
|
||||
return x.LinkNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_LinkNode); ok {
|
||||
return x.LinkNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetAutoLinkNode() *AutoLinkNode {
|
||||
if x, ok := x.GetNode().(*Node_AutoLinkNode); ok {
|
||||
return x.AutoLinkNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_AutoLinkNode); ok {
|
||||
return x.AutoLinkNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetTagNode() *TagNode {
|
||||
if x, ok := x.GetNode().(*Node_TagNode); ok {
|
||||
return x.TagNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_TagNode); ok {
|
||||
return x.TagNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetStrikethroughNode() *StrikethroughNode {
|
||||
if x, ok := x.GetNode().(*Node_StrikethroughNode); ok {
|
||||
return x.StrikethroughNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_StrikethroughNode); ok {
|
||||
return x.StrikethroughNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetEscapingCharacterNode() *EscapingCharacterNode {
|
||||
if x, ok := x.GetNode().(*Node_EscapingCharacterNode); ok {
|
||||
return x.EscapingCharacterNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_EscapingCharacterNode); ok {
|
||||
return x.EscapingCharacterNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetMathNode() *MathNode {
|
||||
if x, ok := x.GetNode().(*Node_MathNode); ok {
|
||||
return x.MathNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_MathNode); ok {
|
||||
return x.MathNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetHighlightNode() *HighlightNode {
|
||||
if x, ok := x.GetNode().(*Node_HighlightNode); ok {
|
||||
return x.HighlightNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_HighlightNode); ok {
|
||||
return x.HighlightNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetSubscriptNode() *SubscriptNode {
|
||||
if x, ok := x.GetNode().(*Node_SubscriptNode); ok {
|
||||
return x.SubscriptNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_SubscriptNode); ok {
|
||||
return x.SubscriptNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetSuperscriptNode() *SuperscriptNode {
|
||||
if x, ok := x.GetNode().(*Node_SuperscriptNode); ok {
|
||||
return x.SuperscriptNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_SuperscriptNode); ok {
|
||||
return x.SuperscriptNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetReferencedContentNode() *ReferencedContentNode {
|
||||
if x, ok := x.GetNode().(*Node_ReferencedContentNode); ok {
|
||||
return x.ReferencedContentNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_ReferencedContentNode); ok {
|
||||
return x.ReferencedContentNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetSpoilerNode() *SpoilerNode {
|
||||
if x, ok := x.GetNode().(*Node_SpoilerNode); ok {
|
||||
return x.SpoilerNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_SpoilerNode); ok {
|
||||
return x.SpoilerNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *Node) GetHtmlElementNode() *HTMLElementNode {
|
||||
if x, ok := x.GetNode().(*Node_HtmlElementNode); ok {
|
||||
return x.HtmlElementNode
|
||||
if x != nil {
|
||||
if x, ok := x.Node.(*Node_HtmlElementNode); ok {
|
||||
return x.HtmlElementNode
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@ -1083,9 +1136,9 @@ func (*Node_SpoilerNode) isNode_Node() {}
|
||||
func (*Node_HtmlElementNode) isNode_Node() {}
|
||||
|
||||
type LineBreakNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *LineBreakNode) Reset() {
|
||||
@ -1119,11 +1172,10 @@ func (*LineBreakNode) Descriptor() ([]byte, []int) {
|
||||
}
|
||||
|
||||
type ParagraphNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ParagraphNode) Reset() {
|
||||
@ -1164,12 +1216,11 @@ func (x *ParagraphNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type CodeBlockNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CodeBlockNode) Reset() {
|
||||
@ -1217,12 +1268,11 @@ func (x *CodeBlockNode) GetContent() string {
|
||||
}
|
||||
|
||||
type HeadingNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HeadingNode) Reset() {
|
||||
@ -1270,11 +1320,10 @@ func (x *HeadingNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type HorizontalRuleNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HorizontalRuleNode) Reset() {
|
||||
@ -1315,11 +1364,10 @@ func (x *HorizontalRuleNode) GetSymbol() string {
|
||||
}
|
||||
|
||||
type BlockquoteNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Children []*Node `protobuf:"bytes,1,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BlockquoteNode) Reset() {
|
||||
@ -1360,13 +1408,12 @@ func (x *BlockquoteNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type ListNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Kind ListNode_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=memos.api.v1.ListNode_Kind" json:"kind,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Kind ListNode_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=memos.api.v1.ListNode_Kind" json:"kind,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ListNode) Reset() {
|
||||
@ -1421,13 +1468,12 @@ func (x *ListNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type OrderedListItemNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OrderedListItemNode) Reset() {
|
||||
@ -1482,13 +1528,12 @@ func (x *OrderedListItemNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type UnorderedListItemNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UnorderedListItemNode) Reset() {
|
||||
@ -1543,14 +1588,13 @@ func (x *UnorderedListItemNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type TaskListItemNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Complete bool `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Indent int32 `protobuf:"varint,2,opt,name=indent,proto3" json:"indent,omitempty"`
|
||||
Complete bool `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TaskListItemNode) Reset() {
|
||||
@ -1612,11 +1656,10 @@ func (x *TaskListItemNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type MathBlockNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *MathBlockNode) Reset() {
|
||||
@ -1657,13 +1700,12 @@ func (x *MathBlockNode) GetContent() string {
|
||||
}
|
||||
|
||||
type TableNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Header []*Node `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
|
||||
Delimiter []string `protobuf:"bytes,2,rep,name=delimiter,proto3" json:"delimiter,omitempty"`
|
||||
Rows []*TableNode_Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Header []*Node `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
|
||||
Delimiter []string `protobuf:"bytes,2,rep,name=delimiter,proto3" json:"delimiter,omitempty"`
|
||||
Rows []*TableNode_Row `protobuf:"bytes,3,rep,name=rows,proto3" json:"rows,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TableNode) Reset() {
|
||||
@ -1718,12 +1760,11 @@ func (x *TableNode) GetRows() []*TableNode_Row {
|
||||
}
|
||||
|
||||
type EmbeddedContentNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *EmbeddedContentNode) Reset() {
|
||||
@ -1771,11 +1812,10 @@ func (x *EmbeddedContentNode) GetParams() string {
|
||||
}
|
||||
|
||||
type TextNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TextNode) Reset() {
|
||||
@ -1816,12 +1856,11 @@ func (x *TextNode) GetContent() string {
|
||||
}
|
||||
|
||||
type BoldNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Children []*Node `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BoldNode) Reset() {
|
||||
@ -1869,12 +1908,11 @@ func (x *BoldNode) GetChildren() []*Node {
|
||||
}
|
||||
|
||||
type ItalicNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ItalicNode) Reset() {
|
||||
@ -1922,12 +1960,11 @@ func (x *ItalicNode) GetContent() string {
|
||||
}
|
||||
|
||||
type BoldItalicNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BoldItalicNode) Reset() {
|
||||
@ -1975,11 +2012,10 @@ func (x *BoldItalicNode) GetContent() string {
|
||||
}
|
||||
|
||||
type CodeNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CodeNode) Reset() {
|
||||
@ -2020,12 +2056,11 @@ func (x *CodeNode) GetContent() string {
|
||||
}
|
||||
|
||||
type ImageNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AltText string `protobuf:"bytes,1,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"`
|
||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
AltText string `protobuf:"bytes,1,opt,name=alt_text,json=altText,proto3" json:"alt_text,omitempty"`
|
||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ImageNode) Reset() {
|
||||
@ -2073,12 +2108,11 @@ func (x *ImageNode) GetUrl() string {
|
||||
}
|
||||
|
||||
type LinkNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *LinkNode) Reset() {
|
||||
@ -2126,12 +2160,11 @@ func (x *LinkNode) GetUrl() string {
|
||||
}
|
||||
|
||||
type AutoLinkNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||
IsRawText bool `protobuf:"varint,2,opt,name=is_raw_text,json=isRawText,proto3" json:"is_raw_text,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||
IsRawText bool `protobuf:"varint,2,opt,name=is_raw_text,json=isRawText,proto3" json:"is_raw_text,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AutoLinkNode) Reset() {
|
||||
@ -2179,11 +2212,10 @@ func (x *AutoLinkNode) GetIsRawText() bool {
|
||||
}
|
||||
|
||||
type TagNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TagNode) Reset() {
|
||||
@ -2224,11 +2256,10 @@ func (x *TagNode) GetContent() string {
|
||||
}
|
||||
|
||||
type StrikethroughNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StrikethroughNode) Reset() {
|
||||
@ -2269,11 +2300,10 @@ func (x *StrikethroughNode) GetContent() string {
|
||||
}
|
||||
|
||||
type EscapingCharacterNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *EscapingCharacterNode) Reset() {
|
||||
@ -2314,11 +2344,10 @@ func (x *EscapingCharacterNode) GetSymbol() string {
|
||||
}
|
||||
|
||||
type MathNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *MathNode) Reset() {
|
||||
@ -2359,11 +2388,10 @@ func (x *MathNode) GetContent() string {
|
||||
}
|
||||
|
||||
type HighlightNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HighlightNode) Reset() {
|
||||
@ -2404,11 +2432,10 @@ func (x *HighlightNode) GetContent() string {
|
||||
}
|
||||
|
||||
type SubscriptNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SubscriptNode) Reset() {
|
||||
@ -2449,11 +2476,10 @@ func (x *SubscriptNode) GetContent() string {
|
||||
}
|
||||
|
||||
type SuperscriptNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SuperscriptNode) Reset() {
|
||||
@ -2494,12 +2520,11 @@ func (x *SuperscriptNode) GetContent() string {
|
||||
}
|
||||
|
||||
type ReferencedContentNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
|
||||
Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ReferencedContentNode) Reset() {
|
||||
@ -2547,11 +2572,10 @@ func (x *ReferencedContentNode) GetParams() string {
|
||||
}
|
||||
|
||||
type SpoilerNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SpoilerNode) Reset() {
|
||||
@ -2592,12 +2616,11 @@ func (x *SpoilerNode) GetContent() string {
|
||||
}
|
||||
|
||||
type HTMLElementNode struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
TagName string `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
||||
Attributes map[string]string `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
TagName string `protobuf:"bytes,1,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"`
|
||||
Attributes map[string]string `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTMLElementNode) Reset() {
|
||||
@ -2645,11 +2668,10 @@ func (x *HTMLElementNode) GetAttributes() map[string]string {
|
||||
}
|
||||
|
||||
type TableNode_Row struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Cells []*Node `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Cells []*Node `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TableNode_Row) Reset() {
|
||||
|
Reference in New Issue
Block a user