Skip to content

Commit 1d5a816

Browse files
committed
Added jwt token authentication
1 parent 73a9b1d commit 1d5a816

10 files changed

Lines changed: 163 additions & 694 deletions

File tree

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<<<<<<< HEAD:contest/models/problem/problem.json
21
{
32
"code":{
43
"type":"string",
@@ -54,58 +53,4 @@
5453
"contest":{
5554
"type":"string"
5655
}
57-
=======
58-
{
59-
"code":{
60-
"type":"string",
61-
"required":true,
62-
"unique":true
63-
},
64-
"name":{
65-
"type":"string",
66-
"required":true
67-
},
68-
"level":{
69-
"type":"string"
70-
},
71-
"description":{
72-
"type":"string",
73-
"default":""
74-
},
75-
"successfulSubmission":{
76-
"type":"number",
77-
"default":0
78-
},
79-
"input_format":{
80-
"type":"string"
81-
},
82-
"output_format":{
83-
"type":"string"
84-
},
85-
"constraints":{
86-
"type":"string"
87-
},
88-
"input_example":{
89-
"type":"string"
90-
},
91-
"output_example":{
92-
"type":"string"
93-
},
94-
"explanation_example":{
95-
"type":"string",
96-
"default":""
97-
},
98-
"date_added":{
99-
"type":"date"
100-
},
101-
"timelimit":{
102-
"type":"number"
103-
},
104-
"sourcelimit":{
105-
"type":"number"
106-
},
107-
"author":{
108-
"type":"string"
109-
}
110-
>>>>>>> aae61357893efc5840f7327a2cce64f575d50d4d:server/models/problem/problem.json
11156
}

0 commit comments

Comments
 (0)