-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[graphql] `contestSubmissions` indexをsubmission-contestID-indexにしないとこちらではコンテストの提出結果が見れなかったため修正しました。 `problem` ジャッジサーバーからジャッジ設定を取得するためのリゾルバー `problemDetail` 新たに`judgeType`,`judgeLang`を返すように変更。`judgeType`がNullの場合デフォルトでNORMALを設定します。 [judge-image] `appsync.go` レスポンスを受け取れるように変更を加えました `compile.go` ダウンロード部分をprocessCode部分に出しました `language_test.go` 言語の設定ファイルの整合性を確認するものです `run.go` 実行ディレクトリ、実行時引数を指定できるようにしました。引数が多くなったので構造体にまとめました。 [lambda] `judgecode-url-resolver` ジャッジコードを取得するためのURLを発行する関数です [frontend] `judgecode.tsx` ジャッジコードを表示するページを作成しました スペシャルジャッジのステータスを表示させるためにいくつか変更を加えました
- Loading branch information
Showing
40 changed files
with
1,183 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"version" : "2018-05-29", | ||
"operation" : "GetItem", | ||
"key" : { | ||
"id" : $util.dynamodb.toDynamoDBJson($context.arguments.id) | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#if($util.isNull($context.result.judgeType)) | ||
#set($context.result.judgeType = "NORMAL") | ||
#end | ||
#set($result = { | ||
"id": $context.result.id, | ||
"slug": $context.result.slug, | ||
"user": { "userID": $context.result.userID }, | ||
"datetime": $context.result.datetime, | ||
"status": $context.result.status, | ||
"title": $context.result.title, | ||
"likeCount": $context.result.likeCount, | ||
"commentCount": $context.result.commentCount, | ||
"statement": $context.result.statement, | ||
"hasEditorial": $context.result.hasEditorial, | ||
"editorial": $context.result.editorial, | ||
"hasDifficulty": $context.result.hasDifficulty, | ||
"difficulty": $context.result.difficulty, | ||
"testcaseNames": $context.result.testcaseNames, | ||
"submission": $context.result.submission, | ||
"submissions": $context.result.submissions, | ||
"judgeType": $context.result.judgeType, | ||
"judgeLang": $context.result.judgeLang | ||
} | ||
) | ||
$util.toJson($result) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.