@livestore/common 0.0.54-dev.2 → 0.0.54-dev.22
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/adapter-types.d.ts +19 -15
- package/dist/adapter-types.d.ts.map +1 -1
- package/dist/adapter-types.js +14 -1
- package/dist/adapter-types.js.map +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 +6 -9
- package/dist/debug-info.js.map +1 -1
- package/dist/devtools/devtools-messages.d.ts +163 -38
- package/dist/devtools/devtools-messages.d.ts.map +1 -1
- package/dist/devtools/devtools-messages.js +83 -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/dist/schema/system-tables.d.ts +3 -3
- package/package.json +3 -3
- package/src/adapter-types.ts +24 -17
- package/src/bounded-collections.ts +1 -1
- package/src/debug-info.ts +6 -18
- package/src/devtools/devtools-messages.ts +96 -44
- 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
package/dist/adapter-types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { Stream, SubscriptionRef, TRef } from '@livestore/utils/effect';
|
|
1
|
+
import type { Effect, Stream, SubscriptionRef, TRef } from '@livestore/utils/effect';
|
|
2
2
|
import { Schema } from '@livestore/utils/effect';
|
|
3
|
-
import type * as otel from '@opentelemetry/api';
|
|
4
3
|
import type { LiveStoreSchema, MutationEvent } from './schema/index.js';
|
|
5
4
|
import type { PreparedBindValues } from './util.js';
|
|
6
5
|
export interface PreparedStatement {
|
|
@@ -18,7 +17,6 @@ export type InMemoryDatabase = {
|
|
|
18
17
|
_tag: 'InMemoryDatabase';
|
|
19
18
|
prepare(queryStr: string): PreparedStatement;
|
|
20
19
|
execute(queryStr: string, bindValues: PreparedBindValues | undefined): GetRowsChangedCount;
|
|
21
|
-
dangerouslyReset(): Promise<void>;
|
|
22
20
|
export(): Uint8Array;
|
|
23
21
|
};
|
|
24
22
|
export type ResetMode = 'all-data' | 'only-app-db';
|
|
@@ -35,20 +33,19 @@ export type Coordinator = {
|
|
|
35
33
|
channelId: string;
|
|
36
34
|
};
|
|
37
35
|
hasLock: TRef.TRef<boolean>;
|
|
38
|
-
syncMutations: Stream.Stream<MutationEvent.AnyEncoded>;
|
|
39
|
-
execute(queryStr: string, bindValues: PreparedBindValues | undefined
|
|
36
|
+
syncMutations: Stream.Stream<MutationEvent.AnyEncoded, UnexpectedError>;
|
|
37
|
+
execute(queryStr: string, bindValues: PreparedBindValues | undefined): Effect.Effect<void, UnexpectedError>;
|
|
40
38
|
mutate(mutationEventEncoded: MutationEvent.Any, options: {
|
|
41
|
-
span: otel.Span;
|
|
42
39
|
persisted: boolean;
|
|
43
|
-
}):
|
|
44
|
-
dangerouslyReset(mode: ResetMode):
|
|
45
|
-
export
|
|
40
|
+
}): Effect.Effect<void, UnexpectedError>;
|
|
41
|
+
dangerouslyReset(mode: ResetMode): Effect.Effect<void, UnexpectedError>;
|
|
42
|
+
export: Effect.Effect<Uint8Array | undefined, UnexpectedError>;
|
|
46
43
|
/**
|
|
47
44
|
* This is different from `export` since in `getInitialSnapshot` is usually the place for migrations etc to happen
|
|
48
45
|
*/
|
|
49
|
-
getInitialSnapshot
|
|
50
|
-
getMutationLogData
|
|
51
|
-
shutdown
|
|
46
|
+
getInitialSnapshot: Effect.Effect<Uint8Array, UnexpectedError>;
|
|
47
|
+
getMutationLogData: Effect.Effect<Uint8Array, UnexpectedError>;
|
|
48
|
+
shutdown: Effect.Effect<void, UnexpectedError>;
|
|
52
49
|
networkStatus: SubscriptionRef.SubscriptionRef<NetworkStatus>;
|
|
53
50
|
};
|
|
54
51
|
export type GetRowsChangedCount = () => number;
|
|
@@ -59,6 +56,14 @@ export type BootDb = {
|
|
|
59
56
|
select<T>(queryStr: string, bindValues?: PreparedBindValues): ReadonlyArray<T>;
|
|
60
57
|
txn(callback: () => void): void;
|
|
61
58
|
};
|
|
59
|
+
declare const UnexpectedError_base: Schema.TaggedErrorClass<UnexpectedError, "LiveStore.UnexpectedError", {
|
|
60
|
+
readonly _tag: Schema.PropertySignature<":", "LiveStore.UnexpectedError", never, ":", "LiveStore.UnexpectedError", true, never>;
|
|
61
|
+
} & {
|
|
62
|
+
error: typeof Schema.AnyError;
|
|
63
|
+
}>;
|
|
64
|
+
export declare class UnexpectedError extends UnexpectedError_base {
|
|
65
|
+
get message(): any;
|
|
66
|
+
}
|
|
62
67
|
export type MigrationOptions<TSchema extends LiveStoreSchema = LiveStoreSchema> = MigrationOptionsFromMutationLog<TSchema> | {
|
|
63
68
|
strategy: 'hard-reset';
|
|
64
69
|
hooks?: Partial<MigrationHooks>;
|
|
@@ -90,8 +95,7 @@ export type MigrationOptionsFromMutationLog<TSchema extends LiveStoreSchema = Li
|
|
|
90
95
|
};
|
|
91
96
|
};
|
|
92
97
|
export type StoreAdapterFactory = (opts: {
|
|
93
|
-
otelTracer: otel.Tracer;
|
|
94
|
-
otelContext: otel.Context;
|
|
95
98
|
schema: LiveStoreSchema;
|
|
96
|
-
}) => StoreAdapter
|
|
99
|
+
}) => Effect.Effect<StoreAdapter, UnexpectedError>;
|
|
100
|
+
export {};
|
|
97
101
|
//# sourceMappingURL=adapter-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,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AG,MAAM,CAAC,CAAA;IAC7E,KAAK,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;IAC/B,OAAO,CAAC,EAAE;QACR,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAA;KACnD,CAAA;CACF,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE;IAAE,MAAM,EAAE,eAAe,CAAA;CAAE,KAAK,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAA"}
|
package/dist/adapter-types.js
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
import { Schema } from '@livestore/utils/effect';
|
|
1
|
+
import { Cause, Schema } from '@livestore/utils/effect';
|
|
2
2
|
export const NetworkStatus = Schema.Struct({
|
|
3
3
|
isConnected: Schema.Boolean,
|
|
4
4
|
timestampMs: Schema.Number,
|
|
5
5
|
});
|
|
6
|
+
export class UnexpectedError extends Schema.TaggedError()('LiveStore.UnexpectedError', {
|
|
7
|
+
error: Schema.AnyError,
|
|
8
|
+
}) {
|
|
9
|
+
get message() {
|
|
10
|
+
try {
|
|
11
|
+
return Cause.pretty(this.error);
|
|
12
|
+
}
|
|
13
|
+
catch (e) {
|
|
14
|
+
console.warn(`Error pretty printing error: ${e}`);
|
|
15
|
+
return this.error.toString();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
6
19
|
//# sourceMappingURL=adapter-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter-types.js","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"adapter-types.js","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AA2BvD,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,MAAM,CAAC,OAAO;IAC3B,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CAAC,CAAA;AAoCF,MAAM,OAAO,eAAgB,SAAQ,MAAM,CAAC,WAAW,EAAmB,CAAC,2BAA2B,EAAE;IACtG,KAAK,EAAE,MAAM,CAAC,QAAQ;CACvB,CAAC;IACA,IAAI,OAAO;QACT,IAAI,CAAC;YACH,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACjC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,CAAC,IAAI,CAAC,gCAAgC,CAAC,EAAE,CAAC,CAAA;YACjD,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAA;QAC9B,CAAC;IACH,CAAC;CACF"}
|
|
@@ -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,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;IAEjD,GAAG,QAAS,CAAC,SAAS,CAAC,UAWtB;IAED,GAAG,QAAS,CAAC,KAAG,C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 +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
|
@@ -9,13 +9,7 @@ export const SlowQueryInfo = Schema.Struct({
|
|
|
9
9
|
queriedTables: Schema.ReadonlySet(Schema.String),
|
|
10
10
|
startTimePerfNow: Schema.Number,
|
|
11
11
|
});
|
|
12
|
-
const BoundArraySchemaFromSelf = (
|
|
13
|
-
identifier: `BoundArrayFromSelf`,
|
|
14
|
-
pretty: () => (_) => `BoundArray(${_.length})`,
|
|
15
|
-
arbitrary: () => (fc) => fc.anything(),
|
|
16
|
-
equivalence: () => (a, b) => a === b,
|
|
17
|
-
});
|
|
18
|
-
const BoundArraySchemaFromSelf_ = (item) => Schema.declare([item], {
|
|
12
|
+
const BoundArraySchemaFromSelf = (item) => Schema.declare([item], {
|
|
19
13
|
decode: (item) => (input, parseOptions, ast) => {
|
|
20
14
|
if (input instanceof BoundArray) {
|
|
21
15
|
const elements = ParseResult.decodeUnknown(Schema.Array(item))([...input], parseOptions);
|
|
@@ -32,11 +26,14 @@ const BoundArraySchemaFromSelf_ = (item) => Schema.declare([item], {
|
|
|
32
26
|
},
|
|
33
27
|
}, {
|
|
34
28
|
description: `BoundArray<${Schema.format(item)}>`,
|
|
29
|
+
pretty: () => (_) => `BoundArray(${_.length})`,
|
|
30
|
+
arbitrary: () => (fc) => fc.anything(),
|
|
31
|
+
equivalence: () => (a, b) => a === b,
|
|
35
32
|
});
|
|
36
|
-
const BoundArraySchema = (elSchema) => Schema.transform(Schema.Struct({
|
|
33
|
+
export const BoundArraySchema = (elSchema) => Schema.transform(Schema.Struct({
|
|
37
34
|
size: Schema.Number,
|
|
38
35
|
items: Schema.Array(elSchema),
|
|
39
|
-
}), BoundArraySchemaFromSelf(elSchema), {
|
|
36
|
+
}), BoundArraySchemaFromSelf(Schema.typeSchema(elSchema)), {
|
|
40
37
|
encode: (_) => ({ size: _.sizeLimit, items: [..._] }),
|
|
41
38
|
decode: (_) => BoundArray.make(_.size, _.items),
|
|
42
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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AAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC;CACrC,CACF,CAAA;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAA2B,QAAiD,EAAE,EAAE,CAC9G,MAAM,CAAC,SAAS,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,64 +1,90 @@
|
|
|
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<{
|
|
27
53
|
slowQueries: Schema.transform<Schema.Struct<{
|
|
28
54
|
size: typeof Schema.Number;
|
|
29
55
|
items: Schema.Array$<Schema.Schema<{
|
|
30
|
-
readonly queryStr: string;
|
|
31
56
|
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
32
57
|
readonly [x: string]: string | number | Uint8Array | null;
|
|
33
58
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
59
|
+
readonly queryStr: string;
|
|
34
60
|
readonly durationMs: number;
|
|
35
61
|
readonly rowsCount: number | undefined;
|
|
36
62
|
readonly queriedTables: ReadonlySet<string>;
|
|
37
63
|
readonly startTimePerfNow: number;
|
|
38
64
|
}, {
|
|
39
|
-
readonly queryStr: string;
|
|
40
65
|
readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
|
|
41
66
|
readonly [x: string]: string | number | readonly number[] | null;
|
|
42
67
|
} | undefined;
|
|
68
|
+
readonly queryStr: string;
|
|
43
69
|
readonly durationMs: number;
|
|
44
70
|
readonly rowsCount: number | undefined;
|
|
45
71
|
readonly queriedTables: readonly string[];
|
|
46
72
|
readonly startTimePerfNow: number;
|
|
47
73
|
}, never>>;
|
|
48
74
|
}>, Schema.Schema<import("../bounded-collections.js").BoundArray<{
|
|
49
|
-
readonly queryStr: string;
|
|
50
75
|
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
51
76
|
readonly [x: string]: string | number | Uint8Array | null;
|
|
52
77
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
78
|
+
readonly queryStr: string;
|
|
53
79
|
readonly durationMs: number;
|
|
54
80
|
readonly rowsCount: number | undefined;
|
|
55
81
|
readonly queriedTables: ReadonlySet<string>;
|
|
56
82
|
readonly startTimePerfNow: number;
|
|
57
83
|
}>, import("../bounded-collections.js").BoundArray<{
|
|
58
|
-
readonly queryStr: string;
|
|
59
84
|
readonly bindValues: ((readonly (string | number | Uint8Array | null)[] | {
|
|
60
85
|
readonly [x: string]: string | number | Uint8Array | null;
|
|
61
86
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
87
|
+
readonly queryStr: string;
|
|
62
88
|
readonly durationMs: number;
|
|
63
89
|
readonly rowsCount: number | undefined;
|
|
64
90
|
readonly queriedTables: ReadonlySet<string>;
|
|
@@ -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,15 +129,18 @@ 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
|
-
requestId: typeof Schema.String;
|
|
109
144
|
mutationEventEncoded: Schema.Struct<{
|
|
110
145
|
mutation: typeof Schema.String;
|
|
111
146
|
args: typeof Schema.Any;
|
|
@@ -115,50 +150,107 @@ declare const MutationBroadcast_base: Schema.TaggedStruct<"LSD.MutationBroadcast
|
|
|
115
150
|
}>;
|
|
116
151
|
export declare class MutationBroadcast extends MutationBroadcast_base {
|
|
117
152
|
}
|
|
118
|
-
declare const
|
|
153
|
+
declare const RunMutationReq_base: Schema.Struct<{
|
|
154
|
+
_tag: Schema.tag<"LSD.RunMutationReq">;
|
|
155
|
+
} & {
|
|
156
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
157
|
+
requestId: typeof Schema.String;
|
|
158
|
+
channelId: typeof Schema.String;
|
|
159
|
+
mutationEventEncoded: Schema.Struct<{
|
|
160
|
+
mutation: typeof Schema.String;
|
|
161
|
+
args: typeof Schema.Any;
|
|
162
|
+
id: typeof Schema.String;
|
|
163
|
+
}>;
|
|
164
|
+
persisted: typeof Schema.Boolean;
|
|
165
|
+
}>;
|
|
166
|
+
export declare class RunMutationReq extends RunMutationReq_base {
|
|
167
|
+
}
|
|
168
|
+
declare const RunMutationRes_base: Schema.Struct<{
|
|
169
|
+
_tag: Schema.tag<"LSD.RunMutationRes">;
|
|
170
|
+
} & {
|
|
171
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
172
|
+
requestId: typeof Schema.String;
|
|
173
|
+
channelId: typeof Schema.String;
|
|
174
|
+
}>;
|
|
175
|
+
export declare class RunMutationRes extends RunMutationRes_base {
|
|
176
|
+
}
|
|
177
|
+
declare const MutationLogReq_base: Schema.Struct<{
|
|
178
|
+
_tag: Schema.tag<"LSD.MutationLogReq">;
|
|
179
|
+
} & {
|
|
119
180
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
120
181
|
requestId: typeof Schema.String;
|
|
121
182
|
channelId: typeof Schema.String;
|
|
122
183
|
}>;
|
|
123
184
|
export declare class MutationLogReq extends MutationLogReq_base {
|
|
124
185
|
}
|
|
125
|
-
declare const MutationLogRes_base: Schema.
|
|
186
|
+
declare const MutationLogRes_base: Schema.Struct<{
|
|
187
|
+
_tag: Schema.tag<"LSD.MutationLogRes">;
|
|
188
|
+
} & {
|
|
126
189
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
127
190
|
requestId: typeof Schema.String;
|
|
191
|
+
channelId: typeof Schema.String;
|
|
128
192
|
mutationLog: Schema.Schema<Uint8Array, readonly number[], never>;
|
|
129
193
|
}>;
|
|
130
194
|
export declare class MutationLogRes extends MutationLogRes_base {
|
|
131
195
|
}
|
|
132
|
-
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
|
+
} & {
|
|
133
217
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
134
218
|
requestId: typeof Schema.String;
|
|
135
219
|
channelId: typeof Schema.String;
|
|
136
220
|
includeResults: typeof Schema.Boolean;
|
|
137
221
|
}>;
|
|
138
|
-
export declare class
|
|
222
|
+
export declare class ReactivityGraphSubscribe extends ReactivityGraphSubscribe_base {
|
|
139
223
|
}
|
|
140
|
-
declare const
|
|
224
|
+
declare const ReactivityGraphUnsubscribe_base: Schema.Struct<{
|
|
225
|
+
_tag: Schema.tag<"LSD.ReactivityGraphUnsubscribe">;
|
|
226
|
+
} & {
|
|
141
227
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
142
228
|
requestId: typeof Schema.String;
|
|
143
229
|
channelId: typeof Schema.String;
|
|
144
230
|
}>;
|
|
145
|
-
export declare class
|
|
231
|
+
export declare class ReactivityGraphUnsubscribe extends ReactivityGraphUnsubscribe_base {
|
|
146
232
|
}
|
|
147
|
-
declare const
|
|
233
|
+
declare const ReactivityGraphRes_base: Schema.Struct<{
|
|
234
|
+
_tag: Schema.tag<"LSD.ReactivityGraphRes">;
|
|
235
|
+
} & {
|
|
148
236
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
149
237
|
requestId: typeof Schema.String;
|
|
150
|
-
|
|
238
|
+
reactivityGraph: typeof Schema.Any;
|
|
151
239
|
}>;
|
|
152
|
-
export declare class
|
|
240
|
+
export declare class ReactivityGraphRes extends ReactivityGraphRes_base {
|
|
153
241
|
}
|
|
154
|
-
declare const LiveQueriesSubscribe_base: Schema.
|
|
242
|
+
declare const LiveQueriesSubscribe_base: Schema.Struct<{
|
|
243
|
+
_tag: Schema.tag<"LSD.LiveQueriesSubscribe">;
|
|
244
|
+
} & {
|
|
155
245
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
156
246
|
requestId: typeof Schema.String;
|
|
157
247
|
channelId: typeof Schema.String;
|
|
158
248
|
}>;
|
|
159
249
|
export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
|
|
160
250
|
}
|
|
161
|
-
declare const LiveQueriesUnsubscribe_base: Schema.
|
|
251
|
+
declare const LiveQueriesUnsubscribe_base: Schema.Struct<{
|
|
252
|
+
_tag: Schema.tag<"LSD.LiveQueriesUnsubscribe">;
|
|
253
|
+
} & {
|
|
162
254
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
163
255
|
requestId: typeof Schema.String;
|
|
164
256
|
channelId: typeof Schema.String;
|
|
@@ -181,14 +273,18 @@ declare const SerializedLiveQuery_base: Schema.Struct<{
|
|
|
181
273
|
}>;
|
|
182
274
|
export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
|
|
183
275
|
}
|
|
184
|
-
declare const LiveQueriesRes_base: Schema.
|
|
276
|
+
declare const LiveQueriesRes_base: Schema.Struct<{
|
|
277
|
+
_tag: Schema.tag<"LSD.LiveQueriesRes">;
|
|
278
|
+
} & {
|
|
185
279
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
186
280
|
requestId: typeof Schema.String;
|
|
187
281
|
liveQueries: Schema.Array$<typeof SerializedLiveQuery>;
|
|
188
282
|
}>;
|
|
189
283
|
export declare class LiveQueriesRes extends LiveQueriesRes_base {
|
|
190
284
|
}
|
|
191
|
-
declare const ResetAllDataReq_base: Schema.
|
|
285
|
+
declare const ResetAllDataReq_base: Schema.Struct<{
|
|
286
|
+
_tag: Schema.tag<"LSD.ResetAllDataReq">;
|
|
287
|
+
} & {
|
|
192
288
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
193
289
|
requestId: typeof Schema.String;
|
|
194
290
|
channelId: typeof Schema.String;
|
|
@@ -196,13 +292,17 @@ declare const ResetAllDataReq_base: Schema.TaggedStruct<"LSD.ResetAllDataReq", {
|
|
|
196
292
|
}>;
|
|
197
293
|
export declare class ResetAllDataReq extends ResetAllDataReq_base {
|
|
198
294
|
}
|
|
199
|
-
declare const ResetAllDataRes_base: Schema.
|
|
295
|
+
declare const ResetAllDataRes_base: Schema.Struct<{
|
|
296
|
+
_tag: Schema.tag<"LSD.ResetAllDataRes">;
|
|
297
|
+
} & {
|
|
200
298
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
201
299
|
requestId: typeof Schema.String;
|
|
202
300
|
}>;
|
|
203
301
|
export declare class ResetAllDataRes extends ResetAllDataRes_base {
|
|
204
302
|
}
|
|
205
|
-
declare const
|
|
303
|
+
declare const NetworkStatusChanged_base: Schema.Struct<{
|
|
304
|
+
_tag: Schema.tag<"LSD.NetworkStatusChanged">;
|
|
305
|
+
} & {
|
|
206
306
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
207
307
|
channelId: typeof Schema.String;
|
|
208
308
|
networkStatus: Schema.Struct<{
|
|
@@ -210,35 +310,60 @@ declare const NetworkStatusBroadcast_base: Schema.TaggedStruct<"LSD.NetworkStatu
|
|
|
210
310
|
timestampMs: typeof Schema.Number;
|
|
211
311
|
}>;
|
|
212
312
|
}>;
|
|
213
|
-
export declare class
|
|
313
|
+
export declare class NetworkStatusChanged extends NetworkStatusChanged_base {
|
|
214
314
|
}
|
|
215
|
-
declare const
|
|
315
|
+
declare const DevtoolsReady_base: Schema.Struct<{
|
|
316
|
+
_tag: Schema.tag<"LSD.DevtoolsReady">;
|
|
317
|
+
} & {
|
|
216
318
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
217
319
|
}>;
|
|
218
|
-
export declare class
|
|
320
|
+
export declare class DevtoolsReady extends DevtoolsReady_base {
|
|
219
321
|
}
|
|
220
|
-
declare const DevtoolsConnected_base: Schema.
|
|
322
|
+
declare const DevtoolsConnected_base: Schema.Struct<{
|
|
323
|
+
_tag: Schema.tag<"LSD.DevtoolsConnected">;
|
|
324
|
+
} & {
|
|
221
325
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
222
326
|
channelId: typeof Schema.String;
|
|
223
327
|
}>;
|
|
224
328
|
export declare class DevtoolsConnected extends DevtoolsConnected_base {
|
|
225
329
|
}
|
|
226
|
-
declare const
|
|
330
|
+
declare const AppHostReady_base: Schema.Struct<{
|
|
331
|
+
_tag: Schema.tag<"LSD.AppHostReady">;
|
|
332
|
+
} & {
|
|
227
333
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
228
334
|
channelId: typeof Schema.String;
|
|
229
335
|
}>;
|
|
230
|
-
export declare class
|
|
336
|
+
export declare class AppHostReady extends AppHostReady_base {
|
|
231
337
|
}
|
|
232
|
-
declare const Disconnect_base: Schema.
|
|
338
|
+
declare const Disconnect_base: Schema.Struct<{
|
|
339
|
+
_tag: Schema.tag<"LSD.Disconnect">;
|
|
340
|
+
} & {
|
|
233
341
|
liveStoreVersion: Schema.Literal<[string]>;
|
|
234
342
|
requestId: typeof Schema.String;
|
|
235
343
|
channelId: typeof Schema.String;
|
|
236
344
|
}>;
|
|
237
345
|
export declare class Disconnect extends Disconnect_base {
|
|
238
346
|
}
|
|
239
|
-
|
|
347
|
+
declare const Ping_base: Schema.Struct<{
|
|
348
|
+
_tag: Schema.tag<"LSD.Ping">;
|
|
349
|
+
} & {
|
|
350
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
351
|
+
requestId: typeof Schema.String;
|
|
352
|
+
channelId: typeof Schema.String;
|
|
353
|
+
}>;
|
|
354
|
+
export declare class Ping extends Ping_base {
|
|
355
|
+
}
|
|
356
|
+
declare const Pong_base: Schema.Struct<{
|
|
357
|
+
_tag: Schema.tag<"LSD.Pong">;
|
|
358
|
+
} & {
|
|
359
|
+
liveStoreVersion: Schema.Literal<[string]>;
|
|
360
|
+
requestId: typeof Schema.String;
|
|
361
|
+
}>;
|
|
362
|
+
export declare class Pong extends Pong_base {
|
|
363
|
+
}
|
|
364
|
+
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, typeof Ping]>;
|
|
240
365
|
export type MessageToAppHost = typeof MessageToAppHost.Type;
|
|
241
|
-
export declare const MessageFromAppHost: Schema.Union<[typeof SnapshotRes, typeof MutationLogRes, typeof DebugInfoRes, typeof DebugInfoResetRes, typeof DebugInfoRerunQueryRes, typeof
|
|
366
|
+
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, typeof Pong]>;
|
|
242
367
|
export type MessageFromAppHost = typeof MessageFromAppHost.Type;
|
|
243
368
|
export declare const makeBroadcastChannels: () => {
|
|
244
369
|
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,qBAAa,YAAa,SAAQ,iBAIgB;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAErD,qBAAa,YAAa,SAAQ,iBAIgB;CAAG;;;;;;;;AAErD,qBAAa,iBAAkB,SAAQ,sBAIgB;CAAG;;;;;;;AAE1D,qBAAa,iBAAkB,SAAQ,sBAGgB;CAAG;;;;;;;;;;;AAE1D,qBAAa,sBAAuB,SAAQ,2BAOgB;CAAG;;;;;;;AAE/D,qBAAa,sBAAuB,SAAQ,2BAGgB;CAAG;;;;;;;;;;;;AAE/D,qBAAa,iBAAkB,SAAQ,sBAIgB;CAAG;;;;;;;;;;;;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