yassine safraoui
CCConvex Community
•Created by yassine safraoui on 7/8/2024 in #support-community
Order of applying filter and withSearchIndex in queries
okay thanks.
3 replies
CCConvex Community
•Created by yassine safraoui on 7/5/2024 in #support-community
Receiving a tableId as input in a mutation
okay that's perfect! thanks
3 replies
CCConvex Community
•Created by yassine safraoui on 6/5/2024 in #support-community
VS code typescript intellisense not working
I get your point, you're right, I must have confused it with when writing queries, it's then where it's able to infer the existing tables as I just tested now. Thanks a lot!
4 replies
CCConvex Community
•Created by yassine safraoui on 5/10/2024 in #support-community
Logs UI broken for long logs
Yes now it's good, thanks!
4 replies
CCConvex Community
•Created by yassine safraoui on 3/19/2024 in #support-community
Cannot use JSDOM in my convex backend
thanks a lot for the support!
13 replies
CCConvex Community
•Created by yassine safraoui on 3/19/2024 in #support-community
Cannot use JSDOM in my convex backend
ugh it finally worked, turned out that I installed jsdom as a dev dependency by mistake, I then ran pnpm i jsdom and it seemed to be installed so I thought it's installed as a normal dep but it was still a dev dep, now after I tried your code and it didn't work I checked my package.json and found the issue, my bad
13 replies
CCConvex Community
•Created by yassine safraoui on 3/19/2024 in #support-community
Cannot use JSDOM in my convex backend
for my usecase, I can use some other library and not something as full-fledged as jsdom I suppose, but I just don't wanna make the switch until i'm sure I have to
13 replies
CCConvex Community
•Created by yassine safraoui on 3/19/2024 in #support-community
Cannot use JSDOM in my convex backend
Convex.json:
{
"node": {
"externalPackages": ["jsdom", "xhr-sync-worker"]
}
}
I also tried without xhr-sync-worker, even if it shouldn't normally make a difference
for what I want to use it for, I am scraping some data from a website so I need it to parse the returned html data, so I'm simply doing something like this:
const response = await fetch(url);
const text = await response.text();
const dom = new JSDOM(text);
...
13 replies
CCConvex Community
•Created by yassine safraoui on 3/19/2024 in #support-community
Cannot use JSDOM in my convex backend
yes, I forgot to mention i'm using "use node";
13 replies