@bluecopa/core 0.1.24 → 0.1.25
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/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/utils/inputTable/inputTableDefinition.d.ts +1 -1
- package/dist/utils/metric/analysisMethods.d.ts +8 -35
- package/dist/utils/metric/filterUtils.d.ts +1 -1
- package/dist/utils/metric/getMetricDefinition.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6241,7 +6241,7 @@ const getRows = async (tableId, options) => {
|
|
|
6241
6241
|
});
|
|
6242
6242
|
}
|
|
6243
6243
|
const response = await apiClient.get(
|
|
6244
|
-
`/
|
|
6244
|
+
`/input-table/${tableId}/rows`,
|
|
6245
6245
|
{ params }
|
|
6246
6246
|
);
|
|
6247
6247
|
if (!response.data) {
|
|
@@ -6264,7 +6264,7 @@ const insertRow = async (tableId, rowData) => {
|
|
|
6264
6264
|
throw { message: "Row data must be an object", status: 400 };
|
|
6265
6265
|
}
|
|
6266
6266
|
const response = await apiClient.post(
|
|
6267
|
-
`/
|
|
6267
|
+
`/input-table/${tableId}/rows`,
|
|
6268
6268
|
rowData
|
|
6269
6269
|
);
|
|
6270
6270
|
if (!response.data) {
|
|
@@ -6303,7 +6303,7 @@ const updateRow = async (tableId, updateData, rowId) => {
|
|
|
6303
6303
|
};
|
|
6304
6304
|
}
|
|
6305
6305
|
const response = await apiClient.patch(
|
|
6306
|
-
`/
|
|
6306
|
+
`/input-table/${tableId}/rows`,
|
|
6307
6307
|
body,
|
|
6308
6308
|
{ params }
|
|
6309
6309
|
);
|
|
@@ -6338,7 +6338,7 @@ const deleteRow = async (tableId, rowId, idField = "_copa_id") => {
|
|
|
6338
6338
|
params[idField] = rowId;
|
|
6339
6339
|
}
|
|
6340
6340
|
const config = {
|
|
6341
|
-
url: `/
|
|
6341
|
+
url: `/input-table/${tableId}/rows`,
|
|
6342
6342
|
method: "delete"
|
|
6343
6343
|
};
|
|
6344
6344
|
if (Object.keys(params).length > 0) {
|