@aviaryhq/cloudglue-js 0.2.1 → 0.2.2
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ZodiosOptions } from "@zodios/core";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
type SearchResponse = {
|
|
4
|
+
id: string;
|
|
4
5
|
object: "search";
|
|
5
6
|
query: string;
|
|
6
7
|
scope: "file" | "segment";
|
|
@@ -65,7 +66,7 @@ type SearchFilter = Partial<{
|
|
|
65
66
|
}>;
|
|
66
67
|
type SearchFilterCriteria = {
|
|
67
68
|
path: string;
|
|
68
|
-
operator: "NotEqual" | "Equal" | "LessThan" | "GreaterThan" | "ContainsAny" | "ContainsAll" | "In";
|
|
69
|
+
operator: "NotEqual" | "Equal" | "LessThan" | "GreaterThan" | "ContainsAny" | "ContainsAll" | "In" | "Like";
|
|
69
70
|
valueText?: string | undefined;
|
|
70
71
|
valueTextArray?: Array<string> | undefined;
|
|
71
72
|
};
|
package/dist/generated/Search.js
CHANGED
|
@@ -15,6 +15,7 @@ const SearchFilterCriteria = zod_1.z
|
|
|
15
15
|
"ContainsAny",
|
|
16
16
|
"ContainsAll",
|
|
17
17
|
"In",
|
|
18
|
+
"Like",
|
|
18
19
|
]),
|
|
19
20
|
valueText: zod_1.z.string().optional(),
|
|
20
21
|
valueTextArray: zod_1.z.array(zod_1.z.string()).optional(),
|
|
@@ -115,6 +116,7 @@ const SegmentSearchResult = zod_1.z
|
|
|
115
116
|
.passthrough();
|
|
116
117
|
const SearchResponse = zod_1.z
|
|
117
118
|
.object({
|
|
119
|
+
id: zod_1.z.string().uuid(),
|
|
118
120
|
object: zod_1.z.literal("search"),
|
|
119
121
|
query: zod_1.z.string(),
|
|
120
122
|
scope: zod_1.z.enum(["file", "segment"]),
|
package/dist/src/client.d.ts
CHANGED
package/dist/src/client.js
CHANGED