wamygraphql 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fragments.graphql
CHANGED
|
@@ -166,6 +166,19 @@ fragment FragPostResp on PostResp {
|
|
|
166
166
|
createdAt
|
|
167
167
|
isCreator
|
|
168
168
|
}
|
|
169
|
+
fragment FragBroadcastResp on BroadcastResp {
|
|
170
|
+
broadcastID
|
|
171
|
+
broadcastPID
|
|
172
|
+
interestID
|
|
173
|
+
content
|
|
174
|
+
hasMore
|
|
175
|
+
creator {
|
|
176
|
+
...FragShortUoiResp
|
|
177
|
+
}
|
|
178
|
+
createdAt
|
|
179
|
+
lat
|
|
180
|
+
lng
|
|
181
|
+
}
|
|
169
182
|
fragment FragSubjectReactionsInfoResp on SubjectReactionsInfoResp {
|
|
170
183
|
subjectID
|
|
171
184
|
isReacted
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
query queryFetchBroadcastsNearby($input: FetchBroadcastsNearbyInput!) {
|
|
2
|
+
queryFetchBroadcastsNearby(input: $input) {
|
|
3
|
+
nearbyIndex
|
|
4
|
+
broadcasts {
|
|
5
|
+
...FragBroadcastResp
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
query queryFetchBroadcastsByCreatorID($creatorID: UUID!) {
|
|
11
|
+
queryFetchBroadcastsByCreatorID(creatorID: $creatorID) {
|
|
12
|
+
creatorID
|
|
13
|
+
broadcasts {
|
|
14
|
+
...FragBroadcastResp
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
query queryFetchBroadcastByPID($pid: String!) {
|
|
20
|
+
queryFetchBroadcastByPID(pid: $pid) {
|
|
21
|
+
...FragBroadcastResp
|
|
22
|
+
}
|
|
23
|
+
}
|