Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tabulator-another
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
MyCard
tabulator-another
Commits
f58def0d
Commit
f58def0d
authored
May 22, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add participant seq
parent
8c220d79
Pipeline
#36643
passed with stages
in 4 minutes and 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/tournament/tournament.service.ts
src/tournament/tournament.service.ts
+4
-0
src/utility/multer-to-participant.ts
src/utility/multer-to-participant.ts
+1
-0
No files found.
src/tournament/tournament.service.ts
View file @
f58def0d
...
@@ -299,6 +299,8 @@ export class TournamentService extends CrudService(Tournament, {
...
@@ -299,6 +299,8 @@ export class TournamentService extends CrudService(Tournament, {
.
replace
(
/
(\.
ydk
)
+$/i
,
''
);
.
replace
(
/
(\.
ydk
)
+$/i
,
''
);
participant
.
tournamentId
=
id
;
participant
.
tournamentId
=
id
;
participant
.
quit
=
false
;
participant
.
quit
=
false
;
participant
.
seq
=
1000
;
participant
.
deckbuf
=
undefined
;
participant
.
deckbuf
=
undefined
;
participant
[
'
_invalid
'
]
=
reason
;
participant
[
'
_invalid
'
]
=
reason
;
participants
.
push
(
participant
);
participants
.
push
(
participant
);
...
@@ -338,6 +340,8 @@ export class TournamentService extends CrudService(Tournament, {
...
@@ -338,6 +340,8 @@ export class TournamentService extends CrudService(Tournament, {
const
text
=
file
.
content
.
toString
(
'
utf-8
'
);
const
text
=
file
.
content
.
toString
(
'
utf-8
'
);
const
participant
=
new
Participant
();
const
participant
=
new
Participant
();
participant
.
quit
=
false
;
participant
.
quit
=
false
;
participant
.
seq
=
1000
;
participant
.
name
=
file
.
path
participant
.
name
=
file
.
path
.
split
(
'
/
'
)
.
split
(
'
/
'
)
.
pop
()
.
pop
()
...
...
src/utility/multer-to-participant.ts
View file @
f58def0d
...
@@ -7,6 +7,7 @@ export const multerToParticipant = (
...
@@ -7,6 +7,7 @@ export const multerToParticipant = (
)
=>
{
)
=>
{
const
participant
=
new
Participant
();
const
participant
=
new
Participant
();
participant
.
quit
=
false
;
participant
.
quit
=
false
;
participant
.
seq
=
1000
;
participant
.
name
=
multerFile
.
originalname
.
replace
(
/
(\.
ydk
)
+$/i
,
''
);
participant
.
name
=
multerFile
.
originalname
.
replace
(
/
(\.
ydk
)
+$/i
,
''
);
participant
.
tournamentId
=
tournamentId
;
participant
.
tournamentId
=
tournamentId
;
participant
.
deckbuf
=
Buffer
.
from
(
participant
.
deckbuf
=
Buffer
.
from
(
...
...
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