Skip to content

Commit

Permalink
fix: namespace declaration model
Browse files Browse the repository at this point in the history
  • Loading branch information
inaiat committed Jun 7, 2024
1 parent f242a65 commit de42e7f
Show file tree
Hide file tree
Showing 12 changed files with 161 additions and 220 deletions.
2 changes: 1 addition & 1 deletion BUILD_SHA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
739aa6efb9c96e31554306b4761349550825fb2e
f242a65ad6e681b7e51a175bc88c067bdcab744b
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const userSchema = schema({

const userIndexes = [{ key: { name: 1 } }]

declare module 'fastify' {
declare module '@inaiat/fastify-papr' {
interface FastifyPapr {
user: Model<typeof userSchema[0], Partial<typeof userSchema[1]>>
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@inaiat/fastify-papr",
"version": "7.0.1",
"version": "7.0.2",
"description": "Fastify Papr Plugin Integration",
"type": "module",
"engines": {
"node": ">=20"
},
"packageManager": "pnpm@9.1.4",
"packageManager": "pnpm@9.2.0",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -61,14 +61,14 @@
},
"devDependencies": {
"@eslint/js": "^9.4.0",
"@types/node": "^20.14.1",
"@types/node": "^20.14.2",
"@types/semver": "^7.5.8",
"c8": "^9.1.0",
"dprint": "^0.46.1",
"eslint": "^9.4.0",
"eslint-plugin-functional": "^6.5.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-n": "^17.8.1",
"eslint-plugin-unicorn": "^53.0.0",
"husky": "^9.0.11",
"istanbul-badges-readme": "^1.9.0",
Expand All @@ -77,7 +77,7 @@
"semver": "^7.6.2",
"ts-node": "^10.9.2",
"tsup": "^8.1.0",
"tsx": "^4.11.2",
"tsx": "^4.13.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.12.0"
},
Expand Down
Loading

0 comments on commit de42e7f

Please sign in to comment.