librechat-data-provider 0.8.404 → 0.8.405
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/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-query/index.es.js +1 -1
- package/dist/react-query/index.es.js.map +1 -1
- package/dist/types/config.d.ts +370 -258
- package/dist/types/file-config.d.ts +18 -18
- package/dist/types/mcp.d.ts +9 -15
- package/package.json +1 -1
|
@@ -120,19 +120,19 @@ export declare const endpointFileConfigSchema: z.ZodObject<{
|
|
|
120
120
|
fileLimit: z.ZodOptional<z.ZodNumber>;
|
|
121
121
|
fileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
122
122
|
totalSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
123
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
123
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
disabled?: boolean | undefined;
|
|
126
126
|
fileLimit?: number | undefined;
|
|
127
127
|
fileSizeLimit?: number | undefined;
|
|
128
128
|
totalSizeLimit?: number | undefined;
|
|
129
|
-
supportedMimeTypes?:
|
|
129
|
+
supportedMimeTypes?: string[] | undefined;
|
|
130
130
|
}, {
|
|
131
131
|
disabled?: boolean | undefined;
|
|
132
132
|
fileLimit?: number | undefined;
|
|
133
133
|
fileSizeLimit?: number | undefined;
|
|
134
134
|
totalSizeLimit?: number | undefined;
|
|
135
|
-
supportedMimeTypes?:
|
|
135
|
+
supportedMimeTypes?: string[] | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
export declare const fileConfigSchema: z.ZodObject<{
|
|
138
138
|
endpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -140,19 +140,19 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
140
140
|
fileLimit: z.ZodOptional<z.ZodNumber>;
|
|
141
141
|
fileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
142
142
|
totalSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
143
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
143
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
145
|
disabled?: boolean | undefined;
|
|
146
146
|
fileLimit?: number | undefined;
|
|
147
147
|
fileSizeLimit?: number | undefined;
|
|
148
148
|
totalSizeLimit?: number | undefined;
|
|
149
|
-
supportedMimeTypes?:
|
|
149
|
+
supportedMimeTypes?: string[] | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
disabled?: boolean | undefined;
|
|
152
152
|
fileLimit?: number | undefined;
|
|
153
153
|
fileSizeLimit?: number | undefined;
|
|
154
154
|
totalSizeLimit?: number | undefined;
|
|
155
|
-
supportedMimeTypes?:
|
|
155
|
+
supportedMimeTypes?: string[] | undefined;
|
|
156
156
|
}>>>;
|
|
157
157
|
serverFileSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
avatarSizeLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -184,18 +184,18 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
184
184
|
quality?: number | undefined;
|
|
185
185
|
}>>;
|
|
186
186
|
ocr: z.ZodOptional<z.ZodObject<{
|
|
187
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
187
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
188
188
|
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
supportedMimeTypes?:
|
|
189
|
+
supportedMimeTypes?: string[] | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
supportedMimeTypes?:
|
|
191
|
+
supportedMimeTypes?: string[] | undefined;
|
|
192
192
|
}>>;
|
|
193
193
|
text: z.ZodOptional<z.ZodObject<{
|
|
194
|
-
supportedMimeTypes: z.ZodOptional<z.
|
|
194
|
+
supportedMimeTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
195
195
|
}, "strip", z.ZodTypeAny, {
|
|
196
|
-
supportedMimeTypes?:
|
|
196
|
+
supportedMimeTypes?: string[] | undefined;
|
|
197
197
|
}, {
|
|
198
|
-
supportedMimeTypes?:
|
|
198
|
+
supportedMimeTypes?: string[] | undefined;
|
|
199
199
|
}>>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
201
|
endpoints?: Record<string, {
|
|
@@ -203,7 +203,7 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
203
203
|
fileLimit?: number | undefined;
|
|
204
204
|
fileSizeLimit?: number | undefined;
|
|
205
205
|
totalSizeLimit?: number | undefined;
|
|
206
|
-
supportedMimeTypes?:
|
|
206
|
+
supportedMimeTypes?: string[] | undefined;
|
|
207
207
|
}> | undefined;
|
|
208
208
|
serverFileSizeLimit?: number | undefined;
|
|
209
209
|
avatarSizeLimit?: number | undefined;
|
|
@@ -219,10 +219,10 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
219
219
|
quality?: number | undefined;
|
|
220
220
|
} | undefined;
|
|
221
221
|
ocr?: {
|
|
222
|
-
supportedMimeTypes?:
|
|
222
|
+
supportedMimeTypes?: string[] | undefined;
|
|
223
223
|
} | undefined;
|
|
224
224
|
text?: {
|
|
225
|
-
supportedMimeTypes?:
|
|
225
|
+
supportedMimeTypes?: string[] | undefined;
|
|
226
226
|
} | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
endpoints?: Record<string, {
|
|
@@ -230,7 +230,7 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
230
230
|
fileLimit?: number | undefined;
|
|
231
231
|
fileSizeLimit?: number | undefined;
|
|
232
232
|
totalSizeLimit?: number | undefined;
|
|
233
|
-
supportedMimeTypes?:
|
|
233
|
+
supportedMimeTypes?: string[] | undefined;
|
|
234
234
|
}> | undefined;
|
|
235
235
|
serverFileSizeLimit?: number | undefined;
|
|
236
236
|
avatarSizeLimit?: number | undefined;
|
|
@@ -246,10 +246,10 @@ export declare const fileConfigSchema: z.ZodObject<{
|
|
|
246
246
|
quality?: number | undefined;
|
|
247
247
|
} | undefined;
|
|
248
248
|
ocr?: {
|
|
249
|
-
supportedMimeTypes?:
|
|
249
|
+
supportedMimeTypes?: string[] | undefined;
|
|
250
250
|
} | undefined;
|
|
251
251
|
text?: {
|
|
252
|
-
supportedMimeTypes?:
|
|
252
|
+
supportedMimeTypes?: string[] | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
}>;
|
|
255
255
|
export type TFileConfig = z.infer<typeof fileConfigSchema>;
|
package/dist/types/mcp.d.ts
CHANGED
|
@@ -151,11 +151,9 @@ export declare const StdioOptionsSchema: z.ZodObject<{
|
|
|
151
151
|
*/
|
|
152
152
|
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
153
153
|
/**
|
|
154
|
-
* How to handle stderr of the child process.
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* The default is "inherit", meaning messages to stderr will be printed to the parent process's stderr.
|
|
154
|
+
* How to handle stderr of the child process.
|
|
155
|
+
* Accepts: 'pipe' | 'ignore' | 'inherit' | file descriptor number.
|
|
156
|
+
* Defaults to "inherit".
|
|
159
157
|
*/
|
|
160
158
|
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
161
159
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1053,11 +1051,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1053
1051
|
*/
|
|
1054
1052
|
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
1055
1053
|
/**
|
|
1056
|
-
* How to handle stderr of the child process.
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
* The default is "inherit", meaning messages to stderr will be printed to the parent process's stderr.
|
|
1054
|
+
* How to handle stderr of the child process.
|
|
1055
|
+
* Accepts: 'pipe' | 'ignore' | 'inherit' | file descriptor number.
|
|
1056
|
+
* Defaults to "inherit".
|
|
1061
1057
|
*/
|
|
1062
1058
|
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
1063
1059
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1952,11 +1948,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
1952
1948
|
*/
|
|
1953
1949
|
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
1954
1950
|
/**
|
|
1955
|
-
* How to handle stderr of the child process.
|
|
1956
|
-
*
|
|
1957
|
-
*
|
|
1958
|
-
*
|
|
1959
|
-
* The default is "inherit", meaning messages to stderr will be printed to the parent process's stderr.
|
|
1951
|
+
* How to handle stderr of the child process.
|
|
1952
|
+
* Accepts: 'pipe' | 'ignore' | 'inherit' | file descriptor number.
|
|
1953
|
+
* Defaults to "inherit".
|
|
1960
1954
|
*/
|
|
1961
1955
|
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
1962
1956
|
}, "strip", z.ZodTypeAny, {
|