Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init-things
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
init-things
Commits
864c46e9
Commit
864c46e9
authored
Jul 14, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize
parent
9361000e
Pipeline
#14525
failed with stages
in 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
things/nest-typeorm2/src/decorators/crud.decorators.ts
things/nest-typeorm2/src/decorators/crud.decorators.ts
+0
-2
things/nest-typeorm2/src/utility/pipes.ts
things/nest-typeorm2/src/utility/pipes.ts
+1
-5
No files found.
things/nest-typeorm2/src/decorators/crud.decorators.ts
View file @
864c46e9
...
...
@@ -5,13 +5,11 @@ import {
ApiOkResponse
,
ApiOperation
,
ApiParam
,
ApiProperty
,
OmitType
,
PartialType
,
}
from
'
@nestjs/swagger
'
;
import
{
Body
,
Delete
,
Get
,
Patch
,
Post
,
Query
,
Type
}
from
'
@nestjs/common
'
;
import
{
BlankPaginatedReturnMessageDto
,
BlankReturnMessageDto
,
PaginatedReturnMessageDto
,
ReturnMessageDto
,
...
...
things/nest-typeorm2/src/utility/pipes.ts
View file @
864c46e9
import
{
ValidationPipe
}
from
'
@nestjs/common
'
;
import
{
ClassConstructor
,
plainToInstance
,
plainToInstance
,
}
from
'
class-transformer
'
;
import
{
ClassConstructor
,
plainToInstance
}
from
'
class-transformer
'
;
export
const
CreatePipe
=
new
ValidationPipe
({
transform
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment