-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
バックエンドが生成するapi.jsonからmisskey-jsの型を作成する #12434
Merged
syuilo
merged 36 commits into
misskey-dev:develop
from
samunohito:enhance/misskey-js-type-autogen
Dec 2, 2023
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
ddeeda9
ひとまず生成できるところまで
samunohito 27c07cc
ファイル構成整理
samunohito 6a46a80
生成コマンド整理
samunohito 9e59a16
misskey-jsへの組み込み
samunohito a16e357
fix generator.ts
samunohito 4e87a31
wip
samunohito 19cee66
fix generator.ts
samunohito 3ee2723
fix package.json
samunohito 5f88d62
生成ロジックの調整
samunohito de37897
型レベルでのswitch-case機構をmisskey-jsからfrontendに持ち込めるようにした
samunohito bfc9187
型チェック用のtsconfig.jsonを作成
samunohito 0add5d0
他のエンドポイントを呼ぶ関数にも適用
samunohito 62e15ab
未使用エンティティなどを削除
samunohito 0874bd9
misskey-js側で手動定義されていた型を自動生成された型に移行(ただしapi.jsonがvalidでなくなってしまったので後で修正する)
samunohito 6a9fd7d
messagingは廃止されている(テストのビルドエラー解消)
samunohito fef0671
validなapi.jsonを出力できるように修正
samunohito 058ccb9
修正漏れ対応
samunohito 508e18c
Ajvに怒られて起動できなかったところを修正
samunohito 657bf5f
Merge branch 'develop' into enhance/misskey-js-type-autogen
samunohito d62d5a8
fix ci(途中)
samunohito 1171d2f
パラメータenumをやめる
samunohito a3f7385
add command
samunohito 75c72a1
Merge branch 'develop' into enhance/misskey-js-type-autogen
samunohito 8cd5b8e
add api.json
samunohito a178602
都度自動生成をやめる
samunohito f879a3b
一気通貫スクリプト修正
samunohito c06f7f1
fix ci
samunohito 63b01dc
生成ロジック修正
samunohito 531df7c
フロントの型チェックは結局やらなかったので戻しておく
samunohito 492b882
Merge branch 'develop' into enhance/misskey-js-type-autogen
samunohito 4070396
fix pnpm-lock.yaml
samunohito 0a4f8d7
add README.md
samunohito f5491e0
Merge branch 'develop' into enhance/misskey-js-type-autogen
samunohito 2d7d633
Merge branch 'develop' into enhance/misskey-js-type-autogen
samunohito 9791a43
Merge branch 'develop' into enhance/misskey-js-type-autogen
syuilo 3a64cf7
Merge branch 'develop' into pr/12434
syuilo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
返ってくる値の形が↓のようになっており、エラーとなっていましたので値の参照方法を変えています
https://github.com/samunohito/misskey/blob/c2370a1be631355e709c47d3b5e9469906116b84/packages/backend/src/core/chart/charts/entities/instance.ts