@convex-dev/agent 0.1.5-alpha.2 → 0.1.5
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/README.md +1 -0
- package/dist/commonjs/client/index.d.ts +30 -2
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +47 -2
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/client/types.d.ts +13 -5
- package/dist/commonjs/client/types.d.ts.map +1 -1
- package/dist/commonjs/component/_generated/api.d.ts +2327 -4
- package/dist/commonjs/component/_generated/dataModel.d.ts +60 -0
- package/dist/commonjs/component/_generated/server.d.ts +97 -12
- package/dist/commonjs/component/messages.d.ts +24 -0
- package/dist/commonjs/component/messages.d.ts.map +1 -1
- package/dist/commonjs/component/schema.d.ts +119 -15
- package/dist/commonjs/component/schema.d.ts.map +1 -1
- package/dist/commonjs/react/types.d.ts +3 -3
- package/dist/commonjs/react/types.d.ts.map +1 -1
- package/dist/commonjs/react/useSmoothText.d.ts.map +1 -1
- package/dist/commonjs/react/useSmoothText.js +1 -0
- package/dist/commonjs/react/useSmoothText.js.map +1 -1
- package/dist/commonjs/validators.d.ts +222 -34
- package/dist/commonjs/validators.d.ts.map +1 -1
- package/dist/commonjs/validators.js +1 -0
- package/dist/commonjs/validators.js.map +1 -1
- package/dist/commonjs.tsbuildinfo +1 -1
- package/dist/esm/client/index.d.ts +30 -2
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +47 -2
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/client/types.d.ts +13 -5
- package/dist/esm/client/types.d.ts.map +1 -1
- package/dist/esm/component/_generated/api.d.ts +2327 -4
- package/dist/esm/component/_generated/dataModel.d.ts +60 -0
- package/dist/esm/component/_generated/server.d.ts +97 -12
- package/dist/esm/component/messages.d.ts +24 -0
- package/dist/esm/component/messages.d.ts.map +1 -1
- package/dist/esm/component/schema.d.ts +119 -15
- package/dist/esm/component/schema.d.ts.map +1 -1
- package/dist/esm/react/types.d.ts +3 -3
- package/dist/esm/react/types.d.ts.map +1 -1
- package/dist/esm/react/useSmoothText.d.ts.map +1 -1
- package/dist/esm/react/useSmoothText.js +1 -0
- package/dist/esm/react/useSmoothText.js.map +1 -1
- package/dist/esm/validators.d.ts +222 -34
- package/dist/esm/validators.d.ts.map +1 -1
- package/dist/esm/validators.js +1 -0
- package/dist/esm/validators.js.map +1 -1
- package/dist/esm.tsbuildinfo +1 -1
- package/package.json +10 -7
- package/src/client/index.ts +64 -4
- package/src/client/types.ts +19 -9
- package/src/component/_generated/api.d.ts +22 -0
- package/src/react/types.ts +3 -3
- package/src/react/useSmoothText.ts +4 -0
- package/src/validators.ts +1 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* Generated data model types.
|
|
4
|
+
*
|
|
5
|
+
* THIS CODE IS AUTOMATICALLY GENERATED.
|
|
6
|
+
*
|
|
7
|
+
* To regenerate, run `npx convex dev`.
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type {
|
|
12
|
+
DataModelFromSchemaDefinition,
|
|
13
|
+
DocumentByName,
|
|
14
|
+
TableNamesInDataModel,
|
|
15
|
+
SystemTableNames,
|
|
16
|
+
} from "convex/server";
|
|
17
|
+
import type { GenericId } from "convex/values";
|
|
18
|
+
import schema from "../schema.js";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The names of all of your Convex tables.
|
|
22
|
+
*/
|
|
23
|
+
export type TableNames = TableNamesInDataModel<DataModel>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The type of a document stored in Convex.
|
|
27
|
+
*
|
|
28
|
+
* @typeParam TableName - A string literal type of the table name (like "users").
|
|
29
|
+
*/
|
|
30
|
+
export type Doc<TableName extends TableNames> = DocumentByName<
|
|
31
|
+
DataModel,
|
|
32
|
+
TableName
|
|
33
|
+
>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* An identifier for a document in Convex.
|
|
37
|
+
*
|
|
38
|
+
* Convex documents are uniquely identified by their `Id`, which is accessible
|
|
39
|
+
* on the `_id` field. To learn more, see [Document IDs](https://docs.convex.dev/using/document-ids).
|
|
40
|
+
*
|
|
41
|
+
* Documents can be loaded using `db.get(id)` in query and mutation functions.
|
|
42
|
+
*
|
|
43
|
+
* IDs are just strings at runtime, but this type can be used to distinguish them from other
|
|
44
|
+
* strings when type checking.
|
|
45
|
+
*
|
|
46
|
+
* @typeParam TableName - A string literal type of the table name (like "users").
|
|
47
|
+
*/
|
|
48
|
+
export type Id<TableName extends TableNames | SystemTableNames> =
|
|
49
|
+
GenericId<TableName>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* A type describing your Convex data model.
|
|
53
|
+
*
|
|
54
|
+
* This type includes information about what tables you have, the type of
|
|
55
|
+
* documents stored in those tables, and the indexes defined on them.
|
|
56
|
+
*
|
|
57
|
+
* This type is used to parameterize methods like `queryGeneric` and
|
|
58
|
+
* `mutationGeneric` to make them type-safe.
|
|
59
|
+
*/
|
|
60
|
+
export type DataModel = DataModelFromSchemaDefinition<typeof schema>;
|
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* Generated utilities for implementing server-side Convex query and mutation functions.
|
|
4
|
+
*
|
|
5
|
+
* THIS CODE IS AUTOMATICALLY GENERATED.
|
|
6
|
+
*
|
|
7
|
+
* To regenerate, run `npx convex dev`.
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import {
|
|
12
|
+
ActionBuilder,
|
|
13
|
+
AnyComponents,
|
|
14
|
+
HttpActionBuilder,
|
|
15
|
+
MutationBuilder,
|
|
16
|
+
QueryBuilder,
|
|
17
|
+
GenericActionCtx,
|
|
18
|
+
GenericMutationCtx,
|
|
19
|
+
GenericQueryCtx,
|
|
20
|
+
GenericDatabaseReader,
|
|
21
|
+
GenericDatabaseWriter,
|
|
22
|
+
FunctionReference,
|
|
23
|
+
} from "convex/server";
|
|
24
|
+
import type { DataModel } from "./dataModel.js";
|
|
25
|
+
|
|
26
|
+
type GenericCtx =
|
|
27
|
+
| GenericActionCtx<DataModel>
|
|
28
|
+
| GenericMutationCtx<DataModel>
|
|
29
|
+
| GenericQueryCtx<DataModel>;
|
|
30
|
+
|
|
1
31
|
/**
|
|
2
32
|
* Define a query in this Convex app's public API.
|
|
3
33
|
*
|
|
@@ -6,7 +36,8 @@
|
|
|
6
36
|
* @param func - The query function. It receives a {@link QueryCtx} as its first argument.
|
|
7
37
|
* @returns The wrapped query. Include this as an `export` to name it and make it accessible.
|
|
8
38
|
*/
|
|
9
|
-
export const query:
|
|
39
|
+
export declare const query: QueryBuilder<DataModel, "public">;
|
|
40
|
+
|
|
10
41
|
/**
|
|
11
42
|
* Define a query that is only accessible from other Convex functions (but not from the client).
|
|
12
43
|
*
|
|
@@ -15,7 +46,8 @@ export const query: import("convex/server").QueryBuilder<any, "public">;
|
|
|
15
46
|
* @param func - The query function. It receives a {@link QueryCtx} as its first argument.
|
|
16
47
|
* @returns The wrapped query. Include this as an `export` to name it and make it accessible.
|
|
17
48
|
*/
|
|
18
|
-
export const internalQuery:
|
|
49
|
+
export declare const internalQuery: QueryBuilder<DataModel, "internal">;
|
|
50
|
+
|
|
19
51
|
/**
|
|
20
52
|
* Define a mutation in this Convex app's public API.
|
|
21
53
|
*
|
|
@@ -24,7 +56,8 @@ export const internalQuery: import("convex/server").QueryBuilder<any, "internal"
|
|
|
24
56
|
* @param func - The mutation function. It receives a {@link MutationCtx} as its first argument.
|
|
25
57
|
* @returns The wrapped mutation. Include this as an `export` to name it and make it accessible.
|
|
26
58
|
*/
|
|
27
|
-
export const mutation:
|
|
59
|
+
export declare const mutation: MutationBuilder<DataModel, "public">;
|
|
60
|
+
|
|
28
61
|
/**
|
|
29
62
|
* Define a mutation that is only accessible from other Convex functions (but not from the client).
|
|
30
63
|
*
|
|
@@ -33,7 +66,8 @@ export const mutation: import("convex/server").MutationBuilder<any, "public">;
|
|
|
33
66
|
* @param func - The mutation function. It receives a {@link MutationCtx} as its first argument.
|
|
34
67
|
* @returns The wrapped mutation. Include this as an `export` to name it and make it accessible.
|
|
35
68
|
*/
|
|
36
|
-
export const internalMutation:
|
|
69
|
+
export declare const internalMutation: MutationBuilder<DataModel, "internal">;
|
|
70
|
+
|
|
37
71
|
/**
|
|
38
72
|
* Define an action in this Convex app's public API.
|
|
39
73
|
*
|
|
@@ -45,20 +79,71 @@ export const internalMutation: import("convex/server").MutationBuilder<any, "int
|
|
|
45
79
|
* @param func - The action. It receives an {@link ActionCtx} as its first argument.
|
|
46
80
|
* @returns The wrapped action. Include this as an `export` to name it and make it accessible.
|
|
47
81
|
*/
|
|
48
|
-
export const action:
|
|
82
|
+
export declare const action: ActionBuilder<DataModel, "public">;
|
|
83
|
+
|
|
49
84
|
/**
|
|
50
85
|
* Define an action that is only accessible from other Convex functions (but not from the client).
|
|
51
86
|
*
|
|
52
87
|
* @param func - The function. It receives an {@link ActionCtx} as its first argument.
|
|
53
88
|
* @returns The wrapped function. Include this as an `export` to name it and make it accessible.
|
|
54
89
|
*/
|
|
55
|
-
export const internalAction:
|
|
90
|
+
export declare const internalAction: ActionBuilder<DataModel, "internal">;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Define an HTTP action.
|
|
94
|
+
*
|
|
95
|
+
* This function will be used to respond to HTTP requests received by a Convex
|
|
96
|
+
* deployment if the requests matches the path and method where this action
|
|
97
|
+
* is routed. Be sure to route your action in `convex/http.js`.
|
|
98
|
+
*
|
|
99
|
+
* @param func - The function. It receives an {@link ActionCtx} as its first argument.
|
|
100
|
+
* @returns The wrapped function. Import this function from `convex/http.js` and route it to hook it up.
|
|
101
|
+
*/
|
|
102
|
+
export declare const httpAction: HttpActionBuilder;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* A set of services for use within Convex query functions.
|
|
106
|
+
*
|
|
107
|
+
* The query context is passed as the first argument to any Convex query
|
|
108
|
+
* function run on the server.
|
|
109
|
+
*
|
|
110
|
+
* This differs from the {@link MutationCtx} because all of the services are
|
|
111
|
+
* read-only.
|
|
112
|
+
*/
|
|
113
|
+
export type QueryCtx = GenericQueryCtx<DataModel>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* A set of services for use within Convex mutation functions.
|
|
117
|
+
*
|
|
118
|
+
* The mutation context is passed as the first argument to any Convex mutation
|
|
119
|
+
* function run on the server.
|
|
120
|
+
*/
|
|
121
|
+
export type MutationCtx = GenericMutationCtx<DataModel>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* A set of services for use within Convex action functions.
|
|
125
|
+
*
|
|
126
|
+
* The action context is passed as the first argument to any Convex action
|
|
127
|
+
* function run on the server.
|
|
128
|
+
*/
|
|
129
|
+
export type ActionCtx = GenericActionCtx<DataModel>;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* An interface to read from the database within Convex query functions.
|
|
133
|
+
*
|
|
134
|
+
* The two entry points are {@link DatabaseReader.get}, which fetches a single
|
|
135
|
+
* document by its {@link Id}, or {@link DatabaseReader.query}, which starts
|
|
136
|
+
* building a query.
|
|
137
|
+
*/
|
|
138
|
+
export type DatabaseReader = GenericDatabaseReader<DataModel>;
|
|
139
|
+
|
|
56
140
|
/**
|
|
57
|
-
*
|
|
141
|
+
* An interface to read from and write to the database within Convex mutation
|
|
142
|
+
* functions.
|
|
58
143
|
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
144
|
+
* Convex guarantees that all writes within a single mutation are
|
|
145
|
+
* executed atomically, so you never have to worry about partial writes leaving
|
|
146
|
+
* your data in an inconsistent state. See [the Convex Guide](https://docs.convex.dev/understanding/convex-fundamentals/functions#atomicity-and-optimistic-concurrency-control)
|
|
147
|
+
* for the guarantees Convex provides your functions.
|
|
62
148
|
*/
|
|
63
|
-
export
|
|
64
|
-
//# sourceMappingURL=server.d.ts.map
|
|
149
|
+
export type DatabaseWriter = GenericDatabaseWriter<DataModel>;
|
|
@@ -129,6 +129,7 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
129
129
|
image: string | ArrayBuffer;
|
|
130
130
|
} | {
|
|
131
131
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
132
|
+
filename?: string | undefined;
|
|
132
133
|
type: "file";
|
|
133
134
|
mimeType: string;
|
|
134
135
|
data: string | ArrayBuffer;
|
|
@@ -142,6 +143,7 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
142
143
|
text: string;
|
|
143
144
|
} | {
|
|
144
145
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
146
|
+
filename?: string | undefined;
|
|
145
147
|
type: "file";
|
|
146
148
|
mimeType: string;
|
|
147
149
|
data: string | ArrayBuffer;
|
|
@@ -213,6 +215,7 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
213
215
|
image: string | ArrayBuffer;
|
|
214
216
|
} | {
|
|
215
217
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
218
|
+
filename?: string | undefined;
|
|
216
219
|
type: "file";
|
|
217
220
|
mimeType: string;
|
|
218
221
|
data: string | ArrayBuffer;
|
|
@@ -226,6 +229,7 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
226
229
|
text: string;
|
|
227
230
|
} | {
|
|
228
231
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
232
|
+
filename?: string | undefined;
|
|
229
233
|
type: "file";
|
|
230
234
|
mimeType: string;
|
|
231
235
|
data: string | ArrayBuffer;
|
|
@@ -346,6 +350,7 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
346
350
|
image: string | ArrayBuffer;
|
|
347
351
|
} | {
|
|
348
352
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
353
|
+
filename?: string | undefined;
|
|
349
354
|
type: "file";
|
|
350
355
|
mimeType: string;
|
|
351
356
|
data: string | ArrayBuffer;
|
|
@@ -359,6 +364,7 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
359
364
|
text: string;
|
|
360
365
|
} | {
|
|
361
366
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
367
|
+
filename?: string | undefined;
|
|
362
368
|
type: "file";
|
|
363
369
|
mimeType: string;
|
|
364
370
|
data: string | ArrayBuffer;
|
|
@@ -524,6 +530,7 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
524
530
|
image: string | ArrayBuffer;
|
|
525
531
|
} | {
|
|
526
532
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
533
|
+
filename?: string | undefined;
|
|
527
534
|
type: "file";
|
|
528
535
|
mimeType: string;
|
|
529
536
|
data: string | ArrayBuffer;
|
|
@@ -537,6 +544,7 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
537
544
|
text: string;
|
|
538
545
|
} | {
|
|
539
546
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
547
|
+
filename?: string | undefined;
|
|
540
548
|
type: "file";
|
|
541
549
|
mimeType: string;
|
|
542
550
|
data: string | ArrayBuffer;
|
|
@@ -647,6 +655,7 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
647
655
|
image: string | ArrayBuffer;
|
|
648
656
|
} | {
|
|
649
657
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
658
|
+
filename?: string | undefined;
|
|
650
659
|
type: "file";
|
|
651
660
|
mimeType: string;
|
|
652
661
|
data: string | ArrayBuffer;
|
|
@@ -660,6 +669,7 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
660
669
|
text: string;
|
|
661
670
|
} | {
|
|
662
671
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
672
|
+
filename?: string | undefined;
|
|
663
673
|
type: "file";
|
|
664
674
|
mimeType: string;
|
|
665
675
|
data: string | ArrayBuffer;
|
|
@@ -762,6 +772,7 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
762
772
|
image: string | ArrayBuffer;
|
|
763
773
|
} | {
|
|
764
774
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
775
|
+
filename?: string | undefined;
|
|
765
776
|
type: "file";
|
|
766
777
|
mimeType: string;
|
|
767
778
|
data: string | ArrayBuffer;
|
|
@@ -775,6 +786,7 @@ export declare const addStep: import("convex/server").RegisteredMutation<"public
|
|
|
775
786
|
text: string;
|
|
776
787
|
} | {
|
|
777
788
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
789
|
+
filename?: string | undefined;
|
|
778
790
|
type: "file";
|
|
779
791
|
mimeType: string;
|
|
780
792
|
data: string | ArrayBuffer;
|
|
@@ -915,6 +927,7 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
915
927
|
image: string | ArrayBuffer;
|
|
916
928
|
} | {
|
|
917
929
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
930
|
+
filename?: string | undefined;
|
|
918
931
|
type: "file";
|
|
919
932
|
mimeType: string;
|
|
920
933
|
data: string | ArrayBuffer;
|
|
@@ -928,6 +941,7 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
928
941
|
text: string;
|
|
929
942
|
} | {
|
|
930
943
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
944
|
+
filename?: string | undefined;
|
|
931
945
|
type: "file";
|
|
932
946
|
mimeType: string;
|
|
933
947
|
data: string | ArrayBuffer;
|
|
@@ -1054,6 +1068,7 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1054
1068
|
image: string | ArrayBuffer;
|
|
1055
1069
|
} | {
|
|
1056
1070
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1071
|
+
filename?: string | undefined;
|
|
1057
1072
|
type: "file";
|
|
1058
1073
|
mimeType: string;
|
|
1059
1074
|
data: string | ArrayBuffer;
|
|
@@ -1067,6 +1082,7 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1067
1082
|
text: string;
|
|
1068
1083
|
} | {
|
|
1069
1084
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1085
|
+
filename?: string | undefined;
|
|
1070
1086
|
type: "file";
|
|
1071
1087
|
mimeType: string;
|
|
1072
1088
|
data: string | ArrayBuffer;
|
|
@@ -1201,6 +1217,7 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1201
1217
|
image: string | ArrayBuffer;
|
|
1202
1218
|
} | {
|
|
1203
1219
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1220
|
+
filename?: string | undefined;
|
|
1204
1221
|
type: "file";
|
|
1205
1222
|
mimeType: string;
|
|
1206
1223
|
data: string | ArrayBuffer;
|
|
@@ -1214,6 +1231,7 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1214
1231
|
text: string;
|
|
1215
1232
|
} | {
|
|
1216
1233
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1234
|
+
filename?: string | undefined;
|
|
1217
1235
|
type: "file";
|
|
1218
1236
|
mimeType: string;
|
|
1219
1237
|
data: string | ArrayBuffer;
|
|
@@ -1335,6 +1353,7 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1335
1353
|
image: string | ArrayBuffer;
|
|
1336
1354
|
} | {
|
|
1337
1355
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1356
|
+
filename?: string | undefined;
|
|
1338
1357
|
type: "file";
|
|
1339
1358
|
mimeType: string;
|
|
1340
1359
|
data: string | ArrayBuffer;
|
|
@@ -1348,6 +1367,7 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1348
1367
|
text: string;
|
|
1349
1368
|
} | {
|
|
1350
1369
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1370
|
+
filename?: string | undefined;
|
|
1351
1371
|
type: "file";
|
|
1352
1372
|
mimeType: string;
|
|
1353
1373
|
data: string | ArrayBuffer;
|
|
@@ -1471,6 +1491,7 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1471
1491
|
image: string | ArrayBuffer;
|
|
1472
1492
|
} | {
|
|
1473
1493
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1494
|
+
filename?: string | undefined;
|
|
1474
1495
|
type: "file";
|
|
1475
1496
|
mimeType: string;
|
|
1476
1497
|
data: string | ArrayBuffer;
|
|
@@ -1484,6 +1505,7 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1484
1505
|
text: string;
|
|
1485
1506
|
} | {
|
|
1486
1507
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1508
|
+
filename?: string | undefined;
|
|
1487
1509
|
type: "file";
|
|
1488
1510
|
mimeType: string;
|
|
1489
1511
|
data: string | ArrayBuffer;
|
|
@@ -1607,6 +1629,7 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1607
1629
|
image: string | ArrayBuffer;
|
|
1608
1630
|
} | {
|
|
1609
1631
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1632
|
+
filename?: string | undefined;
|
|
1610
1633
|
type: "file";
|
|
1611
1634
|
mimeType: string;
|
|
1612
1635
|
data: string | ArrayBuffer;
|
|
@@ -1620,6 +1643,7 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1620
1643
|
text: string;
|
|
1621
1644
|
} | {
|
|
1622
1645
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1646
|
+
filename?: string | undefined;
|
|
1623
1647
|
type: "file";
|
|
1624
1648
|
mimeType: string;
|
|
1625
1649
|
data: string | ArrayBuffer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/component/messages.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,E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