bruce-models 2.6.2 → 2.6.4
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/bruce-models.es5.js +4 -3
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +4 -3
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/entity/entity-attachment.js +3 -2
- package/dist/lib/entity/entity-attachment.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/data-source/data-source.d.ts +8 -9
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -6274,7 +6274,7 @@
|
|
|
6274
6274
|
api.Cache.Remove(GetCacheKey(attachments[i].ID));
|
|
6275
6275
|
}
|
|
6276
6276
|
}
|
|
6277
|
-
api.Cache.Remove(GetListCacheKey(entityId));
|
|
6277
|
+
yield api.Cache.Remove(GetListCacheKey(entityId));
|
|
6278
6278
|
return {
|
|
6279
6279
|
attachments: res.attachments
|
|
6280
6280
|
};
|
|
@@ -6312,7 +6312,8 @@
|
|
|
6312
6312
|
throw ("Entity id and attachment id.");
|
|
6313
6313
|
}
|
|
6314
6314
|
yield api.DELETE(`entity/${entityId}/attachments/${attachmentId}`, exports.Api.PrepReqParams(req));
|
|
6315
|
-
api.Cache.Remove(GetCacheKey(attachmentId));
|
|
6315
|
+
yield api.Cache.Remove(GetCacheKey(attachmentId));
|
|
6316
|
+
yield api.Cache.Remove(GetListCacheKey(params.entityId));
|
|
6316
6317
|
});
|
|
6317
6318
|
}
|
|
6318
6319
|
EntityAttachment.Delete = Delete;
|
|
@@ -11656,7 +11657,7 @@
|
|
|
11656
11657
|
DataSource.GetList = GetList;
|
|
11657
11658
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
11658
11659
|
|
|
11659
|
-
const VERSION$1 = "2.6.
|
|
11660
|
+
const VERSION$1 = "2.6.3";
|
|
11660
11661
|
|
|
11661
11662
|
exports.VERSION = VERSION$1;
|
|
11662
11663
|
exports.AbstractApi = AbstractApi;
|