Skip to content

Commit 859ba76

Browse files
authored
refactor: split update project request (#486)
* refactor: split update project request * refactor: reserve field 4 in frontier.proto
1 parent 0c49425 commit 859ba76

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

raystack/frontier/v1beta1/frontier.proto

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1849,9 +1849,19 @@ message GetProjectResponse {
18491849
Project project = 1;
18501850
}
18511851

1852+
message UpdateProjectRequestBody {
1853+
string name = 1 [
1854+
(buf.validate.field).string.pattern = "^[A-Za-z0-9-_]+$",
1855+
(google.api.field_behavior) = REQUIRED
1856+
];
1857+
string title = 2;
1858+
google.protobuf.Struct metadata = 3;
1859+
reserved 4;
1860+
}
1861+
18521862
message UpdateProjectRequest {
18531863
string id = 1;
1854-
ProjectRequestBody body = 2;
1864+
UpdateProjectRequestBody body = 2;
18551865
}
18561866

18571867
message UpdateProjectResponse {

0 commit comments

Comments
 (0)