@collective-intelligence/external-apps-server-sdk 0.1.11 → 0.1.13

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.
@@ -103,16 +103,18 @@ export type FilterValue = ResourceJsonValue | readonly ResourceJsonValue[];
103
103
  * through at most three fields that hold Entity References to a field of
104
104
  * the last target, such as `company.industry` or
105
105
  * `contacts.company.parent.industry`. On a field that holds Entity
106
- * References, `is_empty` means no reference, and `contains_any` and
107
- * `contains_all` compare the ids of a field that holds many.
106
+ * References, `is_empty` means no reference. User fields accept identity
107
+ * predicates for one ID and `contains_any`, `contains_all`, `contains_none`
108
+ * for multiple IDs, plus empty/not-empty aliases. CI validates operators
109
+ * against the actual field semantic; UUID shape alone does not declare User.
108
110
  */
109
111
  export type ResourceFilter = Readonly<{
110
112
  field: string;
111
- operator: "contains" | "contains_all" | "contains_any" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
113
+ operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
112
114
  value: FilterValue;
113
115
  }> | Readonly<{
114
116
  field: string;
115
- operator: "is_empty" | "is_not_null" | "is_null";
117
+ operator: "is_empty" | "is_not_empty" | "is_not_null" | "is_null";
116
118
  }> | Readonly<{
117
119
  filters: readonly ResourceFilter[];
118
120
  operator: "and" | "or";
@@ -497,6 +499,8 @@ declare const plainFormWidgets: readonly [
497
499
  "switch",
498
500
  "text",
499
501
  "textarea",
502
+ "user_multi_select",
503
+ "user_select",
500
504
  "variable_references"
501
505
  ];
502
506
  export type PlainFormWidget = (typeof plainFormWidgets)[number];