File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed
Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 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"
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+ }
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments