Skip to content

Commit feae8ed

Browse files
author
Snow Pettersen
committed
add file artifact proto wrapper
This will be used to wrap the file contents and include a client-generated ID for the upload
1 parent 03eedbe commit feae8ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
syntax = "proto3";
2+
3+
import "validate/validate.proto";
4+
5+
package bitdrift_public.protobuf.client.v1;
6+
7+
message FileArtifact {
8+
// The ID of this file artifact.
9+
string id = 1 [(validate.rules).string = {min_len: 1}];
10+
11+
byte contents = 2;
12+
}

0 commit comments

Comments
 (0)