@overmap-ai/core 1.0.71-project-file-improvements.1 → 1.0.71-project-file-improvements.2
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.
package/dist/overmap-core.js
CHANGED
|
@@ -5080,6 +5080,7 @@ class ProjectFileService extends BaseUploadService {
|
|
|
5080
5080
|
file: URL.createObjectURL(file)
|
|
5081
5081
|
});
|
|
5082
5082
|
const promise = this.enqueueRequest({
|
|
5083
|
+
description: "Add project file",
|
|
5083
5084
|
method: HttpMethod.POST,
|
|
5084
5085
|
url: `/projects/${payload.project}/files/`,
|
|
5085
5086
|
payload: {
|
|
@@ -5116,6 +5117,7 @@ class ProjectFileService extends BaseUploadService {
|
|
|
5116
5117
|
};
|
|
5117
5118
|
this.dispatch(updateProjectFile(updatedProjectFile));
|
|
5118
5119
|
const promise = this.enqueueRequest({
|
|
5120
|
+
description: "Update project file",
|
|
5119
5121
|
method: HttpMethod.PATCH,
|
|
5120
5122
|
url: `/projects/files/${payload.offline_id}/`,
|
|
5121
5123
|
payload,
|
|
@@ -5137,6 +5139,7 @@ class ProjectFileService extends BaseUploadService {
|
|
|
5137
5139
|
}
|
|
5138
5140
|
this.dispatch(deleteProjectFile(id));
|
|
5139
5141
|
const promise = this.enqueueRequest({
|
|
5142
|
+
description: "Delete project file",
|
|
5140
5143
|
method: HttpMethod.DELETE,
|
|
5141
5144
|
url: `/projects/files/${id}/`,
|
|
5142
5145
|
blockers: [id],
|