Demo using Slices Network GraphQL Relay API to make a teal.fm client
1/**
2 * @generated SignedSource<<7e2392afa490a7b1da46656aa250f70b>>
3 * @lightSyntaxTransform
4 * @nogrep
5 */
6
7/* tslint:disable */
8/* eslint-disable */
9// @ts-nocheck
10
11import { ReaderFragment } from 'relay-runtime';
12import { FragmentRefs } from "relay-runtime";
13export type ScrobbleChart_data$data = {
14 readonly chartData: ReadonlyArray<{
15 readonly count: number;
16 readonly playedTime: string | null | undefined;
17 }> | null | undefined;
18 readonly " $fragmentType": "ScrobbleChart_data";
19};
20export type ScrobbleChart_data$key = {
21 readonly " $data"?: ScrobbleChart_data$data;
22 readonly " $fragmentSpreads": FragmentRefs<"ScrobbleChart_data">;
23};
24
25const node: ReaderFragment = {
26 "argumentDefinitions": [
27 {
28 "kind": "RootArgument",
29 "name": "chartWhere"
30 }
31 ],
32 "kind": "Fragment",
33 "metadata": null,
34 "name": "ScrobbleChart_data",
35 "selections": [
36 {
37 "alias": "chartData",
38 "args": [
39 {
40 "kind": "Literal",
41 "name": "groupBy",
42 "value": [
43 {
44 "field": "playedTime",
45 "interval": "DAY"
46 }
47 ]
48 },
49 {
50 "kind": "Literal",
51 "name": "limit",
52 "value": 90
53 },
54 {
55 "kind": "Variable",
56 "name": "where",
57 "variableName": "chartWhere"
58 }
59 ],
60 "concreteType": "FmTealAlphaFeedPlayAggregated",
61 "kind": "LinkedField",
62 "name": "fmTealAlphaFeedPlayAggregated",
63 "plural": true,
64 "selections": [
65 {
66 "alias": null,
67 "args": null,
68 "kind": "ScalarField",
69 "name": "playedTime",
70 "storageKey": null
71 },
72 {
73 "alias": null,
74 "args": null,
75 "kind": "ScalarField",
76 "name": "count",
77 "storageKey": null
78 }
79 ],
80 "storageKey": null
81 }
82 ],
83 "type": "Query",
84 "abstractKey": null
85};
86
87(node as any).hash = "acb96f5268c9520f77c672a7ea3a7454";
88
89export default node;