Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/middleware/with-db.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DbClient } from "lib/db/db-client"
import { createDatabase } from "lib/db/db-client"
import type { Middleware } from "winterspec"
import type { Middleware } from "winterspec/middleware"

export const withDb: Middleware<
{},
Expand Down
1 change: 1 addition & 0 deletions lib/middleware/with-winter-spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { createWithWinterSpec } from "winterspec"
import type { Middleware } from "winterspec/middleware"
import { withDb } from "./with-db"

export const withRouteSpec = createWithWinterSpec({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why u have added this immer package remove that.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"typescript": "^5.0.0"
},
"dependencies": {
"winterspec": "^0.0.86",
"winterspec": "^0.0.107",
"zod": "^3.23.8",
"zustand": "^4.5.5",
"zustand-hoist": "^2.0.1"
Expand Down
1 change: 1 addition & 0 deletions pages/api/[[...route]].ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import bundle from "dist/bundle"
import { getNodeHandler } from "winterspec/adapters/node"
import type { Middleware } from "winterspec/middleware"

const handler = getNodeHandler(bundle as any, {})

Expand Down
Loading