@vertesia/common 0.75.0 → 0.77.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/lib/cjs/interaction.js.map +1 -1
- package/lib/cjs/store/store.js +6 -1
- package/lib/cjs/store/store.js.map +1 -1
- package/lib/cjs/store/workflow.js +2 -1
- package/lib/cjs/store/workflow.js.map +1 -1
- package/lib/esm/interaction.js.map +1 -1
- package/lib/esm/store/store.js +5 -0
- package/lib/esm/store/store.js.map +1 -1
- package/lib/esm/store/workflow.js +1 -0
- package/lib/esm/store/workflow.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interaction.d.ts +1 -0
- package/lib/types/interaction.d.ts.map +1 -1
- package/lib/types/payload.d.ts +7 -0
- package/lib/types/payload.d.ts.map +1 -1
- package/lib/types/query.d.ts +2 -2
- package/lib/types/query.d.ts.map +1 -1
- package/lib/types/store/store.d.ts +4 -0
- package/lib/types/store/store.d.ts.map +1 -1
- package/lib/types/store/workflow.d.ts +1 -0
- package/lib/types/store/workflow.d.ts.map +1 -1
- package/lib/vertesia-common.js +1 -1
- package/lib/vertesia-common.js.map +1 -1
- package/package.json +1 -1
- package/src/interaction.ts +2 -0
- package/src/payload.ts +7 -0
- package/src/query.ts +3 -3
- package/src/store/store.ts +5 -0
- package/src/store/workflow.ts +2 -0
package/package.json
CHANGED
package/src/interaction.ts
CHANGED
|
@@ -291,6 +291,8 @@ interface AsyncExecutionPayloadBase extends Omit<NamedInteractionExecutionPayloa
|
|
|
291
291
|
* An array of endpoint URLs to be notified upon execution
|
|
292
292
|
*/
|
|
293
293
|
notify_endpoints?: string[];
|
|
294
|
+
|
|
295
|
+
task_queue?: string;
|
|
294
296
|
}
|
|
295
297
|
|
|
296
298
|
export type ConversationVisibility = 'private' | 'project';
|
package/src/payload.ts
CHANGED
|
@@ -12,6 +12,13 @@ import {
|
|
|
12
12
|
|
|
13
13
|
export interface SearchPayload {
|
|
14
14
|
facets?: FacetSpec[];
|
|
15
|
+
/**
|
|
16
|
+
* If the facets should respect "limit"
|
|
17
|
+
* If true, the facet count be limited to the number of results in the query.
|
|
18
|
+
* If false, the facet count will be calculated over all objects.
|
|
19
|
+
* Default is true.
|
|
20
|
+
*/
|
|
21
|
+
limit_facets?: boolean;
|
|
15
22
|
query?: SimpleSearchQuery;
|
|
16
23
|
limit?: number;
|
|
17
24
|
offset?: number;
|
package/src/query.ts
CHANGED
|
@@ -104,9 +104,9 @@ export interface ComplexSearchQuery extends ObjectSearchQuery {
|
|
|
104
104
|
vector?: VectorSearchQuery;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
|
-
* If present, do a full text search.
|
|
107
|
+
* If present, do a full text search (snake_case version).
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
full_text?: string;
|
|
110
110
|
|
|
111
111
|
weights?: Record<SearchTypes, number>;
|
|
112
112
|
|
|
@@ -130,4 +130,4 @@ export interface ComplexSearchQuery extends ObjectSearchQuery {
|
|
|
130
130
|
|
|
131
131
|
export interface ComplexCollectionSearchQuery extends CollectionSearchPayload {
|
|
132
132
|
match?: Record<string, any>;
|
|
133
|
-
}
|
|
133
|
+
}
|
package/src/store/store.ts
CHANGED