feat(api): create a demo type provider for typebox (#49536)

* feat: create a demo type provider for typebox

* feat: validate reply + share type

* fix: prettify
This commit is contained in:
Oliver Eyton-Williams
2023-03-15 15:21:25 +01:00
committed by GitHub
parent ea83d87869
commit c2d149ba85
5 changed files with 115 additions and 39 deletions
+3 -1
View File
@@ -9,6 +9,7 @@
"@fastify/session": "^10.1.1",
"@prisma/client": "4.10.1",
"connect-mongo": "4.6.0",
"@sinclair/typebox": "0.25.24",
"fastify": "4.14.1",
"fastify-auth0-verify": "^1.0.0",
"fastify-plugin": "^4.3.0",
@@ -46,6 +47,7 @@
},
"version": "0.0.1",
"devDependencies": {
"prisma": "4.10.1"
"prisma": "4.10.1",
"@fastify/type-provider-typebox": "2.4.0"
}
}