Skip to content

Commit 00214c0

Browse files
committed
app+proto: run make protos
We also upate sample data to reflect the latest state of the api.
1 parent eb58941 commit 00214c0

File tree

7 files changed

+79
-3
lines changed

7 files changed

+79
-3
lines changed

app/src/types/generated/lit-autopilot_pb.d.ts

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/lit-autopilot_pb.js

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/lit-sessions_pb.d.ts

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/types/generated/lit-sessions_pb.js

Lines changed: 30 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/util/tests/sampleData.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,7 @@ export const litListSessions: LIT.ListSessionsResponse.AsObject = {
972972
},
973973
],
974974
],
975+
featureConfigsMap: [['SampleFeature', '{}']],
975976
},
976977
{
977978
id: '',
@@ -1053,6 +1054,7 @@ export const litListSessions: LIT.ListSessionsResponse.AsObject = {
10531054
},
10541055
],
10551056
],
1057+
featureConfigsMap: [['SampleFeature', '{}']],
10561058
},
10571059
],
10581060
};

proto/lit-autopilot.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ message Feature {
161161
feature rules set contains a rule that Litd is unaware of.
162162
*/
163163
bool requires_upgrade = 5;
164+
165+
/*
166+
The JSON-marshaled representation of a feature's default configuration.
167+
*/
168+
string default_config = 6;
164169
}
165170

166171
message RuleValues {
@@ -196,4 +201,4 @@ message Permissions {
196201
A list of the permissions required for this method.
197202
*/
198203
repeated MacaroonPermission operations = 2;
199-
}
204+
}

proto/lit-sessions.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ message Session {
206206
same as the ID.
207207
*/
208208
bytes group_id = 17;
209+
210+
/*
211+
Configurations for each individual feature mapping from the feature name to
212+
a JSON-serialized configuration.
213+
*/
214+
map<string, string> feature_configs = 18;
209215
}
210216

211217
message MacaroonRecipe {

0 commit comments

Comments
 (0)