@nivaro/react 0.1.255 → 0.1.257

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/dist/index.js +18180 -18069
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -313,6 +313,8 @@ declare interface AvailableBulkAction {
313
313
  confirm_text: string | null;
314
314
  summary: string;
315
315
  surfaces?: Array<'browser' | 'queue'>;
316
+ /** Registry actions: `[{field, op, value}]` AND'd over the record (server-enforced; the row menu also pre-checks it). */
317
+ guard?: GuardRule[] | null;
316
318
  }
317
319
 
318
320
  export declare function BaseMap({ pins, bubbles, statusLine, onPinClick, onBubbleClick, minHeight, focus }: {
@@ -1766,6 +1768,12 @@ declare interface GridSumCapConfig {
1766
1768
  message?: string;
1767
1769
  }
1768
1770
 
1771
+ declare type GuardRule = {
1772
+ field: string;
1773
+ op: string;
1774
+ value?: unknown;
1775
+ };
1776
+
1769
1777
  export declare interface HeaderWidgetInfo {
1770
1778
  field: string;
1771
1779
  widgetId: number;