Highly ambitious ATProtocol AppView service and sdks
at main 629 lines 18 kB view raw
1/** 2 * @generated SignedSource<<56d01afcb35d5633d0a5ab743e6b9b74>> 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 NetworkSlicesLexiconWhereInput = { 45 actorHandle?: StringFilter | null | undefined; 46 and?: ReadonlyArray<NetworkSlicesLexiconWhereInput | null | undefined> | null | undefined; 47 cid?: StringFilter | null | undefined; 48 collection?: StringFilter | null | undefined; 49 createdAt?: StringFilter | null | undefined; 50 definitions?: StringFilter | null | undefined; 51 description?: StringFilter | null | undefined; 52 did?: StringFilter | null | undefined; 53 excludedFromSync?: StringFilter | null | undefined; 54 indexedAt?: DateTimeFilter | null | undefined; 55 json?: StringFilter | null | undefined; 56 nsid?: StringFilter | null | undefined; 57 or?: ReadonlyArray<NetworkSlicesLexiconWhereInput | null | undefined> | null | undefined; 58 slice?: StringFilter | null | undefined; 59 updatedAt?: StringFilter | null | undefined; 60 uri?: StringFilter | null | undefined; 61}; 62export type SliceOverviewQuery$variables = { 63 lexiconWhere?: NetworkSlicesLexiconWhereInput | null | undefined; 64 sliceWhere?: NetworkSlicesSliceWhereInput | null | undefined; 65}; 66export type SliceOverviewQuery$data = { 67 readonly networkSlicesLexicons: { 68 readonly edges: ReadonlyArray<{ 69 readonly node: { 70 readonly nsid: string; 71 readonly " $fragmentSpreads": FragmentRefs<"LexiconTree_lexicon">; 72 }; 73 }>; 74 }; 75 readonly networkSlicesSlices: { 76 readonly edges: ReadonlyArray<{ 77 readonly node: { 78 readonly actorHandle: string | null | undefined; 79 readonly createdAt: string; 80 readonly did: string; 81 readonly domain: string; 82 readonly name: string; 83 readonly networkSlicesActorProfile: { 84 readonly avatar: { 85 readonly url: string; 86 } | null | undefined; 87 } | null | undefined; 88 readonly sparklines: ReadonlyArray<{ 89 readonly " $fragmentSpreads": FragmentRefs<"Sparkline_sparklines">; 90 }>; 91 readonly stats: { 92 readonly collections: ReadonlyArray<string>; 93 readonly totalActors: number; 94 readonly totalRecords: number; 95 }; 96 readonly uri: string; 97 }; 98 }>; 99 }; 100}; 101export type SliceOverviewQuery = { 102 response: SliceOverviewQuery$data; 103 variables: SliceOverviewQuery$variables; 104}; 105 106const node: ConcreteRequest = (function(){ 107var v0 = { 108 "defaultValue": null, 109 "kind": "LocalArgument", 110 "name": "lexiconWhere" 111}, 112v1 = { 113 "defaultValue": null, 114 "kind": "LocalArgument", 115 "name": "sliceWhere" 116}, 117v2 = [ 118 { 119 "kind": "Literal", 120 "name": "first", 121 "value": 1 122 }, 123 { 124 "kind": "Variable", 125 "name": "where", 126 "variableName": "sliceWhere" 127 } 128], 129v3 = { 130 "alias": null, 131 "args": null, 132 "kind": "ScalarField", 133 "name": "uri", 134 "storageKey": null 135}, 136v4 = { 137 "alias": null, 138 "args": null, 139 "kind": "ScalarField", 140 "name": "name", 141 "storageKey": null 142}, 143v5 = { 144 "alias": null, 145 "args": null, 146 "kind": "ScalarField", 147 "name": "domain", 148 "storageKey": null 149}, 150v6 = { 151 "alias": null, 152 "args": null, 153 "kind": "ScalarField", 154 "name": "did", 155 "storageKey": null 156}, 157v7 = { 158 "alias": null, 159 "args": null, 160 "kind": "ScalarField", 161 "name": "createdAt", 162 "storageKey": null 163}, 164v8 = { 165 "alias": null, 166 "args": null, 167 "kind": "ScalarField", 168 "name": "actorHandle", 169 "storageKey": null 170}, 171v9 = { 172 "alias": null, 173 "args": null, 174 "concreteType": "Blob", 175 "kind": "LinkedField", 176 "name": "avatar", 177 "plural": false, 178 "selections": [ 179 { 180 "alias": null, 181 "args": [ 182 { 183 "kind": "Literal", 184 "name": "preset", 185 "value": "avatar" 186 } 187 ], 188 "kind": "ScalarField", 189 "name": "url", 190 "storageKey": "url(preset:\"avatar\")" 191 } 192 ], 193 "storageKey": null 194}, 195v10 = [ 196 { 197 "kind": "Literal", 198 "name": "duration", 199 "value": "7d" 200 }, 201 { 202 "kind": "Literal", 203 "name": "interval", 204 "value": "hour" 205 } 206], 207v11 = { 208 "alias": null, 209 "args": null, 210 "concreteType": "SliceStats", 211 "kind": "LinkedField", 212 "name": "stats", 213 "plural": false, 214 "selections": [ 215 { 216 "alias": null, 217 "args": null, 218 "kind": "ScalarField", 219 "name": "totalRecords", 220 "storageKey": null 221 }, 222 { 223 "alias": null, 224 "args": null, 225 "kind": "ScalarField", 226 "name": "totalActors", 227 "storageKey": null 228 }, 229 { 230 "alias": null, 231 "args": null, 232 "kind": "ScalarField", 233 "name": "collections", 234 "storageKey": null 235 } 236 ], 237 "storageKey": null 238}, 239v12 = { 240 "kind": "Variable", 241 "name": "where", 242 "variableName": "lexiconWhere" 243}, 244v13 = { 245 "alias": null, 246 "args": null, 247 "kind": "ScalarField", 248 "name": "nsid", 249 "storageKey": null 250}, 251v14 = { 252 "alias": null, 253 "args": null, 254 "kind": "ScalarField", 255 "name": "description", 256 "storageKey": null 257}, 258v15 = { 259 "alias": null, 260 "args": null, 261 "kind": "ScalarField", 262 "name": "definitions", 263 "storageKey": null 264}, 265v16 = { 266 "alias": null, 267 "args": null, 268 "kind": "ScalarField", 269 "name": "updatedAt", 270 "storageKey": null 271}, 272v17 = { 273 "alias": null, 274 "args": null, 275 "kind": "ScalarField", 276 "name": "__typename", 277 "storageKey": null 278}, 279v18 = { 280 "alias": null, 281 "args": null, 282 "kind": "ScalarField", 283 "name": "cursor", 284 "storageKey": null 285}, 286v19 = { 287 "alias": null, 288 "args": null, 289 "concreteType": "PageInfo", 290 "kind": "LinkedField", 291 "name": "pageInfo", 292 "plural": false, 293 "selections": [ 294 { 295 "alias": null, 296 "args": null, 297 "kind": "ScalarField", 298 "name": "endCursor", 299 "storageKey": null 300 }, 301 { 302 "alias": null, 303 "args": null, 304 "kind": "ScalarField", 305 "name": "hasNextPage", 306 "storageKey": null 307 } 308 ], 309 "storageKey": null 310}, 311v20 = { 312 "alias": null, 313 "args": null, 314 "kind": "ScalarField", 315 "name": "id", 316 "storageKey": null 317}, 318v21 = [ 319 { 320 "kind": "Literal", 321 "name": "first", 322 "value": 1000 323 }, 324 (v12/*: any*/) 325]; 326return { 327 "fragment": { 328 "argumentDefinitions": [ 329 (v0/*: any*/), 330 (v1/*: any*/) 331 ], 332 "kind": "Fragment", 333 "metadata": null, 334 "name": "SliceOverviewQuery", 335 "selections": [ 336 { 337 "alias": null, 338 "args": (v2/*: any*/), 339 "concreteType": "NetworkSlicesSliceConnection", 340 "kind": "LinkedField", 341 "name": "networkSlicesSlices", 342 "plural": false, 343 "selections": [ 344 { 345 "alias": null, 346 "args": null, 347 "concreteType": "NetworkSlicesSliceEdge", 348 "kind": "LinkedField", 349 "name": "edges", 350 "plural": true, 351 "selections": [ 352 { 353 "alias": null, 354 "args": null, 355 "concreteType": "NetworkSlicesSlice", 356 "kind": "LinkedField", 357 "name": "node", 358 "plural": false, 359 "selections": [ 360 (v3/*: any*/), 361 (v4/*: any*/), 362 (v5/*: any*/), 363 (v6/*: any*/), 364 (v7/*: any*/), 365 (v8/*: any*/), 366 { 367 "alias": null, 368 "args": null, 369 "concreteType": "NetworkSlicesActorProfile", 370 "kind": "LinkedField", 371 "name": "networkSlicesActorProfile", 372 "plural": false, 373 "selections": [ 374 (v9/*: any*/) 375 ], 376 "storageKey": null 377 }, 378 { 379 "alias": null, 380 "args": (v10/*: any*/), 381 "concreteType": "SparklinePoint", 382 "kind": "LinkedField", 383 "name": "sparklines", 384 "plural": true, 385 "selections": [ 386 { 387 "args": null, 388 "kind": "FragmentSpread", 389 "name": "Sparkline_sparklines" 390 } 391 ], 392 "storageKey": "sparklines(duration:\"7d\",interval:\"hour\")" 393 }, 394 (v11/*: any*/) 395 ], 396 "storageKey": null 397 } 398 ], 399 "storageKey": null 400 } 401 ], 402 "storageKey": null 403 }, 404 { 405 "alias": "networkSlicesLexicons", 406 "args": [ 407 (v12/*: any*/) 408 ], 409 "concreteType": "NetworkSlicesLexiconConnection", 410 "kind": "LinkedField", 411 "name": "__SliceOverview_networkSlicesLexicons_connection", 412 "plural": false, 413 "selections": [ 414 { 415 "alias": null, 416 "args": null, 417 "concreteType": "NetworkSlicesLexiconEdge", 418 "kind": "LinkedField", 419 "name": "edges", 420 "plural": true, 421 "selections": [ 422 { 423 "alias": null, 424 "args": null, 425 "concreteType": "NetworkSlicesLexicon", 426 "kind": "LinkedField", 427 "name": "node", 428 "plural": false, 429 "selections": [ 430 { 431 "kind": "InlineDataFragmentSpread", 432 "name": "LexiconTree_lexicon", 433 "selections": [ 434 (v3/*: any*/), 435 (v13/*: any*/), 436 (v14/*: any*/), 437 (v15/*: any*/), 438 (v7/*: any*/), 439 (v16/*: any*/) 440 ], 441 "args": null, 442 "argumentDefinitions": [] 443 }, 444 (v13/*: any*/), 445 (v17/*: any*/) 446 ], 447 "storageKey": null 448 }, 449 (v18/*: any*/) 450 ], 451 "storageKey": null 452 }, 453 (v19/*: any*/) 454 ], 455 "storageKey": null 456 } 457 ], 458 "type": "Query", 459 "abstractKey": null 460 }, 461 "kind": "Request", 462 "operation": { 463 "argumentDefinitions": [ 464 (v1/*: any*/), 465 (v0/*: any*/) 466 ], 467 "kind": "Operation", 468 "name": "SliceOverviewQuery", 469 "selections": [ 470 { 471 "alias": null, 472 "args": (v2/*: any*/), 473 "concreteType": "NetworkSlicesSliceConnection", 474 "kind": "LinkedField", 475 "name": "networkSlicesSlices", 476 "plural": false, 477 "selections": [ 478 { 479 "alias": null, 480 "args": null, 481 "concreteType": "NetworkSlicesSliceEdge", 482 "kind": "LinkedField", 483 "name": "edges", 484 "plural": true, 485 "selections": [ 486 { 487 "alias": null, 488 "args": null, 489 "concreteType": "NetworkSlicesSlice", 490 "kind": "LinkedField", 491 "name": "node", 492 "plural": false, 493 "selections": [ 494 (v3/*: any*/), 495 (v4/*: any*/), 496 (v5/*: any*/), 497 (v6/*: any*/), 498 (v7/*: any*/), 499 (v8/*: any*/), 500 { 501 "alias": null, 502 "args": null, 503 "concreteType": "NetworkSlicesActorProfile", 504 "kind": "LinkedField", 505 "name": "networkSlicesActorProfile", 506 "plural": false, 507 "selections": [ 508 (v9/*: any*/), 509 (v20/*: any*/) 510 ], 511 "storageKey": null 512 }, 513 { 514 "alias": null, 515 "args": (v10/*: any*/), 516 "concreteType": "SparklinePoint", 517 "kind": "LinkedField", 518 "name": "sparklines", 519 "plural": true, 520 "selections": [ 521 { 522 "alias": null, 523 "args": null, 524 "kind": "ScalarField", 525 "name": "timestamp", 526 "storageKey": null 527 }, 528 { 529 "alias": null, 530 "args": null, 531 "kind": "ScalarField", 532 "name": "count", 533 "storageKey": null 534 } 535 ], 536 "storageKey": "sparklines(duration:\"7d\",interval:\"hour\")" 537 }, 538 (v11/*: any*/), 539 (v20/*: any*/) 540 ], 541 "storageKey": null 542 } 543 ], 544 "storageKey": null 545 } 546 ], 547 "storageKey": null 548 }, 549 { 550 "alias": null, 551 "args": (v21/*: any*/), 552 "concreteType": "NetworkSlicesLexiconConnection", 553 "kind": "LinkedField", 554 "name": "networkSlicesLexicons", 555 "plural": false, 556 "selections": [ 557 { 558 "alias": null, 559 "args": null, 560 "concreteType": "NetworkSlicesLexiconEdge", 561 "kind": "LinkedField", 562 "name": "edges", 563 "plural": true, 564 "selections": [ 565 { 566 "alias": null, 567 "args": null, 568 "concreteType": "NetworkSlicesLexicon", 569 "kind": "LinkedField", 570 "name": "node", 571 "plural": false, 572 "selections": [ 573 (v3/*: any*/), 574 (v13/*: any*/), 575 (v14/*: any*/), 576 (v15/*: any*/), 577 (v7/*: any*/), 578 (v16/*: any*/), 579 (v20/*: any*/), 580 (v17/*: any*/) 581 ], 582 "storageKey": null 583 }, 584 (v18/*: any*/) 585 ], 586 "storageKey": null 587 }, 588 (v19/*: any*/) 589 ], 590 "storageKey": null 591 }, 592 { 593 "alias": null, 594 "args": (v21/*: any*/), 595 "filters": [ 596 "where" 597 ], 598 "handle": "connection", 599 "key": "SliceOverview_networkSlicesLexicons", 600 "kind": "LinkedHandle", 601 "name": "networkSlicesLexicons" 602 } 603 ] 604 }, 605 "params": { 606 "cacheID": "2f3d4ae5bd756320c0119219b3248f93", 607 "id": null, 608 "metadata": { 609 "connection": [ 610 { 611 "count": null, 612 "cursor": null, 613 "direction": "forward", 614 "path": [ 615 "networkSlicesLexicons" 616 ] 617 } 618 ] 619 }, 620 "name": "SliceOverviewQuery", 621 "operationKind": "query", 622 "text": "query SliceOverviewQuery(\n $sliceWhere: NetworkSlicesSliceWhereInput\n $lexiconWhere: NetworkSlicesLexiconWhereInput\n) {\n networkSlicesSlices(first: 1, where: $sliceWhere) {\n edges {\n node {\n uri\n name\n domain\n did\n createdAt\n actorHandle\n networkSlicesActorProfile {\n avatar {\n url(preset: \"avatar\")\n }\n id\n }\n sparklines(interval: \"hour\", duration: \"7d\") {\n ...Sparkline_sparklines\n }\n stats {\n totalRecords\n totalActors\n collections\n }\n id\n }\n }\n }\n networkSlicesLexicons(first: 1000, where: $lexiconWhere) {\n edges {\n node {\n ...LexiconTree_lexicon\n nsid\n id\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment LexiconTree_lexicon on NetworkSlicesLexicon {\n uri\n nsid\n description\n definitions\n createdAt\n updatedAt\n}\n\nfragment Sparkline_sparklines on SparklinePoint {\n timestamp\n count\n}\n" 623 } 624}; 625})(); 626 627(node as any).hash = "8bed88bd6f70deb339534f7cdca5a0ca"; 628 629export default node;