summaryrefslogtreecommitdiff
path: root/packages/misskey-js/src
diff options
context:
space:
mode:
authoranatawa12 <anatawa12@icloud.com>2025-07-15 09:20:48 +0900
committerGitHub <noreply@github.com>2025-07-15 09:20:48 +0900
commit08cc5a99bb026a9e9f308254ae814f1b9a2f620d (patch)
treecb2a7c94f29dcaf31ee0fce4fa74e5b3bb808c00 /packages/misskey-js/src
parentBump version to 2025.7.0-beta.1 (diff)
downloadmisskey-08cc5a99bb026a9e9f308254ae814f1b9a2f620d.tar.gz
misskey-08cc5a99bb026a9e9f308254ae814f1b9a2f620d.tar.bz2
misskey-08cc5a99bb026a9e9f308254ae814f1b9a2f620d.zip
Don't remove notes when reply / renote is removed (#16287)
* chore: make NO ACTION on channel/reply/renote removal * chore(docs): add description to show a possibility of reply null with replyId non-null * fix: packing NoteDraft fails when reply / renote is removed * feat: show drafts targeting removed renote / reply as "削除された投稿への投稿"
Diffstat (limited to 'packages/misskey-js/src')
-rw-r--r--packages/misskey-js/src/autogen/types.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts
index 51e4b4f45d..7594117deb 100644
--- a/packages/misskey-js/src/autogen/types.ts
+++ b/packages/misskey-js/src/autogen/types.ts
@@ -4401,7 +4401,9 @@ export type components = {
* @example xxxxxxxxxx
*/
renoteId?: string | null;
+ /** @description The reply target note contents if exists. If the reply target has been deleted since the draft was created, this will be null while replyId is not null. */
reply?: components['schemas']['Note'] | null;
+ /** @description The renote target note contents if exists. If the renote target has been deleted since the draft was created, this will be null while renoteId is not null. */
renote?: components['schemas']['Note'] | null;
/** @enum {string} */
visibility: 'public' | 'home' | 'followers' | 'specified';