-
-
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
enhance/feat(frontend): データセーバーの改良・強化 #12526
Merged
+166
−26
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
58f383a
enhance(frontend): データセーバーを個別で設定できるように
kakkokari-gtyih a8e0cd7
Update Changelog
kakkokari-gtyih 84805fc
fix design
kakkokari-gtyih 37c75a3
(fix) 設定が当たらない
kakkokari-gtyih edd252a
fix test(無理やり感)
kakkokari-gtyih e1d80e0
Merge branch 'develop' into enh-12259-12435
kakkokari-gtyih 297ab0f
(fix) 設定がない状態ですべて有効・向操作が効かない
kakkokari-gtyih c9b20b0
Merge branch 'develop' into enh-12259-12435
kakkokari-gtyih 40f58cc
fix
kakkokari-gtyih cea852c
Merge branch 'enh-12259-12435' of https://github.com/kakkokari-gtyih/…
kakkokari-gtyih 8c67ae3
Merge branch 'develop' into enh-12259-12435
kakkokari-gtyih 069c210
Merge branch 'develop' into pr/12526
syuilo 21fed56
tweak
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
Unchanged files with check annotations Beta
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
}; | ||
export function parse(acct: string): Acct { | ||
if (acct.startsWith('@')) acct = acct.substring(1); | ||
const split = acct.split('@', 2); | ||
return { username: split[0], host: split[1] || null }; | ||
} |
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
code: string; | ||
message: string; | ||
kind: 'client' | 'server'; | ||
info: Record<string, any>; | ||
}; | ||
export function isAPIError(reason: any): reason is APIError { | ||
return reason[MK_API_ERROR] === true; | ||
} | ||
headers: { [key in string]: string } | ||
}) => Promise<{ | ||
status: number; | ||
json(): Promise<any>; | ||
}>; | ||
export class APIClient { |
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
type SwitchCase = { | ||
$switch: { | ||
$cases: [any, any][], | ||
Check warning on line 12 in packages/misskey-js/src/api.types.ts GitHub Actions / lint (misskey-js)
|
||
$default: any; | ||
}; | ||
}; | ||
type IsCaseMatched<E extends keyof Endpoints, P extends Endpoints[E]['req'], C extends number> = | ||
Endpoints[E]['res'] extends SwitchCase | ||
? IsNeverType<StrictExtract<Endpoints[E]['res']['$switch']['$cases'][C], [P, any]>> extends false ? true : false | ||
: false | ||
type GetCaseResult<E extends keyof Endpoints, P extends Endpoints[E]['req'], C extends number> = | ||
Endpoints[E]['res'] extends SwitchCase | ||
? StrictExtract<Endpoints[E]['res']['$switch']['$cases'][C], [P, any]>[1] | ||
: never | ||
export type SwitchCaseResponseType<E extends keyof Endpoints, P extends Endpoints[E]['req']> = Endpoints[E]['res'] extends SwitchCase |
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
export type ModerationLogPayloads = { | ||
updateServerSettings: { | ||
before: any | null; | ||
after: any | null; | ||
}; | ||
suspend: { |
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.
vitestが落ちるのでむりやり初期値を書いて回避しました