Skip to content

Commit

Permalink
feat: create definition for available types
Browse files Browse the repository at this point in the history
  • Loading branch information
getinnocuous committed Oct 15, 2024
1 parent 40f2bb1 commit 9c4524c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions account.proto
Original file line number Diff line number Diff line change
Expand Up @@ -541,3 +541,20 @@ message GetTrialEndRequest {}
message GetTrialEndResponse {
google.protobuf.Timestamp endsAt = 1;
}

message ItemType {
// The type of item that this adapter returns e.g. eks-cluster
string type = 1;
// The category that these items fall under
AdapterCategory category = 2;
// A descriptive name of the types of items that are returned by this
// adapter e.g. "EKS Cluster"
string descriptiveName = 3;
SourceProperties source = 4; // is it possible to "pick" properties from another message? only "name" and "type" are needed here
}

message AvailableItemTypesRequest {}

message AvailableItemTypesResponse {
repeated ItemType types = 1;
}

0 comments on commit 9c4524c

Please sign in to comment.