@widget-js/core 24.1.1-beta.83 → 24.1.1-beta.85

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/index.cjs CHANGED
@@ -3330,6 +3330,12 @@ var UserApiEvent = /* @__PURE__ */ ((UserApiEvent2) => {
3330
3330
  return UserApiEvent2;
3331
3331
  })(UserApiEvent || {});
3332
3332
 
3333
+ // src/api/interface/IAiApi.ts
3334
+ var AiApiEvent = /* @__PURE__ */ ((AiApiEvent2) => {
3335
+ AiApiEvent2["CONFIG_UPDATED"] = `channel::cn.widgetjs.core.ai.config.updated`;
3336
+ return AiApiEvent2;
3337
+ })(AiApiEvent || {});
3338
+
3333
3339
  // src/api/WidgetPackageApi.ts
3334
3340
  var WidgetPackageApiImpl = class extends BaseApi {
3335
3341
  getChannel() {
@@ -3542,6 +3548,9 @@ var AiApiImpl = class extends BaseApi {
3542
3548
  getConfigList() {
3543
3549
  return this.invokeMethod("getConfigList");
3544
3550
  }
3551
+ setConfigList(configs) {
3552
+ return this.invokeMethod("setConfigList", configs);
3553
+ }
3545
3554
  getConfig(id) {
3546
3555
  return this.invokeMethod("getConfig", id);
3547
3556
  }
@@ -3552,6 +3561,7 @@ var AiApiImpl = class extends BaseApi {
3552
3561
  var AiApi = new AiApiImpl();
3553
3562
 
3554
3563
  exports.AiApi = AiApi;
3564
+ exports.AiApiEvent = AiApiEvent;
3555
3565
  exports.ApiConstants = ApiConstants;
3556
3566
  exports.AppApi = AppApi;
3557
3567
  exports.AppApiConstants = AppApiConstants;