Skip to content

Commit

Permalink
regenerate proto
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 committed Sep 14, 2021
1 parent 0c57def commit 6c3f024
Show file tree
Hide file tree
Showing 7 changed files with 304 additions and 318 deletions.
1 change: 0 additions & 1 deletion proto/pylons/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ message EventCreateRecipe {
// EventUpdateRecipe contains a record of the recipe pre-update. The updated fields can be found by the message emitted by MsgUpdateRecipe
message EventUpdateRecipe {
Recipe originalRecipe = 1 [(gogoproto.nullable) = false];

}

// EventCreateExecution contains the creator and ID of a created execution. Execution IDs are of the form {count-targetBlockHeight}
Expand Down
13 changes: 0 additions & 13 deletions proto/pylons/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ service Query {
option (google.api.http).get = "/pylons/account/address/{address}";
}


// Queries a username by account.
rpc AddressByUsername(QueryGetAddressByUsernameRequest) returns (QueryGetAddressByUsernameResponse) {
option (google.api.http).get = "/pylons/account/username/{username}";
Expand All @@ -35,66 +34,55 @@ service Query {
option (google.api.http).get = "/pylons/trade/{ID}";
}


// Queries a list of listItemByOwner items.
rpc ListItemByOwner(QueryListItemByOwnerRequest) returns (QueryListItemByOwnerResponse) {
option (google.api.http).get = "/pylons/items/{owner}";
}


// Queries a googleIAPOrder by PurchaseToken.
rpc GoogleInAppPurchaseOrder(QueryGetGoogleInAppPurchaseOrderRequest) returns (QueryGetGoogleInAppPurchaseOrderResponse) {
option (google.api.http).get = "/pylons/iap/{PurchaseToken}";
}


// Queries a list of listExecutionsByItem items.
rpc ListExecutionsByItem(QueryListExecutionsByItemRequest) returns (QueryListExecutionsByItemResponse) {
option (google.api.http).get = "/pylons/executions/item/{CookbookID}/{ItemID}";
}


// Queries a list of listExecutionsByRecipe items.
rpc ListExecutionsByRecipe(QueryListExecutionsByRecipeRequest) returns (QueryListExecutionsByRecipeResponse) {
option (google.api.http).get = "/pylons/executions/recipe/{CookbookID}/{RecipeID}";
}


// Queries a execution by id.
rpc Execution(QueryGetExecutionRequest) returns (QueryGetExecutionResponse) {
option (google.api.http).get = "/pylons/execution/{ID}";
}


// Queries a list of listRecipesByCookbook items.
rpc ListRecipesByCookbook(QueryListRecipesByCookbookRequest) returns (QueryListRecipesByCookbookResponse) {
option (google.api.http).get = "/pylons/recipes/{CookbookID}";
}


// Queries a item by ID.
rpc Item(QueryGetItemRequest) returns (QueryGetItemResponse) {
option (google.api.http).get = "/pylons/item/{CookbookID}/{ID}";
}


// Retrieves a recipe by ID.
rpc Recipe(QueryGetRecipeRequest) returns (QueryGetRecipeResponse) {
option (google.api.http).get = "/pylons/recipe/{CookbookID}/{ID}";
}


// Retrieves the list of cookbooks owned by an address
rpc ListCookbooksByCreator(QueryListCookbooksByCreatorRequest) returns (QueryListCookbooksByCreatorResponse) {
option (google.api.http).get = "/pylons/cookbooks/{creator}";
}


// Retrieves a cookbook by ID.
rpc Cookbook(QueryGetCookbookRequest) returns (QueryGetCookbookResponse) {
option (google.api.http).get = "/pylons/cookbook/{ID}";
}

}

// this line is used by starport scaffolding # 3
Expand All @@ -114,7 +102,6 @@ message QueryGetAddressByUsernameResponse {
AccountAddr address = 1 [(gogoproto.nullable) = false];
}


message QueryGetTradeRequest {
uint64 ID = 1;
}
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 6c3f024

Please sign in to comment.