Skip to content

Commit

Permalink
Add TypeData collection types (#36)
Browse files Browse the repository at this point in the history
* Add TypeData collection types 
-  TypedDataCollectionString
-  TypedDataCollectionBytes
-  TypedDataCollectionDouble
-  TypedDataCollectionSInt64
  • Loading branch information
amamounelsayed authored and pragnagopa committed Jul 17, 2019
1 parent e7ef560 commit e4d7762
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/proto/FunctionRpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,35 @@ message TypedData {
bytes bytes = 3;
bytes stream = 4;
RpcHttp http = 5;
sint64 int = 6;
sint64 int = 6;
double double = 7;
CollectionBytes collection_bytes = 8;
CollectionString collection_string = 9;
CollectionDouble collection_double = 10;
CollectionSInt64 collection_sint64 = 11;
}
}

// Used to encapsulate collection string
message CollectionString {
repeated string string = 1;
}

// Used to encapsulate collection bytes
message CollectionBytes {
repeated bytes bytes = 1;
}

// Used to encapsulate collection double
message CollectionDouble {
repeated double double = 1;
}

// Used to encapsulate collection sint64
message CollectionSInt64 {
repeated sint64 sint64 = 1;
}

// Used to describe a given binding on invocation
message ParameterBinding {
// Name for the binding
Expand Down

0 comments on commit e4d7762

Please sign in to comment.