@overmap-ai/core 1.0.44-tiptap.2 → 1.0.44-tiptap.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4414,7 +4414,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4414
4414
|
if (!attachment) {
|
|
4415
4415
|
throw new Error(`Attachment ${componentAttachmentId} not found`);
|
|
4416
4416
|
}
|
|
4417
|
-
store.dispatch(
|
|
4417
|
+
store.dispatch(removeComponentAttachment(componentAttachmentId));
|
|
4418
4418
|
void this.client.files.removeCache(attachment.file_sha1);
|
|
4419
4419
|
return this.enqueueRequest({
|
|
4420
4420
|
description: "Delete attachment",
|
|
@@ -4430,7 +4430,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4430
4430
|
if (!attachment) {
|
|
4431
4431
|
throw new Error(`Attachment ${componentTypeAttachmentId} not found`);
|
|
4432
4432
|
}
|
|
4433
|
-
store.dispatch(
|
|
4433
|
+
store.dispatch(removeComponentTypeAttachment(componentTypeAttachmentId));
|
|
4434
4434
|
void this.client.files.removeCache(attachment.file_sha1);
|
|
4435
4435
|
return this.enqueueRequest({
|
|
4436
4436
|
description: "Delete attachment",
|