forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: デフォルトでフォローするユーザーを指定できるように #95
Draft
kakkokari-gtyih
wants to merge
8
commits into
hanami
Choose a base branch
from
feat-default-followed-users
base: hanami
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
このPRによるapi.jsonの差分 差分はこちら--- base
+++ head
@@ -178,6 +178,18 @@
"type": "string"
}
},
+ "defaultFollowedUsers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "forciblyFollowedUsers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"hiddenTags": {
"type": "array",
"items": {
@@ -613,6 +625,8 @@
"translatorAvailable",
"mediaSilencedHosts",
"pinnedUsers",
+ "defaultFollowedUsers",
+ "forciblyFollowedUsers",
"hiddenTags",
"blockedHosts",
"sensitiveWords",
@@ -13784,6 +13798,26 @@
"type": "string"
}
},
+ "defaultFollowedUsers": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
+ "forciblyFollowedUsers": {
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "type": "string",
+ "format": "misskey:id"
+ }
+ },
"hiddenTags": {
"type": [
"array",
@@ -14386,6 +14420,15 @@
"$ref": "#/components/schemas/Error"
},
"examples": {
+ "FOLLOWED_USER_DUPLICATED": {
+ "value": {
+ "error": {
+ "message": "Some items in \"defaultFollowedUsers\" and \"forciblyFollowedUsers\" are duplicated.",
+ "code": "FOLLOWED_USER_DUPLICATED",
+ "id": "bcf088ec-fec5-42d0-8b9e-16d3b4797a4d"
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -20431,6 +20474,16 @@
}
}
},
+ "CANNOT_BLOCK_DUE_TO_SERVER_POLICY": {
+ "value": {
+ "error": {
+ "message": "You cannot block that user due to server policy.",
+ "code": "CANNOT_BLOCK_DUE_TO_SERVER_POLICY",
+ "id": "e2f04d25-0d94-4ac3-a4d8-ba401062741b",
+ "httpStatusCode": 403
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -36736,6 +36789,16 @@
}
}
},
+ "CANNOT_UNFOLLOW_DUE_TO_SERVER_POLICY": {
+ "value": {
+ "error": {
+ "message": "You cannot unfollow that user due to server policy.",
+ "code": "CANNOT_UNFOLLOW_DUE_TO_SERVER_POLICY",
+ "id": "19f25f61-0141-4683-99dc-217a88d633cb",
+ "httpStatusCode": 403
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -55098,6 +55161,16 @@
}
}
},
+ "CANNOT_MUTE_DUE_TO_SERVER_POLICY": {
+ "value": {
+ "error": {
+ "message": "You cannot mute that user due to server policy.",
+ "code": "CANNOT_MUTE_DUE_TO_SERVER_POLICY",
+ "id": "15273a89-374d-49fa-8df6-8bb3feeea455",
+ "httpStatusCode": 403
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": {
@@ -55635,6 +55708,16 @@
}
}
},
+ "CANNOT_MUTE_DUE_TO_SERVER_POLICY": {
+ "value": {
+ "error": {
+ "message": "You cannot mute that user due to server policy.",
+ "code": "CANNOT_MUTE_DUE_TO_SERVER_POLICY",
+ "id": "15273a89-374d-49fa-8df6-8bb3feeea455",
+ "httpStatusCode": 403
+ }
+ }
+ },
"INVALID_PARAM": {
"value": {
"error": { |
マイグレーション部分で本家との差異が出ないならマージしたい |
プロパティ名変わるのでちょっと待って |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Why
Fix #74
misskey-dev#12451
Additional info (optional)
Checklist