-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Queue interface and BrowserQueue implementation #1095
Add Queue interface and BrowserQueue implementation #1095
Conversation
export type Expression = (string | Param)[]; | ||
|
||
export type PgPrimitive = | ||
| number | ||
| string | ||
| boolean | ||
| JSON.Object | ||
| JSON.Arr | ||
| null; | ||
|
||
export interface Param { | ||
param: PgPrimitive; | ||
kind: 'param'; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be very handy in the future when we start making sql expressions, for now we just the PgPrimitive
Should we make this the version specified for Volta? |
I have no strong feelings on this |
This PR adds the Queue interface that both the browser queue and the node queue (based on postgres) will implement. (99.99% of this diff in is the lock file which are mostly deletions--so don't be intimidated to review). BTW I'm using pnpm version 8.15.4. it looks like it wanted to do some serious cleanup....