Skip to content

Commit 76b2ba5

Browse files
authored
Merge pull request #79 from inaiat/fix/namespace_declaration_model
fix: namespace declaration model
2 parents f242a65 + de42e7f commit 76b2ba5

12 files changed

+161
-220
lines changed

BUILD_SHA

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
739aa6efb9c96e31554306b4761349550825fb2e
1+
f242a65ad6e681b7e51a175bc88c067bdcab744b

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const userSchema = schema({
2525

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

28-
declare module 'fastify' {
28+
declare module '@inaiat/fastify-papr' {
2929
interface FastifyPapr {
3030
user: Model<typeof userSchema[0], Partial<typeof userSchema[1]>>
3131
}

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "@inaiat/fastify-papr",
3-
"version": "7.0.1",
3+
"version": "7.0.2",
44
"description": "Fastify Papr Plugin Integration",
55
"type": "module",
66
"engines": {
77
"node": ">=20"
88
},
9-
"packageManager": "pnpm@9.1.4",
9+
"packageManager": "pnpm@9.2.0",
1010
"exports": "./dist/index.js",
1111
"types": "./dist/index.d.ts",
1212
"scripts": {
@@ -61,14 +61,14 @@
6161
},
6262
"devDependencies": {
6363
"@eslint/js": "^9.4.0",
64-
"@types/node": "^20.14.1",
64+
"@types/node": "^20.14.2",
6565
"@types/semver": "^7.5.8",
6666
"c8": "^9.1.0",
6767
"dprint": "^0.46.1",
6868
"eslint": "^9.4.0",
6969
"eslint-plugin-functional": "^6.5.1",
7070
"eslint-plugin-import": "^2.29.1",
71-
"eslint-plugin-n": "^17.7.0",
71+
"eslint-plugin-n": "^17.8.1",
7272
"eslint-plugin-unicorn": "^53.0.0",
7373
"husky": "^9.0.11",
7474
"istanbul-badges-readme": "^1.9.0",
@@ -77,7 +77,7 @@
7777
"semver": "^7.6.2",
7878
"ts-node": "^10.9.2",
7979
"tsup": "^8.1.0",
80-
"tsx": "^4.11.2",
80+
"tsx": "^4.13.2",
8181
"typescript": "^5.4.5",
8282
"typescript-eslint": "^7.12.0"
8383
},

0 commit comments

Comments
 (0)