@digital-gravy/etch-public-api 0.3.0 → 0.3.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.
package/dist/index.d.cts CHANGED
@@ -636,7 +636,13 @@ interface StringComponentProperty {
636
636
  */
637
637
  selectOptionsString?: SelectOptionsString;
638
638
  }
639
- /** A numeric property. */
639
+ /**
640
+ * A numeric property.
641
+ *
642
+ * Note: number properties are **not implemented in the builder yet** — they are
643
+ * reserved in the contract but you can't create or edit one today. Don't rely
644
+ * on them.
645
+ */
640
646
  interface NumberComponentProperty {
641
647
  type: {
642
648
  primitive: "number";
@@ -730,8 +736,8 @@ interface ConditionComponentProperty {
730
736
  *
731
737
  * - `string` — plain text; or `'image'` | `'wpMediaId'` | `'select'` |
732
738
  * `'array'`; or `'condition'` (a gated group with nested `properties`)
733
- * - `number` — numeric
734
739
  * - `boolean` — boolean
740
+ * - `number` — numeric (reserved; not implemented in the builder yet)
735
741
  * - `object` — generic object; or `'group'` (nested `properties`)
736
742
  * - `array` — generic array; or `'class'` (CSS classes); or `'repeater'`
737
743
  * (repeating group with nested `properties`)
package/dist/index.d.ts CHANGED
@@ -636,7 +636,13 @@ interface StringComponentProperty {
636
636
  */
637
637
  selectOptionsString?: SelectOptionsString;
638
638
  }
639
- /** A numeric property. */
639
+ /**
640
+ * A numeric property.
641
+ *
642
+ * Note: number properties are **not implemented in the builder yet** — they are
643
+ * reserved in the contract but you can't create or edit one today. Don't rely
644
+ * on them.
645
+ */
640
646
  interface NumberComponentProperty {
641
647
  type: {
642
648
  primitive: "number";
@@ -730,8 +736,8 @@ interface ConditionComponentProperty {
730
736
  *
731
737
  * - `string` — plain text; or `'image'` | `'wpMediaId'` | `'select'` |
732
738
  * `'array'`; or `'condition'` (a gated group with nested `properties`)
733
- * - `number` — numeric
734
739
  * - `boolean` — boolean
740
+ * - `number` — numeric (reserved; not implemented in the builder yet)
735
741
  * - `object` — generic object; or `'group'` (nested `properties`)
736
742
  * - `array` — generic array; or `'class'` (CSS classes); or `'repeater'`
737
743
  * (repeating group with nested `properties`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-gravy/etch-public-api",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "MIT-licensed typed client and contract for the Etch builder scripting API (window.etch). Etch itself is a separate proprietary product governed by its own commercial terms.",
5
5
  "license": "MIT",
6
6
  "type": "module",