Skip to content

Commit

Permalink
feat: added new sub_type "recipe" (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismana authored Jun 23, 2023
1 parent 2f7b5b1 commit 0b6eb0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,8 @@ commit_fundoc :: fundoc

introduction.md ::
awk 'BEGINFILE{print "/**\n* @Article 00 Introduction"}{print "* " $$0} END{ print "*/"}' docs_resources/introduction.md > stroeer/$@

postman :: ## Generate postman root.proto than can be imported into postman v10 gRPC APIs
echo 'syntax = "proto3";' > root.proto
echo 'package stroeer;' >> root.proto
find stroeer -name '*service.proto' -type f -exec echo "import \"{}\";" >> root.proto \;
2 changes: 2 additions & 0 deletions stroeer/core/v1/article.proto
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ message Article {
* | `QUIZ` | _Quiz_ |
* | `GAME` | _(Browser)Game_ |
* | `COMPLIANCE` | Internal company articles like an imprint or contact forms |
* | `RECIPE` | Cooking recipe |
*
* @CodeBlockStart protobuf
*/
Expand All @@ -178,6 +179,7 @@ message Article {
QUIZ = 10;
GAME = 11;
COMPLIANCE = 12;
RECIPE = 13;
}
/** @CodeBlockEnd */

Expand Down

0 comments on commit 0b6eb0d

Please sign in to comment.