@motiadev/stream-client-react 0.14.0-beta.165-285707 → 0.15.0-beta.165
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/index.d.ts +122 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +173 -6
- package/dist/index.js.map +1 -0
- package/package.json +13 -5
- package/tsconfig.json +2 -1
- package/tsdown.config.ts +18 -0
- package/dist/src/motia-stream-context.d.ts +0 -8
- package/dist/src/motia-stream-context.d.ts.map +0 -1
- package/dist/src/motia-stream-context.js +0 -4
- package/dist/src/motia-stream-provider.d.ts +0 -16
- package/dist/src/motia-stream-provider.d.ts.map +0 -1
- package/dist/src/motia-stream-provider.js +0 -14
- package/dist/src/use-motia-stream.d.ts +0 -12
- package/dist/src/use-motia-stream.d.ts.map +0 -1
- package/dist/src/use-motia-stream.js +0 -17
- package/dist/src/use-stream-event-handler.d.ts +0 -25
- package/dist/src/use-stream-event-handler.d.ts.map +0 -1
- package/dist/src/use-stream-event-handler.js +0 -24
- package/dist/src/use-stream-group.d.ts +0 -34
- package/dist/src/use-stream-group.d.ts.map +0 -1
- package/dist/src/use-stream-group.js +0 -43
- package/dist/src/use-stream-item.d.ts +0 -27
- package/dist/src/use-stream-item.d.ts.map +0 -1
- package/dist/src/use-stream-item.js +0 -40
- package/dist/tsconfig.tsbuildinfo +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,123 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as _motiadev_stream_client_browser0 from "@motiadev/stream-client-browser";
|
|
2
|
+
import { Stream, StreamGroupSubscription, StreamItemSubscription, StreamSubscription } from "@motiadev/stream-client-browser";
|
|
3
|
+
import { DependencyList } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/motia-stream-provider.d.ts
|
|
6
|
+
type Props = React.PropsWithChildren<{
|
|
7
|
+
/**
|
|
8
|
+
* The address of the stream server.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <MotiaStreamProvider address="ws://localhost:3000">
|
|
13
|
+
* <App />
|
|
14
|
+
* </MotiaStreamProvider>
|
|
15
|
+
* */
|
|
16
|
+
address: string;
|
|
17
|
+
protocols?: string | string[] | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
declare const MotiaStreamProvider: React.FC<Props>;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/use-motia-stream.d.ts
|
|
22
|
+
/**
|
|
23
|
+
* A hook to get the stream context.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* const { stream } = useMotiaStream()
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
declare const useMotiaStream: () => {
|
|
31
|
+
stream: _motiadev_stream_client_browser0.Stream | null;
|
|
32
|
+
};
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/use-stream-event-handler.d.ts
|
|
35
|
+
type UseStreamEventHandler = {
|
|
36
|
+
event: StreamSubscription | null;
|
|
37
|
+
type: string;
|
|
38
|
+
listener: (event: any) => void;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* A hook to handle custom stream events.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* const { event } = useStreamItem({ streamName: 'my-stream', id: '123' })
|
|
46
|
+
*
|
|
47
|
+
* const onEventHandled = (event: any) => {
|
|
48
|
+
* // this is going to be called whenever 'on-custom-event' is sent from the server
|
|
49
|
+
* console.log(event)
|
|
50
|
+
* }
|
|
51
|
+
*
|
|
52
|
+
* useStreamEventHandler({ event, type: 'on-custom-event', listener: onEventHandled }, [])
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
declare const useStreamEventHandler: ({
|
|
56
|
+
event,
|
|
57
|
+
type,
|
|
58
|
+
listener
|
|
59
|
+
}: UseStreamEventHandler, dependencies: DependencyList) => void;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/use-stream-group.d.ts
|
|
62
|
+
type StreamGroupArgs<TData extends {
|
|
63
|
+
id: string;
|
|
64
|
+
}> = {
|
|
65
|
+
streamName: string;
|
|
66
|
+
groupId: string;
|
|
67
|
+
sortKey?: keyof TData;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* A hook to get a group of items from a stream.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```tsx
|
|
74
|
+
* const { data } = useStreamGroup<{ id:string; name: string }>({
|
|
75
|
+
* streamName: 'my-stream',
|
|
76
|
+
* groupId: '123',
|
|
77
|
+
* })
|
|
78
|
+
*
|
|
79
|
+
* return (
|
|
80
|
+
* <div>
|
|
81
|
+
* {data.map((item) => (
|
|
82
|
+
* <div key={item.id}>{item.name}</div>
|
|
83
|
+
* ))}
|
|
84
|
+
* </div>
|
|
85
|
+
* )
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
declare const useStreamGroup: <TData extends {
|
|
89
|
+
id: string;
|
|
90
|
+
}>(args?: StreamGroupArgs<TData>) => {
|
|
91
|
+
data: TData[];
|
|
92
|
+
event: StreamSubscription<unknown, unknown> | null;
|
|
93
|
+
};
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region src/use-stream-item.d.ts
|
|
96
|
+
type StreamItemArgs = {
|
|
97
|
+
streamName: string;
|
|
98
|
+
groupId: string;
|
|
99
|
+
id?: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* A hook to get a single item from a stream.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* ```tsx
|
|
106
|
+
* const { data } = useStreamItem<{ id:string; name: string }>({
|
|
107
|
+
* streamName: 'my-stream',
|
|
108
|
+
* groupId: '123',
|
|
109
|
+
* id: '123',
|
|
110
|
+
* })
|
|
111
|
+
*
|
|
112
|
+
* return (
|
|
113
|
+
* <div>{data?.name}</div>
|
|
114
|
+
* )
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
declare const useStreamItem: <TData>(args?: StreamItemArgs) => {
|
|
118
|
+
data: TData | null | undefined;
|
|
119
|
+
event: StreamSubscription<unknown, unknown> | null;
|
|
120
|
+
};
|
|
121
|
+
//#endregion
|
|
122
|
+
export { MotiaStreamProvider, Stream, type StreamGroupArgs, StreamGroupSubscription, type StreamItemArgs, StreamItemSubscription, useMotiaStream, useStreamEventHandler, useStreamGroup, useStreamItem };
|
|
7
123
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/motia-stream-provider.tsx","../src/use-motia-stream.ts","../src/use-stream-event-handler.ts","../src/use-stream-group.ts","../src/use-stream-item.ts"],"sourcesContent":[],"mappings":";;;;;KAIK,KAAA,GAAQ,KAAA,CAAM;;;;;;AAcnB;;;;ECPa,OAAA,EAAA,MAAA;;;cDOA,qBAAqB,KAAA,CAAM,GAAG;;;;;;;;;AAA3C;;cCPa;UAQZ,gCAAA,CAAA,MAAA;AARD,CAAA;;;KCRK,qBAAA;SACI;;EFAJ,QAAK,EAAA,CAAA,KAAA,EAAA,GAAG,EAAA,GAAM,IAAA;AAcnB,CAAA;;;;ACPA;;;;ACVsD;AAwBtD;;;;;;;cAAa;;;;GACgB,qCACb;;;KCvBJ;;;;EHAP,OAAA,EAAK,MAAA;EAcG,OAAA,CAAA,EAAA,MGXK,KHWL;;;;ACPb;;;;ACVsD;AAwBtD;;;;;;;;;;ACrBA;AAyBA;AAAoF,cAAvE,cAAuE,EAAA,CAAA,cAAA;EAAhB,EAAA,EAAA,MAAA;UAAA,gBAAgB;;;;;;KCzBxE,cAAA;;;;;AJcZ;;;;ACPA;;;;ACVsD;AAwBtD;;;;;;;cECa,8BAA+B;;;ADtB5C,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,173 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Stream, Stream as Stream$1, StreamGroupSubscription, StreamItemSubscription } from "@motiadev/stream-client-browser";
|
|
2
|
+
import React, { useCallback, useEffect, useMemo, useState } from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/motia-stream-context.ts
|
|
6
|
+
const MotiaStreamContext = React.createContext({ stream: null });
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/motia-stream-provider.tsx
|
|
10
|
+
const MotiaStreamProvider = ({ children, address, protocols }) => {
|
|
11
|
+
const [stream, setStream] = useState(null);
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
const streamInstance = new Stream$1(address, { protocols });
|
|
14
|
+
setStream(streamInstance);
|
|
15
|
+
return () => streamInstance.close();
|
|
16
|
+
}, [address, protocols]);
|
|
17
|
+
const contextValue = useMemo(() => ({ stream }), [stream]);
|
|
18
|
+
return /* @__PURE__ */ jsx(MotiaStreamContext.Provider, {
|
|
19
|
+
value: contextValue,
|
|
20
|
+
children
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/use-motia-stream.ts
|
|
26
|
+
/**
|
|
27
|
+
* A hook to get the stream context.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```tsx
|
|
31
|
+
* const { stream } = useMotiaStream()
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
const useMotiaStream = () => {
|
|
35
|
+
const context = React.useContext(MotiaStreamContext);
|
|
36
|
+
if (!context) throw new Error("useMotiaStream must be used within a MotiaStreamProvider");
|
|
37
|
+
return context;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/use-stream-event-handler.ts
|
|
42
|
+
/**
|
|
43
|
+
* A hook to handle custom stream events.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* const { event } = useStreamItem({ streamName: 'my-stream', id: '123' })
|
|
48
|
+
*
|
|
49
|
+
* const onEventHandled = (event: any) => {
|
|
50
|
+
* // this is going to be called whenever 'on-custom-event' is sent from the server
|
|
51
|
+
* console.log(event)
|
|
52
|
+
* }
|
|
53
|
+
*
|
|
54
|
+
* useStreamEventHandler({ event, type: 'on-custom-event', listener: onEventHandled }, [])
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
const useStreamEventHandler = ({ event, type, listener }, dependencies) => {
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
if (event) {
|
|
60
|
+
event.onEvent(type, listener);
|
|
61
|
+
return () => event.offEvent(type, listener);
|
|
62
|
+
}
|
|
63
|
+
}, [
|
|
64
|
+
event,
|
|
65
|
+
type,
|
|
66
|
+
...dependencies
|
|
67
|
+
]);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/use-stream-group.ts
|
|
72
|
+
/**
|
|
73
|
+
* A hook to get a group of items from a stream.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```tsx
|
|
77
|
+
* const { data } = useStreamGroup<{ id:string; name: string }>({
|
|
78
|
+
* streamName: 'my-stream',
|
|
79
|
+
* groupId: '123',
|
|
80
|
+
* })
|
|
81
|
+
*
|
|
82
|
+
* return (
|
|
83
|
+
* <div>
|
|
84
|
+
* {data.map((item) => (
|
|
85
|
+
* <div key={item.id}>{item.name}</div>
|
|
86
|
+
* ))}
|
|
87
|
+
* </div>
|
|
88
|
+
* )
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
const useStreamGroup = (args) => {
|
|
92
|
+
const { stream } = useMotiaStream();
|
|
93
|
+
const [data, setData] = useState([]);
|
|
94
|
+
const [event, setEvent] = useState(null);
|
|
95
|
+
const { streamName, groupId, sortKey } = args || {};
|
|
96
|
+
const handleChange = useCallback((data$1) => {
|
|
97
|
+
setData(data$1);
|
|
98
|
+
}, []);
|
|
99
|
+
useEffect(() => {
|
|
100
|
+
if (!streamName || !groupId || !stream) return;
|
|
101
|
+
const subscription = stream.subscribeGroup(streamName, groupId, sortKey);
|
|
102
|
+
subscription.addChangeListener(handleChange);
|
|
103
|
+
setEvent(subscription);
|
|
104
|
+
return () => {
|
|
105
|
+
setData([]);
|
|
106
|
+
setEvent(null);
|
|
107
|
+
subscription.close();
|
|
108
|
+
};
|
|
109
|
+
}, [
|
|
110
|
+
stream,
|
|
111
|
+
streamName,
|
|
112
|
+
groupId,
|
|
113
|
+
sortKey,
|
|
114
|
+
handleChange
|
|
115
|
+
]);
|
|
116
|
+
return {
|
|
117
|
+
data,
|
|
118
|
+
event
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/use-stream-item.ts
|
|
124
|
+
/**
|
|
125
|
+
* A hook to get a single item from a stream.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* ```tsx
|
|
129
|
+
* const { data } = useStreamItem<{ id:string; name: string }>({
|
|
130
|
+
* streamName: 'my-stream',
|
|
131
|
+
* groupId: '123',
|
|
132
|
+
* id: '123',
|
|
133
|
+
* })
|
|
134
|
+
*
|
|
135
|
+
* return (
|
|
136
|
+
* <div>{data?.name}</div>
|
|
137
|
+
* )
|
|
138
|
+
* ```
|
|
139
|
+
*/
|
|
140
|
+
const useStreamItem = (args) => {
|
|
141
|
+
const { stream } = useMotiaStream();
|
|
142
|
+
const [data, setData] = useState();
|
|
143
|
+
const [event, setEvent] = useState(null);
|
|
144
|
+
const { streamName, groupId, id } = args || {};
|
|
145
|
+
const handleChange = useCallback((data$1) => {
|
|
146
|
+
setData(data$1);
|
|
147
|
+
}, []);
|
|
148
|
+
useEffect(() => {
|
|
149
|
+
if (!streamName || !groupId || !id || !stream) return;
|
|
150
|
+
const subscription = stream.subscribeItem(streamName, groupId, id);
|
|
151
|
+
subscription.addChangeListener(handleChange);
|
|
152
|
+
setEvent(subscription);
|
|
153
|
+
return () => {
|
|
154
|
+
setData(void 0);
|
|
155
|
+
setEvent(null);
|
|
156
|
+
subscription.close();
|
|
157
|
+
};
|
|
158
|
+
}, [
|
|
159
|
+
stream,
|
|
160
|
+
streamName,
|
|
161
|
+
groupId,
|
|
162
|
+
id,
|
|
163
|
+
handleChange
|
|
164
|
+
]);
|
|
165
|
+
return {
|
|
166
|
+
data,
|
|
167
|
+
event
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
//#endregion
|
|
172
|
+
export { MotiaStreamProvider, Stream, StreamGroupSubscription, StreamItemSubscription, useMotiaStream, useStreamEventHandler, useStreamGroup, useStreamItem };
|
|
173
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["MotiaStreamProvider: React.FC<Props>","Stream","data","data"],"sources":["../src/motia-stream-context.ts","../src/motia-stream-provider.tsx","../src/use-motia-stream.ts","../src/use-stream-event-handler.ts","../src/use-stream-group.ts","../src/use-stream-item.ts"],"sourcesContent":["import type { Stream } from '@motiadev/stream-client-browser'\nimport React from 'react'\n\ntype MotiaStreamContextType = {\n stream: Stream | null\n}\n\nexport const MotiaStreamContext = React.createContext<MotiaStreamContextType>({\n stream: null,\n})\n","import { Stream } from '@motiadev/stream-client-browser'\nimport { useEffect, useMemo, useState } from 'react'\nimport { MotiaStreamContext } from './motia-stream-context'\n\ntype Props = React.PropsWithChildren<{\n /**\n * The address of the stream server.\n *\n * @example\n * ```tsx\n * <MotiaStreamProvider address=\"ws://localhost:3000\">\n * <App />\n * </MotiaStreamProvider>\n * */\n address: string\n protocols?: string | string[] | undefined\n}>\n\nexport const MotiaStreamProvider: React.FC<Props> = ({ children, address, protocols }) => {\n const [stream, setStream] = useState<Stream | null>(null)\n\n useEffect(() => {\n const streamInstance = new Stream(address, { protocols })\n setStream(streamInstance)\n return () => streamInstance.close()\n }, [address, protocols])\n\n const contextValue = useMemo(() => ({ stream }), [stream])\n\n return <MotiaStreamContext.Provider value={contextValue}>{children}</MotiaStreamContext.Provider>\n}\n","import React from 'react'\nimport { MotiaStreamContext } from './motia-stream-context'\n\n/**\n * A hook to get the stream context.\n *\n * @example\n * ```tsx\n * const { stream } = useMotiaStream()\n * ```\n */\nexport const useMotiaStream = () => {\n const context = React.useContext(MotiaStreamContext)\n\n if (!context) {\n throw new Error('useMotiaStream must be used within a MotiaStreamProvider')\n }\n\n return context\n}\n","import type { StreamSubscription } from '@motiadev/stream-client-browser'\nimport { type DependencyList, useEffect } from 'react'\n\ntype UseStreamEventHandler = {\n event: StreamSubscription | null\n type: string\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n listener: (event: any) => void\n}\n\n/**\n * A hook to handle custom stream events.\n *\n * @example\n * ```tsx\n * const { event } = useStreamItem({ streamName: 'my-stream', id: '123' })\n *\n * const onEventHandled = (event: any) => {\n * // this is going to be called whenever 'on-custom-event' is sent from the server\n * console.log(event)\n * }\n *\n * useStreamEventHandler({ event, type: 'on-custom-event', listener: onEventHandled }, [])\n * ```\n */\nexport const useStreamEventHandler = (\n { event, type, listener }: UseStreamEventHandler,\n dependencies: DependencyList,\n) => {\n useEffect(() => {\n if (event) {\n event.onEvent(type, listener)\n return () => event.offEvent(type, listener)\n }\n }, [event, type, ...dependencies])\n}\n","import type { StreamSubscription } from '@motiadev/stream-client-browser'\nimport { useCallback, useEffect, useState } from 'react'\nimport { useMotiaStream } from './use-motia-stream'\n\nexport type StreamGroupArgs<TData extends { id: string }> = {\n streamName: string\n groupId: string\n sortKey?: keyof TData\n}\n\n/**\n * A hook to get a group of items from a stream.\n *\n * @example\n * ```tsx\n * const { data } = useStreamGroup<{ id:string; name: string }>({\n * streamName: 'my-stream',\n * groupId: '123',\n * })\n *\n * return (\n * <div>\n * {data.map((item) => (\n * <div key={item.id}>{item.name}</div>\n * ))}\n * </div>\n * )\n * ```\n */\nexport const useStreamGroup = <TData extends { id: string }>(args?: StreamGroupArgs<TData>) => {\n const { stream } = useMotiaStream()\n const [data, setData] = useState<TData[]>([])\n const [event, setEvent] = useState<StreamSubscription | null>(null)\n\n const { streamName, groupId, sortKey } = args || {}\n\n const handleChange = useCallback((data: unknown) => {\n setData(data as TData[])\n }, [])\n\n useEffect(() => {\n if (!streamName || !groupId || !stream) return\n\n const subscription = stream.subscribeGroup(streamName, groupId, sortKey)\n\n subscription.addChangeListener(handleChange)\n setEvent(subscription)\n\n return () => {\n setData([])\n setEvent(null)\n subscription.close()\n }\n }, [stream, streamName, groupId, sortKey, handleChange])\n\n return { data, event }\n}\n","import type { StreamSubscription } from '@motiadev/stream-client-browser'\nimport { useCallback, useEffect, useState } from 'react'\nimport { useMotiaStream } from './use-motia-stream'\n\nexport type StreamItemArgs = {\n streamName: string\n groupId: string\n id?: string\n}\n\n/**\n * A hook to get a single item from a stream.\n *\n * @example\n * ```tsx\n * const { data } = useStreamItem<{ id:string; name: string }>({\n * streamName: 'my-stream',\n * groupId: '123',\n * id: '123',\n * })\n *\n * return (\n * <div>{data?.name}</div>\n * )\n * ```\n */\nexport const useStreamItem = <TData>(args?: StreamItemArgs) => {\n const { stream } = useMotiaStream()\n const [data, setData] = useState<TData | null | undefined>()\n const [event, setEvent] = useState<StreamSubscription | null>(null)\n const { streamName, groupId, id } = args || {}\n\n const handleChange = useCallback((data: unknown) => {\n setData(data as TData)\n }, [])\n\n useEffect(() => {\n if (!streamName || !groupId || !id || !stream) return\n\n const subscription = stream.subscribeItem(streamName, groupId, id)\n\n subscription.addChangeListener(handleChange)\n setEvent(subscription)\n\n return () => {\n setData(undefined)\n setEvent(null)\n subscription.close()\n }\n }, [stream, streamName, groupId, id, handleChange])\n\n return { data, event }\n}\n"],"mappings":";;;;;AAOA,MAAa,qBAAqB,MAAM,cAAsC,EAC5E,QAAQ,MACT,CAAC;;;;ACSF,MAAaA,uBAAwC,EAAE,UAAU,SAAS,gBAAgB;CACxF,MAAM,CAAC,QAAQ,aAAa,SAAwB,KAAK;AAEzD,iBAAgB;EACd,MAAM,iBAAiB,IAAIC,SAAO,SAAS,EAAE,WAAW,CAAC;AACzD,YAAU,eAAe;AACzB,eAAa,eAAe,OAAO;IAClC,CAAC,SAAS,UAAU,CAAC;CAExB,MAAM,eAAe,eAAe,EAAE,QAAQ,GAAG,CAAC,OAAO,CAAC;AAE1D,QAAO,oBAAC,mBAAmB;EAAS,OAAO;EAAe;GAAuC;;;;;;;;;;;;;AClBnG,MAAa,uBAAuB;CAClC,MAAM,UAAU,MAAM,WAAW,mBAAmB;AAEpD,KAAI,CAAC,QACH,OAAM,IAAI,MAAM,2DAA2D;AAG7E,QAAO;;;;;;;;;;;;;;;;;;;;ACOT,MAAa,yBACX,EAAE,OAAO,MAAM,YACf,iBACG;AACH,iBAAgB;AACd,MAAI,OAAO;AACT,SAAM,QAAQ,MAAM,SAAS;AAC7B,gBAAa,MAAM,SAAS,MAAM,SAAS;;IAE5C;EAAC;EAAO;EAAM,GAAG;EAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;ACLpC,MAAa,kBAAgD,SAAkC;CAC7F,MAAM,EAAE,WAAW,gBAAgB;CACnC,MAAM,CAAC,MAAM,WAAW,SAAkB,EAAE,CAAC;CAC7C,MAAM,CAAC,OAAO,YAAY,SAAoC,KAAK;CAEnE,MAAM,EAAE,YAAY,SAAS,YAAY,QAAQ,EAAE;CAEnD,MAAM,eAAe,aAAa,WAAkB;AAClD,UAAQC,OAAgB;IACvB,EAAE,CAAC;AAEN,iBAAgB;AACd,MAAI,CAAC,cAAc,CAAC,WAAW,CAAC,OAAQ;EAExC,MAAM,eAAe,OAAO,eAAe,YAAY,SAAS,QAAQ;AAExE,eAAa,kBAAkB,aAAa;AAC5C,WAAS,aAAa;AAEtB,eAAa;AACX,WAAQ,EAAE,CAAC;AACX,YAAS,KAAK;AACd,gBAAa,OAAO;;IAErB;EAAC;EAAQ;EAAY;EAAS;EAAS;EAAa,CAAC;AAExD,QAAO;EAAE;EAAM;EAAO;;;;;;;;;;;;;;;;;;;;;AC7BxB,MAAa,iBAAwB,SAA0B;CAC7D,MAAM,EAAE,WAAW,gBAAgB;CACnC,MAAM,CAAC,MAAM,WAAW,UAAoC;CAC5D,MAAM,CAAC,OAAO,YAAY,SAAoC,KAAK;CACnE,MAAM,EAAE,YAAY,SAAS,OAAO,QAAQ,EAAE;CAE9C,MAAM,eAAe,aAAa,WAAkB;AAClD,UAAQC,OAAc;IACrB,EAAE,CAAC;AAEN,iBAAgB;AACd,MAAI,CAAC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,OAAQ;EAE/C,MAAM,eAAe,OAAO,cAAc,YAAY,SAAS,GAAG;AAElE,eAAa,kBAAkB,aAAa;AAC5C,WAAS,aAAa;AAEtB,eAAa;AACX,WAAQ,OAAU;AAClB,YAAS,KAAK;AACd,gBAAa,OAAO;;IAErB;EAAC;EAAQ;EAAY;EAAS;EAAI;EAAa,CAAC;AAEnD,QAAO;EAAE;EAAM;EAAO"}
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motiadev/stream-client-react",
|
|
3
3
|
"description": "Motia Stream Client React Package – Responsible for managing streams of data.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.15.0-beta.165",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
8
10
|
"peerDependencies": {
|
|
9
11
|
"react": "^19.1.0"
|
|
10
12
|
},
|
|
11
13
|
"dependencies": {
|
|
12
|
-
"@motiadev/stream-client-browser": "0.
|
|
14
|
+
"@motiadev/stream-client-browser": "0.15.0-beta.165"
|
|
13
15
|
},
|
|
14
16
|
"devDependencies": {
|
|
15
17
|
"@types/react": "^19.0.7",
|
|
18
|
+
"tsdown": "^0.16.6",
|
|
16
19
|
"typescript": "^5.7.2"
|
|
17
20
|
},
|
|
21
|
+
"exports": {
|
|
22
|
+
".": "./dist/index.js",
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
18
25
|
"scripts": {
|
|
19
|
-
"build": "
|
|
26
|
+
"build": "tsdown",
|
|
27
|
+
"dev": "tsdown --watch",
|
|
20
28
|
"lint": "eslint --config ../../eslint.config.js"
|
|
21
29
|
}
|
|
22
30
|
}
|
package/tsconfig.json
CHANGED
package/tsdown.config.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig } from 'tsdown'
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry: {
|
|
5
|
+
index: './index.ts',
|
|
6
|
+
},
|
|
7
|
+
format: 'esm',
|
|
8
|
+
platform: 'browser',
|
|
9
|
+
external: ['@motiadev/stream-client-browser', /^react($|\/)/, /^react-dom($|\/)/],
|
|
10
|
+
dts: {
|
|
11
|
+
build: true,
|
|
12
|
+
},
|
|
13
|
+
clean: true,
|
|
14
|
+
outDir: 'dist',
|
|
15
|
+
exports: {
|
|
16
|
+
devExports: 'development',
|
|
17
|
+
},
|
|
18
|
+
})
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Stream } from '@motiadev/stream-client-browser';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type MotiaStreamContextType = {
|
|
4
|
-
stream: Stream | null;
|
|
5
|
-
};
|
|
6
|
-
export declare const MotiaStreamContext: React.Context<MotiaStreamContextType>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=motia-stream-context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motia-stream-context.d.ts","sourceRoot":"","sources":["../../src/motia-stream-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,kBAAkB,uCAE7B,CAAA"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type Props = React.PropsWithChildren<{
|
|
2
|
-
/**
|
|
3
|
-
* The address of the stream server.
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```tsx
|
|
7
|
-
* <MotiaStreamProvider address="ws://localhost:3000">
|
|
8
|
-
* <App />
|
|
9
|
-
* </MotiaStreamProvider>
|
|
10
|
-
* */
|
|
11
|
-
address: string;
|
|
12
|
-
protocols?: string | string[] | undefined;
|
|
13
|
-
}>;
|
|
14
|
-
export declare const MotiaStreamProvider: React.FC<Props>;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=motia-stream-provider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motia-stream-provider.d.ts","sourceRoot":"","sources":["../../src/motia-stream-provider.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACnC;;;;;;;;SAQK;IACL,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAAA;CAC1C,CAAC,CAAA;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAY/C,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Stream } from '@motiadev/stream-client-browser';
|
|
3
|
-
import { useEffect, useMemo, useState } from 'react';
|
|
4
|
-
import { MotiaStreamContext } from './motia-stream-context';
|
|
5
|
-
export const MotiaStreamProvider = ({ children, address, protocols }) => {
|
|
6
|
-
const [stream, setStream] = useState(null);
|
|
7
|
-
useEffect(() => {
|
|
8
|
-
const streamInstance = new Stream(address, { protocols });
|
|
9
|
-
setStream(streamInstance);
|
|
10
|
-
return () => streamInstance.close();
|
|
11
|
-
}, [address, protocols]);
|
|
12
|
-
const contextValue = useMemo(() => ({ stream }), [stream]);
|
|
13
|
-
return _jsx(MotiaStreamContext.Provider, { value: contextValue, children: children });
|
|
14
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A hook to get the stream context.
|
|
3
|
-
*
|
|
4
|
-
* @example
|
|
5
|
-
* ```tsx
|
|
6
|
-
* const { stream } = useMotiaStream()
|
|
7
|
-
* ```
|
|
8
|
-
*/
|
|
9
|
-
export declare const useMotiaStream: () => {
|
|
10
|
-
stream: import("@motiadev/stream-client-browser").Stream | null;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=use-motia-stream.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-motia-stream.d.ts","sourceRoot":"","sources":["../../src/use-motia-stream.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;CAQ1B,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MotiaStreamContext } from './motia-stream-context';
|
|
3
|
-
/**
|
|
4
|
-
* A hook to get the stream context.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* const { stream } = useMotiaStream()
|
|
9
|
-
* ```
|
|
10
|
-
*/
|
|
11
|
-
export const useMotiaStream = () => {
|
|
12
|
-
const context = React.useContext(MotiaStreamContext);
|
|
13
|
-
if (!context) {
|
|
14
|
-
throw new Error('useMotiaStream must be used within a MotiaStreamProvider');
|
|
15
|
-
}
|
|
16
|
-
return context;
|
|
17
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { StreamSubscription } from '@motiadev/stream-client-browser';
|
|
2
|
-
import { type DependencyList } from 'react';
|
|
3
|
-
type UseStreamEventHandler = {
|
|
4
|
-
event: StreamSubscription | null;
|
|
5
|
-
type: string;
|
|
6
|
-
listener: (event: any) => void;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* A hook to handle custom stream events.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* const { event } = useStreamItem({ streamName: 'my-stream', id: '123' })
|
|
14
|
-
*
|
|
15
|
-
* const onEventHandled = (event: any) => {
|
|
16
|
-
* // this is going to be called whenever 'on-custom-event' is sent from the server
|
|
17
|
-
* console.log(event)
|
|
18
|
-
* }
|
|
19
|
-
*
|
|
20
|
-
* useStreamEventHandler({ event, type: 'on-custom-event', listener: onEventHandled }, [])
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare const useStreamEventHandler: ({ event, type, listener }: UseStreamEventHandler, dependencies: DependencyList) => void;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=use-stream-event-handler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-stream-event-handler.d.ts","sourceRoot":"","sources":["../../src/use-stream-event-handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACzE,OAAO,EAAE,KAAK,cAAc,EAAa,MAAM,OAAO,CAAA;AAEtD,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,kBAAkB,GAAG,IAAI,CAAA;IAChC,IAAI,EAAE,MAAM,CAAA;IAEZ,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC/B,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,GAChC,2BAA2B,qBAAqB,EAChD,cAAc,cAAc,SAQ7B,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* A hook to handle custom stream events.
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```tsx
|
|
7
|
-
* const { event } = useStreamItem({ streamName: 'my-stream', id: '123' })
|
|
8
|
-
*
|
|
9
|
-
* const onEventHandled = (event: any) => {
|
|
10
|
-
* // this is going to be called whenever 'on-custom-event' is sent from the server
|
|
11
|
-
* console.log(event)
|
|
12
|
-
* }
|
|
13
|
-
*
|
|
14
|
-
* useStreamEventHandler({ event, type: 'on-custom-event', listener: onEventHandled }, [])
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export const useStreamEventHandler = ({ event, type, listener }, dependencies) => {
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
if (event) {
|
|
20
|
-
event.onEvent(type, listener);
|
|
21
|
-
return () => event.offEvent(type, listener);
|
|
22
|
-
}
|
|
23
|
-
}, [event, type, ...dependencies]);
|
|
24
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { StreamSubscription } from '@motiadev/stream-client-browser';
|
|
2
|
-
export type StreamGroupArgs<TData extends {
|
|
3
|
-
id: string;
|
|
4
|
-
}> = {
|
|
5
|
-
streamName: string;
|
|
6
|
-
groupId: string;
|
|
7
|
-
sortKey?: keyof TData;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* A hook to get a group of items from a stream.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* const { data } = useStreamGroup<{ id:string; name: string }>({
|
|
15
|
-
* streamName: 'my-stream',
|
|
16
|
-
* groupId: '123',
|
|
17
|
-
* })
|
|
18
|
-
*
|
|
19
|
-
* return (
|
|
20
|
-
* <div>
|
|
21
|
-
* {data.map((item) => (
|
|
22
|
-
* <div key={item.id}>{item.name}</div>
|
|
23
|
-
* ))}
|
|
24
|
-
* </div>
|
|
25
|
-
* )
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare const useStreamGroup: <TData extends {
|
|
29
|
-
id: string;
|
|
30
|
-
}>(args?: StreamGroupArgs<TData>) => {
|
|
31
|
-
data: TData[];
|
|
32
|
-
event: StreamSubscription<unknown, unknown> | null;
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=use-stream-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-stream-group.d.ts","sourceRoot":"","sources":["../../src/use-stream-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAIzE,MAAM,MAAM,eAAe,CAAC,KAAK,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,IAAI;IAC1D,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,KAAK,CAAA;CACtB,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,cAAc,GAAI,KAAK,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,OAAO,eAAe,CAAC,KAAK,CAAC;;;CA2BzF,CAAA"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { useMotiaStream } from './use-motia-stream';
|
|
3
|
-
/**
|
|
4
|
-
* A hook to get a group of items from a stream.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* const { data } = useStreamGroup<{ id:string; name: string }>({
|
|
9
|
-
* streamName: 'my-stream',
|
|
10
|
-
* groupId: '123',
|
|
11
|
-
* })
|
|
12
|
-
*
|
|
13
|
-
* return (
|
|
14
|
-
* <div>
|
|
15
|
-
* {data.map((item) => (
|
|
16
|
-
* <div key={item.id}>{item.name}</div>
|
|
17
|
-
* ))}
|
|
18
|
-
* </div>
|
|
19
|
-
* )
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export const useStreamGroup = (args) => {
|
|
23
|
-
const { stream } = useMotiaStream();
|
|
24
|
-
const [data, setData] = useState([]);
|
|
25
|
-
const [event, setEvent] = useState(null);
|
|
26
|
-
const { streamName, groupId, sortKey } = args || {};
|
|
27
|
-
const handleChange = useCallback((data) => {
|
|
28
|
-
setData(data);
|
|
29
|
-
}, []);
|
|
30
|
-
useEffect(() => {
|
|
31
|
-
if (!streamName || !groupId || !stream)
|
|
32
|
-
return;
|
|
33
|
-
const subscription = stream.subscribeGroup(streamName, groupId, sortKey);
|
|
34
|
-
subscription.addChangeListener(handleChange);
|
|
35
|
-
setEvent(subscription);
|
|
36
|
-
return () => {
|
|
37
|
-
setData([]);
|
|
38
|
-
setEvent(null);
|
|
39
|
-
subscription.close();
|
|
40
|
-
};
|
|
41
|
-
}, [stream, streamName, groupId, sortKey, handleChange]);
|
|
42
|
-
return { data, event };
|
|
43
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { StreamSubscription } from '@motiadev/stream-client-browser';
|
|
2
|
-
export type StreamItemArgs = {
|
|
3
|
-
streamName: string;
|
|
4
|
-
groupId: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* A hook to get a single item from a stream.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* const { data } = useStreamItem<{ id:string; name: string }>({
|
|
13
|
-
* streamName: 'my-stream',
|
|
14
|
-
* groupId: '123',
|
|
15
|
-
* id: '123',
|
|
16
|
-
* })
|
|
17
|
-
*
|
|
18
|
-
* return (
|
|
19
|
-
* <div>{data?.name}</div>
|
|
20
|
-
* )
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare const useStreamItem: <TData>(args?: StreamItemArgs) => {
|
|
24
|
-
data: TData | null | undefined;
|
|
25
|
-
event: StreamSubscription<unknown, unknown> | null;
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=use-stream-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-stream-item.d.ts","sourceRoot":"","sources":["../../src/use-stream-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAIzE,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,EAAE,OAAO,cAAc;;;CA0BzD,CAAA"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { useMotiaStream } from './use-motia-stream';
|
|
3
|
-
/**
|
|
4
|
-
* A hook to get a single item from a stream.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```tsx
|
|
8
|
-
* const { data } = useStreamItem<{ id:string; name: string }>({
|
|
9
|
-
* streamName: 'my-stream',
|
|
10
|
-
* groupId: '123',
|
|
11
|
-
* id: '123',
|
|
12
|
-
* })
|
|
13
|
-
*
|
|
14
|
-
* return (
|
|
15
|
-
* <div>{data?.name}</div>
|
|
16
|
-
* )
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export const useStreamItem = (args) => {
|
|
20
|
-
const { stream } = useMotiaStream();
|
|
21
|
-
const [data, setData] = useState();
|
|
22
|
-
const [event, setEvent] = useState(null);
|
|
23
|
-
const { streamName, groupId, id } = args || {};
|
|
24
|
-
const handleChange = useCallback((data) => {
|
|
25
|
-
setData(data);
|
|
26
|
-
}, []);
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (!streamName || !groupId || !id || !stream)
|
|
29
|
-
return;
|
|
30
|
-
const subscription = stream.subscribeItem(streamName, groupId, id);
|
|
31
|
-
subscription.addChangeListener(handleChange);
|
|
32
|
-
setEvent(subscription);
|
|
33
|
-
return () => {
|
|
34
|
-
setData(undefined);
|
|
35
|
-
setEvent(null);
|
|
36
|
-
subscription.close();
|
|
37
|
-
};
|
|
38
|
-
}, [stream, streamName, groupId, id, handleChange]);
|
|
39
|
-
return { data, event };
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/@types+react@19.1.4/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.1.3/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+react@19.1.4/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/@types+react@19.1.4/node_modules/@types/react/jsx-runtime.d.ts","../../stream-client/dist/esm/src/socket-adapter.d.ts","../../stream-client/dist/esm/src/adapter-factory.d.ts","../../stream-client/dist/esm/src/stream.types.d.ts","../../stream-client/dist/esm/src/stream-subscription.d.ts","../../stream-client/dist/esm/src/stream-group.d.ts","../../stream-client/dist/esm/src/stream-item.d.ts","../../stream-client/dist/esm/src/stream.d.ts","../../stream-client/dist/esm/index.d.ts","../../stream-client-browser/dist/src/stream.d.ts","../../stream-client-browser/dist/index.d.ts","../src/motia-stream-context.ts","../src/use-motia-stream.ts","../src/use-stream-event-handler.ts","../src/use-stream-group.ts","../src/use-stream-item.ts","../src/motia-stream-provider.tsx","../index.ts","../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@29.5.14/node_modules/@types/jest/index.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.15.18/node_modules/@types/node/index.d.ts"],"fileIdsList":[[83,126],[71,83,126],[73,76,83,126],[83,123,126],[83,125,126],[126],[83,126,131,161],[83,126,127,132,138,139,146,158,169],[83,126,127,128,138,146],[78,79,80,83,126],[83,126,129,170],[83,126,130,131,139,147],[83,126,131,158,166],[83,126,132,134,138,146],[83,125,126,133],[83,126,134,135],[83,126,138],[83,126,136,138],[83,125,126,138],[83,126,138,139,140,158,169],[83,126,138,139,140,153,158,161],[83,121,126,174],[83,121,126,134,138,141,146,158,169],[83,126,138,139,141,142,146,158,166,169],[83,126,141,143,158,166,169],[81,82,83,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175],[83,126,138,144],[83,126,145,169],[83,126,134,138,146,158],[83,126,147],[83,126,148],[83,125,126,149],[83,123,124,125,126,127,128,129,130,131,132,133,134,135,136,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175],[83,126,151],[83,126,152],[83,126,138,153,154],[83,126,153,155,170,172],[83,126,138,158,159,161],[83,126,160,161],[83,126,158,159],[83,126,161],[83,126,162],[83,123,126,158],[83,126,138,164,165],[83,126,164,165],[83,126,131,146,158,166],[83,126,167],[83,126,146,168],[83,126,141,152,169],[83,126,131,170],[83,126,158,171],[83,126,145,172],[83,126,173],[83,126,131,138,140,149,158,169,172,174],[83,126,158,175],[48,49,83,126],[50,83,126],[69,75,83,126],[73,83,126],[70,74,83,126],[72,83,126],[83,93,97,126,169],[83,93,126,158,169],[83,88,126],[83,90,93,126,166,169],[83,126,146,166],[83,126,176],[83,88,126,176],[83,90,93,126,146,169],[83,85,86,89,92,126,138,158,169],[83,93,100,126],[83,85,91,126],[83,93,114,115,126],[83,89,93,126,161,169,176],[83,114,126,176],[83,87,88,126,176],[83,93,126],[83,87,88,89,90,91,92,93,94,95,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,115,116,117,118,119,120,126],[83,93,108,126],[83,93,100,101,126],[83,91,93,101,102,126],[83,92,126],[83,85,88,93,126],[83,93,97,101,102,126],[83,97,126],[83,91,93,96,126,169],[83,85,90,93,100,126],[83,126,158],[83,88,93,114,126,174,176],[59,60,83,126],[59,83,126],[51,61,63,64,65,66,67,83,126],[50,51,61,83,126],[50,51,61,62,83,126],[50,51,62,83,126],[50,51,61,63,83,126],[52,53,54,55,56,57,58,83,126],[52,83,126],[54,55,83,126],[54,83,126],[52,53,56,57,83,126]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"742d4b7b02ffc3ba3c4258a3d196457da2b3fec0125872fd0776c50302a11b9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"03566a51ebc848dec449a4ed69518e9f20caa6ac123fa32676aaaabe64adae8e","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},"16653a5d9533b805ccc7896d2bd6b9cd06c15e551205f374b8e97dac78d27629","c44e18b8f57a7fe520cec8307ee2a580f90ec3b5ead457fef6b00c974ff52ef1","01b573f2a96f12c8c749e9520d37a94c96082d291f2aec5d3a184bf269c9424b","5a96efd7c79e42d691ec5b27f2dda3dd283a1d8ddd81e4b2da0e02dc4bfd4e62","096713a52a85c2a837c61a06189ac2a563c19a0d79797e860d5076f0b342e797","8127d415f833ed1637062196a8fd706650dfc358ef217035278cde9243a6116a","c407bf103f831ece3e4527a5bb9d3dedb14c25183a006110a6f134d5de8554eb","9f1288c72d7fc7a4ce8e205a5d1326c2ec935a4a598201e39c49d4c609a177f6","4c95b36c52ccd9ac4a3112fb8729c716b9fc991c9351fa5cbb9712c059f5e182","0a844f6ca5bbf0413ed1733a60467717ef060abac2931be67c1dd51ed01e6f11",{"version":"6db0b6c6c2bacbfe05821947f0dc8eee831764f48f3d901d4568d76bcb53c068","signature":"c2ac258ccb2fd160856bb18baba57a74197854dd985bf5e97b63d24137568c79"},{"version":"948b3eecb08ed5a67859de2b9c90c4efe4212a1ffd9bcf3cbae5c3bf4fa6c226","signature":"69a4e1da8f252f1b1d3b31ea81307acb1223fad08e53054d448e014906e3996a"},{"version":"d9b8140677f83c04a3cbdf435358088a680cf51df5084f0fe139c2860e12b416","signature":"5e31f573915f71ccb0efa8169e483a7f5a361cba22fbeaadd2d1c7f59ef386b5"},{"version":"d234afb3c28379c75bc9d4151b53b71bd92dfd50217bfc25c10d82a7a85495a1","signature":"f521a17f09cf974d1df4774abc40979c8fea8928a717a08a8760753564558943"},{"version":"a82f33e8e3adf9955266a93c320c78b6baf98925415099b9e04109d1889560c3","signature":"48ec59866ccfb70a389842258bc8ae656543a9759311897dd476b2e9a73306c5"},{"version":"82ed82492186d215029ef62e9f43f0624d62aefeb6f36d18311bb713a8f6f7d9","signature":"2213549cccc0fe893500b91a7d0f2e16720d585f25e0280cbe31bf6c6f5db9c8"},{"version":"5f619c7e1c1956799d9e27f0b609e959573700645854467ead3abacdf88781d9","signature":"01990c4e95630e6c6b9117397b6fdb4b53116b703a2c145352962f10166fca6b"},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"f8db4fea512ab759b2223b90ecbbe7dae919c02f8ce95ec03f7fb1cf757cfbeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"3b724a66c071d616203133f8d099a0cb881b0b43fd42e8621e611243c5f30cd6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"3fe4022ba1e738034e38ad9afacbf0f1f16b458ed516326f5bf9e4a31e9be1dc","impliedFormat":1},{"version":"a957197054b074bcdf5555d26286e8461680c7c878040d0f4e2d5509a7524944","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f478f6f5902dc144c0d6d7bdc919c5177cac4d17a8ca8653c2daf6d7dc94317f","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"b200675fd112ffef97c166d0341fb33f6e29e9f27660adde7868e95c5bc98beb","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a0a1dda070290b92da5a50113b73ecc4dd6bcbffad66e3c86503d483eafbadcf","impliedFormat":1},{"version":"59dcad36c4549175a25998f6a8b33c1df8e18df9c12ebad1dfb25af13fd4b1ce","impliedFormat":1},{"version":"9ba5b6a30cb7961b68ad4fb18dca148db151c2c23b8d0a260fc18b83399d19d3","impliedFormat":1},{"version":"3f3edb8e44e3b9df3b7ca3219ab539710b6a7f4fe16bd884d441af207e03cd57","impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","impliedFormat":1},{"version":"d71535813e39c23baa113bc4a29a0e187b87d1105ccc8c5a6ebaca38d9a9bff2","impliedFormat":1},{"version":"8cf7e92bdb2862c2d28ba4535c43dc599cfbc0025db5ed9973d9b708dcbe3d98","affectsGlobalScope":true,"impliedFormat":1},{"version":"278e70975bd456bba5874eaee17692355432e8d379b809a97f6af0eee2b702d8","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"636302a00dfd1f9fe6e8e91e4e9350c6518dcc8d51a474e4fc3a9ba07135100b","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"e1ce1d622f1e561f6cdf246372ead3bbc07ce0342024d0e9c7caf3136f712698","impliedFormat":1},{"version":"c878f74b6d10b267f6075c51ac1d8becd15b4aa6a58f79c0cfe3b24908357f60","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"27e4532aaaa1665d0dd19023321e4dc12a35a741d6b8e1ca3517fcc2544e0efe","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"8c2ad42d5d1a2e8e6112625767f8794d9537f1247907378543106f7ba6c7df90","affectsGlobalScope":true,"impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"12e8ce658dd17662d82fb0509d2057afc5e6ee30369a2e9e0957eff725b1f11d","affectsGlobalScope":true,"impliedFormat":1},{"version":"74736930d108365d7bbe740c7154706ccfb1b2a3855a897963ab3e5c07ecbf19","impliedFormat":1},{"version":"858f999b3e4a45a4e74766d43030941466460bf8768361d254234d5870480a53","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"63b05afa6121657f25e99e1519596b0826cda026f09372c9100dfe21417f4bd6","affectsGlobalScope":true,"impliedFormat":1},{"version":"3797dd6f4ea3dc15f356f8cdd3128bfa18122213b38a80d6c1f05d8e13cbdad8","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1}],"root":[[62,68]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":4,"module":99,"noFallthroughCasesInSwitch":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":7,"useDefineForClassFields":true},"referencedMap":[[69,1],[72,2],[71,1],[77,3],[123,4],[124,4],[125,5],[83,6],[126,7],[127,8],[128,9],[78,1],[81,10],[79,1],[80,1],[129,11],[130,12],[131,13],[132,14],[133,15],[134,16],[135,16],[137,17],[136,18],[138,19],[139,20],[140,21],[122,22],[82,1],[141,23],[142,24],[143,25],[176,26],[144,27],[145,28],[146,29],[147,30],[148,31],[149,32],[150,33],[151,34],[152,35],[153,36],[154,36],[155,37],[156,1],[157,1],[158,38],[160,39],[159,40],[161,41],[162,42],[163,43],[164,44],[165,45],[166,46],[167,47],[168,48],[169,49],[170,50],[171,51],[172,52],[173,53],[174,54],[175,55],[48,1],[50,56],[51,57],[84,1],[70,1],[49,1],[76,58],[74,59],[75,60],[73,61],[46,1],[47,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[20,1],[21,1],[4,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[37,1],[34,1],[35,1],[36,1],[38,1],[7,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[1,1],[100,62],[110,63],[99,62],[120,64],[91,65],[90,66],[119,67],[113,68],[118,69],[93,70],[107,71],[92,72],[116,73],[88,74],[87,67],[117,75],[89,76],[94,77],[95,1],[98,77],[85,1],[121,78],[111,79],[102,80],[103,81],[105,82],[101,83],[104,84],[114,67],[96,85],[97,86],[106,87],[86,88],[109,79],[108,77],[112,1],[115,89],[61,90],[60,91],[68,92],[62,93],[67,94],[63,95],[64,93],[65,96],[66,96],[59,97],[53,98],[52,1],[56,99],[57,99],[55,100],[58,101],[54,1]],"latestChangedDtsFile":"./index.d.ts","version":"5.8.3"}
|