@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.
|
@@ -5069,6 +5069,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5069
5069
|
file: URL.createObjectURL(file)
|
|
5070
5070
|
});
|
|
5071
5071
|
const promise = this.enqueueRequest({
|
|
5072
|
+
description: "Add project file",
|
|
5072
5073
|
method: HttpMethod.POST,
|
|
5073
5074
|
url: `/projects/${payload.project}/files/`,
|
|
5074
5075
|
payload: {
|
|
@@ -5105,6 +5106,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5105
5106
|
};
|
|
5106
5107
|
this.dispatch(updateProjectFile(updatedProjectFile));
|
|
5107
5108
|
const promise = this.enqueueRequest({
|
|
5109
|
+
description: "Update project file",
|
|
5108
5110
|
method: HttpMethod.PATCH,
|
|
5109
5111
|
url: `/projects/files/${payload.offline_id}/`,
|
|
5110
5112
|
payload,
|
|
@@ -5126,6 +5128,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5126
5128
|
}
|
|
5127
5129
|
this.dispatch(deleteProjectFile(id));
|
|
5128
5130
|
const promise = this.enqueueRequest({
|
|
5131
|
+
description: "Delete project file",
|
|
5129
5132
|
method: HttpMethod.DELETE,
|
|
5130
5133
|
url: `/projects/files/${id}/`,
|
|
5131
5134
|
blockers: [id],
|