@craftile/types 1.2.0 → 1.2.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@craftile/types",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Shared TypeScript type definitions for Craftile Editor",
5
5
  "keywords": [
6
6
  "craftile",
package/src/index.ts CHANGED
@@ -45,6 +45,7 @@ export interface Block {
45
45
  ghost?: boolean; // Block exists in data but is not rendered in preview (data holder only)
46
46
  parentId?: string; // ID of parent block (undefined for top-level blocks)
47
47
  children: string[]; // Ordered array of child block IDs
48
+ [key: string]: any; // Additional host-defined data, preserved through copy, paste and presets
48
49
  }
49
50
 
50
51
  export interface PropertyField {