Highly ambitious ATProtocol AppView service and sdks
at main 356 lines 10 kB view raw
1/** 2 * @generated SignedSource<<9bd61741c7712e87a127154b27b2112d>> 3 * @lightSyntaxTransform 4 * @nogrep 5 */ 6 7/* tslint:disable */ 8/* eslint-disable */ 9// @ts-nocheck 10 11import { ConcreteRequest } from 'relay-runtime'; 12import { FragmentRefs } from "relay-runtime"; 13export type NetworkSlicesSliceWhereInput = { 14 actorHandle?: StringFilter | null | undefined; 15 and?: ReadonlyArray<NetworkSlicesSliceWhereInput | null | undefined> | null | undefined; 16 cid?: StringFilter | null | undefined; 17 collection?: StringFilter | null | undefined; 18 createdAt?: StringFilter | null | undefined; 19 did?: StringFilter | null | undefined; 20 domain?: StringFilter | null | undefined; 21 indexedAt?: DateTimeFilter | null | undefined; 22 json?: StringFilter | null | undefined; 23 name?: StringFilter | null | undefined; 24 or?: ReadonlyArray<NetworkSlicesSliceWhereInput | null | undefined> | null | undefined; 25 uri?: StringFilter | null | undefined; 26}; 27export type DateTimeFilter = { 28 eq?: string | null | undefined; 29 gt?: string | null | undefined; 30 gte?: string | null | undefined; 31 lt?: string | null | undefined; 32 lte?: string | null | undefined; 33}; 34export type StringFilter = { 35 contains?: string | null | undefined; 36 eq?: string | null | undefined; 37 fuzzy?: string | null | undefined; 38 gt?: string | null | undefined; 39 gte?: string | null | undefined; 40 in?: ReadonlyArray<string | null | undefined> | null | undefined; 41 lt?: string | null | undefined; 42 lte?: string | null | undefined; 43}; 44export type HomeQuery$variables = { 45 where?: NetworkSlicesSliceWhereInput | null | undefined; 46}; 47export type HomeQuery$data = { 48 readonly networkSlicesSlices: { 49 readonly edges: ReadonlyArray<{ 50 readonly node: { 51 readonly actorHandle: string | null | undefined; 52 readonly createdAt: string; 53 readonly domain: string; 54 readonly name: string; 55 readonly networkSlicesActorProfile: { 56 readonly avatar: { 57 readonly url: string; 58 } | null | undefined; 59 } | null | undefined; 60 readonly sparklines: ReadonlyArray<{ 61 readonly " $fragmentSpreads": FragmentRefs<"Sparkline_sparklines">; 62 }>; 63 readonly uri: string; 64 }; 65 }>; 66 }; 67}; 68export type HomeQuery = { 69 response: HomeQuery$data; 70 variables: HomeQuery$variables; 71}; 72 73const node: ConcreteRequest = (function(){ 74var v0 = [ 75 { 76 "defaultValue": null, 77 "kind": "LocalArgument", 78 "name": "where" 79 } 80], 81v1 = [ 82 { 83 "kind": "Literal", 84 "name": "first", 85 "value": 100 86 }, 87 { 88 "kind": "Literal", 89 "name": "sortBy", 90 "value": [ 91 { 92 "direction": "desc", 93 "field": "createdAt" 94 } 95 ] 96 }, 97 { 98 "kind": "Variable", 99 "name": "where", 100 "variableName": "where" 101 } 102], 103v2 = { 104 "alias": null, 105 "args": null, 106 "kind": "ScalarField", 107 "name": "uri", 108 "storageKey": null 109}, 110v3 = { 111 "alias": null, 112 "args": null, 113 "kind": "ScalarField", 114 "name": "name", 115 "storageKey": null 116}, 117v4 = { 118 "alias": null, 119 "args": null, 120 "kind": "ScalarField", 121 "name": "domain", 122 "storageKey": null 123}, 124v5 = { 125 "alias": null, 126 "args": null, 127 "kind": "ScalarField", 128 "name": "createdAt", 129 "storageKey": null 130}, 131v6 = { 132 "alias": null, 133 "args": null, 134 "kind": "ScalarField", 135 "name": "actorHandle", 136 "storageKey": null 137}, 138v7 = { 139 "alias": null, 140 "args": null, 141 "concreteType": "Blob", 142 "kind": "LinkedField", 143 "name": "avatar", 144 "plural": false, 145 "selections": [ 146 { 147 "alias": null, 148 "args": [ 149 { 150 "kind": "Literal", 151 "name": "preset", 152 "value": "avatar" 153 } 154 ], 155 "kind": "ScalarField", 156 "name": "url", 157 "storageKey": "url(preset:\"avatar\")" 158 } 159 ], 160 "storageKey": null 161}, 162v8 = [ 163 { 164 "kind": "Literal", 165 "name": "duration", 166 "value": "30d" 167 }, 168 { 169 "kind": "Literal", 170 "name": "interval", 171 "value": "hour" 172 } 173], 174v9 = { 175 "alias": null, 176 "args": null, 177 "kind": "ScalarField", 178 "name": "id", 179 "storageKey": null 180}; 181return { 182 "fragment": { 183 "argumentDefinitions": (v0/*: any*/), 184 "kind": "Fragment", 185 "metadata": null, 186 "name": "HomeQuery", 187 "selections": [ 188 { 189 "alias": null, 190 "args": (v1/*: any*/), 191 "concreteType": "NetworkSlicesSliceConnection", 192 "kind": "LinkedField", 193 "name": "networkSlicesSlices", 194 "plural": false, 195 "selections": [ 196 { 197 "alias": null, 198 "args": null, 199 "concreteType": "NetworkSlicesSliceEdge", 200 "kind": "LinkedField", 201 "name": "edges", 202 "plural": true, 203 "selections": [ 204 { 205 "alias": null, 206 "args": null, 207 "concreteType": "NetworkSlicesSlice", 208 "kind": "LinkedField", 209 "name": "node", 210 "plural": false, 211 "selections": [ 212 (v2/*: any*/), 213 (v3/*: any*/), 214 (v4/*: any*/), 215 (v5/*: any*/), 216 (v6/*: any*/), 217 { 218 "alias": null, 219 "args": null, 220 "concreteType": "NetworkSlicesActorProfile", 221 "kind": "LinkedField", 222 "name": "networkSlicesActorProfile", 223 "plural": false, 224 "selections": [ 225 (v7/*: any*/) 226 ], 227 "storageKey": null 228 }, 229 { 230 "alias": null, 231 "args": (v8/*: any*/), 232 "concreteType": "SparklinePoint", 233 "kind": "LinkedField", 234 "name": "sparklines", 235 "plural": true, 236 "selections": [ 237 { 238 "args": null, 239 "kind": "FragmentSpread", 240 "name": "Sparkline_sparklines" 241 } 242 ], 243 "storageKey": "sparklines(duration:\"30d\",interval:\"hour\")" 244 } 245 ], 246 "storageKey": null 247 } 248 ], 249 "storageKey": null 250 } 251 ], 252 "storageKey": null 253 } 254 ], 255 "type": "Query", 256 "abstractKey": null 257 }, 258 "kind": "Request", 259 "operation": { 260 "argumentDefinitions": (v0/*: any*/), 261 "kind": "Operation", 262 "name": "HomeQuery", 263 "selections": [ 264 { 265 "alias": null, 266 "args": (v1/*: any*/), 267 "concreteType": "NetworkSlicesSliceConnection", 268 "kind": "LinkedField", 269 "name": "networkSlicesSlices", 270 "plural": false, 271 "selections": [ 272 { 273 "alias": null, 274 "args": null, 275 "concreteType": "NetworkSlicesSliceEdge", 276 "kind": "LinkedField", 277 "name": "edges", 278 "plural": true, 279 "selections": [ 280 { 281 "alias": null, 282 "args": null, 283 "concreteType": "NetworkSlicesSlice", 284 "kind": "LinkedField", 285 "name": "node", 286 "plural": false, 287 "selections": [ 288 (v2/*: any*/), 289 (v3/*: any*/), 290 (v4/*: any*/), 291 (v5/*: any*/), 292 (v6/*: any*/), 293 { 294 "alias": null, 295 "args": null, 296 "concreteType": "NetworkSlicesActorProfile", 297 "kind": "LinkedField", 298 "name": "networkSlicesActorProfile", 299 "plural": false, 300 "selections": [ 301 (v7/*: any*/), 302 (v9/*: any*/) 303 ], 304 "storageKey": null 305 }, 306 { 307 "alias": null, 308 "args": (v8/*: any*/), 309 "concreteType": "SparklinePoint", 310 "kind": "LinkedField", 311 "name": "sparklines", 312 "plural": true, 313 "selections": [ 314 { 315 "alias": null, 316 "args": null, 317 "kind": "ScalarField", 318 "name": "timestamp", 319 "storageKey": null 320 }, 321 { 322 "alias": null, 323 "args": null, 324 "kind": "ScalarField", 325 "name": "count", 326 "storageKey": null 327 } 328 ], 329 "storageKey": "sparklines(duration:\"30d\",interval:\"hour\")" 330 }, 331 (v9/*: any*/) 332 ], 333 "storageKey": null 334 } 335 ], 336 "storageKey": null 337 } 338 ], 339 "storageKey": null 340 } 341 ] 342 }, 343 "params": { 344 "cacheID": "76cd29bba547bc86f8ef30d026da080c", 345 "id": null, 346 "metadata": {}, 347 "name": "HomeQuery", 348 "operationKind": "query", 349 "text": "query HomeQuery(\n $where: NetworkSlicesSliceWhereInput\n) {\n networkSlicesSlices(first: 100, sortBy: [{field: createdAt, direction: desc}], where: $where) {\n edges {\n node {\n uri\n name\n domain\n createdAt\n actorHandle\n networkSlicesActorProfile {\n avatar {\n url(preset: \"avatar\")\n }\n id\n }\n sparklines(interval: \"hour\", duration: \"30d\") {\n ...Sparkline_sparklines\n }\n id\n }\n }\n }\n}\n\nfragment Sparkline_sparklines on SparklinePoint {\n timestamp\n count\n}\n" 350 } 351}; 352})(); 353 354(node as any).hash = "9a4ed1fa395c63bc85a6b48b8c928395"; 355 356export default node;