69. الطفرة: حذف "Photo"
حذف "الصورة" المحددة.
يمكن ربط "الصورة" إما بـ "ملاحظة" أو "تعليق". لذلك من الضروري التحكم في السمات uuid و noteUuid و commentUuid في الاستجابة.
mutation DeleteNotePhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
}) {
uuid
noteUuid
رابط
تاريخ الإنشاء
updatedDate
}
}mutation DeleteCommentPhotoSample {
deletePhoto(input: {
uuid: "<placeholder_for_photo_uuid>"
noteUuid: "<placeholder_for_note_uuid>"
commentUuid: "<placeholder_for_comment_uuid>"
}) {
uuid
noteUuid
commentUuid
رابط
تاريخ الإنشاء
updatedDate
}
}
آخر تحديث
هل كان هذا مفيدا؟