@fncts/query 0.0.25 → 0.0.27
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/LICENSE +26 -0
- package/_cjs/Cache/api.cjs +53 -46
- package/_cjs/Cache/api.cjs.map +1 -1
- package/_cjs/Cache/definition.cjs +8 -10
- package/_cjs/Cache/definition.cjs.map +1 -1
- package/_cjs/Cache.cjs +7 -28
- package/_cjs/CompletedRequestMap.cjs +40 -37
- package/_cjs/CompletedRequestMap.cjs.map +1 -1
- package/_cjs/DataSource/api.cjs +76 -90
- package/_cjs/DataSource/api.cjs.map +1 -1
- package/_cjs/DataSource/definition.cjs +69 -67
- package/_cjs/DataSource/definition.cjs.map +1 -1
- package/_cjs/DataSource.cjs +14 -28
- package/_cjs/DataSourceAspect.cjs +9 -14
- package/_cjs/DataSourceAspect.cjs.map +1 -1
- package/_cjs/Described.cjs +27 -27
- package/_cjs/Described.cjs.map +1 -1
- package/_cjs/Query/api/bimap.cjs +15 -14
- package/_cjs/Query/api/bimap.cjs.map +1 -1
- package/_cjs/Query/api/catchAllCause.cjs +23 -21
- package/_cjs/Query/api/catchAllCause.cjs.map +1 -1
- package/_cjs/Query/api/collectAll.cjs +13 -12
- package/_cjs/Query/api/collectAll.cjs.map +1 -1
- package/_cjs/Query/api/collectAllBatched.cjs +13 -12
- package/_cjs/Query/api/collectAllBatched.cjs.map +1 -1
- package/_cjs/Query/api/collectAllConcurrent.cjs +13 -12
- package/_cjs/Query/api/collectAllConcurrent.cjs.map +1 -1
- package/_cjs/Query/api/defer.cjs +13 -12
- package/_cjs/Query/api/defer.cjs.map +1 -1
- package/_cjs/Query/api/ensuring.cjs +17 -15
- package/_cjs/Query/api/ensuring.cjs.map +1 -1
- package/_cjs/Query/api/environment.cjs +76 -64
- package/_cjs/Query/api/environment.cjs.map +1 -1
- package/_cjs/Query/api/flatMap.cjs +30 -26
- package/_cjs/Query/api/flatMap.cjs.map +1 -1
- package/_cjs/Query/api/foreach.cjs +22 -21
- package/_cjs/Query/api/foreach.cjs.map +1 -1
- package/_cjs/Query/api/foreachBatched.cjs +22 -21
- package/_cjs/Query/api/foreachBatched.cjs.map +1 -1
- package/_cjs/Query/api/foreachConcurrent.cjs +17 -14
- package/_cjs/Query/api/foreachConcurrent.cjs.map +1 -1
- package/_cjs/Query/api/fromRequest.cjs +42 -33
- package/_cjs/Query/api/fromRequest.cjs.map +1 -1
- package/_cjs/Query/api/map.cjs +17 -15
- package/_cjs/Query/api/map.cjs.map +1 -1
- package/_cjs/Query/api/mapDataSources.cjs +17 -15
- package/_cjs/Query/api/mapDataSources.cjs.map +1 -1
- package/_cjs/Query/api/mapError.cjs +15 -14
- package/_cjs/Query/api/mapError.cjs.map +1 -1
- package/_cjs/Query/api/mapErrorCause.cjs +15 -14
- package/_cjs/Query/api/mapErrorCause.cjs.map +1 -1
- package/_cjs/Query/api/mapIO.cjs +15 -14
- package/_cjs/Query/api/mapIO.cjs.map +1 -1
- package/_cjs/Query/api/match.cjs +15 -14
- package/_cjs/Query/api/match.cjs.map +1 -1
- package/_cjs/Query/api/matchCauseQuery.cjs +23 -20
- package/_cjs/Query/api/matchCauseQuery.cjs.map +1 -1
- package/_cjs/Query/api/matchQuery.cjs +19 -16
- package/_cjs/Query/api/matchQuery.cjs.map +1 -1
- package/_cjs/Query/api/orHalt.cjs +22 -20
- package/_cjs/Query/api/orHalt.cjs.map +1 -1
- package/_cjs/Query/api/race.cjs +46 -36
- package/_cjs/Query/api/race.cjs.map +1 -1
- package/_cjs/Query/api/run.cjs +43 -35
- package/_cjs/Query/api/run.cjs.map +1 -1
- package/_cjs/Query/api/timeout.cjs +70 -56
- package/_cjs/Query/api/timeout.cjs.map +1 -1
- package/_cjs/Query/api/zipWith.cjs +37 -33
- package/_cjs/Query/api/zipWith.cjs.map +1 -1
- package/_cjs/Query/api/zipWithBatched.cjs +39 -34
- package/_cjs/Query/api/zipWithBatched.cjs.map +1 -1
- package/_cjs/Query/api/zipWithConcurrent.cjs +39 -34
- package/_cjs/Query/api/zipWithConcurrent.cjs.map +1 -1
- package/_cjs/Query/api.cjs +68 -60
- package/_cjs/Query/api.cjs.map +1 -1
- package/_cjs/Query/definition.cjs +16 -18
- package/_cjs/Query/definition.cjs.map +1 -1
- package/_cjs/Query.cjs +88 -336
- package/_cjs/QueryFailure.cjs +13 -13
- package/_cjs/QueryFailure.cjs.map +1 -1
- package/_cjs/Request.cjs +48 -48
- package/_cjs/Request.cjs.map +1 -1
- package/_cjs/chunk.cjs +28 -0
- package/_cjs/global.cjs +0 -2
- package/_cjs/index.cjs +0 -2
- package/_cjs/internal/BlockedRequest.cjs +23 -24
- package/_cjs/internal/BlockedRequest.cjs.map +1 -1
- package/_cjs/internal/BlockedRequests.cjs +318 -332
- package/_cjs/internal/BlockedRequests.cjs.map +1 -1
- package/_cjs/internal/Continue.cjs +244 -233
- package/_cjs/internal/Continue.cjs.map +1 -1
- package/_cjs/internal/Parallel.cjs +59 -56
- package/_cjs/internal/Parallel.cjs.map +1 -1
- package/_cjs/internal/Result.cjs +199 -185
- package/_cjs/internal/Result.cjs.map +1 -1
- package/_cjs/internal/Sequential.cjs +44 -42
- package/_cjs/internal/Sequential.cjs.map +1 -1
- package/_mjs/Cache/api.mjs +38 -33
- package/_mjs/Cache/api.mjs.map +1 -1
- package/_mjs/Cache/definition.mjs +8 -4
- package/_mjs/Cache/definition.mjs.map +1 -1
- package/_mjs/Cache.mjs +3 -4
- package/_mjs/CompletedRequestMap.mjs +34 -29
- package/_mjs/CompletedRequestMap.mjs.map +1 -1
- package/_mjs/DataSource/api.mjs +67 -81
- package/_mjs/DataSource/api.mjs.map +1 -1
- package/_mjs/DataSource/definition.mjs +54 -56
- package/_mjs/DataSource/definition.mjs.map +1 -1
- package/_mjs/DataSource.mjs +3 -4
- package/_mjs/DataSourceAspect.mjs +8 -8
- package/_mjs/DataSourceAspect.mjs.map +1 -1
- package/_mjs/Described.mjs +26 -20
- package/_mjs/Described.mjs.map +1 -1
- package/_mjs/Query/api/bimap.mjs +10 -6
- package/_mjs/Query/api/bimap.mjs.map +1 -1
- package/_mjs/Query/api/catchAllCause.mjs +17 -13
- package/_mjs/Query/api/catchAllCause.mjs.map +1 -1
- package/_mjs/Query/api/collectAll.mjs +8 -4
- package/_mjs/Query/api/collectAll.mjs.map +1 -1
- package/_mjs/Query/api/collectAllBatched.mjs +8 -4
- package/_mjs/Query/api/collectAllBatched.mjs.map +1 -1
- package/_mjs/Query/api/collectAllConcurrent.mjs +8 -4
- package/_mjs/Query/api/collectAllConcurrent.mjs.map +1 -1
- package/_mjs/Query/api/defer.mjs +9 -5
- package/_mjs/Query/api/defer.mjs.map +1 -1
- package/_mjs/Query/api/ensuring.mjs +10 -6
- package/_mjs/Query/api/ensuring.mjs.map +1 -1
- package/_mjs/Query/api/environment.mjs +53 -49
- package/_mjs/Query/api/environment.mjs.map +1 -1
- package/_mjs/Query/api/flatMap.mjs +19 -15
- package/_mjs/Query/api/flatMap.mjs.map +1 -1
- package/_mjs/Query/api/foreach.mjs +14 -12
- package/_mjs/Query/api/foreach.mjs.map +1 -1
- package/_mjs/Query/api/foreachBatched.mjs +15 -13
- package/_mjs/Query/api/foreachBatched.mjs.map +1 -1
- package/_mjs/Query/api/foreachConcurrent.mjs +9 -5
- package/_mjs/Query/api/foreachConcurrent.mjs.map +1 -1
- package/_mjs/Query/api/fromRequest.mjs +19 -18
- package/_mjs/Query/api/fromRequest.mjs.map +1 -1
- package/_mjs/Query/api/map.mjs +11 -7
- package/_mjs/Query/api/map.mjs.map +1 -1
- package/_mjs/Query/api/mapDataSources.mjs +11 -7
- package/_mjs/Query/api/mapDataSources.mjs.map +1 -1
- package/_mjs/Query/api/mapError.mjs +10 -6
- package/_mjs/Query/api/mapError.mjs.map +1 -1
- package/_mjs/Query/api/mapErrorCause.mjs +10 -6
- package/_mjs/Query/api/mapErrorCause.mjs.map +1 -1
- package/_mjs/Query/api/mapIO.mjs +11 -7
- package/_mjs/Query/api/mapIO.mjs.map +1 -1
- package/_mjs/Query/api/match.mjs +11 -7
- package/_mjs/Query/api/match.mjs.map +1 -1
- package/_mjs/Query/api/matchCauseQuery.mjs +16 -12
- package/_mjs/Query/api/matchCauseQuery.mjs.map +1 -1
- package/_mjs/Query/api/matchQuery.mjs +12 -8
- package/_mjs/Query/api/matchQuery.mjs.map +1 -1
- package/_mjs/Query/api/orHalt.mjs +14 -10
- package/_mjs/Query/api/orHalt.mjs.map +1 -1
- package/_mjs/Query/api/race.mjs +28 -24
- package/_mjs/Query/api/race.mjs.map +1 -1
- package/_mjs/Query/api/run.mjs +29 -25
- package/_mjs/Query/api/run.mjs.map +1 -1
- package/_mjs/Query/api/timeout.mjs +44 -40
- package/_mjs/Query/api/timeout.mjs.map +1 -1
- package/_mjs/Query/api/zipWith.mjs +26 -22
- package/_mjs/Query/api/zipWith.mjs.map +1 -1
- package/_mjs/Query/api/zipWithBatched.mjs +29 -25
- package/_mjs/Query/api/zipWithBatched.mjs.map +1 -1
- package/_mjs/Query/api/zipWithConcurrent.mjs +28 -24
- package/_mjs/Query/api/zipWithConcurrent.mjs.map +1 -1
- package/_mjs/Query/api.mjs +50 -46
- package/_mjs/Query/api.mjs.map +1 -1
- package/_mjs/Query/definition.mjs +15 -12
- package/_mjs/Query/definition.mjs.map +1 -1
- package/_mjs/Query.mjs +31 -34
- package/_mjs/QueryFailure.mjs +11 -6
- package/_mjs/QueryFailure.mjs.map +1 -1
- package/_mjs/Request.mjs +28 -32
- package/_mjs/Request.mjs.map +1 -1
- package/_mjs/global.mjs +0 -2
- package/_mjs/index.mjs +0 -2
- package/_mjs/internal/BlockedRequest.mjs +21 -17
- package/_mjs/internal/BlockedRequest.mjs.map +1 -1
- package/_mjs/internal/BlockedRequests.mjs +277 -307
- package/_mjs/internal/BlockedRequests.mjs.map +1 -1
- package/_mjs/internal/Continue.mjs +235 -241
- package/_mjs/internal/Continue.mjs.map +1 -1
- package/_mjs/internal/Parallel.mjs +49 -46
- package/_mjs/internal/Parallel.mjs.map +1 -1
- package/_mjs/internal/Result.mjs +177 -170
- package/_mjs/internal/Result.mjs.map +1 -1
- package/_mjs/internal/Sequential.mjs +35 -32
- package/_mjs/internal/Sequential.mjs.map +1 -1
- package/_src/DataSource/definition.ts +3 -1
- package/package.json +8 -4
- package/_cjs/Cache.cjs.map +0 -1
- package/_cjs/DataSource.cjs.map +0 -1
- package/_cjs/Query.cjs.map +0 -1
- package/_cjs/global.cjs.map +0 -1
- package/_cjs/index.cjs.map +0 -1
- package/_mjs/Cache.mjs.map +0 -1
- package/_mjs/DataSource.mjs.map +0 -1
- package/_mjs/Query.mjs.map +0 -1
- package/_mjs/global.mjs.map +0 -1
- package/_mjs/index.mjs.map +0 -1
package/_cjs/Query.cjs
CHANGED
|
@@ -1,336 +1,88 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
get: function () {
|
|
90
|
-
return _defer[key];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
});
|
|
94
|
-
var _ensuring = /*#__PURE__*/require("./Query/api/ensuring.cjs");
|
|
95
|
-
Object.keys(_ensuring).forEach(function (key) {
|
|
96
|
-
if (key === "default" || key === "__esModule") return;
|
|
97
|
-
if (key in exports && exports[key] === _ensuring[key]) return;
|
|
98
|
-
Object.defineProperty(exports, key, {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () {
|
|
101
|
-
return _ensuring[key];
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
var _environment = /*#__PURE__*/require("./Query/api/environment.cjs");
|
|
106
|
-
Object.keys(_environment).forEach(function (key) {
|
|
107
|
-
if (key === "default" || key === "__esModule") return;
|
|
108
|
-
if (key in exports && exports[key] === _environment[key]) return;
|
|
109
|
-
Object.defineProperty(exports, key, {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function () {
|
|
112
|
-
return _environment[key];
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
var _flatMap = /*#__PURE__*/require("./Query/api/flatMap.cjs");
|
|
117
|
-
Object.keys(_flatMap).forEach(function (key) {
|
|
118
|
-
if (key === "default" || key === "__esModule") return;
|
|
119
|
-
if (key in exports && exports[key] === _flatMap[key]) return;
|
|
120
|
-
Object.defineProperty(exports, key, {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _flatMap[key];
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
var _foreach = /*#__PURE__*/require("./Query/api/foreach.cjs");
|
|
128
|
-
Object.keys(_foreach).forEach(function (key) {
|
|
129
|
-
if (key === "default" || key === "__esModule") return;
|
|
130
|
-
if (key in exports && exports[key] === _foreach[key]) return;
|
|
131
|
-
Object.defineProperty(exports, key, {
|
|
132
|
-
enumerable: true,
|
|
133
|
-
get: function () {
|
|
134
|
-
return _foreach[key];
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
var _foreachBatched = /*#__PURE__*/require("./Query/api/foreachBatched.cjs");
|
|
139
|
-
Object.keys(_foreachBatched).forEach(function (key) {
|
|
140
|
-
if (key === "default" || key === "__esModule") return;
|
|
141
|
-
if (key in exports && exports[key] === _foreachBatched[key]) return;
|
|
142
|
-
Object.defineProperty(exports, key, {
|
|
143
|
-
enumerable: true,
|
|
144
|
-
get: function () {
|
|
145
|
-
return _foreachBatched[key];
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
var _foreachConcurrent = /*#__PURE__*/require("./Query/api/foreachConcurrent.cjs");
|
|
150
|
-
Object.keys(_foreachConcurrent).forEach(function (key) {
|
|
151
|
-
if (key === "default" || key === "__esModule") return;
|
|
152
|
-
if (key in exports && exports[key] === _foreachConcurrent[key]) return;
|
|
153
|
-
Object.defineProperty(exports, key, {
|
|
154
|
-
enumerable: true,
|
|
155
|
-
get: function () {
|
|
156
|
-
return _foreachConcurrent[key];
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
var _fromRequest = /*#__PURE__*/require("./Query/api/fromRequest.cjs");
|
|
161
|
-
Object.keys(_fromRequest).forEach(function (key) {
|
|
162
|
-
if (key === "default" || key === "__esModule") return;
|
|
163
|
-
if (key in exports && exports[key] === _fromRequest[key]) return;
|
|
164
|
-
Object.defineProperty(exports, key, {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function () {
|
|
167
|
-
return _fromRequest[key];
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
var _map = /*#__PURE__*/require("./Query/api/map.cjs");
|
|
172
|
-
Object.keys(_map).forEach(function (key) {
|
|
173
|
-
if (key === "default" || key === "__esModule") return;
|
|
174
|
-
if (key in exports && exports[key] === _map[key]) return;
|
|
175
|
-
Object.defineProperty(exports, key, {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function () {
|
|
178
|
-
return _map[key];
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
var _mapDataSources = /*#__PURE__*/require("./Query/api/mapDataSources.cjs");
|
|
183
|
-
Object.keys(_mapDataSources).forEach(function (key) {
|
|
184
|
-
if (key === "default" || key === "__esModule") return;
|
|
185
|
-
if (key in exports && exports[key] === _mapDataSources[key]) return;
|
|
186
|
-
Object.defineProperty(exports, key, {
|
|
187
|
-
enumerable: true,
|
|
188
|
-
get: function () {
|
|
189
|
-
return _mapDataSources[key];
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
});
|
|
193
|
-
var _mapError = /*#__PURE__*/require("./Query/api/mapError.cjs");
|
|
194
|
-
Object.keys(_mapError).forEach(function (key) {
|
|
195
|
-
if (key === "default" || key === "__esModule") return;
|
|
196
|
-
if (key in exports && exports[key] === _mapError[key]) return;
|
|
197
|
-
Object.defineProperty(exports, key, {
|
|
198
|
-
enumerable: true,
|
|
199
|
-
get: function () {
|
|
200
|
-
return _mapError[key];
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
var _mapErrorCause = /*#__PURE__*/require("./Query/api/mapErrorCause.cjs");
|
|
205
|
-
Object.keys(_mapErrorCause).forEach(function (key) {
|
|
206
|
-
if (key === "default" || key === "__esModule") return;
|
|
207
|
-
if (key in exports && exports[key] === _mapErrorCause[key]) return;
|
|
208
|
-
Object.defineProperty(exports, key, {
|
|
209
|
-
enumerable: true,
|
|
210
|
-
get: function () {
|
|
211
|
-
return _mapErrorCause[key];
|
|
212
|
-
}
|
|
213
|
-
});
|
|
214
|
-
});
|
|
215
|
-
var _mapIO = /*#__PURE__*/require("./Query/api/mapIO.cjs");
|
|
216
|
-
Object.keys(_mapIO).forEach(function (key) {
|
|
217
|
-
if (key === "default" || key === "__esModule") return;
|
|
218
|
-
if (key in exports && exports[key] === _mapIO[key]) return;
|
|
219
|
-
Object.defineProperty(exports, key, {
|
|
220
|
-
enumerable: true,
|
|
221
|
-
get: function () {
|
|
222
|
-
return _mapIO[key];
|
|
223
|
-
}
|
|
224
|
-
});
|
|
225
|
-
});
|
|
226
|
-
var _match = /*#__PURE__*/require("./Query/api/match.cjs");
|
|
227
|
-
Object.keys(_match).forEach(function (key) {
|
|
228
|
-
if (key === "default" || key === "__esModule") return;
|
|
229
|
-
if (key in exports && exports[key] === _match[key]) return;
|
|
230
|
-
Object.defineProperty(exports, key, {
|
|
231
|
-
enumerable: true,
|
|
232
|
-
get: function () {
|
|
233
|
-
return _match[key];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
});
|
|
237
|
-
var _matchCauseQuery = /*#__PURE__*/require("./Query/api/matchCauseQuery.cjs");
|
|
238
|
-
Object.keys(_matchCauseQuery).forEach(function (key) {
|
|
239
|
-
if (key === "default" || key === "__esModule") return;
|
|
240
|
-
if (key in exports && exports[key] === _matchCauseQuery[key]) return;
|
|
241
|
-
Object.defineProperty(exports, key, {
|
|
242
|
-
enumerable: true,
|
|
243
|
-
get: function () {
|
|
244
|
-
return _matchCauseQuery[key];
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
});
|
|
248
|
-
var _matchQuery = /*#__PURE__*/require("./Query/api/matchQuery.cjs");
|
|
249
|
-
Object.keys(_matchQuery).forEach(function (key) {
|
|
250
|
-
if (key === "default" || key === "__esModule") return;
|
|
251
|
-
if (key in exports && exports[key] === _matchQuery[key]) return;
|
|
252
|
-
Object.defineProperty(exports, key, {
|
|
253
|
-
enumerable: true,
|
|
254
|
-
get: function () {
|
|
255
|
-
return _matchQuery[key];
|
|
256
|
-
}
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
var _orHalt = /*#__PURE__*/require("./Query/api/orHalt.cjs");
|
|
260
|
-
Object.keys(_orHalt).forEach(function (key) {
|
|
261
|
-
if (key === "default" || key === "__esModule") return;
|
|
262
|
-
if (key in exports && exports[key] === _orHalt[key]) return;
|
|
263
|
-
Object.defineProperty(exports, key, {
|
|
264
|
-
enumerable: true,
|
|
265
|
-
get: function () {
|
|
266
|
-
return _orHalt[key];
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
});
|
|
270
|
-
var _race = /*#__PURE__*/require("./Query/api/race.cjs");
|
|
271
|
-
Object.keys(_race).forEach(function (key) {
|
|
272
|
-
if (key === "default" || key === "__esModule") return;
|
|
273
|
-
if (key in exports && exports[key] === _race[key]) return;
|
|
274
|
-
Object.defineProperty(exports, key, {
|
|
275
|
-
enumerable: true,
|
|
276
|
-
get: function () {
|
|
277
|
-
return _race[key];
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
|
-
var _run = /*#__PURE__*/require("./Query/api/run.cjs");
|
|
282
|
-
Object.keys(_run).forEach(function (key) {
|
|
283
|
-
if (key === "default" || key === "__esModule") return;
|
|
284
|
-
if (key in exports && exports[key] === _run[key]) return;
|
|
285
|
-
Object.defineProperty(exports, key, {
|
|
286
|
-
enumerable: true,
|
|
287
|
-
get: function () {
|
|
288
|
-
return _run[key];
|
|
289
|
-
}
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
var _timeout = /*#__PURE__*/require("./Query/api/timeout.cjs");
|
|
293
|
-
Object.keys(_timeout).forEach(function (key) {
|
|
294
|
-
if (key === "default" || key === "__esModule") return;
|
|
295
|
-
if (key in exports && exports[key] === _timeout[key]) return;
|
|
296
|
-
Object.defineProperty(exports, key, {
|
|
297
|
-
enumerable: true,
|
|
298
|
-
get: function () {
|
|
299
|
-
return _timeout[key];
|
|
300
|
-
}
|
|
301
|
-
});
|
|
302
|
-
});
|
|
303
|
-
var _zipWith = /*#__PURE__*/require("./Query/api/zipWith.cjs");
|
|
304
|
-
Object.keys(_zipWith).forEach(function (key) {
|
|
305
|
-
if (key === "default" || key === "__esModule") return;
|
|
306
|
-
if (key in exports && exports[key] === _zipWith[key]) return;
|
|
307
|
-
Object.defineProperty(exports, key, {
|
|
308
|
-
enumerable: true,
|
|
309
|
-
get: function () {
|
|
310
|
-
return _zipWith[key];
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
var _zipWithBatched = /*#__PURE__*/require("./Query/api/zipWithBatched.cjs");
|
|
315
|
-
Object.keys(_zipWithBatched).forEach(function (key) {
|
|
316
|
-
if (key === "default" || key === "__esModule") return;
|
|
317
|
-
if (key in exports && exports[key] === _zipWithBatched[key]) return;
|
|
318
|
-
Object.defineProperty(exports, key, {
|
|
319
|
-
enumerable: true,
|
|
320
|
-
get: function () {
|
|
321
|
-
return _zipWithBatched[key];
|
|
322
|
-
}
|
|
323
|
-
});
|
|
324
|
-
});
|
|
325
|
-
var _zipWithConcurrent = /*#__PURE__*/require("./Query/api/zipWithConcurrent.cjs");
|
|
326
|
-
Object.keys(_zipWithConcurrent).forEach(function (key) {
|
|
327
|
-
if (key === "default" || key === "__esModule") return;
|
|
328
|
-
if (key in exports && exports[key] === _zipWithConcurrent[key]) return;
|
|
329
|
-
Object.defineProperty(exports, key, {
|
|
330
|
-
enumerable: true,
|
|
331
|
-
get: function () {
|
|
332
|
-
return _zipWithConcurrent[key];
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
});
|
|
336
|
-
//# sourceMappingURL=Query.cjs.map
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_Query_api = require("./Query/api.cjs");
|
|
3
|
+
const require_Query_definition = require("./Query/definition.cjs");
|
|
4
|
+
const require_Query_api_bimap = require("./Query/api/bimap.cjs");
|
|
5
|
+
const require_Query_api_catchAllCause = require("./Query/api/catchAllCause.cjs");
|
|
6
|
+
const require_Query_api_collectAll = require("./Query/api/collectAll.cjs");
|
|
7
|
+
const require_Query_api_collectAllBatched = require("./Query/api/collectAllBatched.cjs");
|
|
8
|
+
const require_Query_api_collectAllConcurrent = require("./Query/api/collectAllConcurrent.cjs");
|
|
9
|
+
const require_Query_api_defer = require("./Query/api/defer.cjs");
|
|
10
|
+
const require_Query_api_ensuring = require("./Query/api/ensuring.cjs");
|
|
11
|
+
const require_Query_api_environment = require("./Query/api/environment.cjs");
|
|
12
|
+
const require_Query_api_flatMap = require("./Query/api/flatMap.cjs");
|
|
13
|
+
const require_Query_api_foreach = require("./Query/api/foreach.cjs");
|
|
14
|
+
const require_Query_api_foreachBatched = require("./Query/api/foreachBatched.cjs");
|
|
15
|
+
const require_Query_api_foreachConcurrent = require("./Query/api/foreachConcurrent.cjs");
|
|
16
|
+
const require_Query_api_fromRequest = require("./Query/api/fromRequest.cjs");
|
|
17
|
+
const require_Query_api_map = require("./Query/api/map.cjs");
|
|
18
|
+
const require_Query_api_mapDataSources = require("./Query/api/mapDataSources.cjs");
|
|
19
|
+
const require_Query_api_mapError = require("./Query/api/mapError.cjs");
|
|
20
|
+
const require_Query_api_mapErrorCause = require("./Query/api/mapErrorCause.cjs");
|
|
21
|
+
const require_Query_api_mapIO = require("./Query/api/mapIO.cjs");
|
|
22
|
+
const require_Query_api_match = require("./Query/api/match.cjs");
|
|
23
|
+
const require_Query_api_matchCauseQuery = require("./Query/api/matchCauseQuery.cjs");
|
|
24
|
+
const require_Query_api_matchQuery = require("./Query/api/matchQuery.cjs");
|
|
25
|
+
const require_Query_api_orHalt = require("./Query/api/orHalt.cjs");
|
|
26
|
+
const require_Query_api_race = require("./Query/api/race.cjs");
|
|
27
|
+
const require_Query_api_run = require("./Query/api/run.cjs");
|
|
28
|
+
const require_Query_api_timeout = require("./Query/api/timeout.cjs");
|
|
29
|
+
const require_Query_api_zipWith = require("./Query/api/zipWith.cjs");
|
|
30
|
+
const require_Query_api_zipWithBatched = require("./Query/api/zipWithBatched.cjs");
|
|
31
|
+
const require_Query_api_zipWithConcurrent = require("./Query/api/zipWithConcurrent.cjs");
|
|
32
|
+
exports.Query = require_Query_definition.Query;
|
|
33
|
+
exports.QueryTypeId = require_Query_definition.QueryTypeId;
|
|
34
|
+
exports.bimap = require_Query_api_bimap.bimap;
|
|
35
|
+
exports.cachingEnabled = require_Query_api.cachingEnabled;
|
|
36
|
+
exports.catchAll = require_Query_api_catchAllCause.catchAll;
|
|
37
|
+
exports.catchAllCause = require_Query_api_catchAllCause.catchAllCause;
|
|
38
|
+
exports.collectAll = require_Query_api_collectAll.collectAll;
|
|
39
|
+
exports.collectAllBatched = require_Query_api_collectAllBatched.collectAllBatched;
|
|
40
|
+
exports.collectAllConcurrent = require_Query_api_collectAllConcurrent.collectAllConcurrent;
|
|
41
|
+
exports.contramapEnvironment = require_Query_api_environment.contramapEnvironment;
|
|
42
|
+
exports.currentCache = require_Query_api.currentCache;
|
|
43
|
+
exports.defer = require_Query_api_defer.defer;
|
|
44
|
+
exports.ensuring = require_Query_api_ensuring.ensuring;
|
|
45
|
+
exports.environment = require_Query_api_environment.environment;
|
|
46
|
+
exports.environmentWith = require_Query_api_environment.environmentWith;
|
|
47
|
+
exports.environmentWithIO = require_Query_api_environment.environmentWithIO;
|
|
48
|
+
exports.environmentWithQuery = require_Query_api_environment.environmentWithQuery;
|
|
49
|
+
exports.fail = require_Query_api.fail;
|
|
50
|
+
exports.failCause = require_Query_api.failCause;
|
|
51
|
+
exports.failCauseNow = require_Query_api.failCauseNow;
|
|
52
|
+
exports.failNow = require_Query_api.failNow;
|
|
53
|
+
exports.flatMap = require_Query_api_flatMap.flatMap;
|
|
54
|
+
exports.flatten = require_Query_api_flatMap.flatten;
|
|
55
|
+
exports.foreach = require_Query_api_foreach.foreach;
|
|
56
|
+
exports.foreachBatched = require_Query_api_foreachBatched.foreachBatched;
|
|
57
|
+
exports.foreachConcurrent = require_Query_api_foreachConcurrent.foreachConcurrent;
|
|
58
|
+
exports.fromIO = require_Query_api.fromIO;
|
|
59
|
+
exports.fromRequest = require_Query_api_fromRequest.fromRequest;
|
|
60
|
+
exports.halt = require_Query_api.halt;
|
|
61
|
+
exports.haltNow = require_Query_api.haltNow;
|
|
62
|
+
exports.map = require_Query_api_map.map;
|
|
63
|
+
exports.mapDataSources = require_Query_api_mapDataSources.mapDataSources;
|
|
64
|
+
exports.mapError = require_Query_api_mapError.mapError;
|
|
65
|
+
exports.mapErrorCause = require_Query_api_mapErrorCause.mapErrorCause;
|
|
66
|
+
exports.mapIO = require_Query_api_mapIO.mapIO;
|
|
67
|
+
exports.match = require_Query_api_match.match;
|
|
68
|
+
exports.matchCauseQuery = require_Query_api_matchCauseQuery.matchCauseQuery;
|
|
69
|
+
exports.matchQuery = require_Query_api_matchQuery.matchQuery;
|
|
70
|
+
exports.orHalt = require_Query_api_orHalt.orHalt;
|
|
71
|
+
exports.orHaltWith = require_Query_api_orHalt.orHaltWith;
|
|
72
|
+
exports.provideEnvironment = require_Query_api_environment.provideEnvironment;
|
|
73
|
+
exports.provideLayer = require_Query_api_environment.provideLayer;
|
|
74
|
+
exports.provideSomeEnvironment = require_Query_api_environment.provideSomeEnvironment;
|
|
75
|
+
exports.race = require_Query_api_race.race;
|
|
76
|
+
exports.run = require_Query_api_run.run;
|
|
77
|
+
exports.runCache = require_Query_api_run.runCache;
|
|
78
|
+
exports.runLog = require_Query_api_run.runLog;
|
|
79
|
+
exports.succeed = require_Query_api.succeed;
|
|
80
|
+
exports.succeedNow = require_Query_api.succeedNow;
|
|
81
|
+
exports.timeout = require_Query_api_timeout.timeout;
|
|
82
|
+
exports.timeoutFail = require_Query_api_timeout.timeoutFail;
|
|
83
|
+
exports.timeoutFailCause = require_Query_api_timeout.timeoutFailCause;
|
|
84
|
+
exports.timeoutTo = require_Query_api_timeout.timeoutTo;
|
|
85
|
+
exports.unit = require_Query_api.unit;
|
|
86
|
+
exports.zipWith = require_Query_api_zipWith.zipWith;
|
|
87
|
+
exports.zipWithBatched = require_Query_api_zipWithBatched.zipWithBatched;
|
|
88
|
+
exports.zipWithConcurrent = require_Query_api_zipWithConcurrent.zipWithConcurrent;
|
package/_cjs/QueryFailure.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("./chunk.cjs");
|
|
3
|
+
let _fncts_base_data_Showable = require("@fncts/base/data/Showable");
|
|
4
|
+
//#region build/esm/QueryFailure.js
|
|
5
|
+
var QueryFailure = class extends Error {
|
|
6
|
+
dataSource;
|
|
7
|
+
constructor(dataSource, request) {
|
|
8
|
+
super(`Data source ${dataSource.identifier} did not complete request ${(0, _fncts_base_data_Showable.show)(request)}.`);
|
|
9
|
+
this.dataSource = dataSource;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
14
13
|
exports.QueryFailure = QueryFailure;
|
|
14
|
+
|
|
15
15
|
//# sourceMappingURL=QueryFailure.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryFailure.cjs","names":[
|
|
1
|
+
{"version":3,"file":"QueryFailure.cjs","names":[],"sources":["../esm/QueryFailure.js"],"sourcesContent":["import { show } from \"@fncts/base/data/Showable\";\nexport class QueryFailure extends Error {\n dataSource;\n constructor(dataSource, request) {\n super(`Data source ${dataSource.identifier} did not complete request ${show(request)}.`);\n this.dataSource = dataSource;\n }\n}\n//# sourceMappingURL=QueryFailure.js.map"],"mappings":";;;;AACA,IAAa,eAAb,cAAkC,MAAM;CACpC;CACA,YAAY,YAAY,SAAS;AAC7B,QAAM,eAAe,WAAW,WAAW,6BAAA,GAAA,0BAAA,MAAiC,QAAQ,CAAC,GAAG;AACxF,OAAK,aAAa"}
|
package/_cjs/Request.cjs
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_chunk = require("./chunk.cjs");
|
|
3
|
+
let _fncts_base_data_Hashable_hash = require("@fncts/base/data/Hashable/hash");
|
|
4
|
+
_fncts_base_data_Hashable_hash = require_chunk.__toESM(_fncts_base_data_Hashable_hash, 1);
|
|
5
|
+
let _fncts_base_data_CaseClass = require("@fncts/base/data/CaseClass");
|
|
6
|
+
_fncts_base_data_CaseClass = require_chunk.__toESM(_fncts_base_data_CaseClass, 1);
|
|
7
|
+
let _fncts_base_data_Hashable_definition = require("@fncts/base/data/Hashable/definition");
|
|
8
|
+
_fncts_base_data_Hashable_definition = require_chunk.__toESM(_fncts_base_data_Hashable_definition, 1);
|
|
9
|
+
let _fncts_base_collection_immutable_ReadonlyArray_api = require("@fncts/base/collection/immutable/ReadonlyArray/api");
|
|
10
|
+
_fncts_base_collection_immutable_ReadonlyArray_api = require_chunk.__toESM(_fncts_base_collection_immutable_ReadonlyArray_api, 1);
|
|
11
|
+
let _fncts_base_data_Equatable_definition = require("@fncts/base/data/Equatable/definition");
|
|
12
|
+
_fncts_base_data_Equatable_definition = require_chunk.__toESM(_fncts_base_data_Equatable_definition, 1);
|
|
13
|
+
let _fncts_base_data_Showable_definition = require("@fncts/base/data/Showable/definition");
|
|
14
|
+
_fncts_base_data_Showable_definition = require_chunk.__toESM(_fncts_base_data_Showable_definition, 1);
|
|
15
|
+
let _fncts_base_control_Pure_api = require("@fncts/base/control/Pure/api");
|
|
16
|
+
_fncts_base_control_Pure_api = require_chunk.__toESM(_fncts_base_control_Pure_api, 1);
|
|
17
|
+
let _fncts_base_collection_immutable_Conc_constructors = require("@fncts/base/collection/immutable/Conc/constructors");
|
|
18
|
+
_fncts_base_collection_immutable_Conc_constructors = require_chunk.__toESM(_fncts_base_collection_immutable_Conc_constructors, 1);
|
|
19
|
+
let _fncts_base_control_Pure_instances = require("@fncts/base/control/Pure/instances");
|
|
20
|
+
_fncts_base_control_Pure_instances = require_chunk.__toESM(_fncts_base_control_Pure_instances, 1);
|
|
21
|
+
let _fncts_base_data_Showable = require("@fncts/base/data/Showable");
|
|
22
|
+
//#region build/esm/Request.js
|
|
20
23
|
const fileName_1 = "(@fncts/query) src/Request.ts";
|
|
21
|
-
const RequestTypeId =
|
|
22
|
-
const RequestVariance =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const RequestTypeId = Symbol.for("fncts.query.Request");
|
|
25
|
+
const RequestVariance = Symbol.for("fncts.query.Request.Variance");
|
|
26
|
+
var Request = class {
|
|
27
|
+
[RequestTypeId] = RequestTypeId;
|
|
28
|
+
};
|
|
29
|
+
const simpleRequestHash = _fncts_base_data_Hashable_hash.hashString("fncts.query.Request.SimpleRequest");
|
|
30
|
+
var SimpleRequest = class extends _fncts_base_data_CaseClass.CaseClass {
|
|
31
|
+
[RequestTypeId] = RequestTypeId;
|
|
32
|
+
get [_fncts_base_data_Hashable_definition.hashSymbol]() {
|
|
33
|
+
return _fncts_base_collection_immutable_ReadonlyArray_api.foldLeft(simpleRequestHash, (acc, k) => _fncts_base_data_Hashable_hash.combineHash(acc, _fncts_base_data_Hashable_hash.hashUnknown(this[k])))(this[_fncts_base_data_CaseClass.CaseClassTypeId]);
|
|
34
|
+
}
|
|
35
|
+
[_fncts_base_data_Equatable_definition.equalsSymbol](that) {
|
|
36
|
+
return _fncts_base_data_Hashable_hash.hashUnknown(this) === _fncts_base_data_Hashable_hash.hashUnknown(that);
|
|
37
|
+
}
|
|
38
|
+
get [_fncts_base_data_Showable_definition._showable]() {
|
|
39
|
+
return (0, _fncts_base_data_Showable.showComputationComplex)({
|
|
40
|
+
base: _fncts_base_control_Pure_api.succeedNow(`Request (${this.constructor.name})`, fileName_1 + ":42:28"),
|
|
41
|
+
braces: ["{", "}"],
|
|
42
|
+
keys: _fncts_base_control_Pure_api.map(_fncts_base_collection_immutable_Conc_constructors.from)(_fncts_base_collection_immutable_ReadonlyArray_api.traverse_(this[_fncts_base_data_CaseClass.CaseClassTypeId])(_fncts_base_control_Pure_instances.Applicative)((key) => (0, _fncts_base_data_Showable.showProperty)(this, key, 0)))
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
//#endregion
|
|
28
47
|
exports.Request = Request;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// @ts-expect-error
|
|
32
|
-
class SimpleRequest extends tsplus_module_2.CaseClass {
|
|
33
|
-
constructor() {
|
|
34
|
-
super(...arguments);
|
|
35
|
-
this[_b] = RequestTypeId;
|
|
36
|
-
}
|
|
37
|
-
get [(_b = RequestTypeId, tsplus_module_3.hashSymbol)]() {
|
|
38
|
-
return tsplus_module_4.foldLeft(simpleRequestHash, (acc, k) => tsplus_module_1.combineHash(acc, tsplus_module_1.hashUnknown(this[k])))(this[_CaseClass.CaseClassTypeId]);
|
|
39
|
-
}
|
|
40
|
-
[tsplus_module_5.equalsSymbol](that) {
|
|
41
|
-
return tsplus_module_1.hashUnknown(this) === tsplus_module_1.hashUnknown(that);
|
|
42
|
-
}
|
|
43
|
-
get [tsplus_module_6._showable]() {
|
|
44
|
-
return (0, _Showable.showComputationComplex)({
|
|
45
|
-
base: tsplus_module_7.succeedNow(`Request (${this.constructor.name})`, fileName_1 + ":42:28"),
|
|
46
|
-
braces: ["{", "}"],
|
|
47
|
-
keys: tsplus_module_7.map(tsplus_module_8.from)(tsplus_module_4.traverse_(this[_CaseClass.CaseClassTypeId])(tsplus_module_9.Applicative)(key => (0, _Showable.showProperty)(this, key, 0)))
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
}
|
|
48
|
+
exports.RequestTypeId = RequestTypeId;
|
|
49
|
+
exports.RequestVariance = RequestVariance;
|
|
51
50
|
exports.SimpleRequest = SimpleRequest;
|
|
51
|
+
|
|
52
52
|
//# sourceMappingURL=Request.cjs.map
|
package/_cjs/Request.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.cjs","names":["
|
|
1
|
+
{"version":3,"file":"Request.cjs","names":["tsplus_module_1","tsplus_module_2","tsplus_module_3","tsplus_module_4","CaseClassTypeId","tsplus_module_5","tsplus_module_6","tsplus_module_7","tsplus_module_8","tsplus_module_9"],"sources":["../esm/Request.js"],"sourcesContent":["const fileName_1 = \"(@fncts/query) src/Request.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Hashable/hash\";\nimport * as tsplus_module_2 from \"@fncts/base/data/CaseClass\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Hashable/definition\";\nimport * as tsplus_module_4 from \"@fncts/base/collection/immutable/ReadonlyArray/api\";\nimport * as tsplus_module_5 from \"@fncts/base/data/Equatable/definition\";\nimport * as tsplus_module_6 from \"@fncts/base/data/Showable/definition\";\nimport * as tsplus_module_7 from \"@fncts/base/control/Pure/api\";\nimport * as tsplus_module_8 from \"@fncts/base/collection/immutable/Conc/constructors\";\nimport * as tsplus_module_9 from \"@fncts/base/control/Pure/instances\";\nimport { CaseClassTypeId } from \"@fncts/base/data/CaseClass\";\nimport { showComputationComplex, showProperty } from \"@fncts/base/data/Showable\";\nexport const RequestTypeId = Symbol.for(\"fncts.query.Request\");\nexport const RequestVariance = Symbol.for(\"fncts.query.Request.Variance\");\nexport class Request {\n [RequestTypeId] = RequestTypeId;\n}\nconst simpleRequestHash = tsplus_module_1.hashString(\"fncts.query.Request.SimpleRequest\");\n// @ts-expect-error\nexport class SimpleRequest extends tsplus_module_2.CaseClass {\n [RequestTypeId] = RequestTypeId;\n get [tsplus_module_3.hashSymbol]() {\n return tsplus_module_4.foldLeft(simpleRequestHash, (acc, k) => tsplus_module_1.combineHash(acc, tsplus_module_1.hashUnknown(this[k])))(this[CaseClassTypeId]);\n }\n [tsplus_module_5.equalsSymbol](that) {\n return tsplus_module_1.hashUnknown(this) === tsplus_module_1.hashUnknown(that);\n }\n get [tsplus_module_6._showable]() {\n return showComputationComplex({\n base: tsplus_module_7.succeedNow(`Request (${this.constructor.name})`, fileName_1 + \":42:28\"),\n braces: [\"{\", \"}\"],\n keys: tsplus_module_7.map(tsplus_module_8.from)(tsplus_module_4.traverse_(this[CaseClassTypeId])(tsplus_module_9.Applicative)((key) => showProperty(this, key, 0))),\n });\n }\n}\n//# sourceMappingURL=Request.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;AAYnB,MAAa,gBAAgB,OAAO,IAAI,sBAAsB;AAC9D,MAAa,kBAAkB,OAAO,IAAI,+BAA+B;AACzE,IAAa,UAAb,MAAqB;CACjB,CAAC,iBAAiB;;AAEtB,MAAM,oBAAoBA,+BAAgB,WAAW,oCAAoC;AAEzF,IAAa,gBAAb,cAAmCC,2BAAgB,UAAU;CACzD,CAAC,iBAAiB;CAClB,KAAKC,qCAAgB,cAAc;AAC/B,SAAOC,mDAAgB,SAAS,oBAAoB,KAAK,MAAMH,+BAAgB,YAAY,KAAKA,+BAAgB,YAAY,KAAK,GAAG,CAAC,CAAC,CAAC,KAAKI,2BAAAA,iBAAiB;;CAEjK,CAACC,sCAAgB,cAAc,MAAM;AACjC,SAAOL,+BAAgB,YAAY,KAAK,KAAKA,+BAAgB,YAAY,KAAK;;CAElF,KAAKM,qCAAgB,aAAa;AAC9B,UAAA,GAAA,0BAAA,wBAA8B;GAC1B,MAAMC,6BAAgB,WAAW,YAAY,KAAK,YAAY,KAAK,IAAI,aAAa,SAAS;GAC7F,QAAQ,CAAC,KAAK,IAAI;GAClB,MAAMA,6BAAgB,IAAIC,mDAAgB,KAAK,CAACL,mDAAgB,UAAU,KAAKC,2BAAAA,iBAAiB,CAACK,mCAAgB,YAAY,EAAE,SAAA,GAAA,0BAAA,cAAqB,MAAM,KAAK,EAAE,CAAC,CAAC;GACtK,CAAC"}
|
package/_cjs/chunk.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
10
|
+
key = keys[i];
|
|
11
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
12
|
+
get: ((k) => from[k]).bind(null, key),
|
|
13
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
19
|
+
value: mod,
|
|
20
|
+
enumerable: true
|
|
21
|
+
}) : target, mod));
|
|
22
|
+
//#endregion
|
|
23
|
+
Object.defineProperty(exports, "__toESM", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function() {
|
|
26
|
+
return __toESM;
|
|
27
|
+
}
|
|
28
|
+
});
|
package/_cjs/global.cjs
CHANGED
package/_cjs/index.cjs
CHANGED