INPUT_OBJECT

CreateDatabaseTaskInput

link GraphQL Schema definition

1input CreateDatabaseTaskInput {
6
2# Unique task name.
3# Has to be a valid identifier - should start with a letter and should not contain
4# spaces.
5name: String!
9
7# The title of the task is the more user-friendly version of the task name.
8title: String
11
10description: String
15
12# This script will run before each test case. Declare all the required tables
13# here.
14setupScript: String
19
16# This cleanup script will run after each test case. Clean up the tables here by
17# dropping them.
18teardownScript: String
21
20testCases: [DatabaseTestCaseInput]
24
22# The number of test cases that will be made visible to the test-taker.
23sampleTestCount: Int
28
25# The list of all the languages that are allowed to be used in this task,
26# or an empty list to allow all possible languages.
27allowedLanguages: [DatabaseLanguageName]
32
29# The names of tables that will be displayed as test case input. If the list is
30# empty, no input tables will be shown.
31tableNames: [String]
40
33# A list that describes customized execution time limits for one or more
34# languages.
35# If a language is not specified in the list, its execution time limit will be set
36# to the default.
37# In particular, you can pass an empty list to reset the time limits for all
38# languages to the default.
39timeLimits: [DatabaseLanguageTimeLimit]
41}

link Required by