@livinglogic/livingapi 1.2.0 → 1.2.1
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/CHANGELOG.md +5 -0
- package/HOWTO-release.md +2 -2
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/esm-static/livingapi.js.map +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/dist/umd/livingapi.js.map +1 -1
- package/package.json +1 -1
- package/src/livingapi.js +4 -4
package/package.json
CHANGED
package/src/livingapi.js
CHANGED
|
@@ -5230,12 +5230,12 @@ export class File extends Base
|
|
|
5230
5230
|
|
|
5231
5231
|
[ul4.symbols.repr]()
|
|
5232
5232
|
{
|
|
5233
|
-
return "<File
|
|
5233
|
+
return "<File url=" + ul4._repr(this.url) + " filename=" + ul4._repr(this.filename) + ">";
|
|
5234
5234
|
}
|
|
5235
5235
|
|
|
5236
5236
|
get url()
|
|
5237
5237
|
{
|
|
5238
|
-
return "/gateway/files/" + this.id;
|
|
5238
|
+
return "/gateway/files/" + this.contextid + "/" + this.id;
|
|
5239
5239
|
}
|
|
5240
5240
|
|
|
5241
5241
|
get archive_url()
|
|
@@ -5246,8 +5246,8 @@ export class File extends Base
|
|
|
5246
5246
|
}
|
|
5247
5247
|
};
|
|
5248
5248
|
|
|
5249
|
-
File.prototype._ul4onattrs = ["filename", "mimetype", "width", "height", "
|
|
5250
|
-
File.prototype._ul4attrs = new Set(["id", "url", "archive_url", "filename", "mimetype", "width", "height", "size", "duration", "geo", "archive", "createdat"]);
|
|
5249
|
+
File.prototype._ul4onattrs = ["filename", "mimetype", "width", "height", "internal_id", "createdat", "size", "duration", "geo", "storagefilename", "archive", "context_id"];
|
|
5250
|
+
File.prototype._ul4attrs = new Set(["id", "internal_id", "url", "archive_url", "filename", "mimetype", "width", "height", "size", "duration", "geo", "archive", "createdat", "context_id"]);
|
|
5251
5251
|
|
|
5252
5252
|
|
|
5253
5253
|
class GeoType extends ul4.Type
|