lucid-extension-sdk 0.0.380 → 0.0.381

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.
@@ -97,8 +97,10 @@ export type ItemsPatch = {
97
97
  /** Errors found while patching the items */
98
98
  errors?: Map<string, SerializedLucidDictionary>;
99
99
  /**
100
- *Constraints that can be defined on a per-item basis to conditionally lock fields for a specific item.
101
- *The key for this map is the primary key of an item, and the value is a map from the name a field on that item to the constraints that should be applied to that field.
100
+ * Constraints that can be defined on a per-item basis to conditionally lock fields for a specific item.
101
+ * The key for this map is the primary key of an item, and the value is a map from the name a field on that item to the constraints that should be applied to that field.
102
+ *
103
+ * If you have a composite key, ensure that you serialize it to a string before using it as a key in this map.
102
104
  */
103
105
  fieldConstraintsPerItem?: Map<string, Map<string, FieldConstraintDefinition[]>>;
104
106
  } | ItemsPatchInexhaustive | ItemsPatchExhaustive;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.380",
3
+ "version": "0.0.381",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",