Problem
Currently the nextjs adapter looks like this:
export const { GET, POST, PUT, PATCH, DELETE } = workbench({
queues, // type Queue[]
basePath,
});
We have over 40+ queues and more added as go. So, we built helper methods to get all queues but this method is async only.
Proposed solution
Would be great if queues field can Promise<Queue[]> | Queue[] type.
Alternatives considered
No response
Problem
Currently the nextjs adapter looks like this:
We have over 40+ queues and more added as go. So, we built helper methods to get all queues but this method is async only.
Proposed solution
Would be great if queues field can Promise<Queue[]> | Queue[] type.
Alternatives considered
No response