@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livinglogic/livingapi",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Javascript version of the LivingAPI classes of LivingApps",
5
5
  "repository": {
6
6
  "type": "git",
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 id=" + ul4._repr(this.id) + " url=" + ul4._repr(this.url) + " filename=" + ul4._repr(this.filename) + ">";
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", "internalid", "createdat", "size", "duration", "geo", "storagefilename", "archive"];
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