Extend Camino interface contracts
This commit is contained in:
@@ -41,6 +41,7 @@ message ClassOptions {
|
||||
message InterfaceOptions {
|
||||
uint32 version = 1;
|
||||
SymbolRef id = 2;
|
||||
repeated string type_parameter = 3;
|
||||
}
|
||||
|
||||
message ImplementsOptions {
|
||||
|
||||
@@ -121,6 +121,8 @@ message InterfaceFieldContract {
|
||||
bool watchable = 4;
|
||||
string type_param = 5;
|
||||
TypeRef type = 6;
|
||||
string ref_target_type_param = 7;
|
||||
Cardinality edge_cardinality = 8;
|
||||
}
|
||||
|
||||
message InterfaceImplementationSchema {
|
||||
@@ -134,6 +136,7 @@ message InterfaceSchema {
|
||||
repeated FieldSchema fields = 3;
|
||||
string source_file = 4;
|
||||
string proto_message = 5;
|
||||
repeated string type_parameters = 6;
|
||||
}
|
||||
|
||||
enum FieldImplementation {
|
||||
|
||||
Reference in New Issue
Block a user