nate
CCConvex Community
•Created by nate on 8/13/2024 in #support-community
ts error suddenly from helpers
node_modules/convex-helpers/server/customFunctions.ts:164:45 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'Expand<{ [Property in OptionalKeys<ModArgsValidator>]?: Exclude<Infer<ModArgsValidator[Property]>, undefined>; } & { [Property in Exclude<...>]: Infer<...>; }>'.
164 const added = await inputMod(ctx, split);
~
node_modules/convex-helpers/server/customFunctions.ts:278:45 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'Expand<{ [Property in OptionalKeys<ModArgsValidator>]?: Exclude<Infer<ModArgsValidator[Property]>, undefined>; } & { [Property in Exclude<...>]: Infer<...>; }>'.
278 const added = await inputMod(ctx, split);
~
node_modules/convex-helpers/server/customFunctions.ts:396:45 - error TS2345: Argument of type '{}' is not assignable to parameter of type 'Expand<{ [Property in OptionalKeys<ModArgsValidator>]?: Exclude<Infer<ModArgsValidator[Property]>, undefined>; } & { [Property in Exclude<...>]: Infer<...>; }>'.
396 const added = await inputMod(ctx, split);
~
3 replies
CCConvex Community
•Created by nate on 8/5/2024 in #support-community
Where to store api helper utils?
Was looking where i store api utils that i want to format response or do some shared util checking etc.. without them being generated into the api files
13 replies
CCConvex Community
•Created by nate on 10/26/2023 in #support-community
Using with create react app
what is the propper way to use with CRA? https://docs.convex.dev/client/react/quickstart-create-react-app
Module not found: Error: You attempted to import ../convex/_generated/api which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
17 replies
CCConvex Community
•Created by nate on 7/2/2023 in #support-community
uploading audio file
Hi, im generating an uplaod url
and then using rnfetchblob ~ https://www.npmjs.com/package/rn-fetch-blob#user-content-upload-example--dropbox-files-upload-api
my files are uploading but the audiofile is not playable,.
I've tried quite a bit, is there any specific config i should be setting up on the generate url?
8 replies