@mtgame/core 0.0.66 → 0.0.67
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/bundles/mtgame-core.umd.js +11 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/file.js +8 -1
- package/esm5/models/file.js +12 -1
- package/fesm2015/mtgame-core.js +7 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +11 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/file.d.ts +3 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -574,6 +574,16 @@
|
|
|
574
574
|
var File = /** @class */ (function () {
|
|
575
575
|
function File() {
|
|
576
576
|
}
|
|
577
|
+
Object.defineProperty(File.prototype, "originalName", {
|
|
578
|
+
get: function () {
|
|
579
|
+
return this._originalName || this.name;
|
|
580
|
+
},
|
|
581
|
+
set: function (name) {
|
|
582
|
+
this._originalName = name;
|
|
583
|
+
},
|
|
584
|
+
enumerable: true,
|
|
585
|
+
configurable: true
|
|
586
|
+
});
|
|
577
587
|
File.toFront = function (data) {
|
|
578
588
|
return null;
|
|
579
589
|
};
|
|
@@ -591,6 +601,7 @@
|
|
|
591
601
|
mappingFields: {
|
|
592
602
|
id: 'id',
|
|
593
603
|
name: 'name',
|
|
604
|
+
original_name: 'originalName',
|
|
594
605
|
path: 'path',
|
|
595
606
|
mime_type: 'mimeType',
|
|
596
607
|
size: 'size',
|