-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathschema.gql
126 lines (120 loc) · 3.03 KB
/
schema.gql
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
type Person {
name: String @search(by: [hash])
first_name: String @search(by: [hash])
last_name: String @search(by: [hash])
created_at: DateTime
modified_at: DateTime
created_by: User
modified_by: User
}
type User {
name: String @search(by: [hash])
first_name: String @search(by: [hash])
last_name: String @search(by: [hash])
nick_name: String @search(by: [hash])
login: String @search(by: [hash])
email: String @search(by: [hash])
phone: String @search(by: [hash])
role: String @search(by: [hash])
avatar: String
age: Int
first_lang: String @search(by: [term])
second_lang: String @search(by: [term])
region: String @search(by: [term])
country: String @search(by: [term])
state: String @search(by: [term])
city: String @search(by: [term])
status: String @search(by: [term])
description: String @search(by: [hash, fulltext])
location: String @search(by: [hash, fulltext])
registered_at: DateTime
created_at: DateTime
modified_at: DateTime
created_by: User
modified_by: User
}
type Account {
provider: String @search(by: [term])
email: String @search(by: [hash])
name: String @search(by: [hash])
first_name: String @search(by: [hash])
last_name: String @search(by: [hash])
nick_name: String @search(by: [hash])
user_id: String
description: String @search(by: [hash, fulltext])
avatar: String
location: String @search(by: [hash, fulltext])
role: String @search(by: [term])
created_at: DateTime
modified_at: DateTime
created_by: User
modified_by: User
}
type File {
path: String
url: String
source: String
content_type: String
region: String @search(by: [term])
created_by: User
modified_by: User
created_at: DateTime
modified_at: DateTime
tag: [Tag]
}
type Term {
created_by: User
modified_by: User
created_at: DateTime
modified_at: DateTime
text: String @search(by: [hash, fulltext])
lang: String @search(by: [term])
region: String @search(by: [term])
tag: [Tag]
}
type Tag {
created_by: User
modified_by: User
created_at: DateTime
modified_at: DateTime
text: String @search(by: [hash, fulltext])
lang: String @search(by: [term])
region: String @search(by: [term])
}
type Document {
author: [Person]
created_by: User
modified_by: User
created_at: DateTime
modified_at: DateTime
url: String
thumbnail_url: String
text: String @search(by: [hash, fulltext])
date: DateTime
extractforaccessibility: Boolean
hasxmp: Boolean
subject: String @search(by: [hash, fulltext])
canmodify: Boolean
title: String @search(by: [hash, fulltext])
unmappedunicodecharsperpage: String
extractcontent: Boolean
sourcemodified: String
company: String @search(by: [hash, fulltext])
documentid: String
npages: Int
assembledocument: Boolean
hasxfa: Boolean
xparsedby: String
hasacroformfields: Boolean
format: String
canprintdegraded: Boolean
pdfversion: String
charsperpage: String
modifyannotations: Boolean
fillinform: Boolean
creatortool: String
encrypted: Boolean
canprint: Boolean
producer: String
tag: [Tag]
}