Skip to content

Commit c24829f

Browse files
improvement and deps upgrade
1 parent bb1e157 commit c24829f

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@januscaler/tsed-helper",
3-
"version": "2.2.4",
3+
"version": "2.2.5",
44
"type": "module",
55
"publishConfig": {
66
"@januscaler:registry": "https://npm.pkg.github.com"
@@ -25,21 +25,21 @@
2525
"license": "ISC",
2626
"description": "",
2727
"devDependencies": {
28-
"@types/node": "24.1.0",
28+
"@types/node": "24.5.0",
2929
"typescript": "5.9.2"
3030
},
3131
"dependencies": {
32-
"@prisma/client": "6.13.0",
33-
"@prisma/internals": "6.13.0",
34-
"@tsed/common": "8.15.0",
35-
"@tsed/core": "8.15.0",
36-
"@tsed/di": "8.15.0",
37-
"@tsed/prisma": "8.15.0",
38-
"@tsed/schema": "8.15.0",
32+
"@prisma/client": "6.16.2",
33+
"@prisma/internals": "6.16.2",
34+
"@tsed/common": "8.16.2",
35+
"@tsed/core": "8.16.2",
36+
"@tsed/di": "8.16.2",
37+
"@tsed/prisma": "8.16.2",
38+
"@tsed/schema": "8.16.2",
3939
"@types/lodash": "^4.17.20",
4040
"aigle": "1.14.1",
4141
"glob": "11.0.3",
4242
"lodash": "4.17.21",
4343
"rxjs": "7.8.2"
4444
}
45-
}
45+
}

src/baseCrud.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ export class SearchParams {
7777
@Default(10) limit?: number;
7878
@Default(0) offset?: number;
7979
@Default({ id: 'asc' }) @CollectionOf(Object) orderBy?: Record<string, 'asc' | 'desc'>;
80-
@Default(['name', 'roles.name'])
81-
@Required(true)
82-
@CollectionOf(String) fields?: string[];
80+
@Example(['name', 'roles.name']) @Required(true) @CollectionOf(String) fields?: string[];
8381
@Default({ name: { mode: 'EQ', value: 'test', isRelation: false } }) @CollectionOf(Object) filters?: SearchFilterRecord[];
8482
}
8583

0 commit comments

Comments
 (0)