Skip to content

Commit

Permalink
Update proto files
Browse files Browse the repository at this point in the history
  • Loading branch information
any-association committed Dec 8, 2023
1 parent db31b38 commit 62081cf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
4 changes: 4 additions & 0 deletions events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,10 @@ message Event {
message Text {
string value = 1;
}
Processor processor = 3;
message Processor {
anytype.model.Block.Content.Latex.Processor value = 1;
}
}

message Div {
Expand Down
27 changes: 19 additions & 8 deletions models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,17 @@ message Block {

message Latex {
string text = 1;
Processor processor = 2;
enum Processor {
Latex = 0;
Mermaid = 1;
Chart = 2;
Youtube = 3;
Vimeo = 4;
Soundcloud = 5;
GoogleMaps = 6;
Miro = 7;
}
}

message TableOfContents {
Expand Down Expand Up @@ -789,14 +800,14 @@ enum RelationFormat {
}

enum ObjectOrigin {
none = 0;
clipboard = 1;
dragAndDrop = 2;
import = 3;
webclipper = 4;
sharingExtension = 5;
usecase = 6;
builtin = 7;
none = 0;
clipboard = 1;
dragAndDrop = 2;
import = 3;
webclipper = 4;
sharingExtension = 5;
usecase = 6;
builtin = 7;
}

message RelationLink {
Expand Down

0 comments on commit 62081cf

Please sign in to comment.