@bettercms-ai/types 1.47.0 → 1.48.0

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.ts CHANGED
@@ -364,8 +364,12 @@ type ContentModelFieldPlacement = "cover" | "title" | "excerpt" | "body" | "inli
364
364
  */
365
365
  interface ShowIfRule {
366
366
  field: string;
367
- /** `notEmpty` ≡ `isSet`; `empty` passes while the source holds nothing. Neither reads `value`. */
368
- op: "eq" | "neq" | "in" | "isSet" | "notEmpty" | "empty";
367
+ /**
368
+ * `notEmpty` ≡ `isSet`; `empty` passes while the source holds nothing. Neither reads `value`.
369
+ * `notIn` is `in` negated. `gt` / `lt` compare numbers: `value` is one number as a string, and a
370
+ * source that holds no number fails the rule.
371
+ */
372
+ op: "eq" | "neq" | "in" | "notIn" | "gt" | "lt" | "isSet" | "notEmpty" | "empty";
369
373
  value?: string | string[];
370
374
  }
371
375
  interface ShowIf {