@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.
- package/dist/admin.d.ts +17 -2
- package/dist/express.d.ts +6 -4
- package/dist/gateway/contracts.d.ts +6 -4
- package/dist/gateway.d.ts +6 -4
- package/dist/gateway.js +2 -2
- package/dist/knowledge-sources/payload.d.ts +6 -4
- package/dist/knowledge-sources/strapi.d.ts +6 -4
- package/dist/persistence/drizzle.d.ts +6 -4
- package/dist/persistence/drizzle.js +3 -3
- package/dist/resources.d.ts +6 -4
- package/dist/resources.js +1 -1
- package/dist/runtime/effect.d.ts +8 -4
- package/dist/runtime/effect.js +2 -2
- package/dist/runtime/express.d.ts +6 -4
- package/dist/runtime/nestjs.d.ts +6 -4
- package/dist/runtime/nestjs.js +1 -1
- package/dist/runtime/next.d.ts +6 -4
- package/dist/runtime/next.js +1 -1
- package/dist/runtime/web.d.ts +6 -4
- package/dist/runtime/web.js +1 -1
- package/dist/tools/ai-sdk.js +2 -2
- package/package.json +3 -3
package/dist/runtime/next.d.ts
CHANGED
|
@@ -121,16 +121,18 @@ export type FilterValue = ResourceJsonValue | readonly ResourceJsonValue[];
|
|
|
121
121
|
* through at most three fields that hold Entity References to a field of
|
|
122
122
|
* the last target, such as `company.industry` or
|
|
123
123
|
* `contacts.company.parent.industry`. On a field that holds Entity
|
|
124
|
-
* References, `is_empty` means no reference
|
|
125
|
-
*
|
|
124
|
+
* References, `is_empty` means no reference. User fields accept identity
|
|
125
|
+
* predicates for one ID and `contains_any`, `contains_all`, `contains_none`
|
|
126
|
+
* for multiple IDs, plus empty/not-empty aliases. CI validates operators
|
|
127
|
+
* against the actual field semantic; UUID shape alone does not declare User.
|
|
126
128
|
*/
|
|
127
129
|
export type ResourceFilter = Readonly<{
|
|
128
130
|
field: string;
|
|
129
|
-
operator: "contains" | "contains_all" | "contains_any" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
|
|
131
|
+
operator: "contains" | "contains_all" | "contains_any" | "contains_none" | "ends_with" | "eq" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "not_in" | "starts_with";
|
|
130
132
|
value: FilterValue;
|
|
131
133
|
}> | Readonly<{
|
|
132
134
|
field: string;
|
|
133
|
-
operator: "is_empty" | "is_not_null" | "is_null";
|
|
135
|
+
operator: "is_empty" | "is_not_empty" | "is_not_null" | "is_null";
|
|
134
136
|
}> | Readonly<{
|
|
135
137
|
filters: readonly ResourceFilter[];
|
|
136
138
|
operator: "and" | "or";
|