@livestore/common 0.3.1 → 0.3.2-dev.1
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/ClientSessionLeaderThreadProxy.d.ts +35 -0
- package/dist/ClientSessionLeaderThreadProxy.d.ts.map +1 -0
- package/dist/ClientSessionLeaderThreadProxy.js +6 -0
- package/dist/ClientSessionLeaderThreadProxy.js.map +1 -0
- package/dist/__tests__/fixture.d.ts +4 -4
- package/dist/__tests__/fixture.js +2 -2
- package/dist/adapter-types.d.ts +11 -162
- package/dist/adapter-types.d.ts.map +1 -1
- package/dist/adapter-types.js +5 -49
- package/dist/adapter-types.js.map +1 -1
- package/dist/debug-info.d.ts +2 -2
- package/dist/debug-info.js +2 -2
- package/dist/defs.d.ts +20 -0
- package/dist/defs.d.ts.map +1 -0
- package/dist/defs.js +12 -0
- package/dist/defs.js.map +1 -0
- package/dist/devtools/devtools-messages-client-session.d.ts +29 -27
- package/dist/devtools/devtools-messages-client-session.d.ts.map +1 -1
- package/dist/devtools/devtools-messages-client-session.js +4 -4
- package/dist/devtools/devtools-messages-common.d.ts +6 -6
- package/dist/devtools/devtools-messages-common.d.ts.map +1 -1
- package/dist/devtools/devtools-messages-common.js +1 -1
- package/dist/devtools/devtools-messages-leader.d.ts +37 -35
- package/dist/devtools/devtools-messages-leader.d.ts.map +1 -1
- package/dist/devtools/devtools-messages-leader.js +4 -4
- package/dist/devtools/devtools-messages.d.ts +3 -3
- package/dist/devtools/devtools-messages.d.ts.map +1 -1
- package/dist/devtools/devtools-messages.js +3 -3
- package/dist/devtools/devtools-messages.js.map +1 -1
- package/dist/devtools/mod.d.ts +3 -3
- package/dist/devtools/mod.js +3 -3
- package/dist/errors.d.ts +50 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +36 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +16 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/leader-thread/LeaderSyncProcessor.d.ts +10 -11
- package/dist/leader-thread/LeaderSyncProcessor.d.ts.map +1 -1
- package/dist/leader-thread/LeaderSyncProcessor.js +122 -132
- package/dist/leader-thread/LeaderSyncProcessor.js.map +1 -1
- package/dist/leader-thread/connection.d.ts +4 -4
- package/dist/leader-thread/connection.js +2 -2
- package/dist/leader-thread/eventlog.d.ts +21 -10
- package/dist/leader-thread/eventlog.d.ts.map +1 -1
- package/dist/leader-thread/eventlog.js +39 -24
- package/dist/leader-thread/eventlog.js.map +1 -1
- package/dist/leader-thread/leader-worker-devtools.d.ts +3 -3
- package/dist/leader-thread/leader-worker-devtools.d.ts.map +1 -1
- package/dist/leader-thread/leader-worker-devtools.js +4 -5
- package/dist/leader-thread/leader-worker-devtools.js.map +1 -1
- package/dist/leader-thread/make-leader-thread-layer.d.ts +7 -7
- package/dist/leader-thread/make-leader-thread-layer.d.ts.map +1 -1
- package/dist/leader-thread/make-leader-thread-layer.js +44 -14
- package/dist/leader-thread/make-leader-thread-layer.js.map +1 -1
- package/dist/leader-thread/materialize-event.d.ts +4 -4
- package/dist/leader-thread/materialize-event.d.ts.map +1 -1
- package/dist/leader-thread/materialize-event.js +14 -8
- package/dist/leader-thread/materialize-event.js.map +1 -1
- package/dist/leader-thread/mod.d.ts +8 -7
- package/dist/leader-thread/mod.d.ts.map +1 -1
- package/dist/leader-thread/mod.js +8 -7
- package/dist/leader-thread/mod.js.map +1 -1
- package/dist/leader-thread/recreate-db.d.ts +14 -7
- package/dist/leader-thread/recreate-db.d.ts.map +1 -1
- package/dist/leader-thread/recreate-db.js +3 -5
- package/dist/leader-thread/recreate-db.js.map +1 -1
- package/dist/leader-thread/shutdown-channel.d.ts +1 -1
- package/dist/leader-thread/shutdown-channel.js +1 -1
- package/dist/leader-thread/types.d.ts +8 -10
- package/dist/leader-thread/types.d.ts.map +1 -1
- package/dist/make-client-session.d.ts +3 -3
- package/dist/make-client-session.d.ts.map +1 -1
- package/dist/make-client-session.js +3 -3
- package/dist/make-client-session.js.map +1 -1
- package/dist/materializer-helper.d.ts +5 -5
- package/dist/materializer-helper.js +5 -5
- package/dist/rematerialize-from-eventlog.d.ts +4 -4
- package/dist/rematerialize-from-eventlog.d.ts.map +1 -1
- package/dist/rematerialize-from-eventlog.js +13 -5
- package/dist/rematerialize-from-eventlog.js.map +1 -1
- package/dist/schema/EventDef.d.ts +5 -5
- package/dist/schema/EventDef.d.ts.map +1 -1
- package/dist/schema/EventDef.js +2 -2
- package/dist/schema/EventDef.js.map +1 -1
- package/dist/schema/EventSequenceNumber.d.ts +20 -2
- package/dist/schema/EventSequenceNumber.d.ts.map +1 -1
- package/dist/schema/EventSequenceNumber.js +71 -19
- package/dist/schema/EventSequenceNumber.js.map +1 -1
- package/dist/schema/EventSequenceNumber.test.js +89 -4
- package/dist/schema/EventSequenceNumber.test.js.map +1 -1
- package/dist/schema/LiveStoreEvent.d.ts +26 -12
- package/dist/schema/LiveStoreEvent.d.ts.map +1 -1
- package/dist/schema/LiveStoreEvent.js +13 -5
- package/dist/schema/LiveStoreEvent.js.map +1 -1
- package/dist/schema/events.d.ts +1 -1
- package/dist/schema/events.d.ts.map +1 -1
- package/dist/schema/events.js +1 -1
- package/dist/schema/events.js.map +1 -1
- package/dist/schema/mod.d.ts +9 -9
- package/dist/schema/mod.d.ts.map +1 -1
- package/dist/schema/mod.js +9 -9
- package/dist/schema/mod.js.map +1 -1
- package/dist/schema/schema.d.ts +4 -4
- package/dist/schema/schema.js +3 -3
- package/dist/schema/state/mod.d.ts +2 -2
- package/dist/schema/state/mod.js +2 -2
- package/dist/schema/state/sqlite/client-document-def.d.ts +5 -5
- package/dist/schema/state/sqlite/client-document-def.d.ts.map +1 -1
- package/dist/schema/state/sqlite/client-document-def.js +6 -6
- package/dist/schema/state/sqlite/client-document-def.js.map +1 -1
- package/dist/schema/state/sqlite/client-document-def.test.js +4 -6
- package/dist/schema/state/sqlite/client-document-def.test.js.map +1 -1
- package/dist/schema/state/sqlite/db-schema/ast/sqlite.js +1 -1
- package/dist/schema/state/sqlite/db-schema/ast/validate.d.ts +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.js +2 -2
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.js.map +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.test.js +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/mod.d.ts +3 -3
- package/dist/schema/state/sqlite/db-schema/dsl/mod.d.ts.map +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/mod.js +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/mod.js.map +1 -1
- package/dist/schema/state/sqlite/db-schema/hash.d.ts.map +1 -1
- package/dist/schema/state/sqlite/db-schema/hash.js +3 -2
- package/dist/schema/state/sqlite/db-schema/hash.js.map +1 -1
- package/dist/schema/state/sqlite/db-schema/mod.d.ts +2 -2
- package/dist/schema/state/sqlite/db-schema/mod.d.ts.map +1 -1
- package/dist/schema/state/sqlite/db-schema/mod.js +2 -2
- package/dist/schema/state/sqlite/db-schema/mod.js.map +1 -1
- package/dist/schema/state/sqlite/mod.d.ts +7 -7
- package/dist/schema/state/sqlite/mod.d.ts.map +1 -1
- package/dist/schema/state/sqlite/mod.js +7 -7
- package/dist/schema/state/sqlite/mod.js.map +1 -1
- package/dist/schema/state/sqlite/query-builder/api.d.ts +40 -13
- package/dist/schema/state/sqlite/query-builder/api.d.ts.map +1 -1
- package/dist/schema/state/sqlite/query-builder/api.js.map +1 -1
- package/dist/schema/state/sqlite/query-builder/astToSql.d.ts +2 -2
- package/dist/schema/state/sqlite/query-builder/astToSql.js +1 -1
- package/dist/schema/state/sqlite/query-builder/impl.d.ts +2 -2
- package/dist/schema/state/sqlite/query-builder/impl.d.ts.map +1 -1
- package/dist/schema/state/sqlite/query-builder/impl.js +20 -25
- package/dist/schema/state/sqlite/query-builder/impl.js.map +1 -1
- package/dist/schema/state/sqlite/query-builder/impl.test.d.ts +1 -81
- package/dist/schema/state/sqlite/query-builder/impl.test.d.ts.map +1 -1
- package/dist/schema/state/sqlite/query-builder/impl.test.js +36 -22
- package/dist/schema/state/sqlite/query-builder/impl.test.js.map +1 -1
- package/dist/schema/state/sqlite/query-builder/mod.d.ts +2 -2
- package/dist/schema/state/sqlite/query-builder/mod.js +2 -2
- package/dist/schema/state/sqlite/schema-helpers.d.ts +1 -1
- package/dist/schema/state/sqlite/schema-helpers.js +1 -1
- package/dist/schema/state/sqlite/system-tables.d.ts +72 -67
- package/dist/schema/state/sqlite/system-tables.d.ts.map +1 -1
- package/dist/schema/state/sqlite/system-tables.js +11 -20
- package/dist/schema/state/sqlite/system-tables.js.map +1 -1
- package/dist/schema/state/sqlite/table-def.d.ts +3 -3
- package/dist/schema/state/sqlite/table-def.d.ts.map +1 -1
- package/dist/schema/state/sqlite/table-def.js +2 -2
- package/dist/schema-management/common.d.ts +2 -2
- package/dist/schema-management/common.js +1 -1
- package/dist/schema-management/migrations.d.ts +6 -4
- package/dist/schema-management/migrations.d.ts.map +1 -1
- package/dist/schema-management/migrations.js +5 -5
- package/dist/schema-management/migrations.js.map +1 -1
- package/dist/schema-management/validate-schema.d.ts +4 -4
- package/dist/schema-management/validate-schema.js +1 -1
- package/dist/sql-queries/index.d.ts +3 -3
- package/dist/sql-queries/index.js +3 -3
- package/dist/sql-queries/sql-queries.d.ts +2 -2
- package/dist/sql-queries/sql-queries.d.ts.map +1 -1
- package/dist/sql-queries/sql-queries.js +5 -3
- package/dist/sql-queries/sql-queries.js.map +1 -1
- package/dist/sql-queries/sql-query-builder.d.ts +3 -3
- package/dist/sql-queries/sql-query-builder.js +1 -1
- package/dist/sql-queries/types.d.ts +1 -1
- package/dist/sqlite-db-helper.d.ts +2 -2
- package/dist/sqlite-db-helper.js +1 -1
- package/dist/sqlite-types.d.ts +72 -0
- package/dist/sqlite-types.d.ts.map +1 -0
- package/dist/sqlite-types.js +5 -0
- package/dist/sqlite-types.js.map +1 -0
- package/dist/sync/ClientSessionSyncProcessor.d.ts +22 -7
- package/dist/sync/ClientSessionSyncProcessor.d.ts.map +1 -1
- package/dist/sync/ClientSessionSyncProcessor.js +43 -21
- package/dist/sync/ClientSessionSyncProcessor.js.map +1 -1
- package/dist/sync/index.d.ts +3 -3
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +3 -3
- package/dist/sync/index.js.map +1 -1
- package/dist/sync/next/compact-events.d.ts +1 -1
- package/dist/sync/next/compact-events.js +4 -4
- package/dist/sync/next/facts.d.ts +3 -3
- package/dist/sync/next/facts.js +2 -2
- package/dist/sync/next/graphology.d.ts.map +1 -1
- package/dist/sync/next/graphology.js +0 -6
- package/dist/sync/next/graphology.js.map +1 -1
- package/dist/sync/next/graphology_.d.ts +1 -1
- package/dist/sync/next/graphology_.d.ts.map +1 -1
- package/dist/sync/next/graphology_.js +1 -1
- package/dist/sync/next/graphology_.js.map +1 -1
- package/dist/sync/next/history-dag-common.d.ts +3 -3
- package/dist/sync/next/history-dag-common.js +2 -2
- package/dist/sync/next/history-dag.d.ts +2 -2
- package/dist/sync/next/history-dag.js +3 -3
- package/dist/sync/next/mod.d.ts +5 -5
- package/dist/sync/next/mod.d.ts.map +1 -1
- package/dist/sync/next/mod.js +5 -5
- package/dist/sync/next/mod.js.map +1 -1
- package/dist/sync/next/rebase-events.d.ts +4 -4
- package/dist/sync/next/rebase-events.d.ts.map +1 -1
- package/dist/sync/next/rebase-events.js +3 -2
- package/dist/sync/next/rebase-events.js.map +1 -1
- package/dist/sync/next/test/compact-events.calculator.test.js +4 -4
- package/dist/sync/next/test/compact-events.test.js +5 -5
- package/dist/sync/next/test/compact-events.test.js.map +1 -1
- package/dist/sync/next/test/event-fixtures.d.ts +3 -3
- package/dist/sync/next/test/event-fixtures.d.ts.map +1 -1
- package/dist/sync/next/test/event-fixtures.js +17 -8
- package/dist/sync/next/test/event-fixtures.js.map +1 -1
- package/dist/sync/next/test/mod.d.ts +1 -1
- package/dist/sync/next/test/mod.js +1 -1
- package/dist/sync/sync.d.ts +6 -4
- package/dist/sync/sync.d.ts.map +1 -1
- package/dist/sync/sync.js +4 -1
- package/dist/sync/sync.js.map +1 -1
- package/dist/sync/syncstate.d.ts +14 -5
- package/dist/sync/syncstate.d.ts.map +1 -1
- package/dist/sync/syncstate.js +25 -12
- package/dist/sync/syncstate.js.map +1 -1
- package/dist/sync/syncstate.test.js +20 -21
- package/dist/sync/syncstate.test.js.map +1 -1
- package/dist/sync/validate-push-payload.d.ts +2 -2
- package/dist/sync/validate-push-payload.js +1 -1
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +0 -1
- package/dist/util.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +6 -5
- package/src/ClientSessionLeaderThreadProxy.ts +40 -0
- package/src/__tests__/fixture.ts +2 -2
- package/src/adapter-types.ts +21 -167
- package/src/debug-info.ts +2 -2
- package/src/defs.ts +17 -0
- package/src/devtools/devtools-messages-client-session.ts +4 -4
- package/src/devtools/devtools-messages-common.ts +1 -1
- package/src/devtools/devtools-messages-leader.ts +4 -4
- package/src/devtools/devtools-messages.ts +3 -3
- package/src/devtools/mod.ts +3 -3
- package/src/errors.ts +49 -0
- package/src/index.ts +16 -16
- package/src/leader-thread/LeaderSyncProcessor.ts +154 -193
- package/src/leader-thread/connection.ts +5 -5
- package/src/leader-thread/eventlog.ts +89 -67
- package/src/leader-thread/leader-worker-devtools.ts +5 -6
- package/src/leader-thread/make-leader-thread-layer.ts +64 -20
- package/src/leader-thread/materialize-event.ts +17 -10
- package/src/leader-thread/mod.ts +8 -7
- package/src/leader-thread/recreate-db.ts +101 -93
- package/src/leader-thread/shutdown-channel.ts +1 -1
- package/src/leader-thread/types.ts +10 -15
- package/src/make-client-session.ts +5 -6
- package/src/materializer-helper.ts +11 -11
- package/src/rematerialize-from-eventlog.ts +16 -8
- package/src/schema/EventDef.ts +8 -6
- package/src/schema/EventSequenceNumber.test.ts +121 -4
- package/src/schema/EventSequenceNumber.ts +95 -23
- package/src/schema/LiveStoreEvent.ts +23 -7
- package/src/schema/events.ts +1 -1
- package/src/schema/mod.ts +9 -9
- package/src/schema/schema.ts +7 -7
- package/src/schema/state/mod.ts +2 -2
- package/src/schema/state/sqlite/client-document-def.test.ts +9 -7
- package/src/schema/state/sqlite/client-document-def.ts +45 -33
- package/src/schema/state/sqlite/db-schema/ast/sqlite.ts +1 -1
- package/src/schema/state/sqlite/db-schema/ast/validate.ts +1 -1
- package/src/schema/state/sqlite/db-schema/dsl/field-defs.test.ts +1 -1
- package/src/schema/state/sqlite/db-schema/dsl/field-defs.ts +2 -2
- package/src/schema/state/sqlite/db-schema/dsl/mod.ts +19 -13
- package/src/schema/state/sqlite/db-schema/hash.ts +3 -4
- package/src/schema/state/sqlite/db-schema/mod.ts +2 -2
- package/src/schema/state/sqlite/mod.ts +13 -13
- package/src/schema/state/sqlite/query-builder/api.ts +43 -13
- package/src/schema/state/sqlite/query-builder/astToSql.ts +4 -4
- package/src/schema/state/sqlite/query-builder/impl.test.ts +63 -23
- package/src/schema/state/sqlite/query-builder/impl.ts +23 -28
- package/src/schema/state/sqlite/query-builder/mod.ts +2 -2
- package/src/schema/state/sqlite/schema-helpers.ts +2 -2
- package/src/schema/state/sqlite/system-tables.ts +12 -25
- package/src/schema/state/sqlite/table-def.ts +4 -4
- package/src/schema-management/common.ts +3 -3
- package/src/schema-management/migrations.ts +11 -9
- package/src/schema-management/validate-schema.ts +4 -4
- package/src/sql-queries/index.ts +3 -3
- package/src/sql-queries/sql-queries.ts +6 -4
- package/src/sql-queries/sql-query-builder.ts +4 -4
- package/src/sql-queries/types.ts +1 -1
- package/src/sqlite-db-helper.ts +3 -3
- package/src/sqlite-types.ts +76 -0
- package/src/sync/ClientSessionSyncProcessor.ts +65 -30
- package/src/sync/index.ts +3 -3
- package/src/sync/next/compact-events.ts +5 -5
- package/src/sync/next/facts.ts +4 -4
- package/src/sync/next/graphology.ts +3 -11
- package/src/sync/next/graphology_.ts +1 -1
- package/src/sync/next/history-dag-common.ts +3 -3
- package/src/sync/next/history-dag.ts +3 -3
- package/src/sync/next/mod.ts +5 -5
- package/src/sync/next/rebase-events.ts +7 -6
- package/src/sync/next/test/compact-events.calculator.test.ts +4 -4
- package/src/sync/next/test/compact-events.test.ts +6 -6
- package/src/sync/next/test/event-fixtures.ts +19 -10
- package/src/sync/next/test/mod.ts +1 -1
- package/src/sync/sync.ts +7 -4
- package/src/sync/syncstate.test.ts +25 -22
- package/src/sync/syncstate.ts +33 -12
- package/src/sync/validate-push-payload.ts +2 -2
- package/src/util.ts +0 -1
- package/src/version.ts +1 -1
@@ -2,7 +2,7 @@ import { Schema } from '@livestore/utils/effect';
|
|
2
2
|
declare const DebugInfoReq_base: Schema.Struct<{
|
3
3
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoReq">;
|
4
4
|
} & {
|
5
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
5
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
6
6
|
} & {
|
7
7
|
clientId: typeof Schema.String;
|
8
8
|
sessionId: typeof Schema.String;
|
@@ -13,7 +13,7 @@ export declare class DebugInfoReq extends DebugInfoReq_base {
|
|
13
13
|
declare const DebugInfoRes_base: Schema.Struct<{
|
14
14
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoRes">;
|
15
15
|
} & {
|
16
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
16
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
17
17
|
} & {
|
18
18
|
clientId: typeof Schema.String;
|
19
19
|
sessionId: typeof Schema.String;
|
@@ -41,7 +41,7 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
41
41
|
readonly queriedTables: readonly string[];
|
42
42
|
readonly startTimePerfNow: number;
|
43
43
|
}, never>>;
|
44
|
-
}>, Schema.Schema<import("../bounded-collections.
|
44
|
+
}>, Schema.Schema<import("../bounded-collections.ts").BoundArray<{
|
45
45
|
readonly queryStr: string;
|
46
46
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
47
47
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
@@ -50,7 +50,7 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
50
50
|
readonly rowsCount: number | undefined;
|
51
51
|
readonly queriedTables: ReadonlySet<string>;
|
52
52
|
readonly startTimePerfNow: number;
|
53
|
-
}>, import("../bounded-collections.
|
53
|
+
}>, import("../bounded-collections.ts").BoundArray<{
|
54
54
|
readonly queryStr: string;
|
55
55
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
56
56
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
@@ -65,7 +65,7 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
65
65
|
events: Schema.transform<Schema.Struct<{
|
66
66
|
size: typeof Schema.Number;
|
67
67
|
items: Schema.Array$<Schema.Schema<readonly [string, any], readonly [string, any], never>>;
|
68
|
-
}>, Schema.Schema<import("../bounded-collections.
|
68
|
+
}>, Schema.Schema<import("../bounded-collections.ts").BoundArray<readonly [string, any]>, import("../bounded-collections.ts").BoundArray<readonly [string, any]>, never>>;
|
69
69
|
}>;
|
70
70
|
}>;
|
71
71
|
export declare class DebugInfoRes extends DebugInfoRes_base {
|
@@ -73,7 +73,7 @@ export declare class DebugInfoRes extends DebugInfoRes_base {
|
|
73
73
|
declare const DebugInfoHistorySubscribe_base: Schema.Struct<{
|
74
74
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoHistorySubscribe">;
|
75
75
|
} & {
|
76
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
76
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
77
77
|
} & {
|
78
78
|
clientId: typeof Schema.String;
|
79
79
|
sessionId: typeof Schema.String;
|
@@ -86,7 +86,7 @@ export declare class DebugInfoHistorySubscribe extends DebugInfoHistorySubscribe
|
|
86
86
|
declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
87
87
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoHistoryRes">;
|
88
88
|
} & {
|
89
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
89
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
90
90
|
} & {
|
91
91
|
clientId: typeof Schema.String;
|
92
92
|
sessionId: typeof Schema.String;
|
@@ -114,7 +114,7 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
114
114
|
readonly queriedTables: readonly string[];
|
115
115
|
readonly startTimePerfNow: number;
|
116
116
|
}, never>>;
|
117
|
-
}>, Schema.Schema<import("../bounded-collections.
|
117
|
+
}>, Schema.Schema<import("../bounded-collections.ts").BoundArray<{
|
118
118
|
readonly queryStr: string;
|
119
119
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
120
120
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
@@ -123,7 +123,7 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
123
123
|
readonly rowsCount: number | undefined;
|
124
124
|
readonly queriedTables: ReadonlySet<string>;
|
125
125
|
readonly startTimePerfNow: number;
|
126
|
-
}>, import("../bounded-collections.
|
126
|
+
}>, import("../bounded-collections.ts").BoundArray<{
|
127
127
|
readonly queryStr: string;
|
128
128
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
129
129
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
@@ -138,7 +138,7 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
138
138
|
events: Schema.transform<Schema.Struct<{
|
139
139
|
size: typeof Schema.Number;
|
140
140
|
items: Schema.Array$<Schema.Schema<readonly [string, any], readonly [string, any], never>>;
|
141
|
-
}>, Schema.Schema<import("../bounded-collections.
|
141
|
+
}>, Schema.Schema<import("../bounded-collections.ts").BoundArray<readonly [string, any]>, import("../bounded-collections.ts").BoundArray<readonly [string, any]>, never>>;
|
142
142
|
}>>;
|
143
143
|
subscriptionId: typeof Schema.String;
|
144
144
|
}>;
|
@@ -147,7 +147,7 @@ export declare class DebugInfoHistoryRes extends DebugInfoHistoryRes_base {
|
|
147
147
|
declare const DebugInfoHistoryUnsubscribe_base: Schema.Struct<{
|
148
148
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoHistoryUnsubscribe">;
|
149
149
|
} & {
|
150
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
150
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
151
151
|
} & {
|
152
152
|
clientId: typeof Schema.String;
|
153
153
|
sessionId: typeof Schema.String;
|
@@ -160,7 +160,7 @@ export declare class DebugInfoHistoryUnsubscribe extends DebugInfoHistoryUnsubsc
|
|
160
160
|
declare const DebugInfoResetReq_base: Schema.Struct<{
|
161
161
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoResetReq">;
|
162
162
|
} & {
|
163
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
163
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
164
164
|
} & {
|
165
165
|
clientId: typeof Schema.String;
|
166
166
|
sessionId: typeof Schema.String;
|
@@ -171,7 +171,7 @@ export declare class DebugInfoResetReq extends DebugInfoResetReq_base {
|
|
171
171
|
declare const DebugInfoResetRes_base: Schema.Struct<{
|
172
172
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoResetRes">;
|
173
173
|
} & {
|
174
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
174
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
175
175
|
} & {
|
176
176
|
clientId: typeof Schema.String;
|
177
177
|
sessionId: typeof Schema.String;
|
@@ -182,7 +182,7 @@ export declare class DebugInfoResetRes extends DebugInfoResetRes_base {
|
|
182
182
|
declare const DebugInfoRerunQueryReq_base: Schema.Struct<{
|
183
183
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoRerunQueryReq">;
|
184
184
|
} & {
|
185
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
185
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
186
186
|
} & {
|
187
187
|
clientId: typeof Schema.String;
|
188
188
|
sessionId: typeof Schema.String;
|
@@ -197,7 +197,7 @@ export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base
|
|
197
197
|
declare const DebugInfoRerunQueryRes_base: Schema.Struct<{
|
198
198
|
_tag: Schema.tag<"LSD.ClientSession.DebugInfoRerunQueryRes">;
|
199
199
|
} & {
|
200
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
200
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
201
201
|
} & {
|
202
202
|
clientId: typeof Schema.String;
|
203
203
|
sessionId: typeof Schema.String;
|
@@ -208,7 +208,7 @@ export declare class DebugInfoRerunQueryRes extends DebugInfoRerunQueryRes_base
|
|
208
208
|
declare const SyncHeadSubscribe_base: Schema.Struct<{
|
209
209
|
_tag: Schema.tag<"LSD.ClientSession.SyncHeadSubscribe">;
|
210
210
|
} & {
|
211
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
211
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
212
212
|
} & {
|
213
213
|
clientId: typeof Schema.String;
|
214
214
|
sessionId: typeof Schema.String;
|
@@ -221,7 +221,7 @@ export declare class SyncHeadSubscribe extends SyncHeadSubscribe_base {
|
|
221
221
|
declare const SyncHeadUnsubscribe_base: Schema.Struct<{
|
222
222
|
_tag: Schema.tag<"LSD.ClientSession.SyncHeadUnsubscribe">;
|
223
223
|
} & {
|
224
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
224
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
225
225
|
} & {
|
226
226
|
clientId: typeof Schema.String;
|
227
227
|
sessionId: typeof Schema.String;
|
@@ -234,7 +234,7 @@ export declare class SyncHeadUnsubscribe extends SyncHeadUnsubscribe_base {
|
|
234
234
|
declare const SyncHeadRes_base: Schema.Struct<{
|
235
235
|
_tag: Schema.tag<"LSD.ClientSession.SyncHeadRes">;
|
236
236
|
} & {
|
237
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
237
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
238
238
|
} & {
|
239
239
|
clientId: typeof Schema.String;
|
240
240
|
sessionId: typeof Schema.String;
|
@@ -243,10 +243,12 @@ declare const SyncHeadRes_base: Schema.Struct<{
|
|
243
243
|
local: Schema.Struct<{
|
244
244
|
global: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">, number, never>;
|
245
245
|
client: Schema.BrandSchema<number & import("effect/Brand").Brand<"ClientEventSequenceNumber">, number, never>;
|
246
|
+
rebaseGeneration: typeof Schema.Int;
|
246
247
|
}>;
|
247
248
|
upstream: Schema.Struct<{
|
248
249
|
global: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">, number, never>;
|
249
250
|
client: Schema.BrandSchema<number & import("effect/Brand").Brand<"ClientEventSequenceNumber">, number, never>;
|
251
|
+
rebaseGeneration: typeof Schema.Int;
|
250
252
|
}>;
|
251
253
|
subscriptionId: typeof Schema.String;
|
252
254
|
}>;
|
@@ -255,7 +257,7 @@ export declare class SyncHeadRes extends SyncHeadRes_base {
|
|
255
257
|
declare const ReactivityGraphSubscribe_base: Schema.Struct<{
|
256
258
|
_tag: Schema.tag<"LSD.ClientSession.ReactivityGraphSubscribe">;
|
257
259
|
} & {
|
258
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
260
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
259
261
|
} & {
|
260
262
|
clientId: typeof Schema.String;
|
261
263
|
sessionId: typeof Schema.String;
|
@@ -269,7 +271,7 @@ export declare class ReactivityGraphSubscribe extends ReactivityGraphSubscribe_b
|
|
269
271
|
declare const ReactivityGraphUnsubscribe_base: Schema.Struct<{
|
270
272
|
_tag: Schema.tag<"LSD.ClientSession.ReactivityGraphUnsubscribe">;
|
271
273
|
} & {
|
272
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
274
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
273
275
|
} & {
|
274
276
|
clientId: typeof Schema.String;
|
275
277
|
sessionId: typeof Schema.String;
|
@@ -282,7 +284,7 @@ export declare class ReactivityGraphUnsubscribe extends ReactivityGraphUnsubscri
|
|
282
284
|
declare const ReactivityGraphRes_base: Schema.Struct<{
|
283
285
|
_tag: Schema.tag<"LSD.ClientSession.ReactivityGraphRes">;
|
284
286
|
} & {
|
285
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
287
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
286
288
|
} & {
|
287
289
|
clientId: typeof Schema.String;
|
288
290
|
sessionId: typeof Schema.String;
|
@@ -296,7 +298,7 @@ export declare class ReactivityGraphRes extends ReactivityGraphRes_base {
|
|
296
298
|
declare const LiveQueriesSubscribe_base: Schema.Struct<{
|
297
299
|
_tag: Schema.tag<"LSD.ClientSession.LiveQueriesSubscribe">;
|
298
300
|
} & {
|
299
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
301
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
300
302
|
} & {
|
301
303
|
clientId: typeof Schema.String;
|
302
304
|
sessionId: typeof Schema.String;
|
@@ -309,7 +311,7 @@ export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
|
|
309
311
|
declare const LiveQueriesUnsubscribe_base: Schema.Struct<{
|
310
312
|
_tag: Schema.tag<"LSD.ClientSession.LiveQueriesUnsubscribe">;
|
311
313
|
} & {
|
312
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
314
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
313
315
|
} & {
|
314
316
|
clientId: typeof Schema.String;
|
315
317
|
sessionId: typeof Schema.String;
|
@@ -339,7 +341,7 @@ export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
|
|
339
341
|
declare const LiveQueriesRes_base: Schema.Struct<{
|
340
342
|
_tag: Schema.tag<"LSD.ClientSession.LiveQueriesRes">;
|
341
343
|
} & {
|
342
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
344
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
343
345
|
} & {
|
344
346
|
clientId: typeof Schema.String;
|
345
347
|
sessionId: typeof Schema.String;
|
@@ -353,7 +355,7 @@ export declare class LiveQueriesRes extends LiveQueriesRes_base {
|
|
353
355
|
declare const Ping_base: Schema.Struct<{
|
354
356
|
_tag: Schema.tag<"LSD.ClientSession.Ping">;
|
355
357
|
} & {
|
356
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
358
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
357
359
|
} & {
|
358
360
|
clientId: typeof Schema.String;
|
359
361
|
sessionId: typeof Schema.String;
|
@@ -364,7 +366,7 @@ export declare class Ping extends Ping_base {
|
|
364
366
|
declare const Pong_base: Schema.Struct<{
|
365
367
|
_tag: Schema.tag<"LSD.ClientSession.Pong">;
|
366
368
|
} & {
|
367
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
369
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
368
370
|
} & {
|
369
371
|
clientId: typeof Schema.String;
|
370
372
|
sessionId: typeof Schema.String;
|
@@ -375,7 +377,7 @@ export declare class Pong extends Pong_base {
|
|
375
377
|
declare const Disconnect_base: Schema.Struct<{
|
376
378
|
_tag: Schema.tag<"LSD.ClientSession.Disconnect">;
|
377
379
|
} & {
|
378
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
380
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
379
381
|
} & {
|
380
382
|
clientId: typeof Schema.String;
|
381
383
|
sessionId: typeof Schema.String;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"devtools-messages-client-session.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages-client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;;;;;;;;;;AAOhD,qBAAa,YAAa,SAAQ,iBAAmE;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExG,qBAAa,YAAa,SAAQ,iBAEhC;CAAG;;;;;;;;;;;;AAEL,qBAAa,yBAA0B,SAAQ,8BAK9C;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEJ,qBAAa,mBAAoB,SAAQ,wBAGvC;CAAG;;;;;;;;;;;;AAEL,qBAAa,2BAA4B,SAAQ,gCAKhD;CAAG;;;;;;;;;;AAEJ,qBAAa,iBAAkB,SAAQ,sBAAwE;CAAG;;;;;;;;;;AAElH,qBAAa,iBAAkB,SAAQ,sBAAwE;CAAG;;;;;;;;;;;;;;AAElH,qBAAa,sBAAuB,SAAQ,2BAI1C;CAAG;;;;;;;;;;AAEL,qBAAa,sBAAuB,SAAQ,2BAG3C;CAAG;;;;;;;;;;;;AAEJ,qBAAa,iBAAkB,SAAQ,sBAErC;CAAG;;;;;;;;;;;;AACL,qBAAa,mBAAoB,SAAQ,wBAEvC;CAAG
|
1
|
+
{"version":3,"file":"devtools-messages-client-session.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages-client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;;;;;;;;;;AAOhD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;;;;;;AAExF,qBAAa,IAAK,SAAQ,SAA2D;CAAG;;;;;;;;;AAExF,qBAAa,UAAW,SAAQ,eAAkE;CAAG;AAErG,eAAO,MAAM,YAAY,0XAcsC,CAAA;AAE/D,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA;AAEnD,eAAO,MAAM,cAAc,gOAUsC,CAAA;AAEjE,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAA"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Schema } from '@livestore/utils/effect';
|
2
|
-
import { DebugInfo } from
|
3
|
-
import { EventSequenceNumber } from
|
4
|
-
import { PreparedBindValues } from
|
5
|
-
import { LSDClientSessionChannelMessage, LSDClientSessionReqResMessage } from
|
2
|
+
import { DebugInfo } from "../debug-info.js";
|
3
|
+
import { EventSequenceNumber } from "../schema/mod.js";
|
4
|
+
import { PreparedBindValues } from "../util.js";
|
5
|
+
import { LSDClientSessionChannelMessage, LSDClientSessionReqResMessage } from "./devtools-messages-common.js";
|
6
6
|
export class DebugInfoReq extends LSDClientSessionReqResMessage('LSD.ClientSession.DebugInfoReq', {}) {
|
7
7
|
}
|
8
8
|
export class DebugInfoRes extends LSDClientSessionReqResMessage('LSD.ClientSession.DebugInfoRes', {
|
@@ -9,23 +9,23 @@ export type NetworkStatus = typeof NetworkStatus.Type;
|
|
9
9
|
export declare const requestId: typeof Schema.String;
|
10
10
|
export declare const clientId: typeof Schema.String;
|
11
11
|
export declare const sessionId: typeof Schema.String;
|
12
|
-
export declare const liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
12
|
+
export declare const liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
13
13
|
export declare const LSDMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
14
14
|
_tag: Schema.tag<Tag>;
|
15
15
|
} & {
|
16
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
16
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
17
17
|
} & Fields>;
|
18
18
|
export declare const LSDChannelMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
19
19
|
_tag: Schema.tag<Tag>;
|
20
20
|
} & {
|
21
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
21
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
22
22
|
} & {
|
23
23
|
clientId: typeof Schema.String;
|
24
24
|
} & Fields>;
|
25
25
|
export declare const LSDClientSessionChannelMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
26
26
|
_tag: Schema.tag<Tag>;
|
27
27
|
} & {
|
28
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
28
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
29
29
|
} & {
|
30
30
|
clientId: typeof Schema.String;
|
31
31
|
sessionId: typeof Schema.String;
|
@@ -33,7 +33,7 @@ export declare const LSDClientSessionChannelMessage: <Tag extends string, Fields
|
|
33
33
|
export declare const LSDClientSessionReqResMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
34
34
|
_tag: Schema.tag<Tag>;
|
35
35
|
} & {
|
36
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
36
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
37
37
|
} & {
|
38
38
|
clientId: typeof Schema.String;
|
39
39
|
sessionId: typeof Schema.String;
|
@@ -42,7 +42,7 @@ export declare const LSDClientSessionReqResMessage: <Tag extends string, Fields
|
|
42
42
|
export declare const LSDReqResMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
43
43
|
_tag: Schema.tag<Tag>;
|
44
44
|
} & {
|
45
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
45
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
46
46
|
} & {
|
47
47
|
clientId: typeof Schema.String;
|
48
48
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"devtools-messages-common.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAIhD,eAAO,MAAM,aAAa;;;IAGxB,mGAAmG;;EAEnG,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAA;AAErD,eAAO,MAAM,SAAS,sBAAgB,CAAA;AACtC,eAAO,MAAM,QAAQ,sBAAgB,CAAA;AACrC,eAAO,MAAM,SAAS,sBAAgB,CAAA;AACtC,eAAO,MAAM,gBAAgB,
|
1
|
+
{"version":3,"file":"devtools-messages-common.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAIhD,eAAO,MAAM,aAAa;;;IAGxB,mGAAmG;;EAEnG,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAA;AAErD,eAAO,MAAM,SAAS,sBAAgB,CAAA;AACtC,eAAO,MAAM,QAAQ,sBAAgB,CAAA;AACrC,eAAO,MAAM,SAAS,sBAAgB,CAAA;AACtC,eAAO,MAAM,gBAAgB,iCAA6B,CAAA;AAE1D,eAAO,MAAM,UAAU,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,GAAG,EAAE,QAAQ,MAAM;;;;WAIvE,CAAA;AAErC,eAAO,MAAM,iBAAiB,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,GAAG,E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WAAW,GAAG,aAAa,CAAC,CAAC,CAAA;IACnH,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC,GAAG,GAAG,mBAAmB,EAAE,aAAa,GAAG,aAAa,CAAC,CAAA;IACtF,KAAK,EAAE,WAAW,SAAS,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,GAAG,GAAG,iBAAiB,EAAE,WAAW,GAAG,aAAa,CAAC,CAAA;CACrH,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,GAAG,SAAS,MAAM,EAClB,aAAa,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,EAC1C,aAAa,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,EAC1C,WAAW,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,KAAK,EAEhD,KAAK,GAAG,EACR,QAAQ;IACN,OAAO,EAAE,aAAa,CAAA;IACtB,OAAO,EAAE,aAAa,CAAA;IACtB,KAAK,CAAC,EAAE,WAAW,CAAA;CACpB,KACA,kBAAkB,CAAC,GAAG,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,CAyBnE,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Schema } from '@livestore/utils/effect';
|
2
|
-
import { liveStoreVersion as pkgVersion } from
|
2
|
+
import { liveStoreVersion as pkgVersion } from "../version.js";
|
3
3
|
export const NetworkStatus = Schema.Struct({
|
4
4
|
isConnected: Schema.Boolean,
|
5
5
|
timestampMs: Schema.Number,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Schema } from '@livestore/utils/effect';
|
2
|
-
import * as SyncState from '../sync/syncstate.
|
2
|
+
import * as SyncState from '../sync/syncstate.ts';
|
3
3
|
declare const ResetAllDataReq_base: Schema.Struct<{
|
4
4
|
_tag: Schema.tag<"LSD.Leader.ResetAllDataReq">;
|
5
5
|
} & {
|
6
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
6
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
7
7
|
} & {
|
8
8
|
clientId: typeof Schema.String;
|
9
9
|
} & {
|
@@ -16,7 +16,7 @@ export declare class ResetAllDataReq extends ResetAllDataReq_base {
|
|
16
16
|
declare const DatabaseFileInfoReq_base: Schema.Struct<{
|
17
17
|
_tag: Schema.tag<"LSD.Leader.DatabaseFileInfoReq">;
|
18
18
|
} & {
|
19
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
19
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
20
20
|
} & {
|
21
21
|
clientId: typeof Schema.String;
|
22
22
|
} & {
|
@@ -38,7 +38,7 @@ export declare class DatabaseFileInfo extends DatabaseFileInfo_base {
|
|
38
38
|
declare const DatabaseFileInfoRes_base: Schema.Struct<{
|
39
39
|
_tag: Schema.tag<"LSD.Leader.DatabaseFileInfoRes">;
|
40
40
|
} & {
|
41
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
41
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
42
42
|
} & {
|
43
43
|
clientId: typeof Schema.String;
|
44
44
|
} & {
|
@@ -52,7 +52,7 @@ export declare class DatabaseFileInfoRes extends DatabaseFileInfoRes_base {
|
|
52
52
|
declare const NetworkStatusSubscribe_base: Schema.Struct<{
|
53
53
|
_tag: Schema.tag<"LSD.Leader.NetworkStatusSubscribe">;
|
54
54
|
} & {
|
55
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
55
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
56
56
|
} & {
|
57
57
|
clientId: typeof Schema.String;
|
58
58
|
} & {
|
@@ -65,7 +65,7 @@ export declare class NetworkStatusSubscribe extends NetworkStatusSubscribe_base
|
|
65
65
|
declare const NetworkStatusUnsubscribe_base: Schema.Struct<{
|
66
66
|
_tag: Schema.tag<"LSD.Leader.NetworkStatusUnsubscribe">;
|
67
67
|
} & {
|
68
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
68
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
69
69
|
} & {
|
70
70
|
clientId: typeof Schema.String;
|
71
71
|
} & {
|
@@ -78,7 +78,7 @@ export declare class NetworkStatusUnsubscribe extends NetworkStatusUnsubscribe_b
|
|
78
78
|
declare const NetworkStatusRes_base: Schema.Struct<{
|
79
79
|
_tag: Schema.tag<"LSD.Leader.NetworkStatusRes">;
|
80
80
|
} & {
|
81
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
81
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
82
82
|
} & {
|
83
83
|
clientId: typeof Schema.String;
|
84
84
|
} & {
|
@@ -96,7 +96,7 @@ export declare class NetworkStatusRes extends NetworkStatusRes_base {
|
|
96
96
|
declare const SyncingInfoReq_base: Schema.Struct<{
|
97
97
|
_tag: Schema.tag<"LSD.Leader.SyncingInfoReq">;
|
98
98
|
} & {
|
99
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
99
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
100
100
|
} & {
|
101
101
|
clientId: typeof Schema.String;
|
102
102
|
} & {
|
@@ -113,7 +113,7 @@ export declare class SyncingInfo extends SyncingInfo_base {
|
|
113
113
|
declare const SyncingInfoRes_base: Schema.Struct<{
|
114
114
|
_tag: Schema.tag<"LSD.Leader.SyncingInfoRes">;
|
115
115
|
} & {
|
116
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
116
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
117
117
|
} & {
|
118
118
|
clientId: typeof Schema.String;
|
119
119
|
} & {
|
@@ -126,7 +126,7 @@ export declare class SyncingInfoRes extends SyncingInfoRes_base {
|
|
126
126
|
declare const SyncHistorySubscribe_base: Schema.Struct<{
|
127
127
|
_tag: Schema.tag<"LSD.Leader.SyncHistorySubscribe">;
|
128
128
|
} & {
|
129
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
129
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
130
130
|
} & {
|
131
131
|
clientId: typeof Schema.String;
|
132
132
|
} & {
|
@@ -139,7 +139,7 @@ export declare class SyncHistorySubscribe extends SyncHistorySubscribe_base {
|
|
139
139
|
declare const SyncHistoryUnsubscribe_base: Schema.Struct<{
|
140
140
|
_tag: Schema.tag<"LSD.Leader.SyncHistoryUnsubscribe">;
|
141
141
|
} & {
|
142
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
142
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
143
143
|
} & {
|
144
144
|
clientId: typeof Schema.String;
|
145
145
|
} & {
|
@@ -152,7 +152,7 @@ export declare class SyncHistoryUnsubscribe extends SyncHistoryUnsubscribe_base
|
|
152
152
|
declare const SyncHistoryRes_base: Schema.Struct<{
|
153
153
|
_tag: Schema.tag<"LSD.Leader.SyncHistoryRes">;
|
154
154
|
} & {
|
155
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
155
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
156
156
|
} & {
|
157
157
|
clientId: typeof Schema.String;
|
158
158
|
} & {
|
@@ -174,7 +174,7 @@ export declare class SyncHistoryRes extends SyncHistoryRes_base {
|
|
174
174
|
declare const SyncHeadSubscribe_base: Schema.Struct<{
|
175
175
|
_tag: Schema.tag<"LSD.Leader.SyncHeadSubscribe">;
|
176
176
|
} & {
|
177
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
177
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
178
178
|
} & {
|
179
179
|
clientId: typeof Schema.String;
|
180
180
|
} & {
|
@@ -187,7 +187,7 @@ export declare class SyncHeadSubscribe extends SyncHeadSubscribe_base {
|
|
187
187
|
declare const SyncHeadUnsubscribe_base: Schema.Struct<{
|
188
188
|
_tag: Schema.tag<"LSD.Leader.SyncHeadUnsubscribe">;
|
189
189
|
} & {
|
190
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
190
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
191
191
|
} & {
|
192
192
|
clientId: typeof Schema.String;
|
193
193
|
} & {
|
@@ -200,7 +200,7 @@ export declare class SyncHeadUnsubscribe extends SyncHeadUnsubscribe_base {
|
|
200
200
|
declare const SyncHeadRes_base: Schema.Struct<{
|
201
201
|
_tag: Schema.tag<"LSD.Leader.SyncHeadRes">;
|
202
202
|
} & {
|
203
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
203
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
204
204
|
} & {
|
205
205
|
clientId: typeof Schema.String;
|
206
206
|
} & {
|
@@ -209,10 +209,12 @@ declare const SyncHeadRes_base: Schema.Struct<{
|
|
209
209
|
local: Schema.Struct<{
|
210
210
|
global: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">, number, never>;
|
211
211
|
client: Schema.BrandSchema<number & import("effect/Brand").Brand<"ClientEventSequenceNumber">, number, never>;
|
212
|
+
rebaseGeneration: typeof Schema.Int;
|
212
213
|
}>;
|
213
214
|
upstream: Schema.Struct<{
|
214
215
|
global: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventSequenceNumber">, number, never>;
|
215
216
|
client: Schema.BrandSchema<number & import("effect/Brand").Brand<"ClientEventSequenceNumber">, number, never>;
|
217
|
+
rebaseGeneration: typeof Schema.Int;
|
216
218
|
}>;
|
217
219
|
subscriptionId: typeof Schema.String;
|
218
220
|
}>;
|
@@ -221,7 +223,7 @@ export declare class SyncHeadRes extends SyncHeadRes_base {
|
|
221
223
|
declare const SnapshotReq_base: Schema.Struct<{
|
222
224
|
_tag: Schema.tag<"LSD.Leader.SnapshotReq">;
|
223
225
|
} & {
|
224
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
226
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
225
227
|
} & {
|
226
228
|
clientId: typeof Schema.String;
|
227
229
|
} & {
|
@@ -232,7 +234,7 @@ export declare class SnapshotReq extends SnapshotReq_base {
|
|
232
234
|
declare const SnapshotRes_base: Schema.Struct<{
|
233
235
|
_tag: Schema.tag<"LSD.Leader.SnapshotRes">;
|
234
236
|
} & {
|
235
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
237
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
236
238
|
} & {
|
237
239
|
clientId: typeof Schema.String;
|
238
240
|
} & {
|
@@ -242,7 +244,7 @@ declare const SnapshotRes_base: Schema.Struct<{
|
|
242
244
|
}>;
|
243
245
|
export declare class SnapshotRes extends SnapshotRes_base {
|
244
246
|
}
|
245
|
-
export declare const LoadDatabaseFile: import("./devtools-messages-common.
|
247
|
+
export declare const LoadDatabaseFile: import("./devtools-messages-common.ts").LeaderReqResSchema<"LSD.Leader.LoadDatabaseFile", {
|
246
248
|
data: Schema.Schema<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>, never>;
|
247
249
|
}, {}, {
|
248
250
|
cause: Schema.Union<[Schema.TaggedStruct<"unsupported-file", {}>, Schema.TaggedStruct<"unsupported-database", {}>, Schema.TaggedStruct<"unexpected-error", {
|
@@ -252,7 +254,7 @@ export declare const LoadDatabaseFile: import("./devtools-messages-common.js").L
|
|
252
254
|
declare const SyncPull_base: Schema.Struct<{
|
253
255
|
_tag: Schema.tag<"LSD.Leader.SyncPull">;
|
254
256
|
} & {
|
255
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
257
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
256
258
|
} & {
|
257
259
|
payload: typeof SyncState.PayloadUpstream;
|
258
260
|
}>;
|
@@ -261,7 +263,7 @@ export declare class SyncPull extends SyncPull_base {
|
|
261
263
|
declare const CommitEventReq_base: Schema.Struct<{
|
262
264
|
_tag: Schema.tag<"LSD.Leader.CommitEventReq">;
|
263
265
|
} & {
|
264
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
266
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
265
267
|
} & {
|
266
268
|
clientId: typeof Schema.String;
|
267
269
|
} & {
|
@@ -277,7 +279,7 @@ export declare class CommitEventReq extends CommitEventReq_base {
|
|
277
279
|
declare const CommitEventRes_base: Schema.Struct<{
|
278
280
|
_tag: Schema.tag<"LSD.Leader.CommitEventRes">;
|
279
281
|
} & {
|
280
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
282
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
281
283
|
} & {
|
282
284
|
clientId: typeof Schema.String;
|
283
285
|
} & {
|
@@ -288,7 +290,7 @@ export declare class CommitEventRes extends CommitEventRes_base {
|
|
288
290
|
declare const EventlogReq_base: Schema.Struct<{
|
289
291
|
_tag: Schema.tag<"LSD.Leader.EventlogReq">;
|
290
292
|
} & {
|
291
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
293
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
292
294
|
} & {
|
293
295
|
clientId: typeof Schema.String;
|
294
296
|
} & {
|
@@ -299,7 +301,7 @@ export declare class EventlogReq extends EventlogReq_base {
|
|
299
301
|
declare const EventlogRes_base: Schema.Struct<{
|
300
302
|
_tag: Schema.tag<"LSD.Leader.EventlogRes">;
|
301
303
|
} & {
|
302
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
304
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
303
305
|
} & {
|
304
306
|
clientId: typeof Schema.String;
|
305
307
|
} & {
|
@@ -312,7 +314,7 @@ export declare class EventlogRes extends EventlogRes_base {
|
|
312
314
|
declare const Ping_base: Schema.Struct<{
|
313
315
|
_tag: Schema.tag<"LSD.Leader.Ping">;
|
314
316
|
} & {
|
315
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
317
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
316
318
|
} & {
|
317
319
|
clientId: typeof Schema.String;
|
318
320
|
} & {
|
@@ -323,7 +325,7 @@ export declare class Ping extends Ping_base {
|
|
323
325
|
declare const Pong_base: Schema.Struct<{
|
324
326
|
_tag: Schema.tag<"LSD.Leader.Pong">;
|
325
327
|
} & {
|
326
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
328
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
327
329
|
} & {
|
328
330
|
clientId: typeof Schema.String;
|
329
331
|
} & {
|
@@ -334,7 +336,7 @@ export declare class Pong extends Pong_base {
|
|
334
336
|
declare const Disconnect_base: Schema.Struct<{
|
335
337
|
_tag: Schema.tag<"LSD.Leader.Disconnect">;
|
336
338
|
} & {
|
337
|
-
liveStoreVersion: Schema.Literal<["0.3.1"]>;
|
339
|
+
liveStoreVersion: Schema.Literal<["0.3.2-dev.1"]>;
|
338
340
|
} & {
|
339
341
|
clientId: typeof Schema.String;
|
340
342
|
} & {
|
@@ -342,35 +344,35 @@ declare const Disconnect_base: Schema.Struct<{
|
|
342
344
|
}>;
|
343
345
|
export declare class Disconnect extends Disconnect_base {
|
344
346
|
}
|
345
|
-
export declare const SetSyncLatch: import("./devtools-messages-common.
|
347
|
+
export declare const SetSyncLatch: import("./devtools-messages-common.ts").LeaderReqResSchema<"LSD.Leader.SetSyncLatch", {
|
346
348
|
closeLatch: typeof Schema.Boolean;
|
347
349
|
}, {}, never>;
|
348
|
-
export declare const ResetAllData: import("./devtools-messages-common.
|
350
|
+
export declare const ResetAllData: import("./devtools-messages-common.ts").LeaderReqResSchema<"LSD.Leader.ResetAllData", {
|
349
351
|
mode: Schema.Literal<["all-data", "only-app-db"]>;
|
350
352
|
}, {}, never>;
|
351
353
|
export declare const MessageToApp: Schema.Union<[typeof SnapshotReq, Schema.TaggedStruct<"LSD.Leader.LoadDatabaseFile.Request", {
|
352
354
|
data: Schema.Schema<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>, never>;
|
353
355
|
} & {
|
354
356
|
readonly requestId: typeof Schema.String;
|
355
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
357
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
356
358
|
readonly clientId: typeof Schema.String;
|
357
359
|
}>, typeof EventlogReq, Schema.TaggedStruct<"LSD.Leader.ResetAllData.Request", {
|
358
360
|
mode: Schema.Literal<["all-data", "only-app-db"]>;
|
359
361
|
} & {
|
360
362
|
readonly requestId: typeof Schema.String;
|
361
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
363
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
362
364
|
readonly clientId: typeof Schema.String;
|
363
365
|
}>, typeof NetworkStatusSubscribe, typeof NetworkStatusUnsubscribe, typeof Disconnect, typeof CommitEventReq, typeof Ping, typeof DatabaseFileInfoReq, typeof SyncHistorySubscribe, typeof SyncHistoryUnsubscribe, typeof SyncingInfoReq, typeof SyncHeadSubscribe, typeof SyncHeadUnsubscribe, Schema.TaggedStruct<"LSD.Leader.SetSyncLatch.Request", {
|
364
366
|
closeLatch: typeof Schema.Boolean;
|
365
367
|
} & {
|
366
368
|
readonly requestId: typeof Schema.String;
|
367
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
369
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
368
370
|
readonly clientId: typeof Schema.String;
|
369
371
|
}>]>;
|
370
372
|
export type MessageToApp = typeof MessageToApp.Type;
|
371
373
|
export declare const MessageFromApp: Schema.Union<[typeof SnapshotRes, Schema.TaggedStruct<"LSD.Leader.LoadDatabaseFile.Response.Success", {
|
372
374
|
readonly requestId: typeof Schema.String;
|
373
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
375
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
374
376
|
readonly clientId: typeof Schema.String;
|
375
377
|
}> | Schema.TaggedStruct<"LSD.Leader.LoadDatabaseFile.Response.Error", {
|
376
378
|
cause: Schema.Union<[Schema.TaggedStruct<"unsupported-file", {}>, Schema.TaggedStruct<"unsupported-database", {}>, Schema.TaggedStruct<"unexpected-error", {
|
@@ -378,15 +380,15 @@ export declare const MessageFromApp: Schema.Union<[typeof SnapshotRes, Schema.Ta
|
|
378
380
|
}>]>;
|
379
381
|
} & {
|
380
382
|
readonly requestId: typeof Schema.String;
|
381
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
383
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
382
384
|
readonly clientId: typeof Schema.String;
|
383
385
|
}>, typeof EventlogRes, typeof Disconnect, typeof SyncPull, typeof NetworkStatusRes, typeof CommitEventRes, typeof Pong, typeof DatabaseFileInfoRes, typeof SyncHistoryRes, typeof SyncingInfoRes, typeof SyncHeadRes, Schema.TaggedStruct<"LSD.Leader.ResetAllData.Response.Success", {
|
384
386
|
readonly requestId: typeof Schema.String;
|
385
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
387
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
386
388
|
readonly clientId: typeof Schema.String;
|
387
389
|
}>, Schema.TaggedStruct<"LSD.Leader.SetSyncLatch.Response.Success", {
|
388
390
|
readonly requestId: typeof Schema.String;
|
389
|
-
readonly liveStoreVersion: typeof import("./devtools-messages-common.
|
391
|
+
readonly liveStoreVersion: typeof import("./devtools-messages-common.ts").liveStoreVersion;
|
390
392
|
readonly clientId: typeof Schema.String;
|
391
393
|
}>]>;
|
392
394
|
export type MessageFromApp = typeof MessageFromApp.Type;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"devtools-messages-leader.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages-leader.ts"],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