INPUT_OBJECT

FilesystemDiffInput

A single file change applied to build a progressive level's filesystem on top of the previous level. 'upsertFile' adds or replaces a file (or folder); 'deleteFile' removes a path (and its descendants).

link GraphQL Schema definition

1input FilesystemDiffInput {
4
2# The kind of change to apply.
3action: TaskDiffAction!
7
5# The file/folder path the change applies to.
6path: String!
11
8# The file contents. Required for 'upsertFile' unless isFolder is true. Forbidden
9# for 'deleteFile'.
10source: String
14
12# Whether the path is a folder. Only valid for 'upsertFile'.
13isFolder: Boolean
17
15# Whether the file is read-only. Only valid for 'upsertFile'.
16isReadOnly: Boolean
20
18# Whether the file is hidden. Only valid for 'upsertFile'.
19isHidden: Boolean
21}