@declarion/react 0.1.28 → 0.1.30

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.
@@ -6,7 +6,10 @@ import type { Action, ActionCondition, Schema } from "../types/schema";
6
6
  */
7
7
  export declare function evaluateConditions(conditions: ActionCondition[] | undefined, row: Record<string, unknown>): boolean;
8
8
  /**
9
- * Returns actions from an entity that match a given visibility placement.
9
+ * Returns actions from an entity whose visibility array contains the given
10
+ * placement. Canonical values: detail | list_row | list_toolbar | app_menu |
11
+ * nav_create | command_palette. Schema validator rejects unknown values at
12
+ * load time so we don't need runtime alias handling here.
10
13
  */
11
14
  export declare function getActionsByVisibility(actions: Record<string, Action> | undefined, visibility: string): Array<{
12
15
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@declarion/react",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "React SDK for Declarion, the schema-driven business apps platform.",