@ahoo-wang/fetcher-wow 1.2.1 → 1.2.2
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/README.md +174 -87
- package/README.zh-CN.md +169 -87
- package/dist/command/commandClient.d.ts +52 -86
- package/dist/command/commandClient.d.ts.map +1 -1
- package/dist/index.es.js +178 -54
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/query/event/eventStreamQueryClient.d.ts +81 -0
- package/dist/query/event/eventStreamQueryClient.d.ts.map +1 -1
- package/dist/query/snapshot/snapshotQueryClient.d.ts +175 -0
- package/dist/query/snapshot/snapshotQueryClient.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -10,6 +10,40 @@ import { ClientOptions } from '../../types';
|
|
|
10
10
|
* Extends QueryClient and implements EventStreamQueryApi to provide methods
|
|
11
11
|
* for querying domain event streams with different query patterns.
|
|
12
12
|
* This client supports counting, listing, streaming, and paging operations on event streams.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* // Create client options configuration
|
|
17
|
+
* const clientOptions: ClientOptions = {
|
|
18
|
+
* fetcher: new Fetcher({ baseURL: 'http://localhost:8080/' }),
|
|
19
|
+
* basePath: 'owner/{ownerId}/cart'
|
|
20
|
+
* };
|
|
21
|
+
*
|
|
22
|
+
* // Create an event stream query client instance
|
|
23
|
+
* const eventStreamQueryClient = new EventStreamQueryClient(clientOptions);
|
|
24
|
+
*
|
|
25
|
+
* // Count event streams
|
|
26
|
+
* const count = await eventStreamQueryClient.count(all());
|
|
27
|
+
*
|
|
28
|
+
* // List event streams
|
|
29
|
+
* const listQuery: ListQuery = {
|
|
30
|
+
* condition: all()
|
|
31
|
+
* };
|
|
32
|
+
* const list = await eventStreamQueryClient.list(listQuery);
|
|
33
|
+
*
|
|
34
|
+
* // List event streams as stream
|
|
35
|
+
* const listStream = await eventStreamQueryClient.listStream(listQuery);
|
|
36
|
+
* for await (const event of listStream) {
|
|
37
|
+
* const domainEventStream = event.data;
|
|
38
|
+
* console.log('Received:', domainEventStream);
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* // Paged event streams
|
|
42
|
+
* const pagedQuery: PagedQuery = {
|
|
43
|
+
* condition: all()
|
|
44
|
+
* };
|
|
45
|
+
* const paged = await eventStreamQueryClient.paged(pagedQuery);
|
|
46
|
+
* ```
|
|
13
47
|
*/
|
|
14
48
|
export declare class EventStreamQueryClient extends QueryClient implements EventStreamQueryApi {
|
|
15
49
|
/**
|
|
@@ -19,27 +53,74 @@ export declare class EventStreamQueryClient extends QueryClient implements Event
|
|
|
19
53
|
constructor(options: ClientOptions);
|
|
20
54
|
/**
|
|
21
55
|
* Counts the number of domain event streams that match the given condition.
|
|
56
|
+
*
|
|
22
57
|
* @param condition - The condition to filter event streams
|
|
23
58
|
* @returns A promise that resolves to the count of matching event streams
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
62
|
+
* const count = await eventStreamQueryClient.count(all());
|
|
63
|
+
* console.log('Total event streams:', count);
|
|
64
|
+
* ```
|
|
24
65
|
*/
|
|
25
66
|
count(condition: Condition): Promise<number>;
|
|
26
67
|
/**
|
|
27
68
|
* Retrieves a list of domain event streams based on the provided query parameters.
|
|
69
|
+
*
|
|
28
70
|
* @param listQuery - The query parameters for listing event streams
|
|
29
71
|
* @returns A promise that resolves to an array of partial domain event streams
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```typescript
|
|
75
|
+
* const listQuery: ListQuery = {
|
|
76
|
+
* condition: all()
|
|
77
|
+
* };
|
|
78
|
+
* const list = await eventStreamQueryClient.list(listQuery);
|
|
79
|
+
* for (const domainEventStream of list) {
|
|
80
|
+
* console.log('Event stream:', domainEventStream);
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
30
83
|
*/
|
|
31
84
|
list(listQuery: ListQuery): Promise<Partial<DomainEventStream>[]>;
|
|
32
85
|
/**
|
|
33
86
|
* Retrieves a stream of domain event streams based on the provided query parameters.
|
|
34
87
|
* Sets the Accept header to text/event-stream to indicate that the response should be streamed.
|
|
88
|
+
*
|
|
35
89
|
* @param listQuery - The query parameters for listing event streams
|
|
36
90
|
* @returns A promise that resolves to a readable stream of JSON server-sent events containing partial domain event streams
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* ```typescript
|
|
94
|
+
* const listQuery: ListQuery = {
|
|
95
|
+
* condition: all()
|
|
96
|
+
* };
|
|
97
|
+
* const listStream = await eventStreamQueryClient.listStream(listQuery);
|
|
98
|
+
* for await (const event of listStream) {
|
|
99
|
+
* const domainEventStream = event.data;
|
|
100
|
+
* console.log('Received event stream:', domainEventStream);
|
|
101
|
+
* }
|
|
102
|
+
* ```
|
|
37
103
|
*/
|
|
38
104
|
listStream(listQuery: ListQuery): Promise<ReadableStream<JsonServerSentEvent<Partial<DomainEventStream>>>>;
|
|
39
105
|
/**
|
|
40
106
|
* Retrieves a paged list of domain event streams based on the provided query parameters.
|
|
107
|
+
*
|
|
41
108
|
* @param pagedQuery - The query parameters for paging event streams
|
|
42
109
|
* @returns A promise that resolves to a paged list of partial domain event streams
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```typescript
|
|
113
|
+
* const pagedQuery: PagedQuery = {
|
|
114
|
+
* condition: all(),
|
|
115
|
+
* limit: 10,
|
|
116
|
+
* offset: 0
|
|
117
|
+
* };
|
|
118
|
+
* const paged = await eventStreamQueryClient.paged(pagedQuery);
|
|
119
|
+
* console.log('Total:', paged.total);
|
|
120
|
+
* for (const domainEventStream of paged.list) {
|
|
121
|
+
* console.log('Event stream:', domainEventStream);
|
|
122
|
+
* }
|
|
123
|
+
* ```
|
|
43
124
|
*/
|
|
44
125
|
paged(pagedQuery: PagedQuery): Promise<PagedList<Partial<DomainEventStream>>>;
|
|
45
126
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventStreamQueryClient.d.ts","sourceRoot":"","sources":["../../../src/query/event/eventStreamQueryClient.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,mBAAmB,EAEpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI5C
|
|
1
|
+
{"version":3,"file":"eventStreamQueryClient.d.ts","sourceRoot":"","sources":["../../../src/query/event/eventStreamQueryClient.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,mBAAmB,EAEpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,qBAAa,sBACX,SAAQ,WACR,YAAW,mBAAmB;IAC9B;;;OAGG;gBACS,OAAO,EAAE,aAAa;IAIlC;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;IAI5C;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,CAAC;IAIjE;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CACR,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAS3E;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CACH,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;CAGlD"}
|
|
@@ -8,6 +8,75 @@ import { QueryClient } from '../queryApi';
|
|
|
8
8
|
/**
|
|
9
9
|
* A client for querying snapshot data through HTTP endpoints.
|
|
10
10
|
* Provides methods for various query operations such as counting, listing, paging, and retrieving single snapshots.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* // Define the state interface
|
|
15
|
+
* interface CartItem {
|
|
16
|
+
* productId: string;
|
|
17
|
+
* quantity: number;
|
|
18
|
+
* }
|
|
19
|
+
*
|
|
20
|
+
* interface CartState {
|
|
21
|
+
* items: CartItem[];
|
|
22
|
+
* }
|
|
23
|
+
*
|
|
24
|
+
* // Create client options configuration
|
|
25
|
+
* const clientOptions: ClientOptions = {
|
|
26
|
+
* fetcher: new Fetcher({ baseURL: 'http://localhost:8080/' }),
|
|
27
|
+
* basePath: 'owner/{ownerId}/cart'
|
|
28
|
+
* };
|
|
29
|
+
*
|
|
30
|
+
* // Create a snapshot query client instance
|
|
31
|
+
* const snapshotQueryClient = new SnapshotQueryClient<CartState>(clientOptions);
|
|
32
|
+
*
|
|
33
|
+
* // Count snapshots
|
|
34
|
+
* const count = await snapshotQueryClient.count(all());
|
|
35
|
+
*
|
|
36
|
+
* // List snapshots
|
|
37
|
+
* const listQuery: ListQuery = {
|
|
38
|
+
* condition: all()
|
|
39
|
+
* };
|
|
40
|
+
* const list = await snapshotQueryClient.list(listQuery);
|
|
41
|
+
*
|
|
42
|
+
* // List snapshots as stream
|
|
43
|
+
* const listStream = await snapshotQueryClient.listStream(listQuery);
|
|
44
|
+
* for await (const event of listStream) {
|
|
45
|
+
* const snapshot = event.data;
|
|
46
|
+
* console.log('Received:', snapshot);
|
|
47
|
+
* }
|
|
48
|
+
*
|
|
49
|
+
* // List snapshot states
|
|
50
|
+
* const stateList = await snapshotQueryClient.listState(listQuery);
|
|
51
|
+
*
|
|
52
|
+
* // List snapshot states as stream
|
|
53
|
+
* const stateListStream = await snapshotQueryClient.listStateStream(listQuery);
|
|
54
|
+
* for await (const event of stateListStream) {
|
|
55
|
+
* const state = event.data;
|
|
56
|
+
* console.log('Received state:', state);
|
|
57
|
+
* }
|
|
58
|
+
*
|
|
59
|
+
* // Paged snapshots
|
|
60
|
+
* const pagedQuery: PagedQuery = {
|
|
61
|
+
* condition: all(),
|
|
62
|
+
* limit: 10,
|
|
63
|
+
* offset: 0
|
|
64
|
+
* };
|
|
65
|
+
* const paged = await snapshotQueryClient.paged(pagedQuery);
|
|
66
|
+
*
|
|
67
|
+
* // Paged snapshot states
|
|
68
|
+
* const pagedState = await snapshotQueryClient.pagedState(pagedQuery);
|
|
69
|
+
*
|
|
70
|
+
* // Single snapshot
|
|
71
|
+
* const singleQuery: SingleQuery = {
|
|
72
|
+
* condition: all()
|
|
73
|
+
* };
|
|
74
|
+
* const single = await snapshotQueryClient.single(singleQuery);
|
|
75
|
+
*
|
|
76
|
+
* // Single snapshot state
|
|
77
|
+
* const singleState = await snapshotQueryClient.singleState(singleQuery);
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
11
80
|
* @template S The type of the snapshot state
|
|
12
81
|
*/
|
|
13
82
|
export declare class SnapshotQueryClient<S> extends QueryClient implements SnapshotQueryApi<S> {
|
|
@@ -18,56 +87,162 @@ export declare class SnapshotQueryClient<S> extends QueryClient implements Snaps
|
|
|
18
87
|
constructor(options: ClientOptions);
|
|
19
88
|
/**
|
|
20
89
|
* Counts the number of snapshots that match the given condition.
|
|
90
|
+
*
|
|
21
91
|
* @param condition - The condition to match snapshots against
|
|
22
92
|
* @returns A promise that resolves to the count of matching snapshots
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```typescript
|
|
96
|
+
* const count = await snapshotQueryClient.count(all());
|
|
97
|
+
* console.log('Total snapshots:', count);
|
|
98
|
+
* ```
|
|
23
99
|
*/
|
|
24
100
|
count(condition: Condition): Promise<number>;
|
|
25
101
|
/**
|
|
26
102
|
* Retrieves a list of materialized snapshots based on the provided query parameters.
|
|
103
|
+
*
|
|
27
104
|
* @param listQuery - The query parameters for listing snapshots
|
|
28
105
|
* @returns A promise that resolves to an array of partial materialized snapshots
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```typescript
|
|
109
|
+
* const listQuery: ListQuery = {
|
|
110
|
+
* condition: all()
|
|
111
|
+
* };
|
|
112
|
+
* const list = await snapshotQueryClient.list(listQuery);
|
|
113
|
+
* for (const snapshot of list) {
|
|
114
|
+
* console.log('Snapshot:', snapshot);
|
|
115
|
+
* }
|
|
116
|
+
* ```
|
|
29
117
|
*/
|
|
30
118
|
list(listQuery: ListQuery): Promise<Partial<MaterializedSnapshot<S>>[]>;
|
|
31
119
|
/**
|
|
32
120
|
* Retrieves a stream of materialized snapshots based on the provided query parameters.
|
|
121
|
+
*
|
|
33
122
|
* @param listQuery - The query parameters for listing snapshots
|
|
34
123
|
* @returns A promise that resolves to a readable stream of JSON server-sent events containing partial materialized snapshots
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* ```typescript
|
|
127
|
+
* const listQuery: ListQuery = {
|
|
128
|
+
* condition: all()
|
|
129
|
+
* };
|
|
130
|
+
* const listStream = await snapshotQueryClient.listStream(listQuery);
|
|
131
|
+
* for await (const event of listStream) {
|
|
132
|
+
* const snapshot = event.data;
|
|
133
|
+
* console.log('Received snapshot:', snapshot);
|
|
134
|
+
* }
|
|
135
|
+
* ```
|
|
35
136
|
*/
|
|
36
137
|
listStream(listQuery: ListQuery): Promise<ReadableStream<JsonServerSentEvent<Partial<MaterializedSnapshot<S>>>>>;
|
|
37
138
|
/**
|
|
38
139
|
* Retrieves a list of snapshot states based on the provided query parameters.
|
|
140
|
+
*
|
|
39
141
|
* @param listQuery - The query parameters for listing snapshot states
|
|
40
142
|
* @returns A promise that resolves to an array of partial snapshot states
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* ```typescript
|
|
146
|
+
* const listQuery: ListQuery = {
|
|
147
|
+
* condition: all()
|
|
148
|
+
* };
|
|
149
|
+
* const list = await snapshotQueryClient.listState(listQuery);
|
|
150
|
+
* for (const state of list) {
|
|
151
|
+
* console.log('State:', state);
|
|
152
|
+
* }
|
|
153
|
+
* ```
|
|
41
154
|
*/
|
|
42
155
|
listState(listQuery: ListQuery): Promise<Partial<S>[]>;
|
|
43
156
|
/**
|
|
44
157
|
* Retrieves a stream of snapshot states based on the provided query parameters.
|
|
158
|
+
*
|
|
45
159
|
* @param listQuery - The query parameters for listing snapshot states
|
|
46
160
|
* @returns A promise that resolves to a readable stream of JSON server-sent events containing partial snapshot states
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* ```typescript
|
|
164
|
+
* const listQuery: ListQuery = {
|
|
165
|
+
* condition: all()
|
|
166
|
+
* };
|
|
167
|
+
* const listStream = await snapshotQueryClient.listStateStream(listQuery);
|
|
168
|
+
* for await (const event of listStream) {
|
|
169
|
+
* const state = event.data;
|
|
170
|
+
* console.log('Received state:', state);
|
|
171
|
+
* }
|
|
172
|
+
* ```
|
|
47
173
|
*/
|
|
48
174
|
listStateStream(listQuery: ListQuery): Promise<ReadableStream<JsonServerSentEvent<Partial<S>>>>;
|
|
49
175
|
/**
|
|
50
176
|
* Retrieves a paged list of materialized snapshots based on the provided query parameters.
|
|
177
|
+
*
|
|
51
178
|
* @param pagedQuery - The query parameters for paging snapshots
|
|
52
179
|
* @returns A promise that resolves to a paged list of partial materialized snapshots
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* ```typescript
|
|
183
|
+
* const pagedQuery: PagedQuery = {
|
|
184
|
+
* condition: all(),
|
|
185
|
+
* limit: 10,
|
|
186
|
+
* offset: 0
|
|
187
|
+
* };
|
|
188
|
+
* const paged = await snapshotQueryClient.paged(pagedQuery);
|
|
189
|
+
* console.log('Total:', paged.total);
|
|
190
|
+
* for (const snapshot of paged.list) {
|
|
191
|
+
* console.log('Snapshot:', snapshot);
|
|
192
|
+
* }
|
|
193
|
+
* ```
|
|
53
194
|
*/
|
|
54
195
|
paged(pagedQuery: PagedQuery): Promise<PagedList<Partial<MaterializedSnapshot<S>>>>;
|
|
55
196
|
/**
|
|
56
197
|
* Retrieves a paged list of snapshot states based on the provided query parameters.
|
|
198
|
+
*
|
|
57
199
|
* @param pagedQuery - The query parameters for paging snapshot states
|
|
58
200
|
* @returns A promise that resolves to a paged list of partial snapshot states
|
|
201
|
+
*
|
|
202
|
+
* @example
|
|
203
|
+
* ```typescript
|
|
204
|
+
* const pagedQuery: PagedQuery = {
|
|
205
|
+
* condition: all(),
|
|
206
|
+
* limit: 10,
|
|
207
|
+
* offset: 0
|
|
208
|
+
* };
|
|
209
|
+
* const pagedState = await snapshotQueryClient.pagedState(pagedQuery);
|
|
210
|
+
* for (const state of pagedState.list) {
|
|
211
|
+
* console.log('State:', state);
|
|
212
|
+
* }
|
|
213
|
+
* ```
|
|
59
214
|
*/
|
|
60
215
|
pagedState(pagedQuery: PagedQuery): Promise<PagedList<Partial<S>>>;
|
|
61
216
|
/**
|
|
62
217
|
* Retrieves a single materialized snapshot based on the provided query parameters.
|
|
218
|
+
*
|
|
63
219
|
* @param singleQuery - The query parameters for retrieving a single snapshot
|
|
64
220
|
* @returns A promise that resolves to a partial materialized snapshot
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* ```typescript
|
|
224
|
+
* const singleQuery: SingleQuery = {
|
|
225
|
+
* condition: all()
|
|
226
|
+
* };
|
|
227
|
+
* const single = await snapshotQueryClient.single(singleQuery);
|
|
228
|
+
* console.log('Snapshot:', single);
|
|
229
|
+
* ```
|
|
65
230
|
*/
|
|
66
231
|
single(singleQuery: SingleQuery): Promise<Partial<MaterializedSnapshot<S>>>;
|
|
67
232
|
/**
|
|
68
233
|
* Retrieves a single snapshot state based on the provided query parameters.
|
|
234
|
+
*
|
|
69
235
|
* @param singleQuery - The query parameters for retrieving a single snapshot state
|
|
70
236
|
* @returns A promise that resolves to a partial snapshot state
|
|
237
|
+
*
|
|
238
|
+
* @example
|
|
239
|
+
* ```typescript
|
|
240
|
+
* const singleQuery: SingleQuery = {
|
|
241
|
+
* condition: all()
|
|
242
|
+
* };
|
|
243
|
+
* const singleState = await snapshotQueryClient.singleState(singleQuery);
|
|
244
|
+
* console.log('State:', singleState);
|
|
245
|
+
* ```
|
|
71
246
|
*/
|
|
72
247
|
singleState(singleQuery: SingleQuery): Promise<Partial<S>>;
|
|
73
248
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshotQueryClient.d.ts","sourceRoot":"","sources":["../../../src/query/snapshot/snapshotQueryClient.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,gBAAgB,EAEjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAGrE,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C
|
|
1
|
+
{"version":3,"file":"snapshotQueryClient.d.ts","sourceRoot":"","sources":["../../../src/query/snapshot/snapshotQueryClient.ts"],"names":[],"mappings":"AAaA,OAAO,EACL,gBAAgB,EAEjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAGrE,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,qBAAa,mBAAmB,CAAC,CAAC,CAChC,SAAQ,WACR,YAAW,gBAAgB,CAAC,CAAC,CAAC;IAC9B;;;OAGG;gBACS,OAAO,EAAE,aAAa;IAIlC;;;;;;;;;;;OAWG;IACG,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;IAIlD;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAIvE;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CACR,SAAS,EAAE,SAAS,GACnB,OAAO,CACR,cAAc,CAAC,mBAAmB,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACtE;IASD;;;;;;;;;;;;;;;;OAgBG;IACH,SAAS,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAItD;;;;;;;;;;;;;;;;;OAiBG;IACH,eAAe,CACb,SAAS,EAAE,SAAS,GACnB,OAAO,CAAC,cAAc,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAS3D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CACH,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAIvD;;;;;;;;;;;;;;;;;;OAkBG;IACH,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAIlE;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;IAI3E;;;;;;;;;;;;;;OAcG;IACH,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;CAG3D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ahoo-wang/fetcher-wow",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Support for Wow(https://github.com/Ahoo-Wang/Wow) in Fetcher",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fetch",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@ahoo-wang/fetcher
|
|
42
|
-
"@ahoo-wang/fetcher-
|
|
43
|
-
"@ahoo-wang/fetcher": "1.2.
|
|
41
|
+
"@ahoo-wang/fetcher": "1.2.2",
|
|
42
|
+
"@ahoo-wang/fetcher-eventstream": "1.2.2",
|
|
43
|
+
"@ahoo-wang/fetcher-decorator": "1.2.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@vitest/coverage-v8": "^3.2.4",
|