summaryrefslogtreecommitdiff
path: root/packages/misskey-js/src/note.ts
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-07-31 14:40:51 +0900
committerGitHub <noreply@github.com>2025-07-31 14:40:51 +0900
commitf2a23fb55ef2100bd26e3f2bcd7f939052c2ea09 (patch)
treedff9f61bbb387e2e7d871cdf1d83d1580ebef10a /packages/misskey-js/src/note.ts
parentfix(test): Fix name of a test in e2e/timelines.ts (#16334) (diff)
downloadmisskey-f2a23fb55ef2100bd26e3f2bcd7f939052c2ea09.tar.gz
misskey-f2a23fb55ef2100bd26e3f2bcd7f939052c2ea09.tar.bz2
misskey-f2a23fb55ef2100bd26e3f2bcd7f939052c2ea09.zip
ノートの脱CASCADE削除 (#16332)
* wip * Update CHANGELOG.md * Update QueryService.ts * Update QueryService.ts * wip * Update MkNoteDetailed.vue * Update NoteEntityService.ts * wip * Update antennas.ts * Update create.ts * Update NoteEntityService.ts * wip * Update CHANGELOG.md * Update NoteEntityService.ts * Update NoteCreateService.ts * Update note.test.ts * Update note.test.ts * Update ClientServerService.ts * Update ClientServerService.ts * add error handling * Update NoteDeleteService.ts * Update CHANGELOG.md * Update entities.ts * Update entities.ts * Update misskey-js.api.md
Diffstat (limited to 'packages/misskey-js/src/note.ts')
-rw-r--r--packages/misskey-js/src/note.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/misskey-js/src/note.ts b/packages/misskey-js/src/note.ts
index 5c8298c7e4..c1c0f38a71 100644
--- a/packages/misskey-js/src/note.ts
+++ b/packages/misskey-js/src/note.ts
@@ -2,8 +2,8 @@ import type { Note, PureRenote } from './entities.js';
export function isPureRenote(note: Note): note is PureRenote {
return (
- note.renote != null &&
- note.reply == null &&
+ note.renoteId != null &&
+ note.replyId == null &&
note.text == null &&
note.cw == null &&
(note.fileIds == null || note.fileIds.length === 0) &&