forked from canyongbs/advisingapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
43 lines (31 loc) · 1.09 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"A date string with format `Y-m-d`, e.g. `2018-05-23`."
scalar Date @scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\Date")
"A datetime string with format `Y-m-d H:i:s`, e.g. `2018-05-23 13:43:32`."
scalar DateTime
@scalar(class: "Nuwave\\Lighthouse\\Schema\\Types\\Scalars\\DateTime")
scalar UUID
@scalar(class: "App\\GraphQL\\Scalars\\UUID")
@searchByOperators(type: "ID")
scalar EducatableId
@scalar(class: "App\\GraphQL\\Scalars\\EducatableId")
@searchByOperators(type: "ID")
scalar JSON
@scalar(class: "MLL\\GraphQLScalars\\JSON")
@searchByOperators(type: "String")
scalar Email
@scalar(class: "MLL\\GraphQLScalars\\Email")
@searchByOperators(type: "String")
"A four digit integer year, e.g. `2018`."
scalar Year
@scalar(class: "App\\GraphQL\\Scalars\\Year")
@searchByOperators(type: "Date")
type Query
type Mutation
union Educatable = Prospect | Student
enum EducatableType {
Student @enum(value: "student")
Prospect @enum(value: "prospect")
}
union Authenticatable = User | SystemUser
#import user.graphql
#import system-user.graphql