@get-bb/plugin-sdk 0.6.79 → 0.6.89

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.
@@ -580,9 +580,9 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
580
580
  throw new Error(`${kind}: run and params require action availability`);
581
581
  }
582
582
  const target = registration.experimental_target;
583
- if (target !== void 0 && (context.kind !== "nav-panel" || availability !== "fixed" || typeof target?.validate !== "function")) {
583
+ if (target !== void 0 && (availability !== "fixed" || typeof target?.validate !== "function")) {
584
584
  throw new Error(
585
- `${kind}: experimental_target requires a nav-panel fixed tab and a validate function`
585
+ `${kind}: experimental_target requires a fixed tab and a validate function`
586
586
  );
587
587
  }
588
588
  const validated = {
@@ -937,6 +937,11 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
937
937
  if (registration.useData !== void 0 && typeof registration.useData !== "function") {
938
938
  throw new Error(`${kind}: "useData" must be a function`);
939
939
  }
940
+ if (registration.experimental_bulkItem !== void 0 && typeof registration.experimental_bulkItem !== "function") {
941
+ throw new Error(
942
+ `${kind}: "experimental_bulkItem" must be a function`
943
+ );
944
+ }
940
945
  collected.threadActions.push({
941
946
  id,
942
947
  title: requireNonEmptyString(kind, "title", registration.title),
@@ -944,7 +949,10 @@ function collectPluginAppRegistrations(definition, onWarning = (message) => cons
944
949
  group: requireNonEmptyString(kind, "group", registration.group),
945
950
  ...requireOptionalOrder(kind, registration.order),
946
951
  ...registration.useData !== void 0 ? { useData: registration.useData } : {},
947
- item: registration.item
952
+ item: registration.item,
953
+ ...registration.experimental_bulkItem !== void 0 ? {
954
+ experimental_bulkItem: registration.experimental_bulkItem
955
+ } : {}
948
956
  });
949
957
  },
950
958
  experimental_browserToolbarAction(registration) {