Hitting /api/shapes2
Standard caveats about this being an internal API, because it's not published in https://docs.convex.dev/http-api/ it's not a public API and it could change.
TanStack Integration with server-side prefetching
is it possible to use convex' tanstack query integration with serverside prefetching? i'm basically trying to do something like this (in a server component, nextjs app router)
```ts
queryClient.prefetchQuery({
...convexQuery(api.users.getById, {...
Signed URLs in a query
I want to generate signed urls for some images when I fetch them in a query and I cannot call an
action
in a convex query
, anyone have any other ideas or a better way to do it? (Note: using AWS S3 + Cloudfront and not convex storage)Endless Scrolling | React Virtuoso
Surprised there's still no go-to infinite scroll lib for react (that isn't outdated or overly low level). I've used Virtuoso in the past, it's not lightweight but it is plug and play. Here's their example for endless scroll, you can plug a Convex paginated query
loadMore()
right in there: https://virtuoso.dev/endless-scrolling/Well, it hasn’t opened for me yet, I’ve
Well, it hasn’t opened for me yet, I’ve been waiting for 5 minutes
Is there an easier way to write an
Is there an easier way to write an
OrderedQuery
type? I think I managed everything else except the fieldPaths
parameter but its messy lol@knajjars congrats on getting your blog
@Khalil congrats on getting your blog post (and fastmind.ai) onto the front page of HN! https://news.ycombinator.com -- "My chatbot builder is over-engineered, and I love it"
Could no resolve "util"
How does the convex backend actually run ? Does it use node / can I use packages intended for node and how?
Index on two fields
startDate: v.string(),
endDate: v.string()
.index("by_date_range", ["startDate", "endDate"]);...
.index("by_date_range", ["startDate", "endDate"]);...
Llm.ts wrapper
I have an llm.ts file that just thinly wraps the http API with some nice types, retries, batching, etc
I'm using convex + convex auth.
I'm using convex + convex auth.
This is the layout of protected routes:
```js...
A company has many users, but a user
A company has many users, but a user only has one company. (one2many)
Here is my schema:
import { defineSchema, defineTable } from "convex/server"...
Convex Auth: Shared session across subdomains
Question about convex Auth: Does it support shared session across subdomains?
`q.eq(q.field(field), value)` is there a
q.eq(q.field(field), value)
is there a way to get field value directly ? for example
q.field(field).value or something
? is there a function for that?...Token after repeated sign-in
@Michal Srb I have one more question. If the user is already authorized as anonymous and when he enters his email and password, does it generate a new token or remain with the old one? Because the setAuth function doesn’t work I had to install a new function because the token changed