Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

タグがないエンドポイントにタグを追加 #133

Merged
merged 5 commits into from
Jun 29, 2024

Conversation

penginn-net
Copy link
Collaborator

@penginn-net penginn-net commented Jun 29, 2024

What

タグがないエンドポイントにタグを追加
アップストリームで追加されたときにめんどそう?

Why

Close #66 と見やすさのため

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Update CHANGELOG_CHERRYPICK.md
  • (If possible) Add tests

Copy link
Contributor

github-actions bot commented Jun 29, 2024

이 PR에 의한 api.json 차이

차이점은 여기에서 볼 수 있음
--- base
+++ head
@@ -1138,6 +1138,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report-resolver/list.ts"
         },
+        "tags": [
+          "admin"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -1337,6 +1340,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report-resolver/delete.ts"
         },
+        "tags": [
+          "admin"
+        ],
         "requestBody": {
           "required": true,
           "content": {
@@ -1486,6 +1492,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/abuse-report-resolver/update.ts"
         },
+        "tags": [
+          "admin"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -7867,6 +7876,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/emoji/import-zip.ts"
         },
+        "tags": [
+          "admin"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -35667,6 +35679,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/export-custom-emojis.ts"
         },
+        "tags": [
+          "admin"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -42223,6 +42238,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/done.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -42385,6 +42403,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/key-done.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -42582,6 +42603,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/password-less.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -42735,6 +42759,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/register-key.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -43098,6 +43125,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/register.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -43288,6 +43318,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/update-key.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -43456,6 +43489,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/remove-key.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -43619,6 +43655,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/2fa/unregister.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -43778,6 +43817,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/apps.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -43964,6 +44006,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/authorized-apps.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -44161,6 +44206,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/claim-achievement.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -44387,6 +44435,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/change-password.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -44542,6 +44593,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/delete-account.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -44692,6 +44746,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-blocking.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -44839,6 +44896,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-following.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -45006,6 +45066,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-mute.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -45153,6 +45216,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-notes.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -45300,6 +45366,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-clips.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -45447,6 +45516,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-favorites.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -45594,6 +45666,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-user-lists.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -45741,6 +45816,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/export-antennas.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -46399,6 +46477,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/import-blocking.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -46601,6 +46682,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/import-following.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -46806,6 +46890,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/import-muting.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -47008,6 +47095,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/import-user-lists.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -47210,6 +47300,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/import-antennas.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -48828,6 +48921,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/regenerate-token.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -48972,6 +49068,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/get-all.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -49134,6 +49233,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/get-detail.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -49319,6 +49421,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/get.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -49494,6 +49599,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/keys-with-type.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -49659,6 +49767,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/keys.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -49824,6 +49935,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/remove.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -49992,6 +50106,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/scopes-with-domain.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -50149,6 +50266,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/registry/set.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -50311,6 +50431,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/revoke-token.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -50471,6 +50594,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/signin-history.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -50799,6 +50925,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/i/update-email.ts"
         },
+        "tags": [
+          "account"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -65151,6 +65280,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/page-push.ts"
         },
+        "tags": [
+          "pages"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -75994,6 +76126,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/users/lists/favorite.ts"
         },
+        "tags": [
+          "lists"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -76157,6 +76292,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/users/lists/unfavorite.ts"
         },
+        "tags": [
+          "lists"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -76493,6 +76631,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/users/lists/create-from-public.ts"
         },
+        "tags": [
+          "lists"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -79248,6 +79389,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/users/achievements.ts"
         },
+        "tags": [
+          "users"
+        ],
         "requestBody": {
           "required": true,
           "content": {
@@ -80901,6 +81045,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/bubble-game/register.ts"
         },
+        "tags": [
+          "bubble-game"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -81100,6 +81247,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/bubble-game/ranking.ts"
         },
+        "tags": [
+          "bubble-game"
+        ],
         "requestBody": {
           "required": true,
           "content": {
@@ -81268,6 +81418,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/bubble-game/ranking.ts"
         },
+        "tags": [
+          "bubble-game"
+        ],
         "requestBody": {
           "required": true,
           "content": {
@@ -81438,6 +81591,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/cancel-match.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -81583,6 +81739,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/games.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "requestBody": {
           "required": true,
           "content": {
@@ -81744,6 +81903,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/match.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -81930,6 +82092,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/invitations.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -82066,6 +82231,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/show-game.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "requestBody": {
           "required": true,
           "content": {
@@ -82223,6 +82391,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/surrender.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "security": [
           {
             "bearerAuth": []
@@ -82395,6 +82566,9 @@
           "description": "Source code",
           "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/reversi/verify.ts"
         },
+        "tags": [
+          "reversi"
+        ],
         "requestBody": {
           "required": true,
           "content": {

Get diff files from Workflow Page

Copy link

codecov bot commented Jun 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.21%. Comparing base (4bb0d17) to head (5d1bcf6).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #133       +/-   ##
============================================
- Coverage    78.10%   66.21%   -11.89%     
============================================
  Files          193     1076      +883     
  Lines        28999   132011   +103012     
  Branches       471     5921     +5450     
============================================
+ Hits         22649    87416    +64767     
- Misses        6344    44562    +38218     
- Partials         6       33       +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@penginn-net penginn-net marked this pull request as ready for review June 29, 2024 08:47
@penginn-net penginn-net requested a review from kozakura913 June 29, 2024 08:50
@penginn-net penginn-net merged commit d6cf806 into yojo-art:develop Jun 29, 2024
26 of 30 checks passed
@penginn-net penginn-net deleted the api-tag branch July 20, 2024 00:17
@penginn-net penginn-net restored the api-tag branch July 24, 2024 09:01
@penginn-net penginn-net deleted the api-tag branch August 15, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api-docで一部折りたたまれない項目がある
2 participants