Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jsdelivr-uploader
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
jsdelivr-uploader
Commits
5e596921
Commit
5e596921
authored
Sep 03, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize
parent
084270ca
Pipeline
#5219
failed with stages
in 2 minutes and 4 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
src/app.service.ts
src/app.service.ts
+1
-1
src/dto/ReturnMessage.dto.ts
src/dto/ReturnMessage.dto.ts
+0
-1
src/main.ts
src/main.ts
+1
-1
No files found.
src/app.service.ts
View file @
5e596921
import
{
Connection
,
Repository
}
from
'
typeorm
'
;
import
{
Connection
,
Repository
}
from
'
typeorm
'
;
import
{
InjectConnection
}
from
'
@nestjs/typeorm
'
;
import
{
InjectConnection
}
from
'
@nestjs/typeorm
'
;
import
{
Injectable
,
ConsoleLogger
}
from
'
@nestjs/common
'
;
import
{
ConsoleLogger
,
Injectable
}
from
'
@nestjs/common
'
;
import
simpleGit
,
{
SimpleGit
}
from
'
simple-git
'
;
import
simpleGit
,
{
SimpleGit
}
from
'
simple-git
'
;
import
{
ConfigService
}
from
'
@nestjs/config
'
;
import
{
ConfigService
}
from
'
@nestjs/config
'
;
import
path
from
'
path
'
;
import
path
from
'
path
'
;
...
...
src/dto/ReturnMessage.dto.ts
View file @
5e596921
import
{
ApiProperty
}
from
'
@nestjs/swagger
'
;
import
{
ApiProperty
}
from
'
@nestjs/swagger
'
;
import
{
HttpException
}
from
'
@nestjs/common
'
;
import
{
HttpException
}
from
'
@nestjs/common
'
;
import
{
File
}
from
'
../entities/File.entity
'
;
export
class
BlankReturnMessageDto
{
export
class
BlankReturnMessageDto
{
@
ApiProperty
({
description
:
'
Return status code
'
})
@
ApiProperty
({
description
:
'
Return status code
'
})
...
...
src/main.ts
View file @
5e596921
import
{
NestFactory
}
from
'
@nestjs/core
'
;
import
{
NestFactory
}
from
'
@nestjs/core
'
;
import
{
SwaggerModule
,
DocumentBuilder
}
from
'
@nestjs/swagger
'
;
import
{
DocumentBuilder
,
SwaggerModule
}
from
'
@nestjs/swagger
'
;
import
{
NestExpressApplication
}
from
'
@nestjs/platform-express
'
;
import
{
NestExpressApplication
}
from
'
@nestjs/platform-express
'
;
import
{
AppModule
}
from
'
./app.module
'
;
import
{
AppModule
}
from
'
./app.module
'
;
...
...
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