@livestore/common 0.0.54-dev.19 → 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 +4 -0
- package/dist/debug-info.d.ts.map +1 -1
- package/dist/debug-info.js +2 -2
- package/dist/debug-info.js.map +1 -1
- package/dist/devtools/devtools-messages.d.ts +120 -32
- package/dist/devtools/devtools-messages.d.ts.map +1 -1
- package/dist/devtools/devtools-messages.js +57 -33
- 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 +2 -9
- package/src/devtools/devtools-messages.ts +64 -36
- package/src/schema/mutations.ts +7 -4
|
@@ -22,7 +22,7 @@ export declare class BoundArray<V> {
|
|
|
22
22
|
#private;
|
|
23
23
|
sizeLimit: number;
|
|
24
24
|
constructor(sizeLimit: number);
|
|
25
|
-
static make: <V_1>(sizeLimit: number, initial?:
|
|
25
|
+
static make: <V_1>(sizeLimit: number, initial?: Iterable<V_1>) => BoundArray<V_1>;
|
|
26
26
|
onEvict: ((key: V) => void) | undefined;
|
|
27
27
|
push: (v: V) => void;
|
|
28
28
|
get: (index: number) => V | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bounded-collections.d.ts","sourceRoot":"","sources":["../src/bounded-collections.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,qBAAa,QAAQ,CAAC,CAAC,EAAE,CAAC;;gBAIZ,SAAS,EAAE,MAAM;IAI7B,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,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E;QACrC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC7B,CAAC,CAAA"}
|
package/dist/debug-info.d.ts
CHANGED
|
@@ -17,6 +17,10 @@ export declare const SlowQueryInfo: Schema.Struct<{
|
|
|
17
17
|
queriedTables: Schema.ReadonlySet$<typeof Schema.String>;
|
|
18
18
|
startTimePerfNow: typeof Schema.Number;
|
|
19
19
|
}>;
|
|
20
|
+
export declare const BoundArraySchema: <ItemDecoded, ItemEncoded>(elSchema: Schema.Schema<ItemDecoded, ItemEncoded>) => Schema.transform<Schema.Struct<{
|
|
21
|
+
size: typeof Schema.Number;
|
|
22
|
+
items: Schema.Array$<Schema.Schema<ItemDecoded, ItemEncoded, never>>;
|
|
23
|
+
}>, Schema.Schema<BoundArray<ItemDecoded>, BoundArray<ItemDecoded>, never>>;
|
|
20
24
|
export declare const DebugInfo: Schema.Struct<{
|
|
21
25
|
slowQueries: Schema.transform<Schema.Struct<{
|
|
22
26
|
size: typeof Schema.Number;
|
package/dist/debug-info.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-info.d.ts","sourceRoot":"","sources":["../src/debug-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,gBAAgB,EAAE,mBAAmB,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;EAOxB,CAAA;
|
|
1
|
+
{"version":3,"file":"debug-info.d.ts","sourceRoot":"","sources":["../src/debug-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE9C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,gBAAgB,EAAE,mBAAmB,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;EAOxB,CAAA;AA+BF,eAAO,MAAM,gBAAgB,uCAAwC,OAAO,MAAM,CAAC,WAAW,EAAE,WAAW,CAAC;;;2EAWzG,CAAA;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpB,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,IAAI,CAAA;AAE7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4B,CAAA;AACzD,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAA"}
|
package/dist/debug-info.js
CHANGED
|
@@ -30,10 +30,10 @@ const BoundArraySchemaFromSelf = (item) => Schema.declare([item], {
|
|
|
30
30
|
arbitrary: () => (fc) => fc.anything(),
|
|
31
31
|
equivalence: () => (a, b) => a === b,
|
|
32
32
|
});
|
|
33
|
-
const BoundArraySchema = (elSchema) => Schema.transform(Schema.Struct({
|
|
33
|
+
export const BoundArraySchema = (elSchema) => Schema.transform(Schema.Struct({
|
|
34
34
|
size: Schema.Number,
|
|
35
35
|
items: Schema.Array(elSchema),
|
|
36
|
-
}), BoundArraySchemaFromSelf(elSchema), {
|
|
36
|
+
}), BoundArraySchemaFromSelf(Schema.typeSchema(elSchema)), {
|
|
37
37
|
encode: (_) => ({ size: _.sizeLimit, items: [..._] }),
|
|
38
38
|
decode: (_) => BoundArray.make(_.size, _.items),
|
|
39
39
|
});
|
package/dist/debug-info.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-info.js","sourceRoot":"","sources":["../src/debug-info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAE7D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAW9C,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,MAAM,CAAC,MAAM;IACvB,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,kBAAkB,CAAC;IAClD,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;IAChD,gBAAgB,EAAE,MAAM,CAAC,MAAM;CAChC,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAAG,CAC/B,IAA4B,EACoB,EAAE,CAClD,MAAM,CAAC,OAAO,CACZ,CAAC,IAAI,CAAC,EACN;IACE,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,EAAE;QAC7C,IAAI,KAAK,YAAY,UAAU,EAAE,CAAC;YAChC,MAAM,QAAQ,GAAG,WAAW,CAAC,aAAa,CAA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AS,CACd,MAAM,CAAC,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC;CAC9B,CAAC,EACF,wBAAwB,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,EACrD;IACE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;IACrD,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC;CAChD,CACF,CAAA;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC;IACrC,WAAW,EAAE,gBAAgB,CAAC,aAAa,CAAC;IAC5C,kBAAkB,EAAE,MAAM,CAAC,MAAM;IACjC,eAAe,EAAE,MAAM,CAAC,MAAM;IAC9B,MAAM,EAAE,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC;CAClE,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA"}
|
|
@@ -1,26 +1,52 @@
|
|
|
1
1
|
import { Schema } from '@livestore/utils/effect';
|
|
2
|
-
declare const SnapshotReq_base: Schema.
|
|
2
|
+
declare const SnapshotReq_base: Schema.Struct<{
|
|
3
|
+
_tag: Schema.tag<"LSD.SnapshotReq">;
|
|
4
|
+
} & {
|
|
3
5
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
4
6
|
requestId: typeof Schema.String;
|
|
5
7
|
channelId: typeof Schema.String;
|
|
6
8
|
}>;
|
|
7
9
|
export declare class SnapshotReq extends SnapshotReq_base {
|
|
8
10
|
}
|
|
9
|
-
declare const SnapshotRes_base: Schema.
|
|
11
|
+
declare const SnapshotRes_base: Schema.Struct<{
|
|
12
|
+
_tag: Schema.tag<"LSD.SnapshotRes">;
|
|
13
|
+
} & {
|
|
10
14
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
11
15
|
requestId: typeof Schema.String;
|
|
12
16
|
snapshot: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
13
17
|
}>;
|
|
14
18
|
export declare class SnapshotRes extends SnapshotRes_base {
|
|
15
19
|
}
|
|
16
|
-
declare const
|
|
20
|
+
declare const LoadSnapshotReq_base: Schema.Struct<{
|
|
21
|
+
_tag: Schema.tag<"LSD.LoadSnapshotReq">;
|
|
22
|
+
} & {
|
|
23
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
24
|
+
requestId: typeof Schema.String;
|
|
25
|
+
channelId: typeof Schema.String;
|
|
26
|
+
snapshot: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
27
|
+
}>;
|
|
28
|
+
export declare class LoadSnapshotReq extends LoadSnapshotReq_base {
|
|
29
|
+
}
|
|
30
|
+
declare const LoadSnapshotRes_base: Schema.Struct<{
|
|
31
|
+
_tag: Schema.tag<"LSD.LoadSnapshotRes">;
|
|
32
|
+
} & {
|
|
33
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
34
|
+
requestId: typeof Schema.String;
|
|
35
|
+
}>;
|
|
36
|
+
export declare class LoadSnapshotRes extends LoadSnapshotRes_base {
|
|
37
|
+
}
|
|
38
|
+
declare const DebugInfoReq_base: Schema.Struct<{
|
|
39
|
+
_tag: Schema.tag<"LSD.DebugInfoReq">;
|
|
40
|
+
} & {
|
|
17
41
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
18
42
|
requestId: typeof Schema.String;
|
|
19
43
|
channelId: typeof Schema.String;
|
|
20
44
|
}>;
|
|
21
45
|
export declare class DebugInfoReq extends DebugInfoReq_base {
|
|
22
46
|
}
|
|
23
|
-
declare const DebugInfoRes_base: Schema.
|
|
47
|
+
declare const DebugInfoRes_base: Schema.Struct<{
|
|
48
|
+
_tag: Schema.tag<"LSD.DebugInfoRes">;
|
|
49
|
+
} & {
|
|
24
50
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
25
51
|
requestId: typeof Schema.String;
|
|
26
52
|
debugInfo: Schema.Struct<{
|
|
@@ -74,20 +100,26 @@ declare const DebugInfoRes_base: Schema.TaggedStruct<"LSD.DebugInfoRes", {
|
|
|
74
100
|
}>;
|
|
75
101
|
export declare class DebugInfoRes extends DebugInfoRes_base {
|
|
76
102
|
}
|
|
77
|
-
declare const DebugInfoResetReq_base: Schema.
|
|
103
|
+
declare const DebugInfoResetReq_base: Schema.Struct<{
|
|
104
|
+
_tag: Schema.tag<"LSD.DebugInfoResetReq">;
|
|
105
|
+
} & {
|
|
78
106
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
79
107
|
requestId: typeof Schema.String;
|
|
80
108
|
channelId: typeof Schema.String;
|
|
81
109
|
}>;
|
|
82
110
|
export declare class DebugInfoResetReq extends DebugInfoResetReq_base {
|
|
83
111
|
}
|
|
84
|
-
declare const DebugInfoResetRes_base: Schema.
|
|
112
|
+
declare const DebugInfoResetRes_base: Schema.Struct<{
|
|
113
|
+
_tag: Schema.tag<"LSD.DebugInfoResetRes">;
|
|
114
|
+
} & {
|
|
85
115
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
86
116
|
requestId: typeof Schema.String;
|
|
87
117
|
}>;
|
|
88
118
|
export declare class DebugInfoResetRes extends DebugInfoResetRes_base {
|
|
89
119
|
}
|
|
90
|
-
declare const DebugInfoRerunQueryReq_base: Schema.
|
|
120
|
+
declare const DebugInfoRerunQueryReq_base: Schema.Struct<{
|
|
121
|
+
_tag: Schema.tag<"LSD.DebugInfoRerunQueryReq">;
|
|
122
|
+
} & {
|
|
91
123
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
92
124
|
requestId: typeof Schema.String;
|
|
93
125
|
channelId: typeof Schema.String;
|
|
@@ -97,13 +129,17 @@ declare const DebugInfoRerunQueryReq_base: Schema.TaggedStruct<"LSD.DebugInfoRer
|
|
|
97
129
|
}>;
|
|
98
130
|
export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base {
|
|
99
131
|
}
|
|
100
|
-
declare const DebugInfoRerunQueryRes_base: Schema.
|
|
132
|
+
declare const DebugInfoRerunQueryRes_base: Schema.Struct<{
|
|
133
|
+
_tag: Schema.tag<"LSD.DebugInfoRerunQueryRes">;
|
|
134
|
+
} & {
|
|
101
135
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
102
136
|
requestId: typeof Schema.String;
|
|
103
137
|
}>;
|
|
104
138
|
export declare class DebugInfoRerunQueryRes extends DebugInfoRerunQueryRes_base {
|
|
105
139
|
}
|
|
106
|
-
declare const MutationBroadcast_base: Schema.
|
|
140
|
+
declare const MutationBroadcast_base: Schema.Struct<{
|
|
141
|
+
_tag: Schema.tag<"LSD.MutationBroadcast">;
|
|
142
|
+
} & {
|
|
107
143
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
108
144
|
mutationEventEncoded: Schema.Struct<{
|
|
109
145
|
mutation: typeof Schema.String;
|
|
@@ -114,7 +150,9 @@ declare const MutationBroadcast_base: Schema.TaggedStruct<"LSD.MutationBroadcast
|
|
|
114
150
|
}>;
|
|
115
151
|
export declare class MutationBroadcast extends MutationBroadcast_base {
|
|
116
152
|
}
|
|
117
|
-
declare const RunMutationReq_base: Schema.
|
|
153
|
+
declare const RunMutationReq_base: Schema.Struct<{
|
|
154
|
+
_tag: Schema.tag<"LSD.RunMutationReq">;
|
|
155
|
+
} & {
|
|
118
156
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
119
157
|
requestId: typeof Schema.String;
|
|
120
158
|
channelId: typeof Schema.String;
|
|
@@ -127,21 +165,27 @@ declare const RunMutationReq_base: Schema.TaggedStruct<"LSD.RunMutationReq", {
|
|
|
127
165
|
}>;
|
|
128
166
|
export declare class RunMutationReq extends RunMutationReq_base {
|
|
129
167
|
}
|
|
130
|
-
declare const RunMutationRes_base: Schema.
|
|
168
|
+
declare const RunMutationRes_base: Schema.Struct<{
|
|
169
|
+
_tag: Schema.tag<"LSD.RunMutationRes">;
|
|
170
|
+
} & {
|
|
131
171
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
132
172
|
requestId: typeof Schema.String;
|
|
133
173
|
channelId: typeof Schema.String;
|
|
134
174
|
}>;
|
|
135
175
|
export declare class RunMutationRes extends RunMutationRes_base {
|
|
136
176
|
}
|
|
137
|
-
declare const MutationLogReq_base: Schema.
|
|
177
|
+
declare const MutationLogReq_base: Schema.Struct<{
|
|
178
|
+
_tag: Schema.tag<"LSD.MutationLogReq">;
|
|
179
|
+
} & {
|
|
138
180
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
139
181
|
requestId: typeof Schema.String;
|
|
140
182
|
channelId: typeof Schema.String;
|
|
141
183
|
}>;
|
|
142
184
|
export declare class MutationLogReq extends MutationLogReq_base {
|
|
143
185
|
}
|
|
144
|
-
declare const MutationLogRes_base: Schema.
|
|
186
|
+
declare const MutationLogRes_base: Schema.Struct<{
|
|
187
|
+
_tag: Schema.tag<"LSD.MutationLogRes">;
|
|
188
|
+
} & {
|
|
145
189
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
146
190
|
requestId: typeof Schema.String;
|
|
147
191
|
channelId: typeof Schema.String;
|
|
@@ -149,36 +193,64 @@ declare const MutationLogRes_base: Schema.TaggedStruct<"LSD.MutationLogRes", {
|
|
|
149
193
|
}>;
|
|
150
194
|
export declare class MutationLogRes extends MutationLogRes_base {
|
|
151
195
|
}
|
|
152
|
-
declare const
|
|
196
|
+
declare const LoadMutationLogReq_base: Schema.Struct<{
|
|
197
|
+
_tag: Schema.tag<"LSD.LoadMutationLogReq">;
|
|
198
|
+
} & {
|
|
199
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
200
|
+
requestId: typeof Schema.String;
|
|
201
|
+
channelId: typeof Schema.String;
|
|
202
|
+
mutationLog: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
203
|
+
}>;
|
|
204
|
+
export declare class LoadMutationLogReq extends LoadMutationLogReq_base {
|
|
205
|
+
}
|
|
206
|
+
declare const LoadMutationLogRes_base: Schema.Struct<{
|
|
207
|
+
_tag: Schema.tag<"LSD.LoadMutationLogRes">;
|
|
208
|
+
} & {
|
|
209
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
210
|
+
requestId: typeof Schema.String;
|
|
211
|
+
}>;
|
|
212
|
+
export declare class LoadMutationLogRes extends LoadMutationLogRes_base {
|
|
213
|
+
}
|
|
214
|
+
declare const ReactivityGraphSubscribe_base: Schema.Struct<{
|
|
215
|
+
_tag: Schema.tag<"LSD.ReactivityGraphSubscribe">;
|
|
216
|
+
} & {
|
|
153
217
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
154
218
|
requestId: typeof Schema.String;
|
|
155
219
|
channelId: typeof Schema.String;
|
|
156
220
|
includeResults: typeof Schema.Boolean;
|
|
157
221
|
}>;
|
|
158
|
-
export declare class
|
|
222
|
+
export declare class ReactivityGraphSubscribe extends ReactivityGraphSubscribe_base {
|
|
159
223
|
}
|
|
160
|
-
declare const
|
|
224
|
+
declare const ReactivityGraphUnsubscribe_base: Schema.Struct<{
|
|
225
|
+
_tag: Schema.tag<"LSD.ReactivityGraphUnsubscribe">;
|
|
226
|
+
} & {
|
|
161
227
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
162
228
|
requestId: typeof Schema.String;
|
|
163
229
|
channelId: typeof Schema.String;
|
|
164
230
|
}>;
|
|
165
|
-
export declare class
|
|
231
|
+
export declare class ReactivityGraphUnsubscribe extends ReactivityGraphUnsubscribe_base {
|
|
166
232
|
}
|
|
167
|
-
declare const
|
|
233
|
+
declare const ReactivityGraphRes_base: Schema.Struct<{
|
|
234
|
+
_tag: Schema.tag<"LSD.ReactivityGraphRes">;
|
|
235
|
+
} & {
|
|
168
236
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
169
237
|
requestId: typeof Schema.String;
|
|
170
|
-
|
|
238
|
+
reactivityGraph: typeof Schema.Any;
|
|
171
239
|
}>;
|
|
172
|
-
export declare class
|
|
240
|
+
export declare class ReactivityGraphRes extends ReactivityGraphRes_base {
|
|
173
241
|
}
|
|
174
|
-
declare const LiveQueriesSubscribe_base: Schema.
|
|
242
|
+
declare const LiveQueriesSubscribe_base: Schema.Struct<{
|
|
243
|
+
_tag: Schema.tag<"LSD.LiveQueriesSubscribe">;
|
|
244
|
+
} & {
|
|
175
245
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
176
246
|
requestId: typeof Schema.String;
|
|
177
247
|
channelId: typeof Schema.String;
|
|
178
248
|
}>;
|
|
179
249
|
export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
|
|
180
250
|
}
|
|
181
|
-
declare const LiveQueriesUnsubscribe_base: Schema.
|
|
251
|
+
declare const LiveQueriesUnsubscribe_base: Schema.Struct<{
|
|
252
|
+
_tag: Schema.tag<"LSD.LiveQueriesUnsubscribe">;
|
|
253
|
+
} & {
|
|
182
254
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
183
255
|
requestId: typeof Schema.String;
|
|
184
256
|
channelId: typeof Schema.String;
|
|
@@ -201,14 +273,18 @@ declare const SerializedLiveQuery_base: Schema.Struct<{
|
|
|
201
273
|
}>;
|
|
202
274
|
export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
|
|
203
275
|
}
|
|
204
|
-
declare const LiveQueriesRes_base: Schema.
|
|
276
|
+
declare const LiveQueriesRes_base: Schema.Struct<{
|
|
277
|
+
_tag: Schema.tag<"LSD.LiveQueriesRes">;
|
|
278
|
+
} & {
|
|
205
279
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
206
280
|
requestId: typeof Schema.String;
|
|
207
281
|
liveQueries: Schema.Array$<typeof SerializedLiveQuery>;
|
|
208
282
|
}>;
|
|
209
283
|
export declare class LiveQueriesRes extends LiveQueriesRes_base {
|
|
210
284
|
}
|
|
211
|
-
declare const ResetAllDataReq_base: Schema.
|
|
285
|
+
declare const ResetAllDataReq_base: Schema.Struct<{
|
|
286
|
+
_tag: Schema.tag<"LSD.ResetAllDataReq">;
|
|
287
|
+
} & {
|
|
212
288
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
213
289
|
requestId: typeof Schema.String;
|
|
214
290
|
channelId: typeof Schema.String;
|
|
@@ -216,13 +292,17 @@ declare const ResetAllDataReq_base: Schema.TaggedStruct<"LSD.ResetAllDataReq", {
|
|
|
216
292
|
}>;
|
|
217
293
|
export declare class ResetAllDataReq extends ResetAllDataReq_base {
|
|
218
294
|
}
|
|
219
|
-
declare const ResetAllDataRes_base: Schema.
|
|
295
|
+
declare const ResetAllDataRes_base: Schema.Struct<{
|
|
296
|
+
_tag: Schema.tag<"LSD.ResetAllDataRes">;
|
|
297
|
+
} & {
|
|
220
298
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
221
299
|
requestId: typeof Schema.String;
|
|
222
300
|
}>;
|
|
223
301
|
export declare class ResetAllDataRes extends ResetAllDataRes_base {
|
|
224
302
|
}
|
|
225
|
-
declare const NetworkStatusChanged_base: Schema.
|
|
303
|
+
declare const NetworkStatusChanged_base: Schema.Struct<{
|
|
304
|
+
_tag: Schema.tag<"LSD.NetworkStatusChanged">;
|
|
305
|
+
} & {
|
|
226
306
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
227
307
|
channelId: typeof Schema.String;
|
|
228
308
|
networkStatus: Schema.Struct<{
|
|
@@ -232,33 +312,41 @@ declare const NetworkStatusChanged_base: Schema.TaggedStruct<"LSD.NetworkStatusC
|
|
|
232
312
|
}>;
|
|
233
313
|
export declare class NetworkStatusChanged extends NetworkStatusChanged_base {
|
|
234
314
|
}
|
|
235
|
-
declare const DevtoolsReady_base: Schema.
|
|
315
|
+
declare const DevtoolsReady_base: Schema.Struct<{
|
|
316
|
+
_tag: Schema.tag<"LSD.DevtoolsReady">;
|
|
317
|
+
} & {
|
|
236
318
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
237
319
|
}>;
|
|
238
320
|
export declare class DevtoolsReady extends DevtoolsReady_base {
|
|
239
321
|
}
|
|
240
|
-
declare const DevtoolsConnected_base: Schema.
|
|
322
|
+
declare const DevtoolsConnected_base: Schema.Struct<{
|
|
323
|
+
_tag: Schema.tag<"LSD.DevtoolsConnected">;
|
|
324
|
+
} & {
|
|
241
325
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
242
326
|
channelId: typeof Schema.String;
|
|
243
327
|
}>;
|
|
244
328
|
export declare class DevtoolsConnected extends DevtoolsConnected_base {
|
|
245
329
|
}
|
|
246
|
-
declare const AppHostReady_base: Schema.
|
|
330
|
+
declare const AppHostReady_base: Schema.Struct<{
|
|
331
|
+
_tag: Schema.tag<"LSD.AppHostReady">;
|
|
332
|
+
} & {
|
|
247
333
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
248
334
|
channelId: typeof Schema.String;
|
|
249
335
|
}>;
|
|
250
336
|
export declare class AppHostReady extends AppHostReady_base {
|
|
251
337
|
}
|
|
252
|
-
declare const Disconnect_base: Schema.
|
|
338
|
+
declare const Disconnect_base: Schema.Struct<{
|
|
339
|
+
_tag: Schema.tag<"LSD.Disconnect">;
|
|
340
|
+
} & {
|
|
253
341
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
254
342
|
requestId: typeof Schema.String;
|
|
255
343
|
channelId: typeof Schema.String;
|
|
256
344
|
}>;
|
|
257
345
|
export declare class Disconnect extends Disconnect_base {
|
|
258
346
|
}
|
|
259
|
-
export declare const MessageToAppHost: Schema.Union<[typeof SnapshotReq, typeof MutationLogReq, typeof DebugInfoReq, typeof DebugInfoResetReq, typeof DebugInfoRerunQueryReq, typeof
|
|
347
|
+
export declare const MessageToAppHost: Schema.Union<[typeof SnapshotReq, typeof LoadSnapshotReq, typeof MutationLogReq, typeof LoadMutationLogReq, typeof DebugInfoReq, typeof DebugInfoResetReq, typeof DebugInfoRerunQueryReq, typeof ReactivityGraphSubscribe, typeof ReactivityGraphUnsubscribe, typeof LiveQueriesSubscribe, typeof LiveQueriesUnsubscribe, typeof ResetAllDataReq, typeof DevtoolsReady, typeof Disconnect, typeof DevtoolsConnected, typeof RunMutationReq]>;
|
|
260
348
|
export type MessageToAppHost = typeof MessageToAppHost.Type;
|
|
261
|
-
export declare const MessageFromAppHost: Schema.Union<[typeof SnapshotRes, typeof MutationLogRes, typeof DebugInfoRes, typeof DebugInfoResetRes, typeof DebugInfoRerunQueryRes, typeof
|
|
349
|
+
export declare const MessageFromAppHost: Schema.Union<[typeof SnapshotRes, typeof LoadSnapshotRes, typeof MutationLogRes, typeof LoadMutationLogRes, typeof DebugInfoRes, typeof DebugInfoResetRes, typeof DebugInfoRerunQueryRes, typeof ReactivityGraphRes, typeof LiveQueriesRes, typeof ResetAllDataRes, typeof Disconnect, typeof MutationBroadcast, typeof AppHostReady, typeof NetworkStatusChanged, typeof RunMutationRes]>;
|
|
262
350
|
export type MessageFromAppHost = typeof MessageFromAppHost.Type;
|
|
263
351
|
export declare const makeBroadcastChannels: () => {
|
|
264
352
|
fromAppHost: BroadcastChannel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devtools-messages.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA
|
|
1
|
+
{"version":3,"file":"devtools-messages.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;;;;;;;;AAYhD,qBAAa,WAAY,SAAQ,gBAIgB;CAAG;;;;;;;;AAEpD,qBAAa,WAAY,SAAQ,gBAIgB;CAAG;;;;;;;;;AAEpD,qBAAa,eAAgB,SAAQ,oBAKgB;CAAG;;;;;;;AAExD,qBAAa,eAAgB,SAAQ,oBAGgB;CAAG;;;;;;;;AAExD,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AAqB,SAAQ,yBAIgB;CAAG;;;;;;AAE7D,qBAAa,aAAc,SAAQ,kBAEgB;CAAG;;;;;;;AAEtD,qBAAa,iBAAkB,SAAQ,sBAGgB;CAAG;;;;;;;AAE1D,qBAAa,YAAa,SAAQ,iBAGgB;CAAG;;;;;;;;AAErD,qBAAa,UAAW,SAAQ,eAIgB;CAAG;AAEnD,eAAO,MAAM,gBAAgB,8aAiBwB,CAAA;AAErD,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAA;AAE3D,eAAO,MAAM,kBAAkB,4XAgBwB,CAAA;AAEvD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAA;AAG/D,eAAO,MAAM,qBAAqB;;;CAGhC,CAAA"}
|
|
@@ -11,36 +11,48 @@ export class SnapshotReq extends Schema.TaggedStruct('LSD.SnapshotReq', {
|
|
|
11
11
|
liveStoreVersion,
|
|
12
12
|
requestId,
|
|
13
13
|
channelId,
|
|
14
|
-
}) {
|
|
14
|
+
}).annotations({ identifier: 'LSD.SnapshotReq' }) {
|
|
15
15
|
}
|
|
16
16
|
export class SnapshotRes extends Schema.TaggedStruct('LSD.SnapshotRes', {
|
|
17
17
|
liveStoreVersion,
|
|
18
18
|
requestId,
|
|
19
19
|
snapshot: Schema.Uint8Array,
|
|
20
|
-
}) {
|
|
20
|
+
}).annotations({ identifier: 'LSD.SnapshotRes' }) {
|
|
21
|
+
}
|
|
22
|
+
export class LoadSnapshotReq extends Schema.TaggedStruct('LSD.LoadSnapshotReq', {
|
|
23
|
+
liveStoreVersion,
|
|
24
|
+
requestId,
|
|
25
|
+
channelId,
|
|
26
|
+
snapshot: Schema.Uint8Array,
|
|
27
|
+
}).annotations({ identifier: 'LSD.LoadSnapshotReq' }) {
|
|
28
|
+
}
|
|
29
|
+
export class LoadSnapshotRes extends Schema.TaggedStruct('LSD.LoadSnapshotRes', {
|
|
30
|
+
liveStoreVersion,
|
|
31
|
+
requestId,
|
|
32
|
+
}).annotations({ identifier: 'LSD.LoadSnapshotRes' }) {
|
|
21
33
|
}
|
|
22
34
|
export class DebugInfoReq extends Schema.TaggedStruct('LSD.DebugInfoReq', {
|
|
23
35
|
liveStoreVersion,
|
|
24
36
|
requestId,
|
|
25
37
|
channelId,
|
|
26
|
-
}) {
|
|
38
|
+
}).annotations({ identifier: 'LSD.DebugInfoReq' }) {
|
|
27
39
|
}
|
|
28
40
|
export class DebugInfoRes extends Schema.TaggedStruct('LSD.DebugInfoRes', {
|
|
29
41
|
liveStoreVersion,
|
|
30
42
|
requestId,
|
|
31
43
|
debugInfo: DebugInfo,
|
|
32
|
-
}) {
|
|
44
|
+
}).annotations({ identifier: 'LSD.DebugInfoRes' }) {
|
|
33
45
|
}
|
|
34
46
|
export class DebugInfoResetReq extends Schema.TaggedStruct('LSD.DebugInfoResetReq', {
|
|
35
47
|
liveStoreVersion,
|
|
36
48
|
requestId,
|
|
37
49
|
channelId,
|
|
38
|
-
}) {
|
|
50
|
+
}).annotations({ identifier: 'LSD.DebugInfoResetReq' }) {
|
|
39
51
|
}
|
|
40
52
|
export class DebugInfoResetRes extends Schema.TaggedStruct('LSD.DebugInfoResetRes', {
|
|
41
53
|
liveStoreVersion,
|
|
42
54
|
requestId,
|
|
43
|
-
}) {
|
|
55
|
+
}).annotations({ identifier: 'LSD.DebugInfoResetRes' }) {
|
|
44
56
|
}
|
|
45
57
|
export class DebugInfoRerunQueryReq extends Schema.TaggedStruct('LSD.DebugInfoRerunQueryReq', {
|
|
46
58
|
liveStoreVersion,
|
|
@@ -49,18 +61,18 @@ export class DebugInfoRerunQueryReq extends Schema.TaggedStruct('LSD.DebugInfoRe
|
|
|
49
61
|
queryStr: Schema.String,
|
|
50
62
|
bindValues: Schema.UndefinedOr(PreparedBindValues),
|
|
51
63
|
queriedTables: Schema.ReadonlySet(Schema.String),
|
|
52
|
-
}) {
|
|
64
|
+
}).annotations({ identifier: 'LSD.DebugInfoRerunQueryReq' }) {
|
|
53
65
|
}
|
|
54
66
|
export class DebugInfoRerunQueryRes extends Schema.TaggedStruct('LSD.DebugInfoRerunQueryRes', {
|
|
55
67
|
liveStoreVersion,
|
|
56
68
|
requestId,
|
|
57
|
-
}) {
|
|
69
|
+
}).annotations({ identifier: 'LSD.DebugInfoRerunQueryRes' }) {
|
|
58
70
|
}
|
|
59
71
|
export class MutationBroadcast extends Schema.TaggedStruct('LSD.MutationBroadcast', {
|
|
60
72
|
liveStoreVersion,
|
|
61
73
|
mutationEventEncoded: mutationEventSchemaEncodedAny,
|
|
62
74
|
persisted: Schema.Boolean,
|
|
63
|
-
}) {
|
|
75
|
+
}).annotations({ identifier: 'LSD.MutationBroadcast' }) {
|
|
64
76
|
}
|
|
65
77
|
export class RunMutationReq extends Schema.TaggedStruct('LSD.RunMutationReq', {
|
|
66
78
|
liveStoreVersion,
|
|
@@ -68,57 +80,69 @@ export class RunMutationReq extends Schema.TaggedStruct('LSD.RunMutationReq', {
|
|
|
68
80
|
channelId,
|
|
69
81
|
mutationEventEncoded: mutationEventSchemaEncodedAny,
|
|
70
82
|
persisted: Schema.Boolean,
|
|
71
|
-
}) {
|
|
83
|
+
}).annotations({ identifier: 'LSD.RunMutationReq' }) {
|
|
72
84
|
}
|
|
73
85
|
export class RunMutationRes extends Schema.TaggedStruct('LSD.RunMutationRes', {
|
|
74
86
|
liveStoreVersion,
|
|
75
87
|
requestId,
|
|
76
88
|
channelId,
|
|
77
|
-
}) {
|
|
89
|
+
}).annotations({ identifier: 'LSD.RunMutationRes' }) {
|
|
78
90
|
}
|
|
79
91
|
export class MutationLogReq extends Schema.TaggedStruct('LSD.MutationLogReq', {
|
|
80
92
|
liveStoreVersion,
|
|
81
93
|
requestId,
|
|
82
94
|
channelId,
|
|
83
|
-
}) {
|
|
95
|
+
}).annotations({ identifier: 'LSD.MutationLogReq' }) {
|
|
84
96
|
}
|
|
85
97
|
export class MutationLogRes extends Schema.TaggedStruct('LSD.MutationLogRes', {
|
|
86
98
|
liveStoreVersion,
|
|
87
99
|
requestId,
|
|
88
100
|
channelId,
|
|
89
101
|
mutationLog: Schema.Uint8Array,
|
|
90
|
-
}) {
|
|
102
|
+
}).annotations({ identifier: 'LSD.MutationLogRes' }) {
|
|
103
|
+
}
|
|
104
|
+
export class LoadMutationLogReq extends Schema.TaggedStruct('LSD.LoadMutationLogReq', {
|
|
105
|
+
liveStoreVersion,
|
|
106
|
+
requestId,
|
|
107
|
+
channelId,
|
|
108
|
+
mutationLog: Schema.Uint8Array,
|
|
109
|
+
}).annotations({ identifier: 'LSD.LoadMutationLogReq' }) {
|
|
110
|
+
}
|
|
111
|
+
export class LoadMutationLogRes extends Schema.TaggedStruct('LSD.LoadMutationLogRes', {
|
|
112
|
+
liveStoreVersion,
|
|
113
|
+
requestId,
|
|
114
|
+
}).annotations({ identifier: 'LSD.LoadMutationLogRes' }) {
|
|
91
115
|
}
|
|
92
|
-
export class
|
|
116
|
+
export class ReactivityGraphSubscribe extends Schema.TaggedStruct('LSD.ReactivityGraphSubscribe', {
|
|
93
117
|
liveStoreVersion,
|
|
94
118
|
requestId,
|
|
95
119
|
channelId,
|
|
96
120
|
includeResults: Schema.Boolean,
|
|
97
|
-
}) {
|
|
121
|
+
}).annotations({ identifier: 'LSD.ReactivityGraphSubscribe' }) {
|
|
98
122
|
}
|
|
99
|
-
export class
|
|
123
|
+
export class ReactivityGraphUnsubscribe extends Schema.TaggedStruct('LSD.ReactivityGraphUnsubscribe', {
|
|
100
124
|
liveStoreVersion,
|
|
101
125
|
requestId,
|
|
102
126
|
channelId,
|
|
103
|
-
}) {
|
|
127
|
+
}).annotations({ identifier: 'LSD.ReactivityGraphUnsubscribe' }) {
|
|
104
128
|
}
|
|
105
|
-
export class
|
|
129
|
+
export class ReactivityGraphRes extends Schema.TaggedStruct('LSD.ReactivityGraphRes', {
|
|
106
130
|
liveStoreVersion,
|
|
107
131
|
requestId,
|
|
108
|
-
|
|
109
|
-
}) {
|
|
132
|
+
reactivityGraph: Schema.Any,
|
|
133
|
+
}).annotations({ identifier: 'LSD.ReactivityGraphRes' }) {
|
|
110
134
|
}
|
|
111
135
|
export class LiveQueriesSubscribe extends Schema.TaggedStruct('LSD.LiveQueriesSubscribe', {
|
|
112
136
|
liveStoreVersion,
|
|
113
137
|
requestId,
|
|
114
138
|
channelId,
|
|
115
|
-
}) {
|
|
139
|
+
}).annotations({ identifier: 'LSD.LiveQueriesSubscribe' }) {
|
|
116
140
|
}
|
|
117
141
|
export class LiveQueriesUnsubscribe extends Schema.TaggedStruct('LSD.LiveQueriesUnsubscribe', {
|
|
118
142
|
liveStoreVersion,
|
|
119
143
|
requestId,
|
|
120
144
|
channelId,
|
|
121
|
-
}) {
|
|
145
|
+
}).annotations({ identifier: 'LSD.LiveQueriesUnsubscribe' }) {
|
|
122
146
|
}
|
|
123
147
|
export class SerializedLiveQuery extends Schema.Struct({
|
|
124
148
|
_tag: Schema.Literal('js', 'sql', 'graphql'),
|
|
@@ -128,54 +152,54 @@ export class SerializedLiveQuery extends Schema.Struct({
|
|
|
128
152
|
executionTimes: Schema.Array(Schema.Number),
|
|
129
153
|
lastestResult: Schema.Any,
|
|
130
154
|
activeSubscriptions: Schema.Array(Schema.Struct({ frames: Schema.Array(Schema.Struct({ name: Schema.String, filePath: Schema.String })) })),
|
|
131
|
-
}) {
|
|
155
|
+
}).annotations({ identifier: 'SerializedLiveQuery' }) {
|
|
132
156
|
}
|
|
133
157
|
export class LiveQueriesRes extends Schema.TaggedStruct('LSD.LiveQueriesRes', {
|
|
134
158
|
liveStoreVersion,
|
|
135
159
|
requestId,
|
|
136
160
|
liveQueries: Schema.Array(SerializedLiveQuery),
|
|
137
|
-
}) {
|
|
161
|
+
}).annotations({ identifier: 'LSD.LiveQueriesRes' }) {
|
|
138
162
|
}
|
|
139
163
|
export class ResetAllDataReq extends Schema.TaggedStruct('LSD.ResetAllDataReq', {
|
|
140
164
|
liveStoreVersion,
|
|
141
165
|
requestId,
|
|
142
166
|
channelId,
|
|
143
167
|
mode: Schema.Literal('all-data', 'only-app-db'),
|
|
144
|
-
}) {
|
|
168
|
+
}).annotations({ identifier: 'LSD.ResetAllDataReq' }) {
|
|
145
169
|
}
|
|
146
170
|
export class ResetAllDataRes extends Schema.TaggedStruct('LSD.ResetAllDataRes', {
|
|
147
171
|
liveStoreVersion,
|
|
148
172
|
requestId,
|
|
149
|
-
}) {
|
|
173
|
+
}).annotations({ identifier: 'LSD.ResetAllDataRes' }) {
|
|
150
174
|
}
|
|
151
175
|
export class NetworkStatusChanged extends Schema.TaggedStruct('LSD.NetworkStatusChanged', {
|
|
152
176
|
liveStoreVersion,
|
|
153
177
|
channelId,
|
|
154
178
|
networkStatus: NetworkStatus,
|
|
155
|
-
}) {
|
|
179
|
+
}).annotations({ identifier: 'LSD.NetworkStatusChanged' }) {
|
|
156
180
|
}
|
|
157
181
|
export class DevtoolsReady extends Schema.TaggedStruct('LSD.DevtoolsReady', {
|
|
158
182
|
liveStoreVersion,
|
|
159
|
-
}) {
|
|
183
|
+
}).annotations({ identifier: 'LSD.DevtoolsReady' }) {
|
|
160
184
|
}
|
|
161
185
|
export class DevtoolsConnected extends Schema.TaggedStruct('LSD.DevtoolsConnected', {
|
|
162
186
|
liveStoreVersion,
|
|
163
187
|
channelId,
|
|
164
|
-
}) {
|
|
188
|
+
}).annotations({ identifier: 'LSD.DevtoolsConnected' }) {
|
|
165
189
|
}
|
|
166
190
|
export class AppHostReady extends Schema.TaggedStruct('LSD.AppHostReady', {
|
|
167
191
|
liveStoreVersion,
|
|
168
192
|
channelId,
|
|
169
|
-
}) {
|
|
193
|
+
}).annotations({ identifier: 'LSD.AppHostReady' }) {
|
|
170
194
|
}
|
|
171
195
|
export class Disconnect extends Schema.TaggedStruct('LSD.Disconnect', {
|
|
172
196
|
liveStoreVersion,
|
|
173
197
|
requestId,
|
|
174
198
|
channelId,
|
|
175
|
-
}) {
|
|
199
|
+
}).annotations({ identifier: 'LSD.Disconnect' }) {
|
|
176
200
|
}
|
|
177
|
-
export const MessageToAppHost = Schema.Union(SnapshotReq, MutationLogReq, DebugInfoReq, DebugInfoResetReq, DebugInfoRerunQueryReq,
|
|
178
|
-
export const MessageFromAppHost = Schema.Union(SnapshotRes, MutationLogRes, DebugInfoRes, DebugInfoResetRes, DebugInfoRerunQueryRes,
|
|
201
|
+
export const MessageToAppHost = Schema.Union(SnapshotReq, LoadSnapshotReq, MutationLogReq, LoadMutationLogReq, DebugInfoReq, DebugInfoResetReq, DebugInfoRerunQueryReq, ReactivityGraphSubscribe, ReactivityGraphUnsubscribe, LiveQueriesSubscribe, LiveQueriesUnsubscribe, ResetAllDataReq, DevtoolsReady, Disconnect, DevtoolsConnected, RunMutationReq).annotations({ identifier: 'LSD.MessageToAppHost' });
|
|
202
|
+
export const MessageFromAppHost = Schema.Union(SnapshotRes, LoadSnapshotRes, MutationLogRes, LoadMutationLogRes, DebugInfoRes, DebugInfoResetRes, DebugInfoRerunQueryRes, ReactivityGraphRes, LiveQueriesRes, ResetAllDataRes, Disconnect, MutationBroadcast, AppHostReady, NetworkStatusChanged, RunMutationRes).annotations({ identifier: 'LSD.MessageFromAppHost' });
|
|
179
203
|
// TODO make specific over app key
|
|
180
204
|
export const makeBroadcastChannels = () => ({
|
|
181
205
|
fromAppHost: new BroadcastChannel(`livestore-devtools-from-app-host`),
|