forked from
slices.network/slices
Highly ambitious ATProtocol AppView service and sdks
1/**
2 * @generated SignedSource<<e3c83995a4a2010512e6ccafe93f2e47>>
3 * @lightSyntaxTransform
4 * @nogrep
5 */
6
7/* tslint:disable */
8/* eslint-disable */
9// @ts-nocheck
10
11import { ConcreteRequest } from 'relay-runtime';
12export type SyncSummaryModalQuery$variables = {
13 collections?: ReadonlyArray<string> | null | undefined;
14 externalCollections?: ReadonlyArray<string> | null | undefined;
15 slice: string;
16};
17export type SyncSummaryModalQuery$data = {
18 readonly getSyncSummary: {
19 readonly appliedLimit: number;
20 readonly cappedRepos: number;
21 readonly collectionsSummary: ReadonlyArray<{
22 readonly collection: string;
23 readonly estimatedRepos: number;
24 readonly isExternal: boolean;
25 }>;
26 readonly totalRepos: number;
27 readonly wouldBeCapped: boolean;
28 };
29};
30export type SyncSummaryModalQuery = {
31 response: SyncSummaryModalQuery$data;
32 variables: SyncSummaryModalQuery$variables;
33};
34
35const node: ConcreteRequest = (function(){
36var v0 = {
37 "defaultValue": null,
38 "kind": "LocalArgument",
39 "name": "collections"
40},
41v1 = {
42 "defaultValue": null,
43 "kind": "LocalArgument",
44 "name": "externalCollections"
45},
46v2 = {
47 "defaultValue": null,
48 "kind": "LocalArgument",
49 "name": "slice"
50},
51v3 = [
52 {
53 "alias": null,
54 "args": [
55 {
56 "kind": "Variable",
57 "name": "collections",
58 "variableName": "collections"
59 },
60 {
61 "kind": "Variable",
62 "name": "externalCollections",
63 "variableName": "externalCollections"
64 },
65 {
66 "kind": "Variable",
67 "name": "slice",
68 "variableName": "slice"
69 }
70 ],
71 "concreteType": "SyncSummary",
72 "kind": "LinkedField",
73 "name": "getSyncSummary",
74 "plural": false,
75 "selections": [
76 {
77 "alias": null,
78 "args": null,
79 "kind": "ScalarField",
80 "name": "totalRepos",
81 "storageKey": null
82 },
83 {
84 "alias": null,
85 "args": null,
86 "kind": "ScalarField",
87 "name": "cappedRepos",
88 "storageKey": null
89 },
90 {
91 "alias": null,
92 "args": null,
93 "kind": "ScalarField",
94 "name": "wouldBeCapped",
95 "storageKey": null
96 },
97 {
98 "alias": null,
99 "args": null,
100 "kind": "ScalarField",
101 "name": "appliedLimit",
102 "storageKey": null
103 },
104 {
105 "alias": null,
106 "args": null,
107 "concreteType": "CollectionSummary",
108 "kind": "LinkedField",
109 "name": "collectionsSummary",
110 "plural": true,
111 "selections": [
112 {
113 "alias": null,
114 "args": null,
115 "kind": "ScalarField",
116 "name": "collection",
117 "storageKey": null
118 },
119 {
120 "alias": null,
121 "args": null,
122 "kind": "ScalarField",
123 "name": "estimatedRepos",
124 "storageKey": null
125 },
126 {
127 "alias": null,
128 "args": null,
129 "kind": "ScalarField",
130 "name": "isExternal",
131 "storageKey": null
132 }
133 ],
134 "storageKey": null
135 }
136 ],
137 "storageKey": null
138 }
139];
140return {
141 "fragment": {
142 "argumentDefinitions": [
143 (v0/*: any*/),
144 (v1/*: any*/),
145 (v2/*: any*/)
146 ],
147 "kind": "Fragment",
148 "metadata": null,
149 "name": "SyncSummaryModalQuery",
150 "selections": (v3/*: any*/),
151 "type": "Query",
152 "abstractKey": null
153 },
154 "kind": "Request",
155 "operation": {
156 "argumentDefinitions": [
157 (v2/*: any*/),
158 (v0/*: any*/),
159 (v1/*: any*/)
160 ],
161 "kind": "Operation",
162 "name": "SyncSummaryModalQuery",
163 "selections": (v3/*: any*/)
164 },
165 "params": {
166 "cacheID": "d33b17bf2fb055cf5763cb70bf1f79ed",
167 "id": null,
168 "metadata": {},
169 "name": "SyncSummaryModalQuery",
170 "operationKind": "query",
171 "text": "query SyncSummaryModalQuery(\n $slice: String!\n $collections: [String!]\n $externalCollections: [String!]\n) {\n getSyncSummary(slice: $slice, collections: $collections, externalCollections: $externalCollections) {\n totalRepos\n cappedRepos\n wouldBeCapped\n appliedLimit\n collectionsSummary {\n collection\n estimatedRepos\n isExternal\n }\n }\n}\n"
172 }
173};
174})();
175
176(node as any).hash = "a53d6955c92320d710ef0e947383c1c1";
177
178export default node;