INPUT_OBJECT

FilesystemLevelExecutionEnvironmentInput

A per-level execution environment for a progressive question. Identical to FilesystemExecutionEnvironmentInput except the filesystem is expressed as 'diffs' (changes relative to the previous level) instead of a full file list.

link GraphQL Schema definition

1input FilesystemLevelExecutionEnvironmentInput {
4
2# The execution environment's title. Must be identical across all levels.
3title: String!
13
5# The execution environment's key. Required and must be identical across all
6# levels for the
7# same environment — it is the identity used to align environments between levels
8# and to merge
9# on edit. (Unlike flat questions, it is not auto-generated, since a random key
10# would differ
11# per level and break that alignment.)
12key: String!
16
14# The execution environment to run on.
15environment: ExecutionEnvironmentOrTestingTool!
19
17# The environment type.
18environmentType: FilesystemEnvironmentType!
22
20# The execution environment's description.
21description: String!
26
23# The filesystem changes that build this level's state on top of the previous
24# level.
25diffs: [FilesystemDiffInput!]!
29
27# Paths that should be expanded by default in the file tree.
28pathsExpandedByDefault: [String!]
32
30# Files that should be open by default in the editor.
31filesOpenByDefault: [String!]
35
33# Override for the testing tool.
34testingTool: ExecutionEnvironmentOrTestingTool
38
36# The execution time limit in milliseconds.
37timeLimit: Int
41
39# Unit tests for scorable environments.
40unitTests: [UnitTestInput!]
44
42# File path patterns to ignore.
43ignoredPaths: [String!]
47
45# Command to run after the environment is created.
46postCreateCommand: String
48}