-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.graphql
157 lines (132 loc) · 3.21 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
schema {
query: Query
}
type Brand implements Node {
id: ID!
name: String!
displayName: String!
image: String!
modelSet(before: String, after: String, first: Int, last: Int): ModelConnection!
phoneunlockSet(before: String, after: String, first: Int, last: Int, brand: ID, device: ID, network: ID): PhoneUnlockConnection!
}
type BrandConnection {
pageInfo: PageInfo!
edges: [BrandEdge]!
}
type BrandEdge {
node: Brand
cursor: String!
}
scalar Decimal
type Model implements Node {
id: ID!
brand: Brand!
name: String!
displayName: String!
image: String!
phoneunlockSet(before: String, after: String, first: Int, last: Int, brand: ID, device: ID, network: ID): PhoneUnlockConnection!
}
type ModelConnection {
pageInfo: PageInfo!
edges: [ModelEdge]!
}
type ModelEdge {
node: Model
cursor: String!
}
type Network implements Node {
id: ID!
name: String!
networknameSet(before: String, after: String, first: Int, last: Int): NetworkNameConnection!
phoneunlockSet(before: String, after: String, first: Int, last: Int, brand: ID, device: ID, network: ID): PhoneUnlockConnection!
}
type NetworkConnection {
pageInfo: PageInfo!
edges: [NetworkEdge]!
}
type NetworkEdge {
node: Network
cursor: String!
}
type NetworkName implements Node {
id: ID!
network: Network!
name: String!
displayName: String!
image: String!
}
type NetworkNameConnection {
pageInfo: PageInfo!
edges: [NetworkNameEdge]!
}
type NetworkNameEdge {
node: NetworkName
cursor: String!
}
interface Node {
id: ID!
}
type OriginalFormat implements Node {
id: ID!
name: String!
image: String
singularName: String!
originalformatextraSet(before: String, after: String, first: Int, last: Int): OriginalFormatTierExtraConnection!
groupName(count: Int): String
price(count: Int!): Decimal
}
type OriginalFormatConnection {
pageInfo: PageInfo!
edges: [OriginalFormatEdge]!
}
type OriginalFormatEdge {
node: OriginalFormat
cursor: String!
}
type OriginalFormatTierExtra implements Node {
id: ID!
originalFormat: OriginalFormat!
name: String!
image: String
price: Float!
}
type OriginalFormatTierExtraConnection {
pageInfo: PageInfo!
edges: [OriginalFormatTierExtraEdge]!
}
type OriginalFormatTierExtraEdge {
node: OriginalFormatTierExtra
cursor: String!
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
type PhoneUnlock implements Node {
id: ID!
brand: Brand!
network: Network!
device: Model
price: Float!
time: String!
title(network: ID!): String
data(imei: String!): String
sig(imei: String!, network: ID!): String
}
type PhoneUnlockConnection {
pageInfo: PageInfo!
edges: [PhoneUnlockEdge]!
}
type PhoneUnlockEdge {
node: PhoneUnlock
cursor: String!
}
type Query {
originalFormats(before: String, after: String, first: Int, last: Int): OriginalFormatConnection
networks(before: String, after: String, first: Int, last: Int, name: String): NetworkConnection
brands(before: String, after: String, first: Int, last: Int, name: String): BrandConnection
phoneUnlock(before: String, after: String, first: Int, last: Int, brand: ID, device: ID, network: ID): PhoneUnlockConnection
node(id: ID!): Node
}