1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Add generated declarations to the proto file

This commit is contained in:
joshvera 2018-05-30 12:59:38 -04:00
parent 864fb09bc9
commit 234d65dd3c

View File

@ -1,5 +1,19 @@
syntax = "proto3";
package semantic;
enum Language {Go = 0;
Haskell = 1;
JavaScript = 2;
JSON = 3;
JSX = 4;
Markdown = 5;
Python = 6;
Ruby = 7;
TypeScript = 8;
PHP = 9;}
message Blob { bytes blobSource = 1;
string blobPath = 2;
Language blobLanguage = 3;
}
message Array { repeated Term arrayElements = 1;
}
message Boolean { bool booleanContent = 1;