Add constants and update schema
This commit is contained in:
parent
96ba04d1d1
commit
885d321c96
|
|
@ -0,0 +1 @@
|
|||
export const LAYOUT_SIMPLE = 'simple';
|
||||
|
|
@ -159,6 +159,7 @@ input ApplySnapshotInput {
|
|||
|
||||
type ApplySnapshotPayload {
|
||||
success: Boolean
|
||||
module: ModuleNode
|
||||
clientMutationId: String
|
||||
}
|
||||
|
||||
|
|
@ -649,11 +650,11 @@ type ModuleNode implements ModuleInterface {
|
|||
teaser: String!
|
||||
intro: String!
|
||||
assignments(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentNodeConnection!
|
||||
objectiveGroups(offset: Int, before: String, after: String, first: Int, last: Int, title: String, module_Slug: String): ObjectiveGroupNodeConnection!
|
||||
objectiveGroups: [ObjectiveGroupNode]
|
||||
id: ID!
|
||||
pk: Int
|
||||
topic: TopicNode
|
||||
chapters(offset: Int, before: String, after: String, first: Int, last: Int, slug: String, title: String): ChapterNodeConnection
|
||||
chapters: [ChapterNode]
|
||||
solutionsEnabled: Boolean
|
||||
bookmark: ModuleBookmarkNode
|
||||
mySubmissions(offset: Int, before: String, after: String, first: Int, last: Int): StudentSubmissionNodeConnection
|
||||
|
|
@ -703,7 +704,7 @@ type ObjectiveGroupNode implements Node {
|
|||
title: ObjectiveGroupTitle
|
||||
module: ModuleNode!
|
||||
hiddenFor: [SchoolClassNode]
|
||||
objectives(offset: Int, before: String, after: String, first: Int, last: Int, text: String): ObjectiveNodeConnection!
|
||||
objectives: [ObjectiveNode]
|
||||
pk: Int
|
||||
displayTitle: String
|
||||
}
|
||||
|
|
@ -881,6 +882,13 @@ type SchoolClassNodeEdge {
|
|||
cursor: String!
|
||||
}
|
||||
|
||||
type SnapshotChangesNode {
|
||||
hiddenObjectives: Int!
|
||||
newObjectives: Int!
|
||||
hiddenContentBlocks: Int!
|
||||
newContentBlocks: Int!
|
||||
}
|
||||
|
||||
type SnapshotChapterNode implements Node & ChapterInterface {
|
||||
id: ID!
|
||||
description: String
|
||||
|
|
@ -908,6 +916,7 @@ type SnapshotNode implements Node {
|
|||
title: String
|
||||
metaTitle: String
|
||||
heroImage: String
|
||||
changes: SnapshotChangesNode
|
||||
}
|
||||
|
||||
input SpellCheckInput {
|
||||
|
|
|
|||
Loading…
Reference in New Issue