bruce-models 5.3.8 → 5.4.0

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.
@@ -1459,7 +1459,7 @@
1459
1459
  this.bruce[key] = new exports.BruceApi.Api({
1460
1460
  accountId,
1461
1461
  env,
1462
- loadConfig: loadConfig != null ? true : loadConfig,
1462
+ loadConfig: loadConfig == null ? true : loadConfig,
1463
1463
  loadWebSocket: loadWebSocket,
1464
1464
  guardian: this.GetGuardianApi({
1465
1465
  env
@@ -2247,6 +2247,10 @@
2247
2247
  EType["Boolean"] = "Boolean";
2248
2248
  // String User ID.
2249
2249
  EType["User"] = "User";
2250
+ // String Group ID.
2251
+ EType["UserGroup"] = "UserGroup";
2252
+ // String Entity ID.
2253
+ EType["Entity"] = "Entity";
2250
2254
  })(EType = EntityAttribute.EType || (EntityAttribute.EType = {}));
2251
2255
  /**
2252
2256
  * Returns an attribute from a provided hierarchy of attributes.
@@ -14038,7 +14042,8 @@
14038
14042
  url: `ui.plugin/${pluginId}/file/index.jsc`,
14039
14043
  urlParams: {
14040
14044
  "version": String(cacheKey)
14041
- }
14045
+ },
14046
+ cdn: true
14042
14047
  })
14043
14048
  };
14044
14049
  }
@@ -14124,6 +14129,12 @@
14124
14129
  function GetRunFunction(params) {
14125
14130
  return __awaiter(this, void 0, void 0, function* () {
14126
14131
  let { containerId, container, pluginParams, pluginId, plugin, api, req } = params;
14132
+ if (!api) {
14133
+ api = exports.ENVIRONMENT.Api().GetBruceApi({
14134
+ loadConfig: true
14135
+ });
14136
+ }
14137
+ yield api.Loading;
14127
14138
  if (!containerId && container) {
14128
14139
  containerId = container.id;
14129
14140
  if (!containerId) {
@@ -14449,7 +14460,7 @@
14449
14460
  })(exports.DataSource || (exports.DataSource = {}));
14450
14461
 
14451
14462
  // This is updated with the package.json version on build.
14452
- const VERSION = "5.3.8";
14463
+ const VERSION = "5.4.0";
14453
14464
 
14454
14465
  exports.VERSION = VERSION;
14455
14466
  exports.AbstractApi = AbstractApi;