@livestore/common 0.0.54-dev.2 → 0.0.54-dev.21
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/.tsbuildinfo +1 -1
- package/dist/bounded-collections.d.ts +1 -1
- package/dist/bounded-collections.d.ts.map +1 -1
- package/dist/bounded-collections.js.map +1 -1
- package/dist/debug-info.d.ts +12 -8
- package/dist/debug-info.d.ts.map +1 -1
- package/dist/debug-info.js +6 -9
- package/dist/debug-info.js.map +1 -1
- package/dist/devtools/devtools-messages.d.ts +142 -34
- package/dist/devtools/devtools-messages.d.ts.map +1 -1
- package/dist/devtools/devtools-messages.js +72 -39
- package/dist/devtools/devtools-messages.js.map +1 -1
- package/dist/schema/mutations.d.ts +2 -1
- package/dist/schema/mutations.d.ts.map +1 -1
- package/dist/schema/mutations.js +3 -1
- package/dist/schema/mutations.js.map +1 -1
- package/package.json +3 -3
- package/src/bounded-collections.ts +1 -1
- package/src/debug-info.ts +6 -18
- package/src/devtools/devtools-messages.ts +84 -45
- package/src/schema/mutations.ts +7 -4
- package/dist/devtools/index copy.d.ts +0 -214
- package/dist/devtools/index copy.d.ts.map +0 -1
- package/dist/devtools/index copy.js +0 -137
- package/dist/devtools/index copy.js.map +0 -1
|
@@ -15,36 +15,48 @@ export class SnapshotReq extends Schema.TaggedStruct('LSD.SnapshotReq', {
|
|
|
15
15
|
liveStoreVersion,
|
|
16
16
|
requestId,
|
|
17
17
|
channelId,
|
|
18
|
-
}) {}
|
|
18
|
+
}).annotations({ identifier: 'LSD.SnapshotReq' }) {}
|
|
19
19
|
|
|
20
20
|
export class SnapshotRes extends Schema.TaggedStruct('LSD.SnapshotRes', {
|
|
21
21
|
liveStoreVersion,
|
|
22
22
|
requestId,
|
|
23
23
|
snapshot: Schema.Uint8Array,
|
|
24
|
-
}) {}
|
|
24
|
+
}).annotations({ identifier: 'LSD.SnapshotRes' }) {}
|
|
25
|
+
|
|
26
|
+
export class LoadSnapshotReq extends Schema.TaggedStruct('LSD.LoadSnapshotReq', {
|
|
27
|
+
liveStoreVersion,
|
|
28
|
+
requestId,
|
|
29
|
+
channelId,
|
|
30
|
+
snapshot: Schema.Uint8Array,
|
|
31
|
+
}).annotations({ identifier: 'LSD.LoadSnapshotReq' }) {}
|
|
32
|
+
|
|
33
|
+
export class LoadSnapshotRes extends Schema.TaggedStruct('LSD.LoadSnapshotRes', {
|
|
34
|
+
liveStoreVersion,
|
|
35
|
+
requestId,
|
|
36
|
+
}).annotations({ identifier: 'LSD.LoadSnapshotRes' }) {}
|
|
25
37
|
|
|
26
38
|
export class DebugInfoReq extends Schema.TaggedStruct('LSD.DebugInfoReq', {
|
|
27
39
|
liveStoreVersion,
|
|
28
40
|
requestId,
|
|
29
41
|
channelId,
|
|
30
|
-
}) {}
|
|
42
|
+
}).annotations({ identifier: 'LSD.DebugInfoReq' }) {}
|
|
31
43
|
|
|
32
44
|
export class DebugInfoRes extends Schema.TaggedStruct('LSD.DebugInfoRes', {
|
|
33
45
|
liveStoreVersion,
|
|
34
46
|
requestId,
|
|
35
47
|
debugInfo: DebugInfo,
|
|
36
|
-
}) {}
|
|
48
|
+
}).annotations({ identifier: 'LSD.DebugInfoRes' }) {}
|
|
37
49
|
|
|
38
50
|
export class DebugInfoResetReq extends Schema.TaggedStruct('LSD.DebugInfoResetReq', {
|
|
39
51
|
liveStoreVersion,
|
|
40
52
|
requestId,
|
|
41
53
|
channelId,
|
|
42
|
-
}) {}
|
|
54
|
+
}).annotations({ identifier: 'LSD.DebugInfoResetReq' }) {}
|
|
43
55
|
|
|
44
56
|
export class DebugInfoResetRes extends Schema.TaggedStruct('LSD.DebugInfoResetRes', {
|
|
45
57
|
liveStoreVersion,
|
|
46
58
|
requestId,
|
|
47
|
-
}) {}
|
|
59
|
+
}).annotations({ identifier: 'LSD.DebugInfoResetRes' }) {}
|
|
48
60
|
|
|
49
61
|
export class DebugInfoRerunQueryReq extends Schema.TaggedStruct('LSD.DebugInfoRerunQueryReq', {
|
|
50
62
|
liveStoreVersion,
|
|
@@ -53,62 +65,88 @@ export class DebugInfoRerunQueryReq extends Schema.TaggedStruct('LSD.DebugInfoRe
|
|
|
53
65
|
queryStr: Schema.String,
|
|
54
66
|
bindValues: Schema.UndefinedOr(PreparedBindValues),
|
|
55
67
|
queriedTables: Schema.ReadonlySet(Schema.String),
|
|
56
|
-
}) {}
|
|
68
|
+
}).annotations({ identifier: 'LSD.DebugInfoRerunQueryReq' }) {}
|
|
57
69
|
|
|
58
70
|
export class DebugInfoRerunQueryRes extends Schema.TaggedStruct('LSD.DebugInfoRerunQueryRes', {
|
|
59
71
|
liveStoreVersion,
|
|
60
72
|
requestId,
|
|
61
|
-
}) {}
|
|
73
|
+
}).annotations({ identifier: 'LSD.DebugInfoRerunQueryRes' }) {}
|
|
62
74
|
|
|
63
75
|
export class MutationBroadcast extends Schema.TaggedStruct('LSD.MutationBroadcast', {
|
|
76
|
+
liveStoreVersion,
|
|
77
|
+
mutationEventEncoded: mutationEventSchemaEncodedAny,
|
|
78
|
+
persisted: Schema.Boolean,
|
|
79
|
+
}).annotations({ identifier: 'LSD.MutationBroadcast' }) {}
|
|
80
|
+
|
|
81
|
+
export class RunMutationReq extends Schema.TaggedStruct('LSD.RunMutationReq', {
|
|
64
82
|
liveStoreVersion,
|
|
65
83
|
requestId,
|
|
84
|
+
channelId,
|
|
66
85
|
mutationEventEncoded: mutationEventSchemaEncodedAny,
|
|
67
86
|
persisted: Schema.Boolean,
|
|
68
|
-
}) {}
|
|
87
|
+
}).annotations({ identifier: 'LSD.RunMutationReq' }) {}
|
|
88
|
+
|
|
89
|
+
export class RunMutationRes extends Schema.TaggedStruct('LSD.RunMutationRes', {
|
|
90
|
+
liveStoreVersion,
|
|
91
|
+
requestId,
|
|
92
|
+
channelId,
|
|
93
|
+
}).annotations({ identifier: 'LSD.RunMutationRes' }) {}
|
|
69
94
|
|
|
70
95
|
export class MutationLogReq extends Schema.TaggedStruct('LSD.MutationLogReq', {
|
|
71
96
|
liveStoreVersion,
|
|
72
97
|
requestId,
|
|
73
98
|
channelId,
|
|
74
|
-
}) {}
|
|
99
|
+
}).annotations({ identifier: 'LSD.MutationLogReq' }) {}
|
|
75
100
|
|
|
76
101
|
export class MutationLogRes extends Schema.TaggedStruct('LSD.MutationLogRes', {
|
|
77
102
|
liveStoreVersion,
|
|
78
103
|
requestId,
|
|
104
|
+
channelId,
|
|
79
105
|
mutationLog: Schema.Uint8Array,
|
|
80
|
-
}) {}
|
|
106
|
+
}).annotations({ identifier: 'LSD.MutationLogRes' }) {}
|
|
81
107
|
|
|
82
|
-
export class
|
|
108
|
+
export class LoadMutationLogReq extends Schema.TaggedStruct('LSD.LoadMutationLogReq', {
|
|
109
|
+
liveStoreVersion,
|
|
110
|
+
requestId,
|
|
111
|
+
channelId,
|
|
112
|
+
mutationLog: Schema.Uint8Array,
|
|
113
|
+
}).annotations({ identifier: 'LSD.LoadMutationLogReq' }) {}
|
|
114
|
+
|
|
115
|
+
export class LoadMutationLogRes extends Schema.TaggedStruct('LSD.LoadMutationLogRes', {
|
|
116
|
+
liveStoreVersion,
|
|
117
|
+
requestId,
|
|
118
|
+
}).annotations({ identifier: 'LSD.LoadMutationLogRes' }) {}
|
|
119
|
+
|
|
120
|
+
export class ReactivityGraphSubscribe extends Schema.TaggedStruct('LSD.ReactivityGraphSubscribe', {
|
|
83
121
|
liveStoreVersion,
|
|
84
122
|
requestId,
|
|
85
123
|
channelId,
|
|
86
124
|
includeResults: Schema.Boolean,
|
|
87
|
-
}) {}
|
|
125
|
+
}).annotations({ identifier: 'LSD.ReactivityGraphSubscribe' }) {}
|
|
88
126
|
|
|
89
|
-
export class
|
|
127
|
+
export class ReactivityGraphUnsubscribe extends Schema.TaggedStruct('LSD.ReactivityGraphUnsubscribe', {
|
|
90
128
|
liveStoreVersion,
|
|
91
129
|
requestId,
|
|
92
130
|
channelId,
|
|
93
|
-
}) {}
|
|
131
|
+
}).annotations({ identifier: 'LSD.ReactivityGraphUnsubscribe' }) {}
|
|
94
132
|
|
|
95
|
-
export class
|
|
133
|
+
export class ReactivityGraphRes extends Schema.TaggedStruct('LSD.ReactivityGraphRes', {
|
|
96
134
|
liveStoreVersion,
|
|
97
135
|
requestId,
|
|
98
|
-
|
|
99
|
-
}) {}
|
|
136
|
+
reactivityGraph: Schema.Any,
|
|
137
|
+
}).annotations({ identifier: 'LSD.ReactivityGraphRes' }) {}
|
|
100
138
|
|
|
101
139
|
export class LiveQueriesSubscribe extends Schema.TaggedStruct('LSD.LiveQueriesSubscribe', {
|
|
102
140
|
liveStoreVersion,
|
|
103
141
|
requestId,
|
|
104
142
|
channelId,
|
|
105
|
-
}) {}
|
|
143
|
+
}).annotations({ identifier: 'LSD.LiveQueriesSubscribe' }) {}
|
|
106
144
|
|
|
107
145
|
export class LiveQueriesUnsubscribe extends Schema.TaggedStruct('LSD.LiveQueriesUnsubscribe', {
|
|
108
146
|
liveStoreVersion,
|
|
109
147
|
requestId,
|
|
110
148
|
channelId,
|
|
111
|
-
}) {}
|
|
149
|
+
}).annotations({ identifier: 'LSD.LiveQueriesUnsubscribe' }) {}
|
|
112
150
|
|
|
113
151
|
export class SerializedLiveQuery extends Schema.Struct({
|
|
114
152
|
_tag: Schema.Literal('js', 'sql', 'graphql'),
|
|
@@ -120,89 +158,90 @@ export class SerializedLiveQuery extends Schema.Struct({
|
|
|
120
158
|
activeSubscriptions: Schema.Array(
|
|
121
159
|
Schema.Struct({ frames: Schema.Array(Schema.Struct({ name: Schema.String, filePath: Schema.String })) }),
|
|
122
160
|
),
|
|
123
|
-
}) {}
|
|
161
|
+
}).annotations({ identifier: 'SerializedLiveQuery' }) {}
|
|
124
162
|
|
|
125
163
|
export class LiveQueriesRes extends Schema.TaggedStruct('LSD.LiveQueriesRes', {
|
|
126
164
|
liveStoreVersion,
|
|
127
165
|
requestId,
|
|
128
166
|
liveQueries: Schema.Array(SerializedLiveQuery),
|
|
129
|
-
}) {}
|
|
167
|
+
}).annotations({ identifier: 'LSD.LiveQueriesRes' }) {}
|
|
130
168
|
|
|
131
169
|
export class ResetAllDataReq extends Schema.TaggedStruct('LSD.ResetAllDataReq', {
|
|
132
170
|
liveStoreVersion,
|
|
133
171
|
requestId,
|
|
134
172
|
channelId,
|
|
135
173
|
mode: Schema.Literal('all-data', 'only-app-db'),
|
|
136
|
-
}) {}
|
|
174
|
+
}).annotations({ identifier: 'LSD.ResetAllDataReq' }) {}
|
|
137
175
|
|
|
138
176
|
export class ResetAllDataRes extends Schema.TaggedStruct('LSD.ResetAllDataRes', {
|
|
139
177
|
liveStoreVersion,
|
|
140
178
|
requestId,
|
|
141
|
-
}) {}
|
|
179
|
+
}).annotations({ identifier: 'LSD.ResetAllDataRes' }) {}
|
|
142
180
|
|
|
143
|
-
export class
|
|
181
|
+
export class NetworkStatusChanged extends Schema.TaggedStruct('LSD.NetworkStatusChanged', {
|
|
144
182
|
liveStoreVersion,
|
|
145
183
|
channelId,
|
|
146
184
|
networkStatus: NetworkStatus,
|
|
147
|
-
}) {}
|
|
185
|
+
}).annotations({ identifier: 'LSD.NetworkStatusChanged' }) {}
|
|
148
186
|
|
|
149
|
-
export class
|
|
187
|
+
export class DevtoolsReady extends Schema.TaggedStruct('LSD.DevtoolsReady', {
|
|
150
188
|
liveStoreVersion,
|
|
151
|
-
}) {}
|
|
189
|
+
}).annotations({ identifier: 'LSD.DevtoolsReady' }) {}
|
|
152
190
|
|
|
153
191
|
export class DevtoolsConnected extends Schema.TaggedStruct('LSD.DevtoolsConnected', {
|
|
154
192
|
liveStoreVersion,
|
|
155
193
|
channelId,
|
|
156
|
-
}) {}
|
|
194
|
+
}).annotations({ identifier: 'LSD.DevtoolsConnected' }) {}
|
|
157
195
|
|
|
158
|
-
export class
|
|
196
|
+
export class AppHostReady extends Schema.TaggedStruct('LSD.AppHostReady', {
|
|
159
197
|
liveStoreVersion,
|
|
160
198
|
channelId,
|
|
161
|
-
}) {}
|
|
199
|
+
}).annotations({ identifier: 'LSD.AppHostReady' }) {}
|
|
162
200
|
|
|
163
201
|
export class Disconnect extends Schema.TaggedStruct('LSD.Disconnect', {
|
|
164
202
|
liveStoreVersion,
|
|
165
203
|
requestId,
|
|
166
204
|
channelId,
|
|
167
|
-
}) {}
|
|
168
|
-
|
|
169
|
-
// export class SchemaChanged extends Schema.TaggedStruct('LSD.SchemaChanged', {
|
|
170
|
-
// requestId,
|
|
171
|
-
// }) {}
|
|
205
|
+
}).annotations({ identifier: 'LSD.Disconnect' }) {}
|
|
172
206
|
|
|
173
207
|
export const MessageToAppHost = Schema.Union(
|
|
174
208
|
SnapshotReq,
|
|
209
|
+
LoadSnapshotReq,
|
|
175
210
|
MutationLogReq,
|
|
211
|
+
LoadMutationLogReq,
|
|
176
212
|
DebugInfoReq,
|
|
177
213
|
DebugInfoResetReq,
|
|
178
214
|
DebugInfoRerunQueryReq,
|
|
179
|
-
|
|
180
|
-
|
|
215
|
+
ReactivityGraphSubscribe,
|
|
216
|
+
ReactivityGraphUnsubscribe,
|
|
181
217
|
LiveQueriesSubscribe,
|
|
182
218
|
LiveQueriesUnsubscribe,
|
|
183
219
|
ResetAllDataReq,
|
|
184
|
-
|
|
220
|
+
DevtoolsReady,
|
|
185
221
|
Disconnect,
|
|
186
222
|
DevtoolsConnected,
|
|
187
|
-
|
|
223
|
+
RunMutationReq,
|
|
224
|
+
).annotations({ identifier: 'LSD.MessageToAppHost' })
|
|
188
225
|
|
|
189
226
|
export type MessageToAppHost = typeof MessageToAppHost.Type
|
|
190
227
|
|
|
191
228
|
export const MessageFromAppHost = Schema.Union(
|
|
192
229
|
SnapshotRes,
|
|
230
|
+
LoadSnapshotRes,
|
|
193
231
|
MutationLogRes,
|
|
232
|
+
LoadMutationLogRes,
|
|
194
233
|
DebugInfoRes,
|
|
195
234
|
DebugInfoResetRes,
|
|
196
235
|
DebugInfoRerunQueryRes,
|
|
197
|
-
|
|
236
|
+
ReactivityGraphRes,
|
|
198
237
|
LiveQueriesRes,
|
|
199
238
|
ResetAllDataRes,
|
|
200
239
|
Disconnect,
|
|
201
|
-
// SchemaChanged,
|
|
202
240
|
MutationBroadcast,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
241
|
+
AppHostReady,
|
|
242
|
+
NetworkStatusChanged,
|
|
243
|
+
RunMutationRes,
|
|
244
|
+
).annotations({ identifier: 'LSD.MessageFromAppHost' })
|
|
206
245
|
|
|
207
246
|
export type MessageFromAppHost = typeof MessageFromAppHost.Type
|
|
208
247
|
|
package/src/schema/mutations.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { memoizeByRef } from '@livestore/utils'
|
|
1
2
|
import { cuid } from '@livestore/utils/cuid'
|
|
2
3
|
import { Schema } from '@livestore/utils/effect'
|
|
3
4
|
|
|
@@ -139,11 +140,11 @@ export type MutationEventSchema<TMutationsDefRecord extends MutationDefRecord> =
|
|
|
139
140
|
}[keyof TMutationsDefRecord]
|
|
140
141
|
>
|
|
141
142
|
|
|
142
|
-
export const makeMutationEventSchema = <
|
|
143
|
-
|
|
144
|
-
): MutationEventSchema<
|
|
143
|
+
export const makeMutationEventSchema = <TSchema extends LiveStoreSchema>(
|
|
144
|
+
schema: TSchema,
|
|
145
|
+
): MutationEventSchema<TSchema['_MutationDefMapType']> =>
|
|
145
146
|
Schema.Union(
|
|
146
|
-
...
|
|
147
|
+
...[...schema.mutations.values()].map((def) =>
|
|
147
148
|
Schema.Struct({
|
|
148
149
|
mutation: Schema.Literal(def.name),
|
|
149
150
|
args: def.schema,
|
|
@@ -152,6 +153,8 @@ export const makeMutationEventSchema = <TMutationsDefRecord extends MutationDefR
|
|
|
152
153
|
),
|
|
153
154
|
).annotations({ title: 'MutationEventSchema' }) as any
|
|
154
155
|
|
|
156
|
+
export const makeMutationEventSchemaMemo = memoizeByRef(makeMutationEventSchema)
|
|
157
|
+
|
|
155
158
|
export const mutationEventSchemaDecodedAny = Schema.Struct({
|
|
156
159
|
mutation: Schema.String,
|
|
157
160
|
args: Schema.Any,
|
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { Schema } from '@livestore/utils/effect';
|
|
2
|
-
declare const SnapshotReq_base: Schema.TaggedStruct<"LSD.SnapshotReq", {
|
|
3
|
-
requestId: typeof Schema.String;
|
|
4
|
-
channelId: typeof Schema.String;
|
|
5
|
-
}>;
|
|
6
|
-
export declare class SnapshotReq extends SnapshotReq_base {
|
|
7
|
-
}
|
|
8
|
-
declare const SnapshotRes_base: Schema.TaggedStruct<"LSD.SnapshotRes", {
|
|
9
|
-
requestId: typeof Schema.String;
|
|
10
|
-
snapshot: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
11
|
-
}>;
|
|
12
|
-
export declare class SnapshotRes extends SnapshotRes_base {
|
|
13
|
-
}
|
|
14
|
-
declare const DebugInfoReq_base: Schema.TaggedStruct<"LSD.DebugInfoReq", {
|
|
15
|
-
requestId: typeof Schema.String;
|
|
16
|
-
channelId: typeof Schema.String;
|
|
17
|
-
}>;
|
|
18
|
-
export declare class DebugInfoReq extends DebugInfoReq_base {
|
|
19
|
-
}
|
|
20
|
-
declare const DebugInfoRes_base: Schema.TaggedStruct<"LSD.DebugInfoRes", {
|
|
21
|
-
requestId: typeof Schema.String;
|
|
22
|
-
debugInfo: Schema.Struct<{
|
|
23
|
-
slowQueries: Schema.transform<Schema.Struct<{
|
|
24
|
-
size: typeof Schema.Number;
|
|
25
|
-
items: Schema.Array$<Schema.Schema<{
|
|
26
|
-
readonly queryStr: string;
|
|
27
|
-
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
28
|
-
readonly [x: string]: string | number | Uint8Array | null;
|
|
29
|
-
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
30
|
-
readonly durationMs: number;
|
|
31
|
-
readonly rowsCount: number | undefined;
|
|
32
|
-
readonly queriedTables: ReadonlySet<string>;
|
|
33
|
-
readonly startTimePerfNow: number;
|
|
34
|
-
}, {
|
|
35
|
-
readonly queryStr: string;
|
|
36
|
-
readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
|
|
37
|
-
readonly [x: string]: string | number | readonly number[] | null;
|
|
38
|
-
} | undefined;
|
|
39
|
-
readonly durationMs: number;
|
|
40
|
-
readonly rowsCount: number | undefined;
|
|
41
|
-
readonly queriedTables: readonly string[];
|
|
42
|
-
readonly startTimePerfNow: number;
|
|
43
|
-
}, never>>;
|
|
44
|
-
}>, Schema.Schema<import("../bounded-collections.js").BoundArray<{
|
|
45
|
-
readonly queryStr: string;
|
|
46
|
-
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
47
|
-
readonly [x: string]: string | number | Uint8Array | null;
|
|
48
|
-
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
49
|
-
readonly durationMs: number;
|
|
50
|
-
readonly rowsCount: number | undefined;
|
|
51
|
-
readonly queriedTables: ReadonlySet<string>;
|
|
52
|
-
readonly startTimePerfNow: number;
|
|
53
|
-
}>, import("../bounded-collections.js").BoundArray<{
|
|
54
|
-
readonly queryStr: string;
|
|
55
|
-
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
56
|
-
readonly [x: string]: string | number | Uint8Array | null;
|
|
57
|
-
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
58
|
-
readonly durationMs: number;
|
|
59
|
-
readonly rowsCount: number | undefined;
|
|
60
|
-
readonly queriedTables: ReadonlySet<string>;
|
|
61
|
-
readonly startTimePerfNow: number;
|
|
62
|
-
}>, never>>;
|
|
63
|
-
queryFrameDuration: typeof Schema.Number;
|
|
64
|
-
queryFrameCount: typeof Schema.Number;
|
|
65
|
-
events: Schema.transform<Schema.Struct<{
|
|
66
|
-
size: typeof Schema.Number;
|
|
67
|
-
items: Schema.Array$<Schema.Schema<readonly [string, any], readonly [string, any], never>>;
|
|
68
|
-
}>, Schema.Schema<import("../bounded-collections.js").BoundArray<readonly [string, any]>, import("../bounded-collections.js").BoundArray<readonly [string, any]>, never>>;
|
|
69
|
-
}>;
|
|
70
|
-
}>;
|
|
71
|
-
export declare class DebugInfoRes extends DebugInfoRes_base {
|
|
72
|
-
}
|
|
73
|
-
declare const DebugInfoResetReq_base: Schema.TaggedStruct<"LSD.DebugInfoResetReq", {
|
|
74
|
-
requestId: typeof Schema.String;
|
|
75
|
-
channelId: typeof Schema.String;
|
|
76
|
-
}>;
|
|
77
|
-
export declare class DebugInfoResetReq extends DebugInfoResetReq_base {
|
|
78
|
-
}
|
|
79
|
-
declare const DebugInfoResetRes_base: Schema.TaggedStruct<"LSD.DebugInfoResetRes", {
|
|
80
|
-
requestId: typeof Schema.String;
|
|
81
|
-
}>;
|
|
82
|
-
export declare class DebugInfoResetRes extends DebugInfoResetRes_base {
|
|
83
|
-
}
|
|
84
|
-
declare const DebugInfoRerunQueryReq_base: Schema.TaggedStruct<"LSD.DebugInfoRerunQueryReq", {
|
|
85
|
-
requestId: typeof Schema.String;
|
|
86
|
-
channelId: typeof Schema.String;
|
|
87
|
-
queryStr: typeof Schema.String;
|
|
88
|
-
bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array, readonly number[], never>, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array, readonly number[], never>, typeof Schema.Null]>>]>, "PreparedBindValues">>;
|
|
89
|
-
queriedTables: Schema.ReadonlySet$<typeof Schema.String>;
|
|
90
|
-
}>;
|
|
91
|
-
export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base {
|
|
92
|
-
}
|
|
93
|
-
declare const DebugInfoRerunQueryRes_base: Schema.TaggedStruct<"LSD.DebugInfoRerunQueryRes", {
|
|
94
|
-
requestId: typeof Schema.String;
|
|
95
|
-
}>;
|
|
96
|
-
export declare class DebugInfoRerunQueryRes extends DebugInfoRerunQueryRes_base {
|
|
97
|
-
}
|
|
98
|
-
declare const MutationBroadcast_base: Schema.TaggedStruct<"LSD.MutationBroadcast", {
|
|
99
|
-
requestId: typeof Schema.String;
|
|
100
|
-
mutationEventEncoded: Schema.Struct<{
|
|
101
|
-
mutation: typeof Schema.String;
|
|
102
|
-
args: typeof Schema.Any;
|
|
103
|
-
id: typeof Schema.String;
|
|
104
|
-
}>;
|
|
105
|
-
persisted: typeof Schema.Boolean;
|
|
106
|
-
}>;
|
|
107
|
-
export declare class MutationBroadcast extends MutationBroadcast_base {
|
|
108
|
-
}
|
|
109
|
-
declare const MutationLogReq_base: Schema.TaggedStruct<"LSD.MutationLogReq", {
|
|
110
|
-
requestId: typeof Schema.String;
|
|
111
|
-
channelId: typeof Schema.String;
|
|
112
|
-
}>;
|
|
113
|
-
export declare class MutationLogReq extends MutationLogReq_base {
|
|
114
|
-
}
|
|
115
|
-
declare const MutationLogRes_base: Schema.TaggedStruct<"LSD.MutationLogRes", {
|
|
116
|
-
requestId: typeof Schema.String;
|
|
117
|
-
mutationLog: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
118
|
-
}>;
|
|
119
|
-
export declare class MutationLogRes extends MutationLogRes_base {
|
|
120
|
-
}
|
|
121
|
-
declare const SignalsSubscribe_base: Schema.TaggedStruct<"LSD.SignalsSubscribe", {
|
|
122
|
-
requestId: typeof Schema.String;
|
|
123
|
-
channelId: typeof Schema.String;
|
|
124
|
-
includeResults: typeof Schema.Boolean;
|
|
125
|
-
}>;
|
|
126
|
-
export declare class SignalsSubscribe extends SignalsSubscribe_base {
|
|
127
|
-
}
|
|
128
|
-
declare const SignalsUnsubscribe_base: Schema.TaggedStruct<"LSD.SignalsUnsubscribe", {
|
|
129
|
-
requestId: typeof Schema.String;
|
|
130
|
-
channelId: typeof Schema.String;
|
|
131
|
-
}>;
|
|
132
|
-
export declare class SignalsUnsubscribe extends SignalsUnsubscribe_base {
|
|
133
|
-
}
|
|
134
|
-
declare const SignalsRes_base: Schema.TaggedStruct<"LSD.SignalsRes", {
|
|
135
|
-
requestId: typeof Schema.String;
|
|
136
|
-
signals: typeof Schema.Any;
|
|
137
|
-
}>;
|
|
138
|
-
export declare class SignalsRes extends SignalsRes_base {
|
|
139
|
-
}
|
|
140
|
-
declare const LiveQueriesSubscribe_base: Schema.TaggedStruct<"LSD.LiveQueriesSubscribe", {
|
|
141
|
-
requestId: typeof Schema.String;
|
|
142
|
-
channelId: typeof Schema.String;
|
|
143
|
-
}>;
|
|
144
|
-
export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
|
|
145
|
-
}
|
|
146
|
-
declare const LiveQueriesUnsubscribe_base: Schema.TaggedStruct<"LSD.LiveQueriesUnsubscribe", {
|
|
147
|
-
requestId: typeof Schema.String;
|
|
148
|
-
channelId: typeof Schema.String;
|
|
149
|
-
}>;
|
|
150
|
-
export declare class LiveQueriesUnsubscribe extends LiveQueriesUnsubscribe_base {
|
|
151
|
-
}
|
|
152
|
-
declare const SerializedLiveQuery_base: Schema.Struct<{
|
|
153
|
-
_tag: Schema.Literal<["js", "sql", "graphql"]>;
|
|
154
|
-
id: typeof Schema.Number;
|
|
155
|
-
label: typeof Schema.String;
|
|
156
|
-
runs: typeof Schema.Number;
|
|
157
|
-
executionTimes: Schema.Array$<typeof Schema.Number>;
|
|
158
|
-
lastestResult: typeof Schema.Any;
|
|
159
|
-
activeSubscriptions: Schema.Array$<Schema.Struct<{
|
|
160
|
-
frames: Schema.Array$<Schema.Struct<{
|
|
161
|
-
name: typeof Schema.String;
|
|
162
|
-
filePath: typeof Schema.String;
|
|
163
|
-
}>>;
|
|
164
|
-
}>>;
|
|
165
|
-
}>;
|
|
166
|
-
export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
|
|
167
|
-
}
|
|
168
|
-
declare const LiveQueriesRes_base: Schema.TaggedStruct<"LSD.LiveQueriesRes", {
|
|
169
|
-
requestId: typeof Schema.String;
|
|
170
|
-
liveQueries: Schema.Array$<typeof SerializedLiveQuery>;
|
|
171
|
-
}>;
|
|
172
|
-
export declare class LiveQueriesRes extends LiveQueriesRes_base {
|
|
173
|
-
}
|
|
174
|
-
declare const ResetAllDataReq_base: Schema.TaggedStruct<"LSD.ResetAllDataReq", {
|
|
175
|
-
requestId: typeof Schema.String;
|
|
176
|
-
channelId: typeof Schema.String;
|
|
177
|
-
mode: Schema.Literal<["all-data", "only-app-db"]>;
|
|
178
|
-
}>;
|
|
179
|
-
export declare class ResetAllDataReq extends ResetAllDataReq_base {
|
|
180
|
-
}
|
|
181
|
-
declare const ResetAllDataRes_base: Schema.TaggedStruct<"LSD.ResetAllDataRes", {
|
|
182
|
-
requestId: typeof Schema.String;
|
|
183
|
-
}>;
|
|
184
|
-
export declare class ResetAllDataRes extends ResetAllDataRes_base {
|
|
185
|
-
}
|
|
186
|
-
declare const DevtoolsReadyBroadcast_base: Schema.TaggedStruct<"LSD.DevtoolsReadyBroadcast", {}>;
|
|
187
|
-
export declare class DevtoolsReadyBroadcast extends DevtoolsReadyBroadcast_base {
|
|
188
|
-
}
|
|
189
|
-
declare const AppHostReadyBroadcast_base: Schema.TaggedStruct<"LSD.AppHostReadyBroadcast", {
|
|
190
|
-
channelId: typeof Schema.String;
|
|
191
|
-
}>;
|
|
192
|
-
export declare class AppHostReadyBroadcast extends AppHostReadyBroadcast_base {
|
|
193
|
-
}
|
|
194
|
-
declare const Disconnect_base: Schema.TaggedStruct<"LSD.Disconnect", {
|
|
195
|
-
requestId: typeof Schema.String;
|
|
196
|
-
channelId: typeof Schema.String;
|
|
197
|
-
}>;
|
|
198
|
-
export declare class Disconnect extends Disconnect_base {
|
|
199
|
-
}
|
|
200
|
-
declare const SchemaChanged_base: Schema.TaggedStruct<"LSD.SchemaChanged", {
|
|
201
|
-
requestId: typeof Schema.String;
|
|
202
|
-
}>;
|
|
203
|
-
export declare class SchemaChanged extends SchemaChanged_base {
|
|
204
|
-
}
|
|
205
|
-
export declare const MessageToAppHost: Schema.Union<[typeof SnapshotReq, typeof MutationLogReq, typeof DebugInfoReq, typeof DebugInfoResetReq, typeof DebugInfoRerunQueryReq, typeof SignalsSubscribe, typeof SignalsUnsubscribe, typeof LiveQueriesSubscribe, typeof LiveQueriesUnsubscribe, typeof ResetAllDataReq, typeof DevtoolsReadyBroadcast, typeof Disconnect]>;
|
|
206
|
-
export type MessageToAppHost = typeof MessageToAppHost.Type;
|
|
207
|
-
export declare const MessageFromAppHost: Schema.Union<[typeof SnapshotRes, typeof MutationLogRes, typeof DebugInfoRes, typeof DebugInfoResetRes, typeof DebugInfoRerunQueryRes, typeof SignalsRes, typeof LiveQueriesRes, typeof ResetAllDataRes, typeof Disconnect, typeof SchemaChanged, typeof MutationBroadcast, typeof AppHostReadyBroadcast]>;
|
|
208
|
-
export type MessageFromAppHost = typeof MessageFromAppHost.Type;
|
|
209
|
-
export declare const makeBroadcastChannels: () => {
|
|
210
|
-
fromAppHost: BroadcastChannel;
|
|
211
|
-
toAppHost: BroadcastChannel;
|
|
212
|
-
};
|
|
213
|
-
export {};
|
|
214
|
-
//# sourceMappingURL=index%20copy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index copy.d.ts","sourceRoot":"","sources":["../../src/devtools/index copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;;;;;AAUhD,qBAAa,WAAY,SAAQ,gBAG/B;CAAG;;;;;AAEL,qBAAa,WAAY,SAAQ,gBAG/B;CAAG;;;;;AAEL,qBAAa,YAAa,SAAQ,iBAGhC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,YAAa,SAAQ,iBAGhC;CAAG;;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAGrC;CAAG;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAErC;CAAG;;;;;;;;AAEL,qBAAa,sBAAuB,SAAQ,2BAM1C;CAAG;;;;AAEL,qBAAa,sBAAuB,SAAQ,2BAE1C;CAAG;;;;;;;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAIrC;CAAG;;;;;AAEL,qBAAa,cAAe,SAAQ,mBAGlC;CAAG;;;;;AAEL,qBAAa,cAAe,SAAQ,mBAGlC;CAAG;;;;;;AAEL,qBAAa,gBAAiB,SAAQ,qBAIpC;CAAG;;;;;AAEL,qBAAa,kBAAmB,SAAQ,uBAGtC;CAAG;;;;;AAEL,qBAAa,UAAW,SAAQ,eAG9B;CAAG;;;;;AAEL,qBAAa,oBAAqB,SAAQ,yBAGxC;CAAG;;;;;AAEL,qBAAa,sBAAuB,SAAQ,2BAG1C;CAAG;;;;;;;;;;;;;;;AAEL,qBAAa,mBAAoB,SAAQ,wBAUvC;CAAG;;;;;AAEL,qBAAa,cAAe,SAAQ,mBAGlC;CAAG;;;;;;AAEL,qBAAa,eAAgB,SAAQ,oBAInC;CAAG;;;;AAEL,qBAAa,eAAgB,SAAQ,oBAEnC;CAAG;;AAEL,qBAAa,sBAAuB,SAAQ,2BAAqD;CAAG;;;;AAEpG,qBAAa,qBAAsB,SAAQ,0BAEzC;CAAG;;;;;AAEL,qBAAa,UAAW,SAAQ,eAG9B;CAAG;;;;AAEL,qBAAa,aAAc,SAAQ,kBAEjC;CAAG;AAEL,eAAO,MAAM,gBAAgB,mUAa5B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAA;AAE3D,eAAO,MAAM,kBAAkB,4SAa9B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAA;AAG/D,eAAO,MAAM,qBAAqB;;;CAGhC,CAAA"}
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { Schema } from '@livestore/utils/effect';
|
|
2
|
-
import { DebugInfo } from '../debug-info.js';
|
|
3
|
-
import { mutationEventSchemaEncodedAny } from '../schema/mutations.js';
|
|
4
|
-
import { PreparedBindValues } from '../util.js';
|
|
5
|
-
const requestId = Schema.String;
|
|
6
|
-
const channelId = Schema.String;
|
|
7
|
-
export class SnapshotReq extends Schema.TaggedStruct('LSD.SnapshotReq', {
|
|
8
|
-
requestId,
|
|
9
|
-
channelId,
|
|
10
|
-
}) {
|
|
11
|
-
}
|
|
12
|
-
export class SnapshotRes extends Schema.TaggedStruct('LSD.SnapshotRes', {
|
|
13
|
-
requestId,
|
|
14
|
-
snapshot: Schema.Uint8Array,
|
|
15
|
-
}) {
|
|
16
|
-
}
|
|
17
|
-
export class DebugInfoReq extends Schema.TaggedStruct('LSD.DebugInfoReq', {
|
|
18
|
-
requestId,
|
|
19
|
-
channelId,
|
|
20
|
-
}) {
|
|
21
|
-
}
|
|
22
|
-
export class DebugInfoRes extends Schema.TaggedStruct('LSD.DebugInfoRes', {
|
|
23
|
-
requestId,
|
|
24
|
-
debugInfo: DebugInfo,
|
|
25
|
-
}) {
|
|
26
|
-
}
|
|
27
|
-
export class DebugInfoResetReq extends Schema.TaggedStruct('LSD.DebugInfoResetReq', {
|
|
28
|
-
requestId,
|
|
29
|
-
channelId,
|
|
30
|
-
}) {
|
|
31
|
-
}
|
|
32
|
-
export class DebugInfoResetRes extends Schema.TaggedStruct('LSD.DebugInfoResetRes', {
|
|
33
|
-
requestId,
|
|
34
|
-
}) {
|
|
35
|
-
}
|
|
36
|
-
export class DebugInfoRerunQueryReq extends Schema.TaggedStruct('LSD.DebugInfoRerunQueryReq', {
|
|
37
|
-
requestId,
|
|
38
|
-
channelId,
|
|
39
|
-
queryStr: Schema.String,
|
|
40
|
-
bindValues: Schema.UndefinedOr(PreparedBindValues),
|
|
41
|
-
queriedTables: Schema.ReadonlySet(Schema.String),
|
|
42
|
-
}) {
|
|
43
|
-
}
|
|
44
|
-
export class DebugInfoRerunQueryRes extends Schema.TaggedStruct('LSD.DebugInfoRerunQueryRes', {
|
|
45
|
-
requestId,
|
|
46
|
-
}) {
|
|
47
|
-
}
|
|
48
|
-
export class MutationBroadcast extends Schema.TaggedStruct('LSD.MutationBroadcast', {
|
|
49
|
-
requestId,
|
|
50
|
-
mutationEventEncoded: mutationEventSchemaEncodedAny,
|
|
51
|
-
persisted: Schema.Boolean,
|
|
52
|
-
}) {
|
|
53
|
-
}
|
|
54
|
-
export class MutationLogReq extends Schema.TaggedStruct('LSD.MutationLogReq', {
|
|
55
|
-
requestId,
|
|
56
|
-
channelId,
|
|
57
|
-
}) {
|
|
58
|
-
}
|
|
59
|
-
export class MutationLogRes extends Schema.TaggedStruct('LSD.MutationLogRes', {
|
|
60
|
-
requestId,
|
|
61
|
-
mutationLog: Schema.Uint8Array,
|
|
62
|
-
}) {
|
|
63
|
-
}
|
|
64
|
-
export class SignalsSubscribe extends Schema.TaggedStruct('LSD.SignalsSubscribe', {
|
|
65
|
-
requestId,
|
|
66
|
-
channelId,
|
|
67
|
-
includeResults: Schema.Boolean,
|
|
68
|
-
}) {
|
|
69
|
-
}
|
|
70
|
-
export class SignalsUnsubscribe extends Schema.TaggedStruct('LSD.SignalsUnsubscribe', {
|
|
71
|
-
requestId,
|
|
72
|
-
channelId,
|
|
73
|
-
}) {
|
|
74
|
-
}
|
|
75
|
-
export class SignalsRes extends Schema.TaggedStruct('LSD.SignalsRes', {
|
|
76
|
-
requestId,
|
|
77
|
-
signals: Schema.Any,
|
|
78
|
-
}) {
|
|
79
|
-
}
|
|
80
|
-
export class LiveQueriesSubscribe extends Schema.TaggedStruct('LSD.LiveQueriesSubscribe', {
|
|
81
|
-
requestId,
|
|
82
|
-
channelId,
|
|
83
|
-
}) {
|
|
84
|
-
}
|
|
85
|
-
export class LiveQueriesUnsubscribe extends Schema.TaggedStruct('LSD.LiveQueriesUnsubscribe', {
|
|
86
|
-
requestId,
|
|
87
|
-
channelId,
|
|
88
|
-
}) {
|
|
89
|
-
}
|
|
90
|
-
export class SerializedLiveQuery extends Schema.Struct({
|
|
91
|
-
_tag: Schema.Literal('js', 'sql', 'graphql'),
|
|
92
|
-
id: Schema.Number,
|
|
93
|
-
label: Schema.String,
|
|
94
|
-
runs: Schema.Number,
|
|
95
|
-
executionTimes: Schema.Array(Schema.Number),
|
|
96
|
-
lastestResult: Schema.Any,
|
|
97
|
-
activeSubscriptions: Schema.Array(Schema.Struct({ frames: Schema.Array(Schema.Struct({ name: Schema.String, filePath: Schema.String })) })),
|
|
98
|
-
}) {
|
|
99
|
-
}
|
|
100
|
-
export class LiveQueriesRes extends Schema.TaggedStruct('LSD.LiveQueriesRes', {
|
|
101
|
-
requestId,
|
|
102
|
-
liveQueries: Schema.Array(SerializedLiveQuery),
|
|
103
|
-
}) {
|
|
104
|
-
}
|
|
105
|
-
export class ResetAllDataReq extends Schema.TaggedStruct('LSD.ResetAllDataReq', {
|
|
106
|
-
requestId,
|
|
107
|
-
channelId,
|
|
108
|
-
mode: Schema.Literal('all-data', 'only-app-db'),
|
|
109
|
-
}) {
|
|
110
|
-
}
|
|
111
|
-
export class ResetAllDataRes extends Schema.TaggedStruct('LSD.ResetAllDataRes', {
|
|
112
|
-
requestId,
|
|
113
|
-
}) {
|
|
114
|
-
}
|
|
115
|
-
export class DevtoolsReadyBroadcast extends Schema.TaggedStruct('LSD.DevtoolsReadyBroadcast', {}) {
|
|
116
|
-
}
|
|
117
|
-
export class AppHostReadyBroadcast extends Schema.TaggedStruct('LSD.AppHostReadyBroadcast', {
|
|
118
|
-
channelId,
|
|
119
|
-
}) {
|
|
120
|
-
}
|
|
121
|
-
export class Disconnect extends Schema.TaggedStruct('LSD.Disconnect', {
|
|
122
|
-
requestId,
|
|
123
|
-
channelId,
|
|
124
|
-
}) {
|
|
125
|
-
}
|
|
126
|
-
export class SchemaChanged extends Schema.TaggedStruct('LSD.SchemaChanged', {
|
|
127
|
-
requestId,
|
|
128
|
-
}) {
|
|
129
|
-
}
|
|
130
|
-
export const MessageToAppHost = Schema.Union(SnapshotReq, MutationLogReq, DebugInfoReq, DebugInfoResetReq, DebugInfoRerunQueryReq, SignalsSubscribe, SignalsUnsubscribe, LiveQueriesSubscribe, LiveQueriesUnsubscribe, ResetAllDataReq, DevtoolsReadyBroadcast, Disconnect);
|
|
131
|
-
export const MessageFromAppHost = Schema.Union(SnapshotRes, MutationLogRes, DebugInfoRes, DebugInfoResetRes, DebugInfoRerunQueryRes, SignalsRes, LiveQueriesRes, ResetAllDataRes, Disconnect, SchemaChanged, MutationBroadcast, AppHostReadyBroadcast);
|
|
132
|
-
// TODO make specific over app key
|
|
133
|
-
export const makeBroadcastChannels = () => ({
|
|
134
|
-
fromAppHost: new BroadcastChannel(`livestore-devtools-from-app-host`),
|
|
135
|
-
toAppHost: new BroadcastChannel(`livestore-devtools-to-app-host`),
|
|
136
|
-
});
|
|
137
|
-
//# sourceMappingURL=index%20copy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index copy.js","sourceRoot":"","sources":["../../src/devtools/index copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAGhD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAA;AAC/B,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAA;AAE/B,MAAM,OAAO,WAAY,SAAQ,MAAM,CAAC,YAAY,CAAC,iBAAiB,EAAE;IACtE,SAAS;IACT,SAAS;CACV,CAAC;CAAG;AAEL,MAAM,OAAO,WAAY,SAAQ,MAAM,CAAC,YAAY,CAAC,iBAAiB,EAAE;IACtE,SAAS;IACT,QAAQ,EAAE,MAAM,CAAC,UAAU;CAC5B,CAAC;CAAG;AAEL,MAAM,OAAO,YAAa,SAAQ,MAAM,CAAC,YAAY,CAAC,kBAAkB,EAAE;IACxE,SAAS;IACT,SAAS;CACV,CAAC;CAAG;AAEL,MAAM,OAAO,YAAa,SAAQ,MAAM,CAAC,YAAY,CAAC,kBAAkB,EAAE;IACxE,SAAS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