diff --git a/graphql.schema.json b/graphql.schema.json index 6506e25..382299f 100644 --- a/graphql.schema.json +++ b/graphql.schema.json @@ -10,16 +10,16 @@ "types": [ { "kind": "OBJECT", - "name": "AddGroupToOrg", + "name": "CreateDoc", "description": null, "fields": [ { - "name": "group", + "name": "document", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "GroupType", + "name": "MaterialType", "ofType": null }, "isDeprecated": false, @@ -33,16 +33,16 @@ }, { "kind": "OBJECT", - "name": "AddSubjectToTeacher", + "name": "CreateUser", "description": null, "fields": [ { - "name": "teacher", + "name": "ok", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "TeacherType", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "isDeprecated": false, @@ -54,18 +54,38 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "DateTime", + "description": "The `DateTime` scalar type represents a DateTime\nvalue as specified by\n[iso8601](https://en.wikipedia.org/wiki/ISO_8601).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", - "name": "AnswerQuestion", + "name": "DeleteDoc", "description": null, "fields": [ { - "name": "answer", + "name": "ok", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "AnswerType", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "isDeprecated": false, @@ -77,9 +97,19 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "SCALAR", + "name": "GenericScalar", + "description": "The `GenericScalar` scalar type represents a generic\nGraphQL scalar value that could be:\nString, Boolean, Int, Float, List or Object.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, { "kind": "OBJECT", - "name": "AnswerSheetType", + "name": "MaterialType", "description": null, "fields": [ { @@ -99,7 +129,7 @@ "deprecationReason": null }, { - "name": "child", + "name": "user", "description": null, "args": [], "type": { @@ -107,7 +137,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "ChildType", + "name": "UserType", "ofType": null } }, @@ -115,7 +145,7 @@ "deprecationReason": null }, { - "name": "completed", + "name": "content", "description": null, "args": [], "type": { @@ -123,7 +153,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -131,15 +161,15 @@ "deprecationReason": null }, { - "name": "test", + "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "TestsType", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -147,100 +177,15 @@ "deprecationReason": null }, { - "name": "answerSet", + "name": "state", "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sheet", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "AnswerTypeConnection", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -269,26 +214,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, { "kind": "SCALAR", "name": "String", @@ -301,7 +226,7 @@ }, { "kind": "OBJECT", - "name": "AnswerSheetTypeConnection", + "name": "MaterialTypeConnection", "description": null, "fields": [ { @@ -332,7 +257,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "AnswerSheetTypeEdge", + "name": "MaterialTypeEdge", "ofType": null } } @@ -348,8 +273,8 @@ }, { "kind": "OBJECT", - "name": "AnswerSheetTypeEdge", - "description": "A Relay edge containing a `AnswerSheetType` and its cursor.", + "name": "MaterialTypeEdge", + "description": "A Relay edge containing a `MaterialType` and its cursor.", "fields": [ { "name": "node", @@ -357,3187 +282,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "AnswerSheetType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AnswerType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sheet", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AnswerSheetType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "completed", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AnswerTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AnswerTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "AnswerTypeEdge", - "description": "A Relay edge containing a `AnswerType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "AnswerType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChangeMaterail", - "description": null, - "fields": [ - { - "name": "material", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Material", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChildType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answersheetSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AnswerSheetTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hyperlink", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "HyperLinkType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChildTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChildTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ChildTypeEdge", - "description": "A Relay edge containing a `ChildType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateAnswer", - "description": null, - "fields": [ - { - "name": "answer", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "AnswerType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateAnwerSheet", - "description": null, - "fields": [ - { - "name": "answer", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "AnswerSheetType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateGroup", - "description": null, - "fields": [ - { - "name": "group", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "GroupType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateLesson", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lesson", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "LessonType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateMaterial", - "description": null, - "fields": [ - { - "name": "material", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Material", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateOrg", - "description": null, - "fields": [ - { - "name": "Org", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateSubject", - "description": null, - "fields": [ - { - "name": "subject", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateSubjectClass", - "description": null, - "fields": [ - { - "name": "subjectClass", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "CreateTest", - "description": null, - "fields": [ - { - "name": "test", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TestsType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "Date", - "description": "The `Date` scalar type represents a Date\nvalue as specified by\n[iso8601](https://en.wikipedia.org/wiki/ISO_8601).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "DateTime", - "description": "The `DateTime` scalar type represents a DateTime\nvalue as specified by\n[iso8601](https://en.wikipedia.org/wiki/ISO_8601).", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteChildGroup", - "description": null, - "fields": [ - { - "name": "modelType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteGroup", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteLesson", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteMaterial", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteSubject", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteSubjectLocal", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteTeacherClass", - "description": null, - "fields": [ - { - "name": "teacher", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "GenericScalar", - "description": "The `GenericScalar` scalar type represents a generic\nGraphQL scalar value that could be:\nString, Boolean, Int, Float, List or Object.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GroupType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "childSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChildTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisatorSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisatorTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectclasslocalSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "group", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LocalSubjectTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "classes", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "childrenLen", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GroupTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GroupTypeEdge", - "description": "A Relay edge containing a `GroupType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "GroupType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "HyperLinkType", - "description": null, - "fields": [ - { - "name": "link", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UUID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacher", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "child", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organ", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganisatorType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LessonType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "typeLesson", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descr", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "content", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "timeLesson", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "materialsSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MaterialConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "testsSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lesson", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TestsTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tests", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TestsType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "testsLen", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "materialsLen", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "materials", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Material", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LessonTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LessonTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LessonTypeEdge", - "description": "A Relay edge containing a `LessonType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LessonType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LocalSubjectType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubjectType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachers", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "group", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lessonSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descr", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descr_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LessonTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachersSet", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lessonsLen", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LocalSubjectTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LocalSubjectTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "LocalSubjectTypeEdge", - "description": "A Relay edge containing a `LocalSubjectType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Material", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "link", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "data", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lesson", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LessonType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MaterialConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MaterialEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "MaterialEdge", - "description": "A Relay edge containing a `Material` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Material", + "name": "MaterialType", "ofType": null }, "isDeprecated": false, @@ -3570,1736 +315,6 @@ "name": "Mutation", "description": null, "fields": [ - { - "name": "getProfile", - "description": null, - "args": [ - { - "name": "profileToken", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "getProfile", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createLesson", - "description": null, - "args": [ - { - "name": "descr", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateLesson", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateLessonRegistration", - "description": null, - "args": [ - { - "name": "descr", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UpdateLessonRegistration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteLesson", - "description": null, - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteLesson", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createTest", - "description": null, - "args": [ - { - "name": "deadline", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lessonId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateTest", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateTestRegistration", - "description": null, - "args": [ - { - "name": "deadline", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Date", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "testId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "updateTestRegistration", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteTest", - "description": null, - "args": [ - { - "name": "testId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "deleteTest", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createTask", - "description": null, - "args": [ - { - "name": "Type", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxScore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "practise", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "testId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theory", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "createTask", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateTask", - "description": null, - "args": [ - { - "name": "Type", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "autoCheck", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "autoCheckData", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isTime", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxScore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "practise", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taskId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theory", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "updateTask", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteTask", - "description": null, - "args": [ - { - "name": "taskId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "deleteTask", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addChildToGroup", - "description": null, - "args": [ - { - "name": "childId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groupId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "addChildToGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addChildToOrg", - "description": null, - "args": [ - { - "name": "childId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "addChildToOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createSubjectClass", - "description": null, - "args": [ - { - "name": "groupId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateSubjectClass", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateSubjectClass", - "description": null, - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectLocalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UpdateSubjectLocalReg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteSubjectClass", - "description": null, - "args": [ - { - "name": "subjectLocalId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteSubjectLocal", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createSubject", - "description": null, - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateSubject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "updateSubject", - "description": null, - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UpdateSubjectReg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteSubject", - "description": null, - "args": [ - { - "name": "subjectId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteSubject", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addSubjectToTeacher", - "description": null, - "args": [ - { - "name": "subjectId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AddSubjectToTeacher", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "removeSubjectFromTeacher", - "description": null, - "args": [ - { - "name": "subjectId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RemoveSubjectFromTeacher", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answerQuestion", - "description": null, - "args": [ - { - "name": "answer", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answerTableId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AnswerQuestion", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createMaterial", - "description": null, - "args": [ - { - "name": "data", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lessonType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lessonId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateMaterial", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteMaterial", - "description": null, - "args": [ - { - "name": "materialId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteMaterial", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "changeMaterial", - "description": null, - "args": [ - { - "name": "data", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "materialId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ChangeMaterail", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createAnwerSheet", - "description": null, - "args": [ - { - "name": "child", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateAnwerSheet", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createAnswer", - "description": null, - "args": [ - { - "name": "data", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sheet", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateAnswer", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "scoringTasks", - "description": null, - "args": [ - { - "name": "answerSheetId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "score", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ScoringTasks", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createOrg", - "description": null, - "args": [ - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "createGroup", - "description": null, - "args": [ - { - "name": "groupName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addGroupToOrg", - "description": null, - "args": [ - { - "name": "groupName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AddGroupToOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteGroup", - "description": null, - "args": [ - { - "name": "groupName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgName", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "regTeacherOrg", - "description": null, - "args": [ - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RegTeacherToOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "regChildOrg", - "description": null, - "args": [ - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RegChildToOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "regChildGroup", - "description": null, - "args": [ - { - "name": "groupId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RegChildGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteChildGroup", - "description": null, - "args": [ - { - "name": "groupId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "modelId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteChildGroup", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "regTeacherClass", - "description": null, - "args": [ - { - "name": "classId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RegTeacherClass", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deleteTeacherClass", - "description": null, - "args": [ - { - "name": "classId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "DeleteTeacherClass", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "regOrganisatorToOrg", - "description": null, - "args": [ - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "orgId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "RegOrganisatorToOrg", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "tokenAuth", "description": "Obtain JSON Web Token mutation", @@ -5396,20 +411,28 @@ "deprecationReason": null }, { - "name": "registerUser", + "name": "createUser", "description": null, "args": [ { - "name": "input", + "name": "password", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "RegisterUserInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null }, "defaultValue": null, "isDeprecated": false, @@ -5418,7 +441,154 @@ ], "type": { "kind": "OBJECT", - "name": "RegisterUser", + "name": "CreateUser", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createDoc", + "description": null, + "args": [ + { + "name": "content", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CreateDoc", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateDoc", + "description": null, + "args": [ + { + "name": "content", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UpdateDoc", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteDoc", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "DeleteDoc", "ofType": null }, "isDeprecated": false, @@ -5458,77 +628,7 @@ "possibleTypes": [ { "kind": "OBJECT", - "name": "AnswerSheetType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "AnswerType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "GroupType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "LessonType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Material", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "OrganisatorType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "SubjectType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "TaskType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "TaskTypeType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "TestsType", + "name": "MaterialType", "ofType": null } ] @@ -5593,1286 +693,12 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "OrganisationType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groupSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "childSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChildTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisatorSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisatorTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachersGive_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubjectTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "childrenLength", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "classesLength", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjects", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganisationTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisationTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganisationTypeEdge", - "description": "A Relay edge containing a `OrganisationType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganisatorType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hyperlink", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "HyperLinkType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganisatorTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisatorTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "OrganisatorTypeEdge", - "description": "A Relay edge containing a `OrganisatorType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganisatorType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, @@ -6943,1646 +769,11 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "ProfileType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacherSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "childSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ChildTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisatorSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisatorTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProfileTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProfileTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ProfileTypeEdge", - "description": "A Relay edge containing a `ProfileType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "Query", "description": null, "fields": [ - { - "name": "hyperLinks", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "HyperLinkType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allTest", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lesson", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TestsTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TestsType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allSubject", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachersGive_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "SubjectTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subject", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "SubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answerSheet", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AnswerSheetType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allAnswerSheet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AnswerSheetTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answer", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AnswerType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allAnswer", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sheet", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "AnswerTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allLessons", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descr", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "descr_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LessonTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lessons", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LessonType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectClass", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectClasses", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "group", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "LocalSubjectTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "materials", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "MaterialConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "material", "description": "The ID of the object", @@ -8606,59 +797,18 @@ ], "type": { "kind": "OBJECT", - "name": "Material", + "name": "MaterialType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "gettaskType", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TaskTypeType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taskTypes", + "name": "materialsByUser", "description": null, "args": [ { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", + "name": "token", "description": null, "type": { "kind": "SCALAR", @@ -8668,915 +818,24 @@ "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null } ], - "type": { - "kind": "OBJECT", - "name": "TaskTypeTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "tasks", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TaskTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "task", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TaskType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "roles", - "description": null, - "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", - "name": "RoleType", + "name": "MaterialType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, - { - "name": "organisations", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "OrganisationTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisation", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachers", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teacher", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "children", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ChildTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "child", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "group", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "GroupType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "GroupTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "hello", "description": null, - "args": [ - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], + "args": [], "type": { "kind": "SCALAR", "name": "String", @@ -9584,161 +843,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "userInfo", - "description": null, - "args": [ - { - "name": "token", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "UserType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": "The ID of the object", - "args": [ - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "allProfiles", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_Username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "user_Username_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "OBJECT", - "name": "ProfileTypeConnection", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -9807,122 +911,7 @@ }, { "kind": "OBJECT", - "name": "RegChildGroup", - "description": null, - "fields": [ - { - "name": "modelType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RegChildToOrg", - "description": null, - "fields": [ - { - "name": "modelType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RegOrganisatorToOrg", - "description": null, - "fields": [ - { - "name": "modelType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "OrganisatorType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RegTeacherClass", - "description": null, - "fields": [ - { - "name": "teacher", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RegTeacherToOrg", - "description": null, - "fields": [ - { - "name": "modelType", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RegisterUser", + "name": "UpdateDoc", "description": null, "fields": [ { @@ -9943,2341 +932,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "RegisterUserInput", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "username", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "password", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RemoveSubjectFromTeacher", - "description": null, - "fields": [ - { - "name": "teacher", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "RoleType", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ScoringTasks", - "description": null, - "fields": [ - { - "name": "answer", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "AnswerType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SubjectType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisation", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachersGive", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectclasslocalSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "group", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LocalSubjectTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SubjectTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubjectTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SubjectTypeEdge", - "description": "A Relay edge containing a `SubjectType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "SubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TaskType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "theory", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "practise", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lesson", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TestsTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "maxScore", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isTiming", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "time", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "Type", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskTypeType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isAutocheck", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "autoCheckData", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TaskTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TaskTypeEdge", - "description": "A Relay edge containing a `TaskType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TaskType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TaskTypeType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taskSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TaskTypeTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskTypeTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TaskTypeTypeEdge", - "description": "A Relay edge containing a `TaskTypeType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TaskTypeType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TeacherType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "org", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "OrganisationType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "profile", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "groups", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "GroupTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "surname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "midname", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organisation", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "teachersGive_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SubjectTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "subjectclasslocalSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name_Contains", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "group", - "description": null, - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LocalSubjectTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hyperlink", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "HyperLinkType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TeacherTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TeacherTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TeacherTypeEdge", - "description": "A Relay edge containing a `TeacherType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TeacherType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TestsType", - "description": null, - "fields": [ - { - "name": "id", - "description": "The ID of the object.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deadline", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "lesson", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LessonType", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "isTiming", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "timeSec", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taskSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "test", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "types_Contains", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "number", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answersheetSet", - "description": null, - "args": [ - { - "name": "offset", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AnswerSheetTypeConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "taskLen", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "answerLen", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TestsTypeConnection", - "description": null, - "fields": [ - { - "name": "pageInfo", - "description": "Pagination data for this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "edges", - "description": "Contains the nodes in this connection.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TestsTypeEdge", - "ofType": null - } - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "TestsTypeEdge", - "description": "A Relay edge containing a `TestsType` and its cursor.", - "fields": [ - { - "name": "node", - "description": "The item at the end of the edge", - "args": [], - "type": { - "kind": "OBJECT", - "name": "TestsType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "cursor", - "description": "A cursor for use in pagination", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "SCALAR", - "name": "UUID", - "description": "Leverages the internal Python implmeentation of UUID (uuid.UUID) to provide native UUID objects\nin fields, resolvers and input.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateLessonRegistration", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateSubjectLocalReg", - "description": null, - "fields": [ - { - "name": "subjectLocal", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "LocalSubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateSubjectReg", - "description": null, - "fields": [ - { - "name": "subject", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "SubjectType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "UserType", @@ -12456,25 +1110,78 @@ "deprecationReason": null }, { - "name": "profile", + "name": "materialSet", "description": null, - "args": [], + "args": [ + { + "name": "offset", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { - "kind": "OBJECT", - "name": "ProfileType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "pk", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MaterialTypeConnection", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -12512,202 +1219,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "OBJECT", - "name": "addChildToGroup", - "description": null, - "fields": [ - { - "name": "child", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "addChildToOrg", - "description": null, - "fields": [ - { - "name": "child", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "ChildType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "createTask", - "description": null, - "fields": [ - { - "name": "task", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TaskType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteTask", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "deleteTest", - "description": null, - "fields": [ - { - "name": "ok", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "getProfile", - "description": null, - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "userType", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateTask", - "description": null, - "fields": [ - { - "name": "task", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TaskType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "updateTestRegistration", - "description": null, - "fields": [ - { - "name": "test", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "TestsType", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "OBJECT", "name": "__Schema", diff --git a/package-lock.json b/package-lock.json index 5ac9ff0..f17693a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4646,6 +4646,16 @@ "integrity": "sha512-TbH79tcyi9FHwbyboOKeRachRq63mSuWYXOflsNO9ZyE5ClQ/JaozNKl+aWUq87qPNsXasXxi2AbgfwIJ+8GQw==", "dev": true }, + "@types/draft-js": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/@types/draft-js/-/draft-js-0.11.1.tgz", + "integrity": "sha512-jV4LAXYdVvS0ahIROZehkKqHgfLxaDBl3fzfEVqho8NxFAtEaObdIiu7FpPUu/Y97PlJVxGajar7aSikQqz9sQ==", + "dev": true, + "requires": { + "@types/react": "*", + "immutable": "~3.7.4" + } + }, "@types/eslint": { "version": "7.2.7", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.7.tgz", @@ -4898,9 +4908,9 @@ } }, "@types/react": { - "version": "16.14.5", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.5.tgz", - "integrity": "sha512-YRRv9DNZhaVTVRh9Wmmit7Y0UFhEVqXqCSw3uazRWMxa2x85hWQZ5BN24i7GXZbaclaLXEcodEeIHsjBA8eAMw==", + "version": "17.0.3", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.3.tgz", + "integrity": "sha512-wYOUxIgs2HZZ0ACNiIayItyluADNbONl7kt8lkLjVK8IitMH5QMyAh75Fwhmo37r1m7L2JaFj03sIfxBVDvRAg==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -4926,6 +4936,16 @@ "@types/react": "*" } }, + "@types/react-draft-wysiwyg": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@types/react-draft-wysiwyg/-/react-draft-wysiwyg-1.13.2.tgz", + "integrity": "sha512-Fz+DzXi5emVwEnrs9awgcivQ8kVcPkvTEr4prNogEeAFWZq7UJLe3u4Ws1UWU/kSxga0+3wWomb9ZzzrPKlkZw==", + "dev": true, + "requires": { + "@types/draft-js": "*", + "@types/react": "*" + } + }, "@types/react-router": { "version": "5.1.12", "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-5.1.12.tgz", @@ -7578,8 +7598,7 @@ "classnames": { "version": "2.2.6", "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", - "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==", - "dev": true + "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" }, "clean-css": { "version": "4.2.3", @@ -9362,6 +9381,38 @@ } } }, + "draft-js": { + "version": "0.11.7", + "resolved": "https://registry.npmjs.org/draft-js/-/draft-js-0.11.7.tgz", + "integrity": "sha512-ne7yFfN4sEL82QPQEn80xnADR8/Q6ALVworbC5UOSzOvjffmYfFsr3xSZtxbIirti14R7Y33EZC5rivpLgIbsg==", + "requires": { + "fbjs": "^2.0.0", + "immutable": "~3.7.4", + "object-assign": "^4.1.1" + }, + "dependencies": { + "fbjs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-2.0.0.tgz", + "integrity": "sha512-8XA8ny9ifxrAWlyhAbexXcs3rRMtxWcs3M0lctLfB49jRDHiaxj+Mo0XxbwE7nKZYzgCFoq64FS+WFd4IycPPQ==", + "requires": { + "core-js": "^3.6.4", + "cross-fetch": "^3.0.4", + "fbjs-css-vars": "^1.0.0", + "loose-envify": "^1.0.0", + "object-assign": "^4.1.0", + "promise": "^7.1.1", + "setimmediate": "^1.0.5", + "ua-parser-js": "^0.7.18" + } + } + } + }, + "draftjs-utils": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/draftjs-utils/-/draftjs-utils-0.10.2.tgz", + "integrity": "sha512-EstHqr3R3JVcilJrBaO/A+01GvwwKmC7e4TCjC7S94ZeMh4IVmf60OuQXtHHpwItK8C2JCi3iljgN5KHkJboUg==" + }, "duplexer": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", @@ -12141,6 +12192,11 @@ "integrity": "sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==", "dev": true }, + "html-to-draftjs": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/html-to-draftjs/-/html-to-draftjs-1.5.0.tgz", + "integrity": "sha512-kggLXBNciKDwKf+KYsuE+V5gw4dZ7nHyGMX9m0wy7urzWjKGWyNFetmArRLvRV0VrxKN70WylFsJvMTJx02OBQ==" + }, "html-void-elements": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz", @@ -15270,6 +15326,14 @@ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" }, + "linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "requires": { + "uc.micro": "^1.0.1" + } + }, "listr": { "version": "0.14.3", "resolved": "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz", @@ -18955,6 +19019,18 @@ "scheduler": "^0.20.1" } }, + "react-draft-wysiwyg": { + "version": "1.14.6", + "resolved": "https://registry.npmjs.org/react-draft-wysiwyg/-/react-draft-wysiwyg-1.14.6.tgz", + "integrity": "sha512-EMIteBVnlMAP3T97OfjlKchsHZ15mYWQwRw8QIInOtAvlZnnTydRjuHMCN0PuQ2dsXwMkJ7+MWc2aTL5RiXmFg==", + "requires": { + "classnames": "^2.2.6", + "draftjs-utils": "^0.10.2", + "html-to-draftjs": "^1.5.0", + "linkify-it": "^2.2.0", + "prop-types": "^15.7.2" + } + }, "react-draggable": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/react-draggable/-/react-draggable-4.4.3.tgz", @@ -22252,6 +22328,11 @@ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.25.tgz", "integrity": "sha512-8NFExdfI24Ny8R3Vc6+uUytP/I7dpqk3JERlvxPWlrtx5YboqCgxAXYKPAifbPLV2zKbgmmPL53ufW7mUC/VOQ==" }, + "uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "unbox-primitive": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.0.tgz", @@ -23104,6 +23185,11 @@ "integrity": "sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==", "dev": true }, + "web-vitals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-1.1.1.tgz", + "integrity": "sha512-jYOaqu01Ny1NvMwJ3dBJDUOJ2PGWknZWH4AUnvFOscvbdHMERIKT2TlgiAey5rVyfOePG7so2JcXXZdSnBvioQ==" + }, "webidl-conversions": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", diff --git a/package.json b/package.json index e3b84d5..dccfae9 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,11 @@ "@types/node": "^12.20.6", "@types/react": "^17.0.3", "@types/react-sidebar": "^3.0.0", + "draft-js": "^0.11.7", "graphql": "^15.5.0", "react": "^17.0.1", "react-dom": "^17.0.1", + "react-draft-wysiwyg": "^1.14.6", "react-router-dom": "^5.2.0", "react-scripts": "^4.0.3", "react-sidebar": "^3.0.2", @@ -61,7 +63,9 @@ "@storybook/node-logger": "^6.1.21", "@storybook/preset-create-react-app": "^3.1.7", "@storybook/react": "^6.1.21", + "@types/draft-js": "^0.11.1", "@types/react-dom": "^17.0.3", + "@types/react-draft-wysiwyg": "^1.13.2", "@types/react-router-dom": "^5.1.7" } } diff --git a/regSchema.graphql b/regSchema.graphql index b2f48a8..e466083 100644 --- a/regSchema.graphql +++ b/regSchema.graphql @@ -5,7 +5,41 @@ mutation auth($username:String!, $password:String!){ } mutation register($username:String!, $password:String!){ - registerUser(input:{username:$username, password:$password}){ + createUser(username:$username, password:$password){ ok } - } \ No newline at end of file + } + +query getMaterials($token: String){ + materialsByUser(token:$token){ + name + state + content + id + } +} +mutation UpdateDoc($id:ID, $content:String, $name:String, $state:String){ + updateDoc(content:$content, id:$id, name:$name, state:$state){ + ok + } +} +mutation DeleteDoc($id:ID){ + deleteDoc(id:$id){ + ok + } +} + +query getMaterialByID($id:ID!){ + material(id:$id){ + name + state + } +} + +mutation CreateDoc($token: String, $name:String){ + createDoc(token:$token, content:"Это новый документ!",name:$name, state:"{\"blocks\":[{\"key\":\"637gr\",\"text\":\"Это новый документ!\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}"){ + document{ + id + } + } +} \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 8331230..f140c51 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -16,7 +16,7 @@ export const App:react.FC = () => { - + diff --git a/src/generated/graphql.tsx b/src/generated/graphql.tsx index efead77..fadfb59 100644 --- a/src/generated/graphql.tsx +++ b/src/generated/graphql.tsx @@ -12,12 +12,6 @@ export type Scalars = { Boolean: boolean; Int: number; Float: number; - /** - * The `Date` scalar type represents a Date - * value as specified by - * [iso8601](https://en.wikipedia.org/wiki/ISO_8601). - */ - Date: any; /** * The `DateTime` scalar type represents a DateTime * value as specified by @@ -30,790 +24,62 @@ export type Scalars = { * String, Boolean, Int, Float, List or Object. */ GenericScalar: any; - /** - * Leverages the internal Python implmeentation of UUID (uuid.UUID) to provide native UUID objects - * in fields, resolvers and input. - */ - UUID: any; }; -export type AddGroupToOrg = { - __typename?: 'AddGroupToOrg'; - group?: Maybe; +export type CreateDoc = { + __typename?: 'CreateDoc'; + document?: Maybe; }; -export type AddSubjectToTeacher = { - __typename?: 'AddSubjectToTeacher'; - teacher?: Maybe; +export type CreateUser = { + __typename?: 'CreateUser'; + ok?: Maybe; }; -export type AnswerQuestion = { - __typename?: 'AnswerQuestion'; - answer?: Maybe; + +export type DeleteDoc = { + __typename?: 'DeleteDoc'; + ok?: Maybe; }; -export type AnswerSheetType = Node & { - __typename?: 'AnswerSheetType'; + +export type MaterialType = Node & { + __typename?: 'MaterialType'; /** The ID of the object. */ id: Scalars['ID']; - child: ChildType; - completed: Scalars['Boolean']; - test: TestsType; - answerSet: AnswerTypeConnection; -}; - - -export type AnswerSheetTypeAnswerSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - sheet?: Maybe; - number?: Maybe; -}; - -export type AnswerSheetTypeConnection = { - __typename?: 'AnswerSheetTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `AnswerSheetType` and its cursor. */ -export type AnswerSheetTypeEdge = { - __typename?: 'AnswerSheetTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type AnswerType = Node & { - __typename?: 'AnswerType'; - /** The ID of the object. */ - id: Scalars['ID']; - sheet: AnswerSheetType; + user: UserType; content: Scalars['String']; - number: Scalars['Int']; - completed: Scalars['Boolean']; - score: Scalars['Int']; - pk?: Maybe; -}; - -export type AnswerTypeConnection = { - __typename?: 'AnswerTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `AnswerType` and its cursor. */ -export type AnswerTypeEdge = { - __typename?: 'AnswerTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type ChangeMaterail = { - __typename?: 'ChangeMaterail'; - material?: Maybe; -}; - -export type ChildType = Node & { - __typename?: 'ChildType'; - /** The ID of the object. */ - id: Scalars['ID']; - profile: ProfileType; - org: OrganisationType; - groups: GroupTypeConnection; name: Scalars['String']; - surname: Scalars['String']; - midname: Scalars['String']; - answersheetSet: AnswerSheetTypeConnection; - hyperlink?: Maybe; - pk?: Maybe; + state: Scalars['String']; }; - -export type ChildTypeGroupsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; -}; - - -export type ChildTypeAnswersheetSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; -}; - -export type ChildTypeConnection = { - __typename?: 'ChildTypeConnection'; +export type MaterialTypeConnection = { + __typename?: 'MaterialTypeConnection'; /** Pagination data for this connection. */ pageInfo: PageInfo; /** Contains the nodes in this connection. */ - edges: Array>; + edges: Array>; }; -/** A Relay edge containing a `ChildType` and its cursor. */ -export type ChildTypeEdge = { - __typename?: 'ChildTypeEdge'; +/** A Relay edge containing a `MaterialType` and its cursor. */ +export type MaterialTypeEdge = { + __typename?: 'MaterialTypeEdge'; /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type CreateAnswer = { - __typename?: 'CreateAnswer'; - answer?: Maybe; -}; - -export type CreateAnwerSheet = { - __typename?: 'CreateAnwerSheet'; - answer?: Maybe; -}; - -export type CreateGroup = { - __typename?: 'CreateGroup'; - group?: Maybe; -}; - -export type CreateLesson = { - __typename?: 'CreateLesson'; - ok?: Maybe; - lesson?: Maybe; -}; - -export type CreateMaterial = { - __typename?: 'CreateMaterial'; - material?: Maybe; -}; - -export type CreateOrg = { - __typename?: 'CreateOrg'; - Org?: Maybe; -}; - -export type CreateSubject = { - __typename?: 'CreateSubject'; - subject?: Maybe; -}; - -export type CreateSubjectClass = { - __typename?: 'CreateSubjectClass'; - subjectClass?: Maybe; -}; - -export type CreateTest = { - __typename?: 'CreateTest'; - test?: Maybe; -}; - - - -export type DeleteChildGroup = { - __typename?: 'DeleteChildGroup'; - modelType?: Maybe; -}; - -export type DeleteGroup = { - __typename?: 'DeleteGroup'; - ok?: Maybe; -}; - -export type DeleteLesson = { - __typename?: 'DeleteLesson'; - ok?: Maybe; -}; - -export type DeleteMaterial = { - __typename?: 'DeleteMaterial'; - ok?: Maybe; -}; - -export type DeleteSubject = { - __typename?: 'DeleteSubject'; - ok?: Maybe; -}; - -export type DeleteSubjectLocal = { - __typename?: 'DeleteSubjectLocal'; - ok?: Maybe; -}; - -export type DeleteTeacherClass = { - __typename?: 'DeleteTeacherClass'; - teacher?: Maybe; -}; - - -export type GroupType = Node & { - __typename?: 'GroupType'; - /** The ID of the object. */ - id: Scalars['ID']; - name: Scalars['String']; - org: OrganisationType; - teacherSet: TeacherTypeConnection; - childSet: ChildTypeConnection; - organisatorSet: OrganisatorTypeConnection; - subjectclasslocalSet: LocalSubjectTypeConnection; - pk?: Maybe; - classes?: Maybe>>; - childrenLen?: Maybe; -}; - - -export type GroupTypeTeacherSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type GroupTypeChildSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type GroupTypeOrganisatorSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type GroupTypeSubjectclasslocalSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - id?: Maybe; - group?: Maybe; -}; - -export type GroupTypeConnection = { - __typename?: 'GroupTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `GroupType` and its cursor. */ -export type GroupTypeEdge = { - __typename?: 'GroupTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type HyperLinkType = { - __typename?: 'HyperLinkType'; - link: Scalars['UUID']; - teacher?: Maybe; - child?: Maybe; - organ?: Maybe; -}; - -export type LessonType = Node & { - __typename?: 'LessonType'; - /** The ID of the object. */ - id: Scalars['ID']; - typeLesson: LocalSubjectType; - name: Scalars['String']; - descr: Scalars['String']; - content: Scalars['String']; - timeLesson: Scalars['DateTime']; - materialsSet: MaterialConnection; - testsSet: TestsTypeConnection; - pk?: Maybe; - tests?: Maybe>>; - testsLen?: Maybe; - materialsLen?: Maybe; - materials?: Maybe>>; -}; - - -export type LessonTypeMaterialsSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; -}; - - -export type LessonTypeTestsSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - lesson?: Maybe; -}; - -export type LessonTypeConnection = { - __typename?: 'LessonTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `LessonType` and its cursor. */ -export type LessonTypeEdge = { - __typename?: 'LessonTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type LocalSubjectType = Node & { - __typename?: 'LocalSubjectType'; - /** The ID of the object. */ - id: Scalars['ID']; - subject: SubjectType; - teachers: TeacherTypeConnection; - group: GroupType; - name: Scalars['String']; - lessonSet: LessonTypeConnection; - pk?: Maybe; - teachersSet?: Maybe>>; - lessonsLen?: Maybe; -}; - - -export type LocalSubjectTypeTeachersArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type LocalSubjectTypeLessonSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - descr?: Maybe; - descr_Contains?: Maybe; -}; - -export type LocalSubjectTypeConnection = { - __typename?: 'LocalSubjectTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `LocalSubjectType` and its cursor. */ -export type LocalSubjectTypeEdge = { - __typename?: 'LocalSubjectTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type Material = Node & { - __typename?: 'Material'; - /** The ID of the object. */ - id: Scalars['ID']; - link: Scalars['String']; - name: Scalars['String']; - data: Scalars['String']; - Type: Scalars['String']; - lesson: LessonType; -}; - -export type MaterialConnection = { - __typename?: 'MaterialConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `Material` and its cursor. */ -export type MaterialEdge = { - __typename?: 'MaterialEdge'; - /** The item at the end of the edge */ - node?: Maybe; + node?: Maybe; /** A cursor for use in pagination */ cursor: Scalars['String']; }; export type Mutation = { __typename?: 'Mutation'; - getProfile?: Maybe; - createLesson?: Maybe; - updateLessonRegistration?: Maybe; - deleteLesson?: Maybe; - createTest?: Maybe; - updateTestRegistration?: Maybe; - deleteTest?: Maybe; - createTask?: Maybe; - updateTask?: Maybe; - deleteTask?: Maybe; - addChildToGroup?: Maybe; - addChildToOrg?: Maybe; - createSubjectClass?: Maybe; - updateSubjectClass?: Maybe; - deleteSubjectClass?: Maybe; - createSubject?: Maybe; - updateSubject?: Maybe; - deleteSubject?: Maybe; - addSubjectToTeacher?: Maybe; - removeSubjectFromTeacher?: Maybe; - answerQuestion?: Maybe; - createMaterial?: Maybe; - deleteMaterial?: Maybe; - changeMaterial?: Maybe; - createAnwerSheet?: Maybe; - createAnswer?: Maybe; - scoringTasks?: Maybe; - createOrg?: Maybe; - createGroup?: Maybe; - addGroupToOrg?: Maybe; - deleteGroup?: Maybe; - regTeacherOrg?: Maybe; - regChildOrg?: Maybe; - regChildGroup?: Maybe; - deleteChildGroup?: Maybe; - regTeacherClass?: Maybe; - deleteTeacherClass?: Maybe; - regOrganisatorToOrg?: Maybe; /** Obtain JSON Web Token mutation */ tokenAuth?: Maybe; verifyToken?: Maybe; refreshToken?: Maybe; - registerUser?: Maybe; -}; - - -export type MutationGetProfileArgs = { - profileToken?: Maybe; - userId?: Maybe; -}; - - -export type MutationCreateLessonArgs = { - descr?: Maybe; - name?: Maybe; - subject?: Maybe; -}; - - -export type MutationUpdateLessonRegistrationArgs = { - descr?: Maybe; - id?: Maybe; - name?: Maybe; -}; - - -export type MutationDeleteLessonArgs = { - id?: Maybe; -}; - - -export type MutationCreateTestArgs = { - deadline?: Maybe; - lessonId?: Maybe; - name?: Maybe; -}; - - -export type MutationUpdateTestRegistrationArgs = { - deadline?: Maybe; - name?: Maybe; - testId?: Maybe; -}; - - -export type MutationDeleteTestArgs = { - testId?: Maybe; -}; - - -export type MutationCreateTaskArgs = { - Type?: Maybe; - maxScore?: Maybe; - number?: Maybe; - practise?: Maybe; - testId?: Maybe; - theory?: Maybe; -}; - - -export type MutationUpdateTaskArgs = { - Type?: Maybe; - autoCheck?: Maybe; - autoCheckData?: Maybe; - isTime?: Maybe; - maxScore?: Maybe; - number?: Maybe; - practise?: Maybe; - taskId?: Maybe; - theory?: Maybe; - time?: Maybe; -}; - - -export type MutationDeleteTaskArgs = { - taskId?: Maybe; -}; - - -export type MutationAddChildToGroupArgs = { - childId?: Maybe; - groupId?: Maybe; -}; - - -export type MutationAddChildToOrgArgs = { - childId?: Maybe; - midname?: Maybe; - name?: Maybe; - orgId?: Maybe; - surname?: Maybe; -}; - - -export type MutationCreateSubjectClassArgs = { - groupId?: Maybe; - name?: Maybe; - subjectId?: Maybe; -}; - - -export type MutationUpdateSubjectClassArgs = { - name?: Maybe; - subjectLocalId?: Maybe; -}; - - -export type MutationDeleteSubjectClassArgs = { - subjectLocalId?: Maybe; -}; - - -export type MutationCreateSubjectArgs = { - name?: Maybe; - orgId?: Maybe; -}; - - -export type MutationUpdateSubjectArgs = { - name?: Maybe; - subjectId?: Maybe; -}; - - -export type MutationDeleteSubjectArgs = { - subjectId?: Maybe; -}; - - -export type MutationAddSubjectToTeacherArgs = { - subjectId?: Maybe; - teacherId?: Maybe; -}; - - -export type MutationRemoveSubjectFromTeacherArgs = { - subjectId?: Maybe; - teacherId?: Maybe; -}; - - -export type MutationAnswerQuestionArgs = { - answer?: Maybe; - answerTableId?: Maybe; -}; - - -export type MutationCreateMaterialArgs = { - data?: Maybe; - lessonType?: Maybe; - lessonId?: Maybe; - name?: Maybe; -}; - - -export type MutationDeleteMaterialArgs = { - materialId?: Maybe; -}; - - -export type MutationChangeMaterialArgs = { - data?: Maybe; - materialId?: Maybe; - name?: Maybe; -}; - - -export type MutationCreateAnwerSheetArgs = { - child?: Maybe; - test?: Maybe; -}; - - -export type MutationCreateAnswerArgs = { - data?: Maybe; - number?: Maybe; - sheet?: Maybe; -}; - - -export type MutationScoringTasksArgs = { - answerSheetId?: Maybe; - number?: Maybe; - score?: Maybe; -}; - - -export type MutationCreateOrgArgs = { - name?: Maybe; -}; - - -export type MutationCreateGroupArgs = { - groupName?: Maybe; - orgName?: Maybe; -}; - - -export type MutationAddGroupToOrgArgs = { - groupName?: Maybe; - orgName?: Maybe; -}; - - -export type MutationDeleteGroupArgs = { - groupName?: Maybe; - orgName?: Maybe; -}; - - -export type MutationRegTeacherOrgArgs = { - midname?: Maybe; - name?: Maybe; - orgId?: Maybe; - surname?: Maybe; - userId?: Maybe; -}; - - -export type MutationRegChildOrgArgs = { - midname?: Maybe; - name?: Maybe; - orgId?: Maybe; - surname?: Maybe; - userId?: Maybe; -}; - - -export type MutationRegChildGroupArgs = { - groupId?: Maybe; - userId?: Maybe; -}; - - -export type MutationDeleteChildGroupArgs = { - groupId?: Maybe; - modelId?: Maybe; -}; - - -export type MutationRegTeacherClassArgs = { - classId?: Maybe; - teacherId?: Maybe; -}; - - -export type MutationDeleteTeacherClassArgs = { - classId?: Maybe; - teacherId?: Maybe; -}; - - -export type MutationRegOrganisatorToOrgArgs = { - midname?: Maybe; - name?: Maybe; - orgId?: Maybe; - surname?: Maybe; - userId?: Maybe; + createUser?: Maybe; + createDoc?: Maybe; + updateDoc?: Maybe; + deleteDoc?: Maybe; }; @@ -833,8 +99,30 @@ export type MutationRefreshTokenArgs = { }; -export type MutationRegisterUserArgs = { - input: RegisterUserInput; +export type MutationCreateUserArgs = { + password?: Maybe; + username?: Maybe; +}; + + +export type MutationCreateDocArgs = { + content?: Maybe; + name?: Maybe; + state?: Maybe; + token?: Maybe; +}; + + +export type MutationUpdateDocArgs = { + content?: Maybe; + id?: Maybe; + name?: Maybe; + state?: Maybe; +}; + + +export type MutationDeleteDocArgs = { + id?: Maybe; }; /** An object with an ID */ @@ -851,157 +139,6 @@ export type ObtainJsonWebToken = { token: Scalars['String']; }; -export type OrganisationType = Node & { - __typename?: 'OrganisationType'; - /** The ID of the object. */ - id: Scalars['ID']; - name: Scalars['String']; - groupSet: GroupTypeConnection; - teacherSet: TeacherTypeConnection; - childSet: ChildTypeConnection; - organisatorSet: OrganisatorTypeConnection; - subjectSet: SubjectTypeConnection; - childrenLength?: Maybe; - classesLength?: Maybe; - subjects?: Maybe>>; -}; - - -export type OrganisationTypeGroupSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; -}; - - -export type OrganisationTypeTeacherSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type OrganisationTypeChildSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type OrganisationTypeOrganisatorSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type OrganisationTypeSubjectSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - organisation?: Maybe; - teachersGive_Contains?: Maybe>>; -}; - -export type OrganisationTypeConnection = { - __typename?: 'OrganisationTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `OrganisationType` and its cursor. */ -export type OrganisationTypeEdge = { - __typename?: 'OrganisationTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type OrganisatorType = Node & { - __typename?: 'OrganisatorType'; - /** The ID of the object. */ - id: Scalars['ID']; - profile: ProfileType; - org: OrganisationType; - groups: GroupTypeConnection; - name: Scalars['String']; - surname: Scalars['String']; - midname: Scalars['String']; - hyperlink?: Maybe; -}; - - -export type OrganisatorTypeGroupsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; -}; - -export type OrganisatorTypeConnection = { - __typename?: 'OrganisatorTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `OrganisatorType` and its cursor. */ -export type OrganisatorTypeEdge = { - __typename?: 'OrganisatorTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - /** The Relay compliant `PageInfo` type, containing data necessary to paginate this connection. */ export type PageInfo = { __typename?: 'PageInfo'; @@ -1015,247 +152,12 @@ export type PageInfo = { endCursor?: Maybe; }; -export type ProfileType = Node & { - __typename?: 'ProfileType'; - /** The ID of the object. */ - id: Scalars['ID']; - user: UserType; - teacherSet: TeacherTypeConnection; - childSet: ChildTypeConnection; - organisatorSet: OrganisatorTypeConnection; - pk?: Maybe; -}; - - -export type ProfileTypeTeacherSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type ProfileTypeChildSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type ProfileTypeOrganisatorSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - -export type ProfileTypeConnection = { - __typename?: 'ProfileTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `ProfileType` and its cursor. */ -export type ProfileTypeEdge = { - __typename?: 'ProfileTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - export type Query = { __typename?: 'Query'; - hyperLinks?: Maybe>>; - allTest?: Maybe; /** The ID of the object */ - test?: Maybe; - allSubject?: Maybe; - /** The ID of the object */ - subject?: Maybe; - /** The ID of the object */ - answerSheet?: Maybe; - allAnswerSheet?: Maybe; - /** The ID of the object */ - answer?: Maybe; - allAnswer?: Maybe; - allLessons?: Maybe; - /** The ID of the object */ - lessons?: Maybe; - /** The ID of the object */ - subjectClass?: Maybe; - subjectClasses?: Maybe; - materials?: Maybe; - /** The ID of the object */ - material?: Maybe; - /** The ID of the object */ - gettaskType?: Maybe; - taskTypes?: Maybe; - tasks?: Maybe; - /** The ID of the object */ - task?: Maybe; - roles?: Maybe>>; - organisations?: Maybe; - /** The ID of the object */ - organisation?: Maybe; - teachers?: Maybe; - /** The ID of the object */ - teacher?: Maybe; - children?: Maybe; - /** The ID of the object */ - child?: Maybe; - /** The ID of the object */ - group?: Maybe; - groups?: Maybe; + material?: Maybe; + materialsByUser?: Maybe>>; hello?: Maybe; - userInfo?: Maybe; - /** The ID of the object */ - profile?: Maybe; - allProfiles?: Maybe; -}; - - -export type QueryAllTestArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - lesson?: Maybe; -}; - - -export type QueryTestArgs = { - id: Scalars['ID']; -}; - - -export type QueryAllSubjectArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - organisation?: Maybe; - teachersGive_Contains?: Maybe>>; -}; - - -export type QuerySubjectArgs = { - id: Scalars['ID']; -}; - - -export type QueryAnswerSheetArgs = { - id: Scalars['ID']; -}; - - -export type QueryAllAnswerSheetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -export type QueryAnswerArgs = { - id: Scalars['ID']; -}; - - -export type QueryAllAnswerArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - sheet?: Maybe; - number?: Maybe; -}; - - -export type QueryAllLessonsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - descr?: Maybe; - descr_Contains?: Maybe; -}; - - -export type QueryLessonsArgs = { - id: Scalars['ID']; -}; - - -export type QuerySubjectClassArgs = { - id: Scalars['ID']; -}; - - -export type QuerySubjectClassesArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - id?: Maybe; - group?: Maybe; -}; - - -export type QueryMaterialsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; }; @@ -1264,138 +166,8 @@ export type QueryMaterialArgs = { }; -export type QueryGettaskTypeArgs = { - id: Scalars['ID']; -}; - - -export type QueryTaskTypesArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; -}; - - -export type QueryTasksArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - test?: Maybe>>; - types_Contains?: Maybe>>; - number?: Maybe; -}; - - -export type QueryTaskArgs = { - id: Scalars['ID']; -}; - - -export type QueryOrganisationsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; -}; - - -export type QueryOrganisationArgs = { - id: Scalars['ID']; -}; - - -export type QueryTeachersArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type QueryTeacherArgs = { - id: Scalars['ID']; -}; - - -export type QueryChildrenArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type QueryChildArgs = { - id: Scalars['ID']; -}; - - -export type QueryGroupArgs = { - id: Scalars['ID']; -}; - - -export type QueryGroupsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; -}; - - -export type QueryHelloArgs = { - token: Scalars['String']; -}; - - -export type QueryUserInfoArgs = { - token: Scalars['String']; -}; - - -export type QueryProfileArgs = { - id: Scalars['ID']; -}; - - -export type QueryAllProfilesArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - user_Username?: Maybe; - user_Username_Contains?: Maybe; +export type QueryMaterialsByUserArgs = { + token?: Maybe; }; export type Refresh = { @@ -1405,339 +177,11 @@ export type Refresh = { token: Scalars['String']; }; -export type RegChildGroup = { - __typename?: 'RegChildGroup'; - modelType?: Maybe; -}; - -export type RegChildToOrg = { - __typename?: 'RegChildToOrg'; - modelType?: Maybe; -}; - -export type RegOrganisatorToOrg = { - __typename?: 'RegOrganisatorToOrg'; - modelType?: Maybe; -}; - -export type RegTeacherClass = { - __typename?: 'RegTeacherClass'; - teacher?: Maybe; -}; - -export type RegTeacherToOrg = { - __typename?: 'RegTeacherToOrg'; - modelType?: Maybe; -}; - -export type RegisterUser = { - __typename?: 'RegisterUser'; +export type UpdateDoc = { + __typename?: 'UpdateDoc'; ok?: Maybe; }; -export type RegisterUserInput = { - username?: Maybe; - password?: Maybe; -}; - -export type RemoveSubjectFromTeacher = { - __typename?: 'RemoveSubjectFromTeacher'; - teacher?: Maybe; -}; - -export type RoleType = { - __typename?: 'RoleType'; - id: Scalars['ID']; - name: Scalars['String']; -}; - -export type ScoringTasks = { - __typename?: 'ScoringTasks'; - answer?: Maybe; -}; - -export type SubjectType = Node & { - __typename?: 'SubjectType'; - /** The ID of the object. */ - id: Scalars['ID']; - name: Scalars['String']; - organisation: OrganisationType; - teachersGive: TeacherTypeConnection; - subjectclasslocalSet: LocalSubjectTypeConnection; - pk?: Maybe; -}; - - -export type SubjectTypeTeachersGiveArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - surname?: Maybe; - surname_Contains?: Maybe; - midname?: Maybe; - midname_Contains?: Maybe; - org?: Maybe; - profile?: Maybe; - groups_Contains?: Maybe>>; -}; - - -export type SubjectTypeSubjectclasslocalSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - id?: Maybe; - group?: Maybe; -}; - -export type SubjectTypeConnection = { - __typename?: 'SubjectTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `SubjectType` and its cursor. */ -export type SubjectTypeEdge = { - __typename?: 'SubjectTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type TaskType = Node & { - __typename?: 'TaskType'; - /** The ID of the object. */ - id: Scalars['ID']; - theory: Scalars['String']; - practise: Scalars['String']; - test: TestsTypeConnection; - number: Scalars['Int']; - maxScore: Scalars['Int']; - isTiming: Scalars['Boolean']; - time: Scalars['Int']; - Type: TaskTypeType; - isAutocheck: Scalars['Boolean']; - autoCheckData: Scalars['String']; - pk?: Maybe; -}; - - -export type TaskTypeTestArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - lesson?: Maybe; -}; - -export type TaskTypeConnection = { - __typename?: 'TaskTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `TaskType` and its cursor. */ -export type TaskTypeEdge = { - __typename?: 'TaskTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type TaskTypeType = Node & { - __typename?: 'TaskTypeType'; - /** The ID of the object. */ - id: Scalars['ID']; - name: Scalars['String']; - taskSet: TaskTypeConnection; -}; - - -export type TaskTypeTypeTaskSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - test?: Maybe>>; - types_Contains?: Maybe>>; - number?: Maybe; -}; - -export type TaskTypeTypeConnection = { - __typename?: 'TaskTypeTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `TaskTypeType` and its cursor. */ -export type TaskTypeTypeEdge = { - __typename?: 'TaskTypeTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type TeacherType = Node & { - __typename?: 'TeacherType'; - /** The ID of the object. */ - id: Scalars['ID']; - org: OrganisationType; - profile: ProfileType; - groups: GroupTypeConnection; - name: Scalars['String']; - surname: Scalars['String']; - midname: Scalars['String']; - subjectSet: SubjectTypeConnection; - subjectclasslocalSet: LocalSubjectTypeConnection; - hyperlink?: Maybe; - pk?: Maybe; -}; - - -export type TeacherTypeGroupsArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; -}; - - -export type TeacherTypeSubjectSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - organisation?: Maybe; - teachersGive_Contains?: Maybe>>; -}; - - -export type TeacherTypeSubjectclasslocalSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - name?: Maybe; - name_Contains?: Maybe; - id?: Maybe; - group?: Maybe; -}; - -export type TeacherTypeConnection = { - __typename?: 'TeacherTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `TeacherType` and its cursor. */ -export type TeacherTypeEdge = { - __typename?: 'TeacherTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - -export type TestsType = Node & { - __typename?: 'TestsType'; - /** The ID of the object. */ - id: Scalars['ID']; - name: Scalars['String']; - deadline: Scalars['DateTime']; - lesson: LessonType; - isTiming: Scalars['Boolean']; - timeSec: Scalars['Int']; - taskSet: TaskTypeConnection; - answersheetSet: AnswerSheetTypeConnection; - pk?: Maybe; - taskLen?: Maybe; - answerLen?: Maybe; -}; - - -export type TestsTypeTaskSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; - test?: Maybe>>; - types_Contains?: Maybe>>; - number?: Maybe; -}; - - -export type TestsTypeAnswersheetSetArgs = { - offset?: Maybe; - before?: Maybe; - after?: Maybe; - first?: Maybe; - last?: Maybe; -}; - -export type TestsTypeConnection = { - __typename?: 'TestsTypeConnection'; - /** Pagination data for this connection. */ - pageInfo: PageInfo; - /** Contains the nodes in this connection. */ - edges: Array>; -}; - -/** A Relay edge containing a `TestsType` and its cursor. */ -export type TestsTypeEdge = { - __typename?: 'TestsTypeEdge'; - /** The item at the end of the edge */ - node?: Maybe; - /** A cursor for use in pagination */ - cursor: Scalars['String']; -}; - - -export type UpdateLessonRegistration = { - __typename?: 'UpdateLessonRegistration'; - ok?: Maybe; -}; - -export type UpdateSubjectLocalReg = { - __typename?: 'UpdateSubjectLocalReg'; - subjectLocal?: Maybe; -}; - -export type UpdateSubjectReg = { - __typename?: 'UpdateSubjectReg'; - subject?: Maybe; -}; - export type UserType = { __typename?: 'UserType'; id: Scalars['ID']; @@ -1755,8 +199,16 @@ export type UserType = { /** Designates whether this user should be treated as active. Unselect this instead of deleting accounts. */ isActive: Scalars['Boolean']; dateJoined: Scalars['DateTime']; - profile?: Maybe; - pk?: Maybe; + materialSet: MaterialTypeConnection; +}; + + +export type UserTypeMaterialSetArgs = { + offset?: Maybe; + before?: Maybe; + after?: Maybe; + first?: Maybe; + last?: Maybe; }; export type Verify = { @@ -1764,47 +216,6 @@ export type Verify = { payload: Scalars['GenericScalar']; }; -export type AddChildToGroup = { - __typename?: 'addChildToGroup'; - child?: Maybe; -}; - -export type AddChildToOrg = { - __typename?: 'addChildToOrg'; - child?: Maybe; -}; - -export type CreateTask = { - __typename?: 'createTask'; - task?: Maybe; -}; - -export type DeleteTask = { - __typename?: 'deleteTask'; - ok?: Maybe; -}; - -export type DeleteTest = { - __typename?: 'deleteTest'; - ok?: Maybe; -}; - -export type GetProfile = { - __typename?: 'getProfile'; - id?: Maybe; - userType?: Maybe; -}; - -export type UpdateTask = { - __typename?: 'updateTask'; - task?: Maybe; -}; - -export type UpdateTestRegistration = { - __typename?: 'updateTestRegistration'; - test?: Maybe; -}; - export const AuthDocument = gql` mutation auth($username: String!, $password: String!) { @@ -1842,7 +253,7 @@ export type AuthMutationResult = Apollo.MutationResult; export type AuthMutationOptions = Apollo.BaseMutationOptions; export const RegisterDocument = gql` mutation register($username: String!, $password: String!) { - registerUser(input: {username: $username, password: $password}) { + createUser(username: $username, password: $password) { ok } } @@ -1874,6 +285,190 @@ export function useRegisterMutation(baseOptions?: Apollo.MutationHookOptions; export type RegisterMutationResult = Apollo.MutationResult; export type RegisterMutationOptions = Apollo.BaseMutationOptions; +export const GetMaterialsDocument = gql` + query getMaterials($token: String) { + materialsByUser(token: $token) { + name + state + content + id + } +} + `; + +/** + * __useGetMaterialsQuery__ + * + * To run a query within a React component, call `useGetMaterialsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetMaterialsQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetMaterialsQuery({ + * variables: { + * token: // value for 'token' + * }, + * }); + */ +export function useGetMaterialsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetMaterialsDocument, options); + } +export function useGetMaterialsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetMaterialsDocument, options); + } +export type GetMaterialsQueryHookResult = ReturnType; +export type GetMaterialsLazyQueryHookResult = ReturnType; +export type GetMaterialsQueryResult = Apollo.QueryResult; +export const UpdateDocDocument = gql` + mutation UpdateDoc($id: ID, $content: String, $name: String, $state: String) { + updateDoc(content: $content, id: $id, name: $name, state: $state) { + ok + } +} + `; +export type UpdateDocMutationFn = Apollo.MutationFunction; + +/** + * __useUpdateDocMutation__ + * + * To run a mutation, you first call `useUpdateDocMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useUpdateDocMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [updateDocMutation, { data, loading, error }] = useUpdateDocMutation({ + * variables: { + * id: // value for 'id' + * content: // value for 'content' + * name: // value for 'name' + * state: // value for 'state' + * }, + * }); + */ +export function useUpdateDocMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UpdateDocDocument, options); + } +export type UpdateDocMutationHookResult = ReturnType; +export type UpdateDocMutationResult = Apollo.MutationResult; +export type UpdateDocMutationOptions = Apollo.BaseMutationOptions; +export const DeleteDocDocument = gql` + mutation DeleteDoc($id: ID) { + deleteDoc(id: $id) { + ok + } +} + `; +export type DeleteDocMutationFn = Apollo.MutationFunction; + +/** + * __useDeleteDocMutation__ + * + * To run a mutation, you first call `useDeleteDocMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useDeleteDocMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [deleteDocMutation, { data, loading, error }] = useDeleteDocMutation({ + * variables: { + * id: // value for 'id' + * }, + * }); + */ +export function useDeleteDocMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteDocDocument, options); + } +export type DeleteDocMutationHookResult = ReturnType; +export type DeleteDocMutationResult = Apollo.MutationResult; +export type DeleteDocMutationOptions = Apollo.BaseMutationOptions; +export const GetMaterialByIdDocument = gql` + query getMaterialByID($id: ID!) { + material(id: $id) { + name + state + } +} + `; + +/** + * __useGetMaterialByIdQuery__ + * + * To run a query within a React component, call `useGetMaterialByIdQuery` and pass it any options that fit your needs. + * When your component renders, `useGetMaterialByIdQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useGetMaterialByIdQuery({ + * variables: { + * id: // value for 'id' + * }, + * }); + */ +export function useGetMaterialByIdQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetMaterialByIdDocument, options); + } +export function useGetMaterialByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetMaterialByIdDocument, options); + } +export type GetMaterialByIdQueryHookResult = ReturnType; +export type GetMaterialByIdLazyQueryHookResult = ReturnType; +export type GetMaterialByIdQueryResult = Apollo.QueryResult; +export const CreateDocDocument = gql` + mutation CreateDoc($token: String, $name: String) { + createDoc( + token: $token + content: "Это новый документ!" + name: $name + state: "{\\"blocks\\":[{\\"key\\":\\"637gr\\",\\"text\\":\\"Это новый документ!\\",\\"type\\":\\"unstyled\\",\\"depth\\":0,\\"inlineStyleRanges\\":[],\\"entityRanges\\":[],\\"data\\":{}}],\\"entityMap\\":{}}" + ) { + document { + id + } + } +} + `; +export type CreateDocMutationFn = Apollo.MutationFunction; + +/** + * __useCreateDocMutation__ + * + * To run a mutation, you first call `useCreateDocMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useCreateDocMutation` returns a tuple that includes: + * - A mutate function that you can call at any time to execute the mutation + * - An object with fields that represent the current status of the mutation's execution + * + * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; + * + * @example + * const [createDocMutation, { data, loading, error }] = useCreateDocMutation({ + * variables: { + * token: // value for 'token' + * name: // value for 'name' + * }, + * }); + */ +export function useCreateDocMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreateDocDocument, options); + } +export type CreateDocMutationHookResult = ReturnType; +export type CreateDocMutationResult = Apollo.MutationResult; +export type CreateDocMutationOptions = Apollo.BaseMutationOptions; export type AuthMutationVariables = Exact<{ username: Scalars['String']; password: Scalars['String']; @@ -1888,4 +483,43 @@ export type RegisterMutationVariables = Exact<{ }>; -export type RegisterMutation = { __typename?: 'Mutation', registerUser?: Maybe<{ __typename?: 'RegisterUser', ok?: Maybe }> }; +export type RegisterMutation = { __typename?: 'Mutation', createUser?: Maybe<{ __typename?: 'CreateUser', ok?: Maybe }> }; + +export type GetMaterialsQueryVariables = Exact<{ + token?: Maybe; +}>; + + +export type GetMaterialsQuery = { __typename?: 'Query', materialsByUser?: Maybe>> }; + +export type UpdateDocMutationVariables = Exact<{ + id?: Maybe; + content?: Maybe; + name?: Maybe; + state?: Maybe; +}>; + + +export type UpdateDocMutation = { __typename?: 'Mutation', updateDoc?: Maybe<{ __typename?: 'UpdateDoc', ok?: Maybe }> }; + +export type DeleteDocMutationVariables = Exact<{ + id?: Maybe; +}>; + + +export type DeleteDocMutation = { __typename?: 'Mutation', deleteDoc?: Maybe<{ __typename?: 'DeleteDoc', ok?: Maybe }> }; + +export type GetMaterialByIdQueryVariables = Exact<{ + id: Scalars['ID']; +}>; + + +export type GetMaterialByIdQuery = { __typename?: 'Query', material?: Maybe<{ __typename?: 'MaterialType', name: string, state: string }> }; + +export type CreateDocMutationVariables = Exact<{ + token?: Maybe; + name?: Maybe; +}>; + + +export type CreateDocMutation = { __typename?: 'Mutation', createDoc?: Maybe<{ __typename?: 'CreateDoc', document?: Maybe<{ __typename?: 'MaterialType', id: string }> }> }; diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts new file mode 100644 index 0000000..6431bc5 --- /dev/null +++ b/src/react-app-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/src/screens/BaseScreen/BaseScreen.tsx b/src/screens/BaseScreen/BaseScreen.tsx index 0b563d5..c42a6a1 100644 --- a/src/screens/BaseScreen/BaseScreen.tsx +++ b/src/screens/BaseScreen/BaseScreen.tsx @@ -1,21 +1,90 @@ import react from "react"; - +import {DocumentCard} from "../../uiKit/Documents/DocumentCard/DocumentCard" import {ApplicationSidebar} from "../../uiKit/Sidebar/Sidebar"; +import {useGetMaterialsLazyQuery, useGetMaterialsQuery} from "../../generated/graphql" +import { Route, useRouteMatch, Switch, useHistory } from "react-router"; +import {useCreateDocMutation} from "../../generated/graphql" +import {Document} from "../../uiKit/Documents/Document/Document" +import {useState} from "react"; +import { useLazyQuery, NetworkStatus } from "@apollo/client"; +import {DefaultInput} from "../../uiKit/Input/Input" +import {DefaultButton} from "../../uiKit/Button/Button" + export const BaseScreen:react.FC = () => { - return { + console.log(doc) + if (doc != undefined){ + history.push(doc?.createDoc?.document?.id == undefined? "":doc?.createDoc?.document?.id) + } + window.location.reload(); + } - ]} - closed={true} - > - fuck you - + }) + let {url} = useRouteMatch(); + let {loading, data} = useGetMaterialsQuery({variables:{token:localStorage.getItem("token")}}); + let [showModal, setShowModal] = useState(false) + let [docName, setDocName] = useState("Новый документ") + if (loading || loading_doc){ + return

Loading...

+ } + const сreateDocument = () => { + console.log( doc?.createDoc?.document) + createDoc({ + variables:{ + token:localStorage.getItem("token"), + name:docName + }, + + }); + + } + + + return( +
+ + + + + + + setShowModal(true)}>создать новый документ + {showModal == false?
: +
+ setDocName(e.target.value)}> + сreateDocument()}>Создать +
+ } +
+ {data && data?.materialsByUser?.map( materials => + + )} +
+
+
+
+ +
+ + ); } \ No newline at end of file diff --git a/src/screens/WriteCred/RegScreen/RegScreen.tsx b/src/screens/WriteCred/RegScreen/RegScreen.tsx index 87b6562..b0d7b5c 100644 --- a/src/screens/WriteCred/RegScreen/RegScreen.tsx +++ b/src/screens/WriteCred/RegScreen/RegScreen.tsx @@ -15,7 +15,7 @@ export const RegScreen:react.FC = () => { const location = useLocation(); console.log(location); const isSign = location.pathname.split("/").pop() == "Login"; - if (CheckUser()) return + if (CheckUser()) return return (
diff --git a/src/svg/TaskIcon.svg b/src/svg/TaskIcon.svg new file mode 100644 index 0000000..4d77933 --- /dev/null +++ b/src/svg/TaskIcon.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/uiKit/Documents/Document/Document.tsx b/src/uiKit/Documents/Document/Document.tsx new file mode 100644 index 0000000..95dce27 --- /dev/null +++ b/src/uiKit/Documents/Document/Document.tsx @@ -0,0 +1,56 @@ +import react, {useState} from "react" +import { + useParams, useRouteMatch, Link, Switch, Route, Redirect +} from "react-router-dom" +import "./style.css"; +import {MyUserComponentEditor} from "../TextEditor/TextEditor" +import {useUpdateDocMutation, useGetMaterialByIdQuery, useGetMaterialByIdLazyQuery} from "../../../generated/graphql" +import {EditorState} from "draft-js" +import { convertFromRaw, convertToRaw } from 'draft-js'; +import { get } from "node:https"; + + +export const Document:React.FC = () =>{ + + const [updateDoc] = useUpdateDocMutation(); + + const {docID} = useParams<{docID:string}>(); + + const {loading, data} = useGetMaterialByIdQuery({variables:{id:docID}}) + if (loading){ + return

loading...

+ } + if (!data){ + // console.log("нет данных") + // return + return
Loading.....
+ } + + + function onChange(state:any){ + updateDoc( + { + variables:{ + id:docID, state:JSON.stringify(convertToRaw(state)).toString(), + name: data?.material?.name.toString() , + content:"пп" + }, + } + ) + console.log(state) + + } + // let a = {"entityMap":{},"blocks":[{"key":"637gr","text":"Initialized from content state.","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}]}; + // updateDoc({variables:{id:docID, content:JSON.stringify(a)}}) + + let State = convertFromRaw(JSON.parse(data?.material?.state!)) + + + return ( +
+ onChange(e)}> +
+ + + ); +} \ No newline at end of file diff --git a/src/uiKit/Documents/Document/style.css b/src/uiKit/Documents/Document/style.css new file mode 100644 index 0000000..e69de29 diff --git a/src/uiKit/Documents/DocumentCard/DocumentCard.tsx b/src/uiKit/Documents/DocumentCard/DocumentCard.tsx new file mode 100644 index 0000000..f33fa75 --- /dev/null +++ b/src/uiKit/Documents/DocumentCard/DocumentCard.tsx @@ -0,0 +1,32 @@ +import react, {useState} from "react" +import { FileWatcherEventKind } from "typescript"; +import { + useParams, useRouteMatch, Link, Switch, Route, Redirect +} from "react-router-dom" +import "./style.css"; +import {Document} from "../Document/Document" +import {useDeleteDocMutation} from "../../../generated/graphql" + + +interface DocumentCardIE{ + id:string; + content:string + name:string +} + +export const DocumentCard:React.FC = (props)=>{ + let match = useRouteMatch(); + const [delDoc] = useDeleteDocMutation() + return( +
{props.name} + + + +
+ ); +} \ No newline at end of file diff --git a/src/uiKit/Documents/DocumentCard/style.css b/src/uiKit/Documents/DocumentCard/style.css new file mode 100644 index 0000000..e69de29 diff --git a/src/uiKit/Documents/TextEditor/TextEditor.jsx b/src/uiKit/Documents/TextEditor/TextEditor.jsx new file mode 100644 index 0000000..fdf5b26 --- /dev/null +++ b/src/uiKit/Documents/TextEditor/TextEditor.jsx @@ -0,0 +1,202 @@ +import React, { Component } from 'react'; +import { + AtomicBlockUtils, + EditorState, + convertToRaw, +RichUtils} from 'draft-js'; +import { Editor } from 'react-draft-wysiwyg'; +import "./style.css" +import {DefaultButton} from "../../Button/Button" +import icon from "../../../svg/TaskIcon.svg" + +import {Route, Switch, Redirect} from "react-router-dom"; + +export class MyUserComponentEditor extends React.Component { + constructor(props) { + super(props); + this.state = { + editorState: EditorState.createWithContent(props.state), + }; + + + this.Type_task = "audio"; + + this.onChange = (editorState) => { + try{ + props.onChange(editorState.getCurrentContent()) + this.setState({editorState}) + } + catch(e){ + }; + } + this.confirmMedia = this._confirmMedia.bind(this); + this.handleKeyCommand = this._handleKeyCommand.bind(this); + + }; + + stopPropagation = (event) => { + event.stopPropagation(); + }; + + + test = (e) =>{ + console.log(e) + this.Type_task = e.target.innerText + this.confirmMedia() + }; + + + renderModal = (props) => { + const { color } = props.currentState; + return ( +
+
+ + + + +
+
+ ); + }; + + + + taskPic = (props) =>{ + const { expanded, onExpandEvent } = props; + return ( +
+
+
+ +
+
+ {expanded ? this.renderModal(props) : undefined} +
+ ); + } + + + + _handleKeyCommand(command, editorState) { + const newState = RichUtils.handleKeyCommand(editorState, command); + if (newState) { + this.onChange(newState); + return true; + } + return false; + } + + _confirmMedia() { + let {editorState, Type} = this.state; + Type = this.Type_task + const contentState = editorState.getCurrentContent(); + const contentStateWithEntity = contentState.createEntity( + Type, + 'IMMUTABLE', + ); + const entityKey = contentStateWithEntity.getLastCreatedEntityKey(); + const newEditorState = EditorState.set( + editorState, + {currentContent: contentStateWithEntity} + ); + + this.setState({ + editorState: AtomicBlockUtils.insertAtomicBlock( + newEditorState, + entityKey, + ' ' + ), + }, () => { + setTimeout(() => null, 0); + }); + } + + + + render() { + let toolbar = {}; + if (this.props.addComponents == true){ + toolbar = {colorPicker: { component: this.taskPic }} + } + + return ( +
+ +
+ ); + } +} + +function mediaBlockRenderer(block) { + if (block.getType() === 'atomic') { + return { + component: Media, + editable: false, + }; + } + + return null; +} + +const Media = (props) => { + const entity = props.contentState.getEntity( + props.block.getEntityAt(0) + ); + const type = entity.getType(); + + let media; + media =
audio
; + + if (type === 'audio') { + media =
audio
; + } else if (type === "Прочитать текст") { + media =
Прочитать текст
; + } else if (type === 'выбрать правильный вариант ответа') { + media =
выбрать правильный вариант ответа
; + } else if (type === "правда/ложь"){ + media =
правда/ложь
+ } else if (type === "расставить заголвки"){ + media =
расставить заголвки
+} + + return media; +}; + +const styles = { + root: { + fontFamily: '\'Georgia\', serif', + padding: 20, + width: 600, + }, + buttons: { + marginBottom: 10, + }, + urlInputContainer: { + marginBottom: 10, + }, + urlInput: { + fontFamily: '\'Georgia\', serif', + marginRight: 10, + padding: 3, + }, + + button: { + marginTop: 10, + textAlign: 'center', + }, + media: { + width: '100%', + whiteSpace: 'initial' + }, +}; diff --git a/src/uiKit/Documents/TextEditor/style.css b/src/uiKit/Documents/TextEditor/style.css new file mode 100644 index 0000000..3fafeef --- /dev/null +++ b/src/uiKit/Documents/TextEditor/style.css @@ -0,0 +1,1075 @@ +.wrapper{ + padding: 10px; + display: flex; + flex-direction: row; + flex-wrap: wrap; + grid-gap: 10px; + gap: 10px; + } + + .taskButton{ + font-size: 12px !important; + line-height: 12px !important; + margin:0px !important; + padding:10px !important; + } + + .rdw-option-wrapper { + border: 1px solid #F1F1F1; + padding: 5px; + min-width: 25px; + height: 20px; + border-radius: 2px; + margin: 0 4px; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + background: white; + text-transform: capitalize; + } + .rdw-option-wrapper:hover { + box-shadow: 1px 1px 0px #BFBDBD; + } + .rdw-option-wrapper:active { + box-shadow: 1px 1px 0px #BFBDBD inset; + } + .rdw-option-active { + box-shadow: 1px 1px 0px #BFBDBD inset; + } + .rdw-option-disabled { + opacity: 0.3; + cursor: default; + } + + .rdw-dropdown-wrapper { + height: 30px; + background: white; + cursor: pointer; + border: 1px solid #F1F1F1; + border-radius: 2px; + margin: 0 3px; + text-transform: capitalize; + background: white; + } + .rdw-dropdown-wrapper:focus { + outline: none; + } + .rdw-dropdown-wrapper:hover { + box-shadow: 1px 1px 0px #BFBDBD; + background-color: #FFFFFF; + } + .rdw-dropdown-wrapper:active { + box-shadow: 1px 1px 0px #BFBDBD inset; + } + .rdw-dropdown-carettoopen { + height: 0px; + width: 0px; + position: absolute; + top: 35%; + right: 10%; + border-top: 6px solid black; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + } + .rdw-dropdown-carettoclose { + height: 0px; + width: 0px; + position: absolute; + top: 35%; + right: 10%; + border-bottom: 6px solid black; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + } + .rdw-dropdown-selectedtext { + display: flex; + position: relative; + height: 100%; + align-items: center; + padding: 0 5px; + } + .rdw-dropdown-optionwrapper { + z-index: 100; + position: relative; + border: 1px solid #F1F1F1; + width: 98%; + background: white; + border-radius: 2px; + margin: 0; + padding: 0; + max-height: 250px; + overflow-y: scroll; + } + .rdw-dropdown-optionwrapper:hover { + box-shadow: 1px 1px 0px #BFBDBD; + background-color: #FFFFFF; + } + + .rdw-dropdownoption-default { + min-height: 25px; + display: flex; + align-items: center; + padding: 0 5px; + } + .rdw-dropdownoption-highlighted { + background: #F1F1F1; + } + .rdw-dropdownoption-active { + background: #f5f5f5; + } + .rdw-dropdownoption-disabled { + opacity: 0.3; + cursor: default; + } + + .rdw-inline-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-inline-dropdown { + width: 50px; + } + .rdw-inline-dropdownoption { + height: 40px; + display: flex; + justify-content: center; + } + + .rdw-block-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-block-dropdown { + width: 110px; + } + + .rdw-fontsize-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-fontsize-dropdown { + min-width: 40px; + } + .rdw-fontsize-option { + display: flex; + justify-content: center; + } + + .rdw-fontfamily-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-fontfamily-dropdown { + width: 115px; + } + .rdw-fontfamily-placeholder { + white-space: nowrap; + max-width: 90px; + overflow: hidden; + text-overflow: ellipsis; + } + .rdw-fontfamily-optionwrapper { + width: 140px; + } + + .rdw-list-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-list-dropdown { + width: 50px; + z-index: 90; + } + .rdw-list-dropdownOption { + height: 40px; + display: flex; + justify-content: center; + } + + .rdw-text-align-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-text-align-dropdown { + width: 50px; + z-index: 90; + } + .rdw-text-align-dropdownOption { + height: 40px; + display: flex; + justify-content: center; + } + .rdw-right-aligned-block { + text-align: right; + } + .rdw-left-aligned-block { + text-align: left !important; + } + .rdw-center-aligned-block { + text-align: center !important; + } + .rdw-justify-aligned-block { + text-align: justify !important; + } + .rdw-right-aligned-block > div { + display: inline-block; + } + .rdw-left-aligned-block > div { + display: inline-block; + } + .rdw-center-aligned-block > div { + display: inline-block; + } + .rdw-justify-aligned-block > div { + display: inline-block; + } + + .rdw-colorpicker-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + position: relative; + flex-wrap: wrap + } + .rdw-colorpicker-modal { + position: absolute; + top: 35px; + left: 5px; + display: flex; + flex-direction: column; + width: 175px; + height: 175px; + border: 1px solid #F1F1F1; + padding: 15px; + border-radius: 2px; + z-index: 100; + background: white; + box-shadow: 3px 3px 5px #BFBDBD; + } + .rdw-colorpicker-modal-header { + display: flex; + padding-bottom: 5px; + } + .rdw-colorpicker-modal-style-label { + font-size: 15px; + width: 50%; + text-align: center; + cursor: pointer; + padding: 0 10px 5px; + } + .rdw-colorpicker-modal-style-label-active { + border-bottom: 2px solid #0a66b7; + } + .rdw-colorpicker-modal-options { + margin: 5px auto; + display: flex; + width: 100%; + height: 100%; + flex-wrap: wrap; + overflow: scroll; + } + .rdw-colorpicker-cube { + width: 22px; + height: 22px; + border: 1px solid #F1F1F1; + } + .rdw-colorpicker-option { + margin: 3px; + padding: 0; + min-height: 20px; + border: none; + width: 22px; + height: 22px; + min-width: 22px; + box-shadow: 1px 2px 1px #BFBDBD inset; + } + .rdw-colorpicker-option:hover { + box-shadow: 1px 2px 1px #BFBDBD; + } + .rdw-colorpicker-option:active { + box-shadow: -1px -2px 1px #BFBDBD; + } + .rdw-colorpicker-option-active { + box-shadow: 0px 0px 2px 2px #BFBDBD; + } + + .rdw-link-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + position: relative; + flex-wrap: wrap + } + .rdw-link-dropdown { + width: 50px; + } + .rdw-link-dropdownOption { + height: 40px; + display: flex; + justify-content: center; + } + .rdw-link-dropdownPlaceholder { + margin-left: 8px; + } + .rdw-link-modal { + position: absolute; + top: 35px; + left: 5px; + display: flex; + flex-direction: column; + width: 235px; + height: 205px; + border: 1px solid #F1F1F1; + padding: 15px; + border-radius: 2px; + z-index: 100; + background: white; + box-shadow: 3px 3px 5px #BFBDBD; + } + .rdw-link-modal-label { + font-size: 15px; + } + .rdw-link-modal-input { + margin-top: 5px; + border-radius: 2px; + border: 1px solid #F1F1F1; + height: 25px; + margin-bottom: 15px; + padding: 0 5px; + } + .rdw-link-modal-input:focus { + outline: none; + } + .rdw-link-modal-buttonsection { + margin: 0 auto; + } + .rdw-link-modal-target-option { + margin-bottom: 20px; + } + .rdw-link-modal-target-option > span { + margin-left: 5px; + } + .rdw-link-modal-btn { + margin-left: 10px; + width: 75px; + height: 30px; + border: 1px solid #F1F1F1; + border-radius: 2px; + cursor: pointer; + background: white; + text-transform: capitalize; + } + .rdw-link-modal-btn:hover { + box-shadow: 1px 1px 0px #BFBDBD; + } + .rdw-link-modal-btn:active { + box-shadow: 1px 1px 0px #BFBDBD inset; + } + .rdw-link-modal-btn:focus { + outline: none !important; + } + .rdw-link-modal-btn:disabled { + background: #ece9e9; + } + .rdw-link-dropdownoption { + height: 40px; + display: flex; + justify-content: center; + } + .rdw-history-dropdown { + width: 50px; + } + + .rdw-embedded-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + position: relative; + flex-wrap: wrap + } + .rdw-embedded-modal { + position: absolute; + top: 35px; + left: 5px; + display: flex; + flex-direction: column; + width: 235px; + height: 180px; + border: 1px solid #F1F1F1; + padding: 15px; + border-radius: 2px; + z-index: 100; + background: white; + justify-content: space-between; + box-shadow: 3px 3px 5px #BFBDBD; + } + .rdw-embedded-modal-header { + font-size: 15px; + display: flex; + } + .rdw-embedded-modal-header-option { + width: 50%; + cursor: pointer; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + } + .rdw-embedded-modal-header-label { + width: 95px; + border: 1px solid #f1f1f1; + margin-top: 5px; + background: #6EB8D4; + border-bottom: 2px solid #0a66b7; + } + .rdw-embedded-modal-link-section { + display: flex; + flex-direction: column; + } + .rdw-embedded-modal-link-input { + width: 88%; + height: 35px; + margin: 10px 0; + border: 1px solid #F1F1F1; + border-radius: 2px; + font-size: 15px; + padding: 0 5px; + } + .rdw-embedded-modal-link-input-wrapper { + display: flex; + align-items: center; + } + .rdw-embedded-modal-link-input:focus { + outline: none; + } + .rdw-embedded-modal-btn-section { + display: flex; + justify-content: center; + } + .rdw-embedded-modal-btn { + margin: 0 3px; + width: 75px; + height: 30px; + border: 1px solid #F1F1F1; + border-radius: 2px; + cursor: pointer; + background: white; + text-transform: capitalize; + } + .rdw-embedded-modal-btn:hover { + box-shadow: 1px 1px 0px #BFBDBD; + } + .rdw-embedded-modal-btn:active { + box-shadow: 1px 1px 0px #BFBDBD inset; + } + .rdw-embedded-modal-btn:focus { + outline: none !important; + } + .rdw-embedded-modal-btn:disabled { + background: #ece9e9; + } + .rdw-embedded-modal-size { + align-items: center; + display: flex; + margin: 8px 0; + justify-content: space-between; + } + .rdw-embedded-modal-size-input { + width: 80%; + height: 20px; + border: 1px solid #F1F1F1; + border-radius: 2px; + font-size: 12px; + } + .rdw-embedded-modal-size-input:focus { + outline: none; + } + + .rdw-emoji-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + position: relative; + flex-wrap: wrap + } + .rdw-emoji-modal { + overflow: auto; + position: absolute; + top: 35px; + left: 5px; + display: flex; + flex-wrap: wrap; + width: 235px; + height: 180px; + border: 1px solid #F1F1F1; + padding: 15px; + border-radius: 2px; + z-index: 100; + background: white; + box-shadow: 3px 3px 5px #BFBDBD; + } + .rdw-emoji-icon { + margin: 2.5px; + height: 24px; + width: 24px; + cursor: pointer; + font-size: 22px; + display: flex; + justify-content: center; + align-items: center; + } + + .rdw-spinner { + display: flex; + align-items: center; + justify-content: center; + height: 100%; + width: 100%; + } + .rdw-spinner > div { + width: 12px; + height: 12px; + background-color: #333; + + border-radius: 100%; + display: inline-block; + -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both; + animation: sk-bouncedelay 1.4s infinite ease-in-out both; + } + .rdw-spinner .rdw-bounce1 { + -webkit-animation-delay: -0.32s; + animation-delay: -0.32s; + } + .rdw-spinner .rdw-bounce2 { + -webkit-animation-delay: -0.16s; + animation-delay: -0.16s; + } + @-webkit-keyframes sk-bouncedelay { + 0%, 80%, 100% { -webkit-transform: scale(0) } + 40% { -webkit-transform: scale(1.0) } + } + @keyframes sk-bouncedelay { + 0%, 80%, 100% { + -webkit-transform: scale(0); + transform: scale(0); + } 40% { + -webkit-transform: scale(1.0); + transform: scale(1.0); + } + } + + .rdw-image-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + position: relative; + flex-wrap: wrap + } + .rdw-image-modal { + position: absolute; + top: 35px; + left: 5px; + display: flex; + flex-direction: column; + width: 235px; + border: 1px solid #F1F1F1; + padding: 15px; + border-radius: 2px; + z-index: 100; + background: white; + box-shadow: 3px 3px 5px #BFBDBD; + } + .rdw-image-modal-header { + font-size: 15px; + margin: 10px 0; + display: flex; + } + .rdw-image-modal-header-option { + width: 50%; + cursor: pointer; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + } + .rdw-image-modal-header-label { + width: 80px; + background: #f1f1f1; + border: 1px solid #f1f1f1; + margin-top: 5px; + } + .rdw-image-modal-header-label-highlighted { + background: #6EB8D4; + border-bottom: 2px solid #0a66b7; + } + .rdw-image-modal-upload-option { + width: 100%; + color: gray; + cursor: pointer; + display: flex; + border: none; + font-size: 15px; + align-items: center; + justify-content: center; + background-color: #f1f1f1; + outline: 2px dashed gray; + outline-offset: -10px; + margin: 10px 0; + padding: 9px 0; + } + .rdw-image-modal-upload-option-highlighted { + outline: 2px dashed #0a66b7; + } + .rdw-image-modal-upload-option-label { + cursor: pointer; + height: 100%; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + padding: 15px; + } + .rdw-image-modal-upload-option-label span{ + padding: 0 20px; + } + .rdw-image-modal-upload-option-image-preview { + max-width: 100%; + max-height: 200px; + } + .rdw-image-modal-upload-option-input { + width: 0.1px; + height: 0.1px; + opacity: 0; + overflow: hidden; + position: absolute; + z-index: -1; + } + .rdw-image-modal-url-section { + display: flex; + align-items: center; + } + .rdw-image-modal-url-input { + width: 90%; + height: 35px; + margin: 15px 0 12px; + border: 1px solid #F1F1F1; + border-radius: 2px; + font-size: 15px; + padding: 0 5px; + } + .rdw-image-modal-btn-section { + margin: 10px auto 0; + } + .rdw-image-modal-url-input:focus { + outline: none; + } + .rdw-image-modal-btn { + margin: 0 5px; + width: 75px; + height: 30px; + border: 1px solid #F1F1F1; + border-radius: 2px; + cursor: pointer; + background: white; + text-transform: capitalize; + } + .rdw-image-modal-btn:hover { + box-shadow: 1px 1px 0px #BFBDBD; + } + .rdw-image-modal-btn:active { + box-shadow: 1px 1px 0px #BFBDBD inset; + } + .rdw-image-modal-btn:focus { + outline: none !important; + } + .rdw-image-modal-btn:disabled { + background: #ece9e9; + } + .rdw-image-modal-spinner { + position: absolute; + top: -3px; + left: 0; + width: 100%; + height: 100%; + opacity: 0.5; + } + .rdw-image-modal-alt-input { + width: 70%; + height: 20px; + border: 1px solid #F1F1F1; + border-radius: 2px; + font-size: 12px; + margin-left: 5px; + } + .rdw-image-modal-alt-input:focus { + outline: none; + } + .rdw-image-modal-alt-lbl { + font-size: 12px; + } + .rdw-image-modal-size { + align-items: center; + display: flex; + margin: 8px 0; + justify-content: space-between; + } + .rdw-image-modal-size-input { + width: 40%; + height: 20px; + border: 1px solid #F1F1F1; + border-radius: 2px; + font-size: 12px; + } + .rdw-image-modal-size-input:focus { + outline: none; + } + .rdw-image-mandatory-sign { + color: red; + margin-left: 3px; + margin-right: 3px; + } + + .rdw-remove-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + position: relative; + flex-wrap: wrap + } + + .rdw-history-wrapper { + display: flex; + align-items: center; + margin-bottom: 6px; + flex-wrap: wrap + } + .rdw-history-dropdownoption { + height: 40px; + display: flex; + justify-content: center; + } + .rdw-history-dropdown { + width: 50px; + } + + .rdw-link-decorator-wrapper { + position: relative; + } + .rdw-link-decorator-icon { + position: absolute; + left: 40%; + top: 0; + cursor: pointer; + background-color: white; + } + + .rdw-mention-link { + text-decoration: none; + color: #1236ff; + background-color: #f0fbff; + padding: 1px 2px; + border-radius: 2px; + } + + .rdw-suggestion-wrapper { + position: relative; + } + .rdw-suggestion-dropdown { + position: absolute; + display: flex; + flex-direction: column; + border: 1px solid #F1F1F1; + min-width: 100px; + max-height: 150px; + overflow: auto; + background: white; + z-index: 100; + } + .rdw-suggestion-option { + padding: 7px 5px; + border-bottom: 1px solid #f1f1f1; + } + .rdw-suggestion-option-active { + background-color: #F1F1F1; + } + + .rdw-hashtag-link { + text-decoration: none; + color: #1236ff; + background-color: #f0fbff; + padding: 1px 2px; + border-radius: 2px; + } + + .rdw-image-alignment-options-popup { + position: absolute; + background: white; + display: flex; + padding: 5px 2px; + border-radius: 2px; + border: 1px solid #F1F1F1; + width: 105px; + cursor: pointer; + z-index: 100; + } + .rdw-alignment-option-left { + justify-content: flex-start; + } + .rdw-image-alignment-option { + height: 15px; + width: 15px; + min-width: 15px; + } + .rdw-image-alignment { + position: relative; + } + .rdw-image-imagewrapper { + position: relative; + } + .rdw-image-center { + display: flex; + justify-content: center; + } + .rdw-image-left { + display: flex; + } + .rdw-image-right { + display: flex; + justify-content: flex-end; + } + .rdw-image-alignment-options-popup-right { + right: 0; + } + + .rdw-editor-main { + height: 100% !important; + overflow: auto; + box-sizing: border-box; + } + .rdw-editor-toolbar { + padding: 6px 5px 0; + border-radius: 2px; + border: 1px solid #F1F1F1; + display: flex; + justify-content: flex-start; + background: white; + flex-wrap: wrap; + font-size: 15px; + margin-bottom: 5px; + user-select: none; + } + .public-DraftStyleDefault-block { + margin: 1em 0; + } + .rdw-editor-wrapper:focus { + outline: none; + } + .rdw-editor-wrapper { + box-sizing: content-box; + } + .rdw-editor-main blockquote { + border-left: 5px solid #f1f1f1; + padding-left: 5px; + } + .rdw-editor-main pre { + background: #f1f1f1; + border-radius: 3px; + padding: 1px 10px; + } + /** + * Draft v0.9.1 + * + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + .DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:rgba(255,255,255,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:0}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4} + .demo-root { + width: 90%; + display: flex; + font-family: Roboto; + align-items: center; + flex-direction: column; + justify-content: center; + } + .demo-label { + display: block; + font-size: 20px; + font-weight: 500; + margin: 50px 0 25px; + } + .demo-label-high { + display: block; + font-size: 20px; + font-weight: 500; + margin: 50px 0 90px; + } + .demo-subLabel { + margin-bottom: 20px; + } + .demo-editorSection { + display: flex; + justify-content: space-between; + } + .demo-wrapper { + width: 100% !important; + display: block !important; + margin-bottom: 25px !important; + min-height: 400px !important; + } + .demo-wrapper-medium { + width: 650px !important; + display: block !important; + margin-bottom: 50px !important; + height: 300px !important; + } + .demo-editor { + height: 275px !important; + border: 1px solid #F1F1F1 !important; + padding: 5px !important; + border-radius: 2px !important; + } + + .demo-content { + border: 1px solid #F1F1F1; + padding: 5px; + border-radius: 5px; + width: 100%; + border-radius: 2px; + resize: none; + height: 200px; + } + .demo-toolbar-absolute { + position: absolute !important; + top: -40px !important; + width: 550px !important; + border-radius: 3px !important; + background: #f3f3f3 !important; + border: 1px solid #e3e3e3 !important; + } + .demo-toolbar-absolute-high { + position: absolute !important; + top: -80px !important; + width: 550px !important; + border-radius: 3px !important; + background: #f3f3f3 !important; + border: 1px solid #e3e3e3 !important; + } + .demo-editor-plain { + height: 80% !important; + border-width: 0px !important; + } + .demo-editor-embedded { + height: 90% !important; + border-width: 0px !important; + } + .demo-wrapper-relative { + display: block !important; + position: relative !important; + margin-bottom: 25px !important; + height: 200px !important; + } + .demo-wrapper-relative-long { + width: 715px !important; + display: block !important; + position: relative !important; + margin-bottom: 25px !important; + height: 450px !important; + } + .bordered-option-classname { + border: 1px solid #e3e3e3 !important; + } + .demo-toolbar-absolute > div:not(:last-of-type) { + border-right: 2px solid #e3e3e3; + padding-right: 5px; + } + .demo-toolbar-absolute > div:not(:first-of-type) { + padding-left: 5px; + } + .demo-toolbar-custom { + border-color: rgb(0,47,126) !important; + background-color: #9EBEF5 !important; + } + .demo-editor-custom { + height: 200px !important; + border: 1px solid #F1F1F1 !important; + padding: 5px !important; + height: 75% !important; + border-radius: 2px !important; + border-color: rgb(0,47,126) !important; + } + .demo-option-custom { + width: 15px !important; + height: 15px !important; + border-color: rgb(0,47,126) !important; + color: rgb(0,47,126); + } + .demo-option-custom-wide { + width: 125px !important; + height: 25px !important; + border-color: rgb(0,47,126) !important; + color: rgb(0,47,126) !important; + } + .demo-option-custom-medium { + height: 25px !important; + border-color: rgb(0,47,126) !important; + color: rgb(0,47,126) !important; + } + .demo-dropdown-custom { + border-color: rgb(0,47,126) !important; + } + .demo-popup-custom { + border-color: rgb(0,47,126) !important; + padding: 5px !important; + } + .demo-popup-custom input { + border-color: rgb(0,47,126) !important; + } + .demo-popup-custom button { + border-color: rgb(0,47,126) !important; + } + .demo-section-wrapper { + display: flex; + } + .demo-editor-wrapper { + width: 60%; + } + .demo-section { + margin: 50px 30px 20px; + width: 95%; + } + .ReactCodeMirror { + width: 38%; + margin-left: 2%; + border: 1px solid #e4e4e4; + height: 400px; + } + .CodeMirror { + height: 400px !important; + } + .demo-custom-option { + width: 26px; + height: 26px; + border: 1px solid #f1f1f1; + text-align: center; + padding-right: 5px; + padding-bottom: 2px; + cursor: pointer; + } + \ No newline at end of file diff --git a/src/uiKit/Sidebar/Sidebar.tsx b/src/uiKit/Sidebar/Sidebar.tsx index b240cf8..1ef978d 100644 --- a/src/uiKit/Sidebar/Sidebar.tsx +++ b/src/uiKit/Sidebar/Sidebar.tsx @@ -29,19 +29,19 @@ export const ApplicationSidebar:react.FC = (props) => { const phoneAdaptation = window.matchMedia("(min-width:880px)") const {url} = useRouteMatch(); - const [docked, setDocked] = useState(true); + // const [docked, setDocked] = useState(true); const [closed, setClosed] = useState(props.closed); - phoneAdaptation.addListener(() => { - setDocked(phoneAdaptation.matches) - }) + // phoneAdaptation.addListener(() => { + // setDocked(phoneAdaptation.matches) + // }) return } open={closed} onSetOpen={setClosed} sidebarClassName={"sidebar__container"} - docked={docked} + docked={true} shadow={false} > {props.children}