@graphql-box/connection-resolver 5.2.3 → 5.2.4
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/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/dist/production.analysis.txt +34 -34
- package/dist/types/cjs/__testUtils__/generatePageResponse.d.cts +2 -2
- package/dist/types/cjs/__testUtils__/generatePageResponse.d.cts.map +1 -1
- package/dist/types/cjs/helpers/getDirection.d.cts +1 -1
- package/dist/types/cjs/helpers/getDirection.d.cts.map +1 -1
- package/dist/types/cjs/helpers/getIndexesOnCurrentPage.d.cts +1 -1
- package/dist/types/cjs/helpers/getIndexesOnCurrentPage.d.cts.map +1 -1
- package/dist/types/cjs/helpers/isCursorSupplied.d.cts +1 -1
- package/dist/types/cjs/helpers/isCursorSupplied.d.cts.map +1 -1
- package/dist/types/cjs/helpers/requestAndCachePages.d.cts +1 -1
- package/dist/types/cjs/helpers/requestAndCachePages.d.cts.map +1 -1
- package/dist/types/cjs/helpers/requestOutstandingPages.d.cts +1 -1
- package/dist/types/cjs/helpers/requestOutstandingPages.d.cts.map +1 -1
- package/dist/types/cjs/helpers/resolveConnection.d.cts +1 -1
- package/dist/types/cjs/helpers/resolveConnection.d.cts.map +1 -1
- package/dist/types/cjs/helpers/retrieveEntry.d.cts +2 -2
- package/dist/types/cjs/helpers/retrieveEntry.d.cts.map +1 -1
- package/dist/types/cjs/main/index.d.cts +1 -1
- package/dist/types/cjs/main/index.d.cts.map +1 -1
- package/dist/types/cjs/types.d.cts +1 -1
- package/dist/types/cjs/types.d.cts.map +1 -1
- package/dist/types/esm/__testUtils__/generatePageResponse.d.ts +2 -2
- package/dist/types/esm/__testUtils__/generatePageResponse.d.ts.map +1 -1
- package/dist/types/esm/helpers/getDirection.d.ts +1 -1
- package/dist/types/esm/helpers/getDirection.d.ts.map +1 -1
- package/dist/types/esm/helpers/getIndexesOnCurrentPage.d.ts +1 -1
- package/dist/types/esm/helpers/getIndexesOnCurrentPage.d.ts.map +1 -1
- package/dist/types/esm/helpers/isCursorSupplied.d.ts +1 -1
- package/dist/types/esm/helpers/isCursorSupplied.d.ts.map +1 -1
- package/dist/types/esm/helpers/requestAndCachePages.d.ts +1 -1
- package/dist/types/esm/helpers/requestAndCachePages.d.ts.map +1 -1
- package/dist/types/esm/helpers/requestOutstandingPages.d.ts +1 -1
- package/dist/types/esm/helpers/requestOutstandingPages.d.ts.map +1 -1
- package/dist/types/esm/helpers/resolveConnection.d.ts +1 -1
- package/dist/types/esm/helpers/resolveConnection.d.ts.map +1 -1
- package/dist/types/esm/helpers/retrieveEntry.d.ts +2 -2
- package/dist/types/esm/helpers/retrieveEntry.d.ts.map +1 -1
- package/dist/types/esm/main/index.d.ts +1 -1
- package/dist/types/esm/main/index.d.ts.map +1 -1
- package/dist/types/esm/types.d.ts +1 -1
- package/dist/types/esm/types.d.ts.map +1 -1
- package/dist/types/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/__testUtils__/generatePageResponse.ts +2 -2
- package/src/helpers/getDirection.ts +1 -1
- package/src/helpers/getIndexesOnCurrentPage.ts +1 -1
- package/src/helpers/isCursorSupplied.ts +1 -1
- package/src/helpers/requestAndCachePages.ts +1 -1
- package/src/helpers/requestOutstandingPages.ts +1 -1
- package/src/helpers/resolveConnection.ts +1 -1
- package/src/helpers/retrieveEntry.ts +6 -6
- package/src/main/index.test.ts +2 -2
- package/src/main/index.ts +1 -1
- package/src/types.ts +1 -1
@@ -1,14 +1,14 @@
|
|
1
1
|
-----------------------------
|
2
2
|
Rollup File Analysis
|
3
3
|
-----------------------------
|
4
|
-
bundle size: 16.
|
5
|
-
original size: 26.
|
6
|
-
code reduction: 38 %
|
4
|
+
bundle size: 16.339 KB
|
5
|
+
original size: 26.529 KB
|
6
|
+
code reduction: 38.41 %
|
7
7
|
module count: 33
|
8
8
|
|
9
9
|
██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
10
10
|
file: /src/helpers/getStartAndEndIndexes.ts
|
11
|
-
bundle space: 13.
|
11
|
+
bundle space: 13.33 %
|
12
12
|
rendered size: 2.178 KB
|
13
13
|
original size: 2.753 KB
|
14
14
|
code reduction: 20.89 %
|
@@ -17,16 +17,16 @@ dependents: 1
|
|
17
17
|
|
18
18
|
█████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
19
19
|
file: /src/helpers/validateCursor.ts
|
20
|
-
bundle space: 11.
|
21
|
-
rendered size: 1.
|
20
|
+
bundle space: 11.2 %
|
21
|
+
rendered size: 1.83 KB
|
22
22
|
original size: 2.422 KB
|
23
|
-
code reduction:
|
23
|
+
code reduction: 24.44 %
|
24
24
|
dependents: 1
|
25
25
|
- /src/main/index.ts
|
26
26
|
|
27
27
|
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
28
28
|
file: /src/main/index.ts
|
29
|
-
bundle space: 9.
|
29
|
+
bundle space: 9.47 %
|
30
30
|
rendered size: 1.548 KB
|
31
31
|
original size: 2.663 KB
|
32
32
|
code reduction: 41.87 %
|
@@ -35,7 +35,7 @@ dependents: 1
|
|
35
35
|
|
36
36
|
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
37
37
|
file: /src/helpers/retrieveCachedConnection.ts
|
38
|
-
bundle space: 8.
|
38
|
+
bundle space: 8.61 %
|
39
39
|
rendered size: 1.406 KB
|
40
40
|
original size: 2.459 KB
|
41
41
|
code reduction: 42.82 %
|
@@ -44,7 +44,7 @@ dependents: 1
|
|
44
44
|
|
45
45
|
████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
46
46
|
file: /src/helpers/resolveConnection.ts
|
47
|
-
bundle space: 8.
|
47
|
+
bundle space: 8.54 %
|
48
48
|
rendered size: 1.396 KB
|
49
49
|
original size: 2.482 KB
|
50
50
|
code reduction: 43.76 %
|
@@ -53,7 +53,7 @@ dependents: 1
|
|
53
53
|
|
54
54
|
███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
55
55
|
file: /src/helpers/requestAndCachePages.ts
|
56
|
-
bundle space: 6.
|
56
|
+
bundle space: 6.39 %
|
57
57
|
rendered size: 1.044 KB
|
58
58
|
original size: 1.716 KB
|
59
59
|
code reduction: 39.16 %
|
@@ -63,7 +63,7 @@ dependents: 2
|
|
63
63
|
|
64
64
|
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
65
65
|
file: /src/helpers/getStartAndEndPageNumbers.ts
|
66
|
-
bundle space: 4.
|
66
|
+
bundle space: 4.93 %
|
67
67
|
rendered size: 805 Bytes
|
68
68
|
original size: 1.365 KB
|
69
69
|
code reduction: 41.03 %
|
@@ -72,7 +72,7 @@ dependents: 1
|
|
72
72
|
|
73
73
|
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
74
74
|
file: /src/helpers/getInRangeCachedEdges.ts
|
75
|
-
bundle space: 4.
|
75
|
+
bundle space: 4.24 %
|
76
76
|
rendered size: 693 Bytes
|
77
77
|
original size: 978 Bytes
|
78
78
|
code reduction: 29.14 %
|
@@ -82,7 +82,7 @@ dependents: 2
|
|
82
82
|
|
83
83
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
84
84
|
file: /src/helpers/retrieveCachedEdgesByPage.ts
|
85
|
-
bundle space: 3.
|
85
|
+
bundle space: 3.65 %
|
86
86
|
rendered size: 596 Bytes
|
87
87
|
original size: 760 Bytes
|
88
88
|
code reduction: 21.58 %
|
@@ -91,16 +91,16 @@ dependents: 1
|
|
91
91
|
|
92
92
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
93
93
|
file: /src/helpers/hasPreviousNextPage.ts
|
94
|
-
bundle space: 3.
|
95
|
-
rendered size:
|
94
|
+
bundle space: 3.31 %
|
95
|
+
rendered size: 541 Bytes
|
96
96
|
original size: 1.044 KB
|
97
|
-
code reduction:
|
97
|
+
code reduction: 48.18 %
|
98
98
|
dependents: 1
|
99
99
|
- /src/helpers/retrieveCachedConnection.ts
|
100
100
|
|
101
101
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
102
102
|
file: /src/helpers/cacheCursors.ts
|
103
|
-
bundle space: 3.
|
103
|
+
bundle space: 3.2 %
|
104
104
|
rendered size: 523 Bytes
|
105
105
|
original size: 724 Bytes
|
106
106
|
code reduction: 27.76 %
|
@@ -109,16 +109,16 @@ dependents: 1
|
|
109
109
|
|
110
110
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
111
111
|
file: /src/helpers/getPageNumbersToRequest.ts
|
112
|
-
bundle space: 2.
|
113
|
-
rendered size:
|
112
|
+
bundle space: 2.94 %
|
113
|
+
rendered size: 481 Bytes
|
114
114
|
original size: 992 Bytes
|
115
|
-
code reduction:
|
115
|
+
code reduction: 51.51 %
|
116
116
|
dependents: 1
|
117
117
|
- /src/helpers/retrieveCachedConnection.ts
|
118
118
|
|
119
119
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
120
120
|
file: /src/helpers/mergeCachedEdges.ts
|
121
|
-
bundle space: 2.
|
121
|
+
bundle space: 2.55 %
|
122
122
|
rendered size: 416 Bytes
|
123
123
|
original size: 538 Bytes
|
124
124
|
code reduction: 22.68 %
|
@@ -127,7 +127,7 @@ dependents: 1
|
|
127
127
|
|
128
128
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
129
129
|
file: /src/helpers/makeEntry.ts
|
130
|
-
bundle space: 2.
|
130
|
+
bundle space: 2.07 %
|
131
131
|
rendered size: 339 Bytes
|
132
132
|
original size: 614 Bytes
|
133
133
|
code reduction: 44.79 %
|
@@ -136,16 +136,16 @@ dependents: 1
|
|
136
136
|
|
137
137
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
138
138
|
file: /src/helpers/retrieveEntry.ts
|
139
|
-
bundle space: 2.
|
139
|
+
bundle space: 2.04 %
|
140
140
|
rendered size: 334 Bytes
|
141
|
-
original size:
|
142
|
-
code reduction:
|
141
|
+
original size: 800 Bytes
|
142
|
+
code reduction: 58.25 %
|
143
143
|
dependents: 1
|
144
144
|
- /src/helpers/retrieveCachedConnection.ts
|
145
145
|
|
146
146
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
147
147
|
file: /src/helpers/getCurrentPageStartAndEndIndexes.ts
|
148
|
-
bundle space: 1.
|
148
|
+
bundle space: 1.77 %
|
149
149
|
rendered size: 289 Bytes
|
150
150
|
original size: 592 Bytes
|
151
151
|
code reduction: 51.18 %
|
@@ -163,7 +163,7 @@ dependents: 1
|
|
163
163
|
|
164
164
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
165
165
|
file: /src/helpers/isCursorLast.ts
|
166
|
-
bundle space: 1.
|
166
|
+
bundle space: 1.5 %
|
167
167
|
rendered size: 245 Bytes
|
168
168
|
original size: 525 Bytes
|
169
169
|
code reduction: 53.33 %
|
@@ -172,16 +172,16 @@ dependents: 1
|
|
172
172
|
|
173
173
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
174
174
|
file: /src/helpers/removeConnectionInputOptions.ts
|
175
|
-
bundle space: 1.
|
176
|
-
rendered size:
|
175
|
+
bundle space: 1.14 %
|
176
|
+
rendered size: 187 Bytes
|
177
177
|
original size: 258 Bytes
|
178
|
-
code reduction:
|
178
|
+
code reduction: 27.52 %
|
179
179
|
dependents: 1
|
180
180
|
- /src/index.ts
|
181
181
|
|
182
182
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
183
183
|
file: /src/helpers/getResultsOnLastPage.ts
|
184
|
-
bundle space: 1.
|
184
|
+
bundle space: 1.11 %
|
185
185
|
rendered size: 181 Bytes
|
186
186
|
original size: 270 Bytes
|
187
187
|
code reduction: 32.96 %
|
@@ -190,7 +190,7 @@ dependents: 1
|
|
190
190
|
|
191
191
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
192
192
|
file: /src/helpers/getStartAndEndCursors.ts
|
193
|
-
bundle space: 0.
|
193
|
+
bundle space: 0.95 %
|
194
194
|
rendered size: 155 Bytes
|
195
195
|
original size: 233 Bytes
|
196
196
|
code reduction: 33.48 %
|
@@ -229,7 +229,7 @@ dependents: 1
|
|
229
229
|
|
230
230
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
231
231
|
file: /src/helpers/makeEdges.ts
|
232
|
-
bundle space: 0.
|
232
|
+
bundle space: 0.62 %
|
233
233
|
rendered size: 101 Bytes
|
234
234
|
original size: 181 Bytes
|
235
235
|
code reduction: 44.2 %
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type
|
2
|
-
import type
|
1
|
+
import { type PlainObject } from '@graphql-box/core';
|
2
|
+
import { type ResourceResponse } from '../types.cts';
|
3
3
|
export type Params = {
|
4
4
|
resultsPerPage: number;
|
5
5
|
totalPages: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generatePageResponse.d.cts","sourceRoot":"","sources":["../../../../src/__testUtils__/generatePageResponse.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"generatePageResponse.d.cts","sourceRoot":"","sources":["../../../../src/__testUtils__/generatePageResponse.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,MAAM,GAAG;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB,iDACgB,MAAM,YAC9C,MAAM,2CAW4C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getDirection.d.cts","sourceRoot":"","sources":["../../../../src/helpers/getDirection.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"getDirection.d.cts","sourceRoot":"","sources":["../../../../src/helpers/getDirection.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,YAAY,UAAW,MAAM,KAAG,SAA4C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getIndexesOnCurrentPage.d.cts","sourceRoot":"","sources":["../../../../src/helpers/getIndexesOnCurrentPage.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"getIndexesOnCurrentPage.d.cts","sourceRoot":"","sources":["../../../../src/helpers/getIndexesOnCurrentPage.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,sEAIjC,2BAA2B,GAAG,OAAO,WAC0E,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import { type PlainObject } from '@graphql-box/core';
|
2
2
|
import { type ConnectionInputOptions } from '../types.cts';
|
3
3
|
export declare const isCursorSupplied: ({ after, before }: PlainObject & ConnectionInputOptions) => boolean;
|
4
4
|
//# sourceMappingURL=isCursorSupplied.d.cts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"isCursorSupplied.d.cts","sourceRoot":"","sources":["../../../../src/helpers/isCursorSupplied.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"isCursorSupplied.d.cts","sourceRoot":"","sources":["../../../../src/helpers/isCursorSupplied.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,gBAAgB,sBAAuB,WAAW,GAAG,sBAAsB,YAAwB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Core } from '@cachemap/core';
|
2
|
-
import type
|
2
|
+
import { type PlainObject } from '@graphql-box/core';
|
3
3
|
import { type Getters, type Node, type ResourceResolver } from '../types.cts';
|
4
4
|
export type Context<Resource extends PlainObject, ResourceNode extends Node> = {
|
5
5
|
cursorCache: Core;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"requestAndCachePages.d.cts","sourceRoot":"","sources":["../../../../src/helpers/requestAndCachePages.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"requestAndCachePages.d.cts","sourceRoot":"","sources":["../../../../src/helpers/requestAndCachePages.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAI7E,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,WAAW,EAAE,YAAY,SAAS,IAAI,IAAI;IAC7E,WAAW,EAAE,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC9C,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,mEACxB,MAAM,EAAE;;;;;;;;;EAuChB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"requestOutstandingPages.d.cts","sourceRoot":"","sources":["../../../../src/helpers/requestOutstandingPages.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"requestOutstandingPages.d.cts","sourceRoot":"","sources":["../../../../src/helpers/requestOutstandingPages.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,MAAM,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE7F,eAAO,MAAM,uBAAuB,kFAC6C,yBAAyB,mBACvF,2BAA2B;;;EAyC7C,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Core } from '@cachemap/core';
|
2
|
-
import type
|
2
|
+
import { type PlainObject } from '@graphql-box/core';
|
3
3
|
import { type ConnectionInputOptions, type Getters, type Node, type ResourceResolver } from '../types.cts';
|
4
4
|
export type Context<Resource extends PlainObject, ResourceNode extends Node> = {
|
5
5
|
cursorCache: Core;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resolveConnection.d.cts","sourceRoot":"","sources":["../../../../src/helpers/resolveConnection.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"resolveConnection.d.cts","sourceRoot":"","sources":["../../../../src/helpers/resolveConnection.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAS1G,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,WAAW,EAAE,YAAY,SAAS,IAAI,IAAI;IAC7E,WAAW,EAAE,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC9C,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7C,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,kEACtB,WAAW,GAAG,sBAAsB;;;;;;;;;;;EAuD3C,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type
|
2
|
-
import type
|
1
|
+
import { type Core } from '@cachemap/core';
|
2
|
+
import { type ConnectionInputOptions, type CursorGroupMetadata, type PartialCursorCacheEntry } from '../types.cts';
|
3
3
|
export type Context = {
|
4
4
|
cursorCache: Core;
|
5
5
|
resultsPerPage: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"retrieveEntry.d.cts","sourceRoot":"","sources":["../../../../src/helpers/retrieveEntry.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"retrieveEntry.d.cts","sourceRoot":"","sources":["../../../../src/helpers/retrieveEntry.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EACL,KAAK,sBAAsB,EAE3B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC7B,MAAM,aAAa,CAAC;AAIrB,MAAM,MAAM,OAAO,GAAG;IACpB,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,aAAa,SAClB,sBAAsB,YAClB,mBAAmB,mCACI,OAAO,KACvC,QAAQ,uBAAuB,CAYjC,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import { type PlainObject } from '@graphql-box/core';
|
2
2
|
import { type GraphQLResolveInfo } from 'graphql';
|
3
3
|
import { type Connection, type ConnectionInputOptions, type ConnectionResolverUserOptions, type Node } from '../types.cts';
|
4
4
|
export declare const makeConnectionResolver: <Source extends PlainObject | undefined, Args extends PlainObject, Ctx extends PlainObject, Resource extends PlainObject, ResourceNode extends Node>({ createMakeCursors, createResourceResolver, cursorCache, getters, resolver, resultsPerPage, }: ConnectionResolverUserOptions<Source, Args, Ctx, Resource, ResourceNode>) => (source: Source, args: Args & ConnectionInputOptions, context: Ctx, info: GraphQLResolveInfo) => Promise<Connection>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/main/index.cts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/main/index.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAKlD,OAAO,EACL,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,IAAI,EACV,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,sBAAsB,8YAmBzB,kBAAkB,KACvB,QAAQ,UAAU,CAoEpB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Core } from '@cachemap/core';
|
2
|
-
import type
|
2
|
+
import { type PlainObject } from '@graphql-box/core';
|
3
3
|
import { type GraphQLResolveInfo } from 'graphql';
|
4
4
|
import { type SetOptional } from 'type-fest';
|
5
5
|
export type Direction = 'backward' | 'forward';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../../src/types.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../../src/types.cts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,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E,IAAI,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;IAC5E,WAAW,EAAE,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACzC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,UAAU,CAAC;IAC5C,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,kBAAkB,GAAG,CAC/B,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE,WAAW,GAAG,sBAAsB,EAC1C,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,kBAAkB,KACrB,OAAO,CAAC,UAAU,CAAC,CAAC;AAEzB,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type
|
2
|
-
import type
|
1
|
+
import { type PlainObject } from '@graphql-box/core';
|
2
|
+
import { type ResourceResponse } from '../types.ts';
|
3
3
|
export type Params = {
|
4
4
|
resultsPerPage: number;
|
5
5
|
totalPages: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generatePageResponse.d.ts","sourceRoot":"","sources":["../../../../src/__testUtils__/generatePageResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"generatePageResponse.d.ts","sourceRoot":"","sources":["../../../../src/__testUtils__/generatePageResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,MAAM,GAAG;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB,iDACgB,MAAM,YAC9C,MAAM,2CAW4C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getDirection.d.ts","sourceRoot":"","sources":["../../../../src/helpers/getDirection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"getDirection.d.ts","sourceRoot":"","sources":["../../../../src/helpers/getDirection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,YAAY,UAAW,MAAM,KAAG,SAA4C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getIndexesOnCurrentPage.d.ts","sourceRoot":"","sources":["../../../../src/helpers/getIndexesOnCurrentPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"getIndexesOnCurrentPage.d.ts","sourceRoot":"","sources":["../../../../src/helpers/getIndexesOnCurrentPage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,sEAIjC,2BAA2B,GAAG,OAAO,WAC0E,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import { type PlainObject } from '@graphql-box/core';
|
2
2
|
import { type ConnectionInputOptions } from '../types.ts';
|
3
3
|
export declare const isCursorSupplied: ({ after, before }: PlainObject & ConnectionInputOptions) => boolean;
|
4
4
|
//# sourceMappingURL=isCursorSupplied.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"isCursorSupplied.d.ts","sourceRoot":"","sources":["../../../../src/helpers/isCursorSupplied.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"isCursorSupplied.d.ts","sourceRoot":"","sources":["../../../../src/helpers/isCursorSupplied.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,gBAAgB,sBAAuB,WAAW,GAAG,sBAAsB,YAAwB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Core } from '@cachemap/core';
|
2
|
-
import type
|
2
|
+
import { type PlainObject } from '@graphql-box/core';
|
3
3
|
import { type Getters, type Node, type ResourceResolver } from '../types.ts';
|
4
4
|
export type Context<Resource extends PlainObject, ResourceNode extends Node> = {
|
5
5
|
cursorCache: Core;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"requestAndCachePages.d.ts","sourceRoot":"","sources":["../../../../src/helpers/requestAndCachePages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"requestAndCachePages.d.ts","sourceRoot":"","sources":["../../../../src/helpers/requestAndCachePages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAI7E,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,WAAW,EAAE,YAAY,SAAS,IAAI,IAAI;IAC7E,WAAW,EAAE,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC9C,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,mEACxB,MAAM,EAAE;;;;;;;;;EAuChB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"requestOutstandingPages.d.ts","sourceRoot":"","sources":["../../../../src/helpers/requestOutstandingPages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"requestOutstandingPages.d.ts","sourceRoot":"","sources":["../../../../src/helpers/requestOutstandingPages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,MAAM,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE7F,eAAO,MAAM,uBAAuB,kFAC6C,yBAAyB,mBACvF,2BAA2B;;;EAyC7C,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Core } from '@cachemap/core';
|
2
|
-
import type
|
2
|
+
import { type PlainObject } from '@graphql-box/core';
|
3
3
|
import { type ConnectionInputOptions, type Getters, type Node, type ResourceResolver } from '../types.ts';
|
4
4
|
export type Context<Resource extends PlainObject, ResourceNode extends Node> = {
|
5
5
|
cursorCache: Core;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resolveConnection.d.ts","sourceRoot":"","sources":["../../../../src/helpers/resolveConnection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"resolveConnection.d.ts","sourceRoot":"","sources":["../../../../src/helpers/resolveConnection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAS1G,MAAM,MAAM,OAAO,CAAC,QAAQ,SAAS,WAAW,EAAE,YAAY,SAAS,IAAI,IAAI;IAC7E,WAAW,EAAE,IAAI,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC9C,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7C,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,kEACtB,WAAW,GAAG,sBAAsB;;;;;;;;;;;EAuD3C,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type
|
2
|
-
import type
|
1
|
+
import { type Core } from '@cachemap/core';
|
2
|
+
import { type ConnectionInputOptions, type CursorGroupMetadata, type PartialCursorCacheEntry } from '../types.ts';
|
3
3
|
export type Context = {
|
4
4
|
cursorCache: Core;
|
5
5
|
resultsPerPage: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"retrieveEntry.d.ts","sourceRoot":"","sources":["../../../../src/helpers/retrieveEntry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"retrieveEntry.d.ts","sourceRoot":"","sources":["../../../../src/helpers/retrieveEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EACL,KAAK,sBAAsB,EAE3B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC7B,MAAM,aAAa,CAAC;AAIrB,MAAM,MAAM,OAAO,GAAG;IACpB,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,aAAa,SAClB,sBAAsB,YAClB,mBAAmB,mCACI,OAAO,KACvC,QAAQ,uBAAuB,CAYjC,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type
|
1
|
+
import { type PlainObject } from '@graphql-box/core';
|
2
2
|
import { type GraphQLResolveInfo } from 'graphql';
|
3
3
|
import { type Connection, type ConnectionInputOptions, type ConnectionResolverUserOptions, type Node } from '../types.ts';
|
4
4
|
export declare const makeConnectionResolver: <Source extends PlainObject | undefined, Args extends PlainObject, Ctx extends PlainObject, Resource extends PlainObject, ResourceNode extends Node>({ createMakeCursors, createResourceResolver, cursorCache, getters, resolver, resultsPerPage, }: ConnectionResolverUserOptions<Source, Args, Ctx, Resource, ResourceNode>) => (source: Source, args: Args & ConnectionInputOptions, context: Ctx, info: GraphQLResolveInfo) => Promise<Connection>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/main/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/main/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAKlD,OAAO,EACL,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,IAAI,EACV,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,sBAAsB,8YAmBzB,kBAAkB,KACvB,QAAQ,UAAU,CAoEpB,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { type Core } from '@cachemap/core';
|
2
|
-
import type
|
2
|
+
import { type PlainObject } from '@graphql-box/core';
|
3
3
|
import { type GraphQLResolveInfo } from 'graphql';
|
4
4
|
import { type SetOptional } from 'type-fest';
|
5
5
|
export type Direction = 'backward' | 'forward';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,gBAAgB,EAAE,OAAO,GAAG,MAAM,CAAC,CAA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