@overmap-ai/core 1.0.46-project-attachments.7 → 1.0.46-project-attachments.8
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.
|
@@ -7370,9 +7370,9 @@ var __publicField = (obj, key, value) => {
|
|
|
7370
7370
|
}
|
|
7371
7371
|
store.dispatch(updateDocuments([document2]));
|
|
7372
7372
|
const promise = this.enqueueRequest({
|
|
7373
|
-
description: "
|
|
7373
|
+
description: "Update Document",
|
|
7374
7374
|
method: HttpMethod.PATCH,
|
|
7375
|
-
url: `/documents/${document2.offline_id}
|
|
7375
|
+
url: `/documents/${document2.offline_id}/`,
|
|
7376
7376
|
payload: document2,
|
|
7377
7377
|
blockers: [document2.offline_id],
|
|
7378
7378
|
blocks: [document2.offline_id]
|
|
@@ -7411,7 +7411,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7411
7411
|
}
|
|
7412
7412
|
store.dispatch(moveDocument({ documentId, targetDocumentId, position }));
|
|
7413
7413
|
const promise = this.enqueueRequest({
|
|
7414
|
-
description: "
|
|
7414
|
+
description: "Move Document",
|
|
7415
7415
|
method: HttpMethod.PATCH,
|
|
7416
7416
|
url: `/documents/${documentId}/move/`,
|
|
7417
7417
|
queryParams: {
|
|
@@ -7442,7 +7442,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7442
7442
|
const promise = this.enqueueRequest({
|
|
7443
7443
|
description: "Delete Document",
|
|
7444
7444
|
method: HttpMethod.DELETE,
|
|
7445
|
-
url: `/documents/${documentId}
|
|
7445
|
+
url: `/documents/${documentId}/`,
|
|
7446
7446
|
blockers: [documentId],
|
|
7447
7447
|
blocks: []
|
|
7448
7448
|
});
|
|
@@ -7462,7 +7462,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7462
7462
|
const result = await this.enqueueRequest({
|
|
7463
7463
|
description: "Get project documents",
|
|
7464
7464
|
method: HttpMethod.GET,
|
|
7465
|
-
url: `/documents/projects/${activeProjectId}
|
|
7465
|
+
url: `/documents/projects/${activeProjectId}/`,
|
|
7466
7466
|
blockers: [],
|
|
7467
7467
|
blocks: []
|
|
7468
7468
|
});
|