@livestore/common 0.3.0-dev.1 → 0.3.0-dev.11
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 +47 -35
- package/dist/adapter-types.d.ts.map +1 -1
- package/dist/adapter-types.js.map +1 -1
- package/dist/derived-mutations.d.ts +4 -4
- package/dist/derived-mutations.d.ts.map +1 -1
- package/dist/derived-mutations.test.js.map +1 -1
- package/dist/devtools/devtool-message-leader.d.ts +2 -0
- package/dist/devtools/devtool-message-leader.d.ts.map +1 -0
- package/dist/devtools/devtool-message-leader.js +2 -0
- package/dist/devtools/devtool-message-leader.js.map +1 -0
- package/dist/devtools/devtools-bridge.d.ts +2 -1
- package/dist/devtools/devtools-bridge.d.ts.map +1 -1
- package/dist/devtools/devtools-messages-client-session.d.ts +297 -0
- package/dist/devtools/devtools-messages-client-session.d.ts.map +1 -0
- package/dist/devtools/devtools-messages-client-session.js +61 -0
- package/dist/devtools/devtools-messages-client-session.js.map +1 -0
- package/dist/devtools/devtools-messages-common.d.ts +65 -0
- package/dist/devtools/devtools-messages-common.d.ts.map +1 -0
- package/dist/devtools/devtools-messages-common.js +35 -0
- package/dist/devtools/devtools-messages-common.js.map +1 -0
- package/dist/devtools/devtools-messages-leader.d.ts +261 -0
- package/dist/devtools/devtools-messages-leader.d.ts.map +1 -0
- package/dist/devtools/devtools-messages-leader.js +85 -0
- package/dist/devtools/devtools-messages-leader.js.map +1 -0
- package/dist/devtools/devtools-messages.d.ts +3 -592
- package/dist/devtools/devtools-messages.d.ts.map +1 -1
- package/dist/devtools/devtools-messages.js +3 -171
- package/dist/devtools/devtools-messages.js.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/init-singleton-tables.d.ts +2 -2
- package/dist/init-singleton-tables.d.ts.map +1 -1
- package/dist/init-singleton-tables.js.map +1 -1
- package/dist/leader-thread/LeaderSyncProcessor.d.ts +37 -0
- package/dist/leader-thread/LeaderSyncProcessor.d.ts.map +1 -0
- package/dist/leader-thread/LeaderSyncProcessor.js +432 -0
- package/dist/leader-thread/LeaderSyncProcessor.js.map +1 -0
- package/dist/leader-thread/apply-mutation.d.ts +5 -2
- package/dist/leader-thread/apply-mutation.d.ts.map +1 -1
- package/dist/leader-thread/apply-mutation.js +41 -29
- package/dist/leader-thread/apply-mutation.js.map +1 -1
- package/dist/leader-thread/connection.d.ts +4 -4
- package/dist/leader-thread/connection.d.ts.map +1 -1
- package/dist/leader-thread/connection.js +5 -5
- package/dist/leader-thread/connection.js.map +1 -1
- package/dist/leader-thread/leader-sync-processor.d.ts +2 -2
- package/dist/leader-thread/leader-sync-processor.d.ts.map +1 -1
- package/dist/leader-thread/leader-sync-processor.js +20 -12
- package/dist/leader-thread/leader-sync-processor.js.map +1 -1
- package/dist/leader-thread/leader-worker-devtools.d.ts +1 -1
- package/dist/leader-thread/leader-worker-devtools.d.ts.map +1 -1
- package/dist/leader-thread/leader-worker-devtools.js +37 -81
- package/dist/leader-thread/leader-worker-devtools.js.map +1 -1
- package/dist/leader-thread/make-leader-thread-layer.d.ts +12 -11
- package/dist/leader-thread/make-leader-thread-layer.d.ts.map +1 -1
- package/dist/leader-thread/make-leader-thread-layer.js +33 -14
- package/dist/leader-thread/make-leader-thread-layer.js.map +1 -1
- package/dist/leader-thread/mutationlog.d.ts +6 -19
- package/dist/leader-thread/mutationlog.d.ts.map +1 -1
- package/dist/leader-thread/mutationlog.js +7 -6
- package/dist/leader-thread/mutationlog.js.map +1 -1
- package/dist/leader-thread/pull-queue-set.d.ts.map +1 -1
- package/dist/leader-thread/recreate-db.d.ts.map +1 -1
- package/dist/leader-thread/recreate-db.js +24 -18
- package/dist/leader-thread/recreate-db.js.map +1 -1
- package/dist/leader-thread/types.d.ts +36 -16
- package/dist/leader-thread/types.d.ts.map +1 -1
- package/dist/leader-thread/types.js.map +1 -1
- package/dist/mutation.d.ts +9 -2
- package/dist/mutation.d.ts.map +1 -1
- package/dist/mutation.js +5 -5
- package/dist/mutation.js.map +1 -1
- package/dist/query-builder/impl.d.ts +1 -1
- package/dist/rehydrate-from-mutationlog.d.ts +5 -5
- package/dist/rehydrate-from-mutationlog.d.ts.map +1 -1
- package/dist/rehydrate-from-mutationlog.js +13 -19
- package/dist/rehydrate-from-mutationlog.js.map +1 -1
- package/dist/schema/EventId.d.ts +16 -14
- package/dist/schema/EventId.d.ts.map +1 -1
- package/dist/schema/EventId.js +15 -7
- package/dist/schema/EventId.js.map +1 -1
- package/dist/schema/EventId.test.d.ts +2 -0
- package/dist/schema/EventId.test.d.ts.map +1 -0
- package/dist/schema/EventId.test.js +11 -0
- package/dist/schema/EventId.test.js.map +1 -0
- package/dist/schema/MutationEvent.d.ts +49 -80
- package/dist/schema/MutationEvent.d.ts.map +1 -1
- package/dist/schema/MutationEvent.js +32 -15
- package/dist/schema/MutationEvent.js.map +1 -1
- package/dist/schema/MutationEvent.test.d.ts +2 -0
- package/dist/schema/MutationEvent.test.d.ts.map +1 -0
- package/dist/schema/MutationEvent.test.js +2 -0
- package/dist/schema/MutationEvent.test.js.map +1 -0
- package/dist/schema/system-tables.d.ts +26 -26
- package/dist/schema/system-tables.d.ts.map +1 -1
- package/dist/schema/system-tables.js +19 -11
- package/dist/schema/system-tables.js.map +1 -1
- package/dist/schema-management/common.d.ts +3 -3
- package/dist/schema-management/common.d.ts.map +1 -1
- package/dist/schema-management/common.js.map +1 -1
- package/dist/schema-management/migrations.d.ts +4 -4
- package/dist/schema-management/migrations.d.ts.map +1 -1
- package/dist/schema-management/migrations.js +6 -6
- package/dist/schema-management/migrations.js.map +1 -1
- package/dist/sync/ClientSessionSyncProcessor.d.ts +43 -0
- package/dist/sync/ClientSessionSyncProcessor.d.ts.map +1 -0
- package/dist/sync/ClientSessionSyncProcessor.js +141 -0
- package/dist/sync/ClientSessionSyncProcessor.js.map +1 -0
- package/dist/sync/client-session-sync-processor.d.ts +4 -4
- package/dist/sync/client-session-sync-processor.d.ts.map +1 -1
- package/dist/sync/index.d.ts +1 -1
- package/dist/sync/index.d.ts.map +1 -1
- package/dist/sync/index.js +1 -1
- package/dist/sync/index.js.map +1 -1
- package/dist/sync/next/history-dag-common.d.ts +1 -4
- package/dist/sync/next/history-dag-common.d.ts.map +1 -1
- package/dist/sync/next/history-dag-common.js +1 -1
- package/dist/sync/next/history-dag-common.js.map +1 -1
- package/dist/sync/next/rebase-events.d.ts +3 -3
- 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/mutation-fixtures.d.ts +7 -7
- package/dist/sync/next/test/mutation-fixtures.d.ts.map +1 -1
- package/dist/sync/next/test/mutation-fixtures.js +3 -9
- package/dist/sync/next/test/mutation-fixtures.js.map +1 -1
- package/dist/sync/sync.d.ts +21 -11
- package/dist/sync/sync.d.ts.map +1 -1
- package/dist/sync/sync.js.map +1 -1
- package/dist/sync/syncstate.d.ts +45 -23
- package/dist/sync/syncstate.d.ts.map +1 -1
- package/dist/sync/syncstate.js +56 -12
- package/dist/sync/syncstate.js.map +1 -1
- package/dist/sync/syncstate.test.js +125 -69
- 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.d.ts.map +1 -1
- package/dist/sync/validate-push-payload.js +2 -2
- package/dist/sync/validate-push-payload.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/adapter-types.ts +39 -40
- package/src/derived-mutations.test.ts +1 -1
- package/src/derived-mutations.ts +9 -5
- package/src/devtools/devtools-bridge.ts +2 -1
- package/src/devtools/devtools-messages-client-session.ts +109 -0
- package/src/devtools/devtools-messages-common.ts +52 -0
- package/src/devtools/devtools-messages-leader.ts +115 -0
- package/src/devtools/devtools-messages.ts +3 -243
- package/src/index.ts +0 -6
- package/src/init-singleton-tables.ts +2 -2
- package/src/leader-thread/{leader-sync-processor.ts → LeaderSyncProcessor.ts} +306 -268
- package/src/leader-thread/apply-mutation.ts +53 -35
- package/src/leader-thread/connection.ts +7 -7
- package/src/leader-thread/leader-worker-devtools.ts +52 -124
- package/src/leader-thread/make-leader-thread-layer.ts +62 -30
- package/src/leader-thread/mutationlog.ts +14 -10
- package/src/leader-thread/recreate-db.ts +24 -20
- package/src/leader-thread/types.ts +41 -20
- package/src/mutation.ts +17 -7
- package/src/rehydrate-from-mutationlog.ts +18 -26
- package/src/schema/EventId.test.ts +12 -0
- package/src/schema/EventId.ts +23 -9
- package/src/schema/MutationEvent.ts +46 -24
- package/src/schema/system-tables.ts +19 -11
- package/src/schema-management/common.ts +3 -3
- package/src/schema-management/migrations.ts +10 -10
- package/src/sync/{client-session-sync-processor.ts → ClientSessionSyncProcessor.ts} +26 -19
- package/src/sync/index.ts +1 -1
- package/src/sync/next/history-dag-common.ts +1 -1
- package/src/sync/next/rebase-events.ts +7 -7
- package/src/sync/next/test/mutation-fixtures.ts +3 -10
- package/src/sync/sync.ts +19 -6
- package/src/sync/syncstate.test.ts +127 -67
- package/src/sync/syncstate.ts +21 -19
- package/src/sync/validate-push-payload.ts +7 -4
- package/src/version.ts +1 -1
@@ -0,0 +1,65 @@
|
|
1
|
+
import { Schema } from '@livestore/utils/effect';
|
2
|
+
export declare const LSDMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
3
|
+
_tag: Schema.tag<Tag>;
|
4
|
+
} & {
|
5
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
6
|
+
} & Fields>;
|
7
|
+
export declare const LSDChannelMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
8
|
+
_tag: Schema.tag<Tag>;
|
9
|
+
} & {
|
10
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
11
|
+
} & Fields>;
|
12
|
+
export declare const LSDClientSessionChannelMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
13
|
+
_tag: Schema.tag<Tag>;
|
14
|
+
} & {
|
15
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
16
|
+
} & {
|
17
|
+
clientId: typeof Schema.String;
|
18
|
+
sessionId: typeof Schema.String;
|
19
|
+
} & Fields>;
|
20
|
+
export declare const LSDClientSessionReqResMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
21
|
+
_tag: Schema.tag<Tag>;
|
22
|
+
} & {
|
23
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
24
|
+
} & {
|
25
|
+
clientId: typeof Schema.String;
|
26
|
+
sessionId: typeof Schema.String;
|
27
|
+
requestId: typeof Schema.String;
|
28
|
+
} & Fields>;
|
29
|
+
export declare const LSDReqResMessage: <Tag extends string, Fields extends Schema.Struct.Fields>(tag: Tag, fields: Fields) => Schema.Struct<{
|
30
|
+
_tag: Schema.tag<Tag>;
|
31
|
+
} & {
|
32
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
33
|
+
} & {
|
34
|
+
requestId: typeof Schema.String;
|
35
|
+
} & Fields>;
|
36
|
+
declare const Disconnect_base: Schema.Struct<{
|
37
|
+
_tag: Schema.tag<"LSD.Disconnect">;
|
38
|
+
} & {
|
39
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
40
|
+
} & {
|
41
|
+
clientId: typeof Schema.String;
|
42
|
+
sessionId: typeof Schema.String;
|
43
|
+
}>;
|
44
|
+
export declare class Disconnect extends Disconnect_base {
|
45
|
+
}
|
46
|
+
declare const Ping_base: Schema.Struct<{
|
47
|
+
_tag: Schema.tag<"LSD.Ping">;
|
48
|
+
} & {
|
49
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
50
|
+
} & {
|
51
|
+
requestId: typeof Schema.String;
|
52
|
+
}>;
|
53
|
+
export declare class Ping extends Ping_base {
|
54
|
+
}
|
55
|
+
declare const Pong_base: Schema.Struct<{
|
56
|
+
_tag: Schema.tag<"LSD.Pong">;
|
57
|
+
} & {
|
58
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
59
|
+
} & {
|
60
|
+
requestId: typeof Schema.String;
|
61
|
+
}>;
|
62
|
+
export declare class Pong extends Pong_base {
|
63
|
+
}
|
64
|
+
export {};
|
65
|
+
//# sourceMappingURL=devtools-messages-common.d.ts.map
|
@@ -0,0 +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;AAShD,eAAO,MAAM,UAAU,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,MAAM;;;;WAIvE,CAAA;AAErC,eAAO,MAAM,iBAAiB,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,MAAM;;;;WAG/G,CAAA;AAEJ,eAAO,MAAM,8BAA8B,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,OAC/F,GAAG,UACA,MAAM;;;;;;;WAMZ,CAAA;AAEJ,eAAO,MAAM,6BAA6B,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,OAC9F,GAAG,UACA,MAAM;;;;;;;;WAOZ,CAAA;AAEJ,eAAO,MAAM,gBAAgB,GAAI,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,MAAM;;;;;;WAI9G,CAAA;;;;;;;;;AAEJ,qBAAa,UAAW,SAAQ,eAAoD;CAAG;;;;;;;;AAEvF,qBAAa,IAAK,SAAQ,SAAgC;CAAG;;;;;;;;AAE7D,qBAAa,IAAK,SAAQ,SAAgC;CAAG"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { Schema } from '@livestore/utils/effect';
|
2
|
+
import { liveStoreVersion as pkgVersion } from '../version.js';
|
3
|
+
const requestId = Schema.String;
|
4
|
+
const clientId = Schema.String;
|
5
|
+
const sessionId = Schema.String;
|
6
|
+
const liveStoreVersion = Schema.Literal(pkgVersion);
|
7
|
+
export const LSDMessage = (tag, fields) => Schema.TaggedStruct(tag, {
|
8
|
+
liveStoreVersion,
|
9
|
+
...fields,
|
10
|
+
}).annotations({ identifier: tag });
|
11
|
+
export const LSDChannelMessage = (tag, fields) => LSDMessage(tag, {
|
12
|
+
...fields,
|
13
|
+
});
|
14
|
+
export const LSDClientSessionChannelMessage = (tag, fields) => LSDMessage(tag, {
|
15
|
+
clientId,
|
16
|
+
sessionId,
|
17
|
+
...fields,
|
18
|
+
});
|
19
|
+
export const LSDClientSessionReqResMessage = (tag, fields) => LSDMessage(tag, {
|
20
|
+
clientId,
|
21
|
+
sessionId,
|
22
|
+
requestId,
|
23
|
+
...fields,
|
24
|
+
});
|
25
|
+
export const LSDReqResMessage = (tag, fields) => LSDChannelMessage(tag, {
|
26
|
+
requestId,
|
27
|
+
...fields,
|
28
|
+
});
|
29
|
+
export class Disconnect extends LSDClientSessionChannelMessage('LSD.Disconnect', {}) {
|
30
|
+
}
|
31
|
+
export class Ping extends LSDReqResMessage('LSD.Ping', {}) {
|
32
|
+
}
|
33
|
+
export class Pong extends LSDReqResMessage('LSD.Pong', {}) {
|
34
|
+
}
|
35
|
+
//# sourceMappingURL=devtools-messages-common.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"devtools-messages-common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CAAC,CAAA;AAEJ,MAAM,OAAO,UAAW,SAAQ,8BAA8B,CAAC,gBAAgB,EAAE,EAAE,CAAC;CAAG;AAEvF,MAAM,OAAO,IAAK,SAAQ,gBAAgB,CAAC,UAAU,EAAE,EAAE,CAAC;CAAG;AAE7D,MAAM,OAAO,IAAK,SAAQ,gBAAgB,CAAC,UAAU,EAAE,EAAE,CAAC;CAAG"}
|
@@ -0,0 +1,261 @@
|
|
1
|
+
import { Schema } from '@livestore/utils/effect';
|
2
|
+
import { Disconnect, Ping, Pong } from './devtools-messages-common.js';
|
3
|
+
declare const ResetAllDataReq_base: Schema.Struct<{
|
4
|
+
_tag: Schema.tag<"LSD.Leader.ResetAllDataReq">;
|
5
|
+
} & {
|
6
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
7
|
+
} & {
|
8
|
+
requestId: typeof Schema.String;
|
9
|
+
} & {
|
10
|
+
mode: Schema.Literal<["all-data", "only-app-db"]>;
|
11
|
+
}>;
|
12
|
+
export declare class ResetAllDataReq extends ResetAllDataReq_base {
|
13
|
+
}
|
14
|
+
declare const ResetAllDataRes_base: Schema.Struct<{
|
15
|
+
_tag: Schema.tag<"LSD.Leader.ResetAllDataRes">;
|
16
|
+
} & {
|
17
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
18
|
+
} & {
|
19
|
+
requestId: typeof Schema.String;
|
20
|
+
}>;
|
21
|
+
export declare class ResetAllDataRes extends ResetAllDataRes_base {
|
22
|
+
}
|
23
|
+
declare const DatabaseFileInfoReq_base: Schema.Struct<{
|
24
|
+
_tag: Schema.tag<"LSD.Leader.DatabaseFileInfoReq">;
|
25
|
+
} & {
|
26
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
27
|
+
} & {
|
28
|
+
requestId: typeof Schema.String;
|
29
|
+
}>;
|
30
|
+
export declare class DatabaseFileInfoReq extends DatabaseFileInfoReq_base {
|
31
|
+
}
|
32
|
+
declare const DatabaseFileInfo_base: Schema.Struct<{
|
33
|
+
fileSize: typeof Schema.Number;
|
34
|
+
persistenceInfo: Schema.TypeLiteral<{
|
35
|
+
fileName: typeof Schema.String;
|
36
|
+
}, readonly [{
|
37
|
+
readonly key: typeof Schema.String;
|
38
|
+
readonly value: typeof Schema.Any;
|
39
|
+
}]>;
|
40
|
+
}>;
|
41
|
+
export declare class DatabaseFileInfo extends DatabaseFileInfo_base {
|
42
|
+
}
|
43
|
+
declare const DatabaseFileInfoRes_base: Schema.Struct<{
|
44
|
+
_tag: Schema.tag<"LSD.Leader.DatabaseFileInfoRes">;
|
45
|
+
} & {
|
46
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
47
|
+
} & {
|
48
|
+
requestId: typeof Schema.String;
|
49
|
+
} & {
|
50
|
+
readModel: typeof DatabaseFileInfo;
|
51
|
+
mutationLog: typeof DatabaseFileInfo;
|
52
|
+
}>;
|
53
|
+
export declare class DatabaseFileInfoRes extends DatabaseFileInfoRes_base {
|
54
|
+
}
|
55
|
+
declare const NetworkStatusSubscribe_base: Schema.Struct<{
|
56
|
+
_tag: Schema.tag<"LSD.Leader.NetworkStatusSubscribe">;
|
57
|
+
} & {
|
58
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
59
|
+
} & {
|
60
|
+
requestId: typeof Schema.String;
|
61
|
+
}>;
|
62
|
+
export declare class NetworkStatusSubscribe extends NetworkStatusSubscribe_base {
|
63
|
+
}
|
64
|
+
declare const NetworkStatusUnsubscribe_base: Schema.Struct<{
|
65
|
+
_tag: Schema.tag<"LSD.Leader.NetworkStatusUnsubscribe">;
|
66
|
+
} & {
|
67
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
68
|
+
} & {
|
69
|
+
requestId: typeof Schema.String;
|
70
|
+
}>;
|
71
|
+
export declare class NetworkStatusUnsubscribe extends NetworkStatusUnsubscribe_base {
|
72
|
+
}
|
73
|
+
declare const NetworkStatusRes_base: Schema.Struct<{
|
74
|
+
_tag: Schema.tag<"LSD.Leader.NetworkStatusRes">;
|
75
|
+
} & {
|
76
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
77
|
+
} & {
|
78
|
+
requestId: typeof Schema.String;
|
79
|
+
} & {
|
80
|
+
networkStatus: Schema.Struct<{
|
81
|
+
isConnected: typeof Schema.Boolean;
|
82
|
+
timestampMs: typeof Schema.Number;
|
83
|
+
}>;
|
84
|
+
}>;
|
85
|
+
export declare class NetworkStatusRes extends NetworkStatusRes_base {
|
86
|
+
}
|
87
|
+
declare const SyncingInfoReq_base: Schema.Struct<{
|
88
|
+
_tag: Schema.tag<"LSD.Leader.SyncingInfoReq">;
|
89
|
+
} & {
|
90
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
91
|
+
} & {
|
92
|
+
requestId: typeof Schema.String;
|
93
|
+
}>;
|
94
|
+
export declare class SyncingInfoReq extends SyncingInfoReq_base {
|
95
|
+
}
|
96
|
+
declare const SyncingInfo_base: Schema.Struct<{
|
97
|
+
enabled: typeof Schema.Boolean;
|
98
|
+
metadata: Schema.Record$<typeof Schema.String, typeof Schema.Any>;
|
99
|
+
}>;
|
100
|
+
export declare class SyncingInfo extends SyncingInfo_base {
|
101
|
+
}
|
102
|
+
declare const SyncingInfoRes_base: Schema.Struct<{
|
103
|
+
_tag: Schema.tag<"LSD.Leader.SyncingInfoRes">;
|
104
|
+
} & {
|
105
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
106
|
+
} & {
|
107
|
+
requestId: typeof Schema.String;
|
108
|
+
} & {
|
109
|
+
syncingInfo: typeof SyncingInfo;
|
110
|
+
}>;
|
111
|
+
export declare class SyncingInfoRes extends SyncingInfoRes_base {
|
112
|
+
}
|
113
|
+
declare const SyncHistorySubscribe_base: Schema.Struct<{
|
114
|
+
_tag: Schema.tag<"LSD.Leader.SyncHistorySubscribe">;
|
115
|
+
} & {
|
116
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
117
|
+
} & {
|
118
|
+
requestId: typeof Schema.String;
|
119
|
+
}>;
|
120
|
+
export declare class SyncHistorySubscribe extends SyncHistorySubscribe_base {
|
121
|
+
}
|
122
|
+
declare const SyncHistoryUnsubscribe_base: Schema.Struct<{
|
123
|
+
_tag: Schema.tag<"LSD.Leader.SyncHistoryUnsubscribe">;
|
124
|
+
} & {
|
125
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
126
|
+
} & {
|
127
|
+
requestId: typeof Schema.String;
|
128
|
+
}>;
|
129
|
+
export declare class SyncHistoryUnsubscribe extends SyncHistoryUnsubscribe_base {
|
130
|
+
}
|
131
|
+
declare const SyncHistoryRes_base: Schema.Struct<{
|
132
|
+
_tag: Schema.tag<"LSD.Leader.SyncHistoryRes">;
|
133
|
+
} & {
|
134
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
135
|
+
} & {
|
136
|
+
requestId: typeof Schema.String;
|
137
|
+
} & {
|
138
|
+
mutationEventEncoded: Schema.Struct<{
|
139
|
+
mutation: typeof Schema.String;
|
140
|
+
args: typeof Schema.Any;
|
141
|
+
id: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventId">, number, never>;
|
142
|
+
parentId: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventId">, number, never>;
|
143
|
+
}>;
|
144
|
+
metadata: Schema.Option<Schema.Schema<Schema.JsonValue, Schema.JsonValue, never>>;
|
145
|
+
}>;
|
146
|
+
export declare class SyncHistoryRes extends SyncHistoryRes_base {
|
147
|
+
}
|
148
|
+
declare const SnapshotReq_base: Schema.Struct<{
|
149
|
+
_tag: Schema.tag<"LSD.Leader.SnapshotReq">;
|
150
|
+
} & {
|
151
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
152
|
+
} & {
|
153
|
+
requestId: typeof Schema.String;
|
154
|
+
}>;
|
155
|
+
export declare class SnapshotReq extends SnapshotReq_base {
|
156
|
+
}
|
157
|
+
declare const SnapshotRes_base: Schema.Struct<{
|
158
|
+
_tag: Schema.tag<"LSD.Leader.SnapshotRes">;
|
159
|
+
} & {
|
160
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
161
|
+
} & {
|
162
|
+
requestId: typeof Schema.String;
|
163
|
+
} & {
|
164
|
+
snapshot: Schema.Schema<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>, never>;
|
165
|
+
}>;
|
166
|
+
export declare class SnapshotRes extends SnapshotRes_base {
|
167
|
+
}
|
168
|
+
declare const LoadDatabaseFileReq_base: Schema.Struct<{
|
169
|
+
_tag: Schema.tag<"LSD.Leader.LoadDatabaseFileReq">;
|
170
|
+
} & {
|
171
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
172
|
+
} & {
|
173
|
+
requestId: typeof Schema.String;
|
174
|
+
} & {
|
175
|
+
data: Schema.Schema<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>, never>;
|
176
|
+
}>;
|
177
|
+
export declare class LoadDatabaseFileReq extends LoadDatabaseFileReq_base {
|
178
|
+
}
|
179
|
+
declare const LoadDatabaseFileRes_base: Schema.Struct<{
|
180
|
+
_tag: Schema.tag<"LSD.Leader.LoadDatabaseFileRes">;
|
181
|
+
} & {
|
182
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
183
|
+
} & {
|
184
|
+
requestId: typeof Schema.String;
|
185
|
+
} & {
|
186
|
+
status: Schema.Literal<["ok", "unsupported-file", "unsupported-database"]>;
|
187
|
+
}>;
|
188
|
+
export declare class LoadDatabaseFileRes extends LoadDatabaseFileRes_base {
|
189
|
+
}
|
190
|
+
declare const MutationBroadcast_base: Schema.Struct<{
|
191
|
+
_tag: Schema.tag<"LSD.Leader.MutationBroadcast">;
|
192
|
+
} & {
|
193
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
194
|
+
} & {
|
195
|
+
mutationEventEncoded: Schema.Struct<{
|
196
|
+
mutation: typeof Schema.String;
|
197
|
+
args: typeof Schema.Any;
|
198
|
+
id: Schema.Struct<{
|
199
|
+
global: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventId">, number, never>;
|
200
|
+
local: Schema.BrandSchema<number & import("effect/Brand").Brand<"LocalEventId">, number, never>;
|
201
|
+
}>;
|
202
|
+
parentId: Schema.Struct<{
|
203
|
+
global: Schema.BrandSchema<number & import("effect/Brand").Brand<"GlobalEventId">, number, never>;
|
204
|
+
local: Schema.BrandSchema<number & import("effect/Brand").Brand<"LocalEventId">, number, never>;
|
205
|
+
}>;
|
206
|
+
}>;
|
207
|
+
}>;
|
208
|
+
export declare class MutationBroadcast extends MutationBroadcast_base {
|
209
|
+
}
|
210
|
+
declare const RunMutationReq_base: Schema.Struct<{
|
211
|
+
_tag: Schema.tag<"LSD.Leader.RunMutationReq">;
|
212
|
+
} & {
|
213
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
214
|
+
} & {
|
215
|
+
requestId: typeof Schema.String;
|
216
|
+
} & {
|
217
|
+
mutationEventEncoded: Schema.SchemaClass<{
|
218
|
+
readonly mutation: string;
|
219
|
+
readonly args: any;
|
220
|
+
}, {
|
221
|
+
readonly mutation: string;
|
222
|
+
readonly args: any;
|
223
|
+
}, never>;
|
224
|
+
}>;
|
225
|
+
export declare class RunMutationReq extends RunMutationReq_base {
|
226
|
+
}
|
227
|
+
declare const RunMutationRes_base: Schema.Struct<{
|
228
|
+
_tag: Schema.tag<"LSD.Leader.RunMutationRes">;
|
229
|
+
} & {
|
230
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
231
|
+
} & {
|
232
|
+
requestId: typeof Schema.String;
|
233
|
+
}>;
|
234
|
+
export declare class RunMutationRes extends RunMutationRes_base {
|
235
|
+
}
|
236
|
+
declare const MutationLogReq_base: Schema.Struct<{
|
237
|
+
_tag: Schema.tag<"LSD.Leader.MutationLogReq">;
|
238
|
+
} & {
|
239
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
240
|
+
} & {
|
241
|
+
requestId: typeof Schema.String;
|
242
|
+
}>;
|
243
|
+
export declare class MutationLogReq extends MutationLogReq_base {
|
244
|
+
}
|
245
|
+
declare const MutationLogRes_base: Schema.Struct<{
|
246
|
+
_tag: Schema.tag<"LSD.Leader.MutationLogRes">;
|
247
|
+
} & {
|
248
|
+
liveStoreVersion: Schema.Literal<["0.3.0-dev.11"]>;
|
249
|
+
} & {
|
250
|
+
requestId: typeof Schema.String;
|
251
|
+
} & {
|
252
|
+
mutationLog: Schema.Schema<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>, never>;
|
253
|
+
}>;
|
254
|
+
export declare class MutationLogRes extends MutationLogRes_base {
|
255
|
+
}
|
256
|
+
export declare const MessageToAppLeader: Schema.Union<[typeof SnapshotReq, typeof LoadDatabaseFileReq, typeof MutationLogReq, typeof ResetAllDataReq, typeof NetworkStatusSubscribe, typeof NetworkStatusUnsubscribe, typeof Disconnect, typeof RunMutationReq, typeof Ping, typeof DatabaseFileInfoReq, typeof SyncHistorySubscribe, typeof SyncHistoryUnsubscribe, typeof SyncingInfoReq]>;
|
257
|
+
export type MessageToAppLeader = typeof MessageToAppLeader.Type;
|
258
|
+
export declare const MessageFromAppLeader: Schema.Union<[typeof SnapshotRes, typeof LoadDatabaseFileRes, typeof MutationLogRes, typeof ResetAllDataRes, typeof Disconnect, typeof MutationBroadcast, typeof NetworkStatusRes, typeof RunMutationRes, typeof Pong, typeof DatabaseFileInfoRes, typeof SyncHistoryRes, typeof SyncingInfoRes]>;
|
259
|
+
export type MessageFromAppLeader = typeof MessageFromAppLeader.Type;
|
260
|
+
export {};
|
261
|
+
//# sourceMappingURL=devtools-messages-leader.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"devtools-messages-leader.d.ts","sourceRoot":"","sources":["../../src/devtools/devtools-messages-leader.ts"],"names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Ae,SAAQ,mBAAiD;CAAG;;;;;;;;AAExF,qBAAa,cAAe,SAAQ,mBAAiD;CAAG;;;;;;;;;;AAExF,qBAAa,cAAe,SAAQ,mBAElC;CAAG;AAEL,eAAO,MAAM,kBAAkB,qVAcwB,CAAA;AAEvD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAA;AAE/D,eAAO,MAAM,oBAAoB,mSAawB,CAAA;AAEzD,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAA"}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
import { Schema, Transferable } from '@livestore/utils/effect';
|
2
|
+
import { NetworkStatus } from '../adapter-types.js';
|
3
|
+
import * as MutationEvent from '../schema/MutationEvent.js';
|
4
|
+
import { Disconnect, LSDMessage, LSDReqResMessage, Ping, Pong } from './devtools-messages-common.js';
|
5
|
+
export class ResetAllDataReq extends LSDReqResMessage('LSD.Leader.ResetAllDataReq', {
|
6
|
+
mode: Schema.Literal('all-data', 'only-app-db'),
|
7
|
+
}) {
|
8
|
+
}
|
9
|
+
export class ResetAllDataRes extends LSDReqResMessage('LSD.Leader.ResetAllDataRes', {}) {
|
10
|
+
}
|
11
|
+
export class DatabaseFileInfoReq extends LSDReqResMessage('LSD.Leader.DatabaseFileInfoReq', {}) {
|
12
|
+
}
|
13
|
+
export class DatabaseFileInfo extends Schema.Struct({
|
14
|
+
fileSize: Schema.Number,
|
15
|
+
persistenceInfo: Schema.Struct({ fileName: Schema.String }, { key: Schema.String, value: Schema.Any }),
|
16
|
+
}) {
|
17
|
+
}
|
18
|
+
export class DatabaseFileInfoRes extends LSDReqResMessage('LSD.Leader.DatabaseFileInfoRes', {
|
19
|
+
readModel: DatabaseFileInfo,
|
20
|
+
mutationLog: DatabaseFileInfo,
|
21
|
+
}) {
|
22
|
+
}
|
23
|
+
export class NetworkStatusSubscribe extends LSDReqResMessage('LSD.Leader.NetworkStatusSubscribe', {}) {
|
24
|
+
}
|
25
|
+
export class NetworkStatusUnsubscribe extends LSDReqResMessage('LSD.Leader.NetworkStatusUnsubscribe', {}) {
|
26
|
+
}
|
27
|
+
export class NetworkStatusRes extends LSDReqResMessage('LSD.Leader.NetworkStatusRes', {
|
28
|
+
networkStatus: NetworkStatus,
|
29
|
+
}) {
|
30
|
+
}
|
31
|
+
export class SyncingInfoReq extends LSDReqResMessage('LSD.Leader.SyncingInfoReq', {}) {
|
32
|
+
}
|
33
|
+
export class SyncingInfo extends Schema.Struct({
|
34
|
+
enabled: Schema.Boolean,
|
35
|
+
metadata: Schema.Record({ key: Schema.String, value: Schema.Any }),
|
36
|
+
}) {
|
37
|
+
}
|
38
|
+
export class SyncingInfoRes extends LSDReqResMessage('LSD.Leader.SyncingInfoRes', {
|
39
|
+
syncingInfo: SyncingInfo,
|
40
|
+
}) {
|
41
|
+
}
|
42
|
+
export class SyncHistorySubscribe extends LSDReqResMessage('LSD.Leader.SyncHistorySubscribe', {}) {
|
43
|
+
}
|
44
|
+
export class SyncHistoryUnsubscribe extends LSDReqResMessage('LSD.Leader.SyncHistoryUnsubscribe', {}) {
|
45
|
+
}
|
46
|
+
export class SyncHistoryRes extends LSDReqResMessage('LSD.Leader.SyncHistoryRes', {
|
47
|
+
mutationEventEncoded: MutationEvent.AnyEncodedGlobal,
|
48
|
+
metadata: Schema.Option(Schema.JsonValue),
|
49
|
+
}) {
|
50
|
+
}
|
51
|
+
export class SnapshotReq extends LSDReqResMessage('LSD.Leader.SnapshotReq', {}) {
|
52
|
+
}
|
53
|
+
export class SnapshotRes extends LSDReqResMessage('LSD.Leader.SnapshotRes', {
|
54
|
+
snapshot: Transferable.Uint8Array,
|
55
|
+
}) {
|
56
|
+
}
|
57
|
+
export class LoadDatabaseFileReq extends LSDReqResMessage('LSD.Leader.LoadDatabaseFileReq', {
|
58
|
+
data: Transferable.Uint8Array,
|
59
|
+
}) {
|
60
|
+
}
|
61
|
+
export class LoadDatabaseFileRes extends LSDReqResMessage('LSD.Leader.LoadDatabaseFileRes', {
|
62
|
+
status: Schema.Literal('ok', 'unsupported-file', 'unsupported-database'),
|
63
|
+
}) {
|
64
|
+
}
|
65
|
+
// TODO refactor this to use push/pull semantics
|
66
|
+
export class MutationBroadcast extends LSDMessage('LSD.Leader.MutationBroadcast', {
|
67
|
+
mutationEventEncoded: MutationEvent.AnyEncoded,
|
68
|
+
}) {
|
69
|
+
}
|
70
|
+
// TODO refactor this to use push/pull semantics
|
71
|
+
export class RunMutationReq extends LSDReqResMessage('LSD.Leader.RunMutationReq', {
|
72
|
+
mutationEventEncoded: MutationEvent.AnyEncoded.pipe(Schema.omit('id', 'parentId')),
|
73
|
+
}) {
|
74
|
+
}
|
75
|
+
export class RunMutationRes extends LSDReqResMessage('LSD.Leader.RunMutationRes', {}) {
|
76
|
+
}
|
77
|
+
export class MutationLogReq extends LSDReqResMessage('LSD.Leader.MutationLogReq', {}) {
|
78
|
+
}
|
79
|
+
export class MutationLogRes extends LSDReqResMessage('LSD.Leader.MutationLogRes', {
|
80
|
+
mutationLog: Transferable.Uint8Array,
|
81
|
+
}) {
|
82
|
+
}
|
83
|
+
export const MessageToAppLeader = Schema.Union(SnapshotReq, LoadDatabaseFileReq, MutationLogReq, ResetAllDataReq, NetworkStatusSubscribe, NetworkStatusUnsubscribe, Disconnect, RunMutationReq, Ping, DatabaseFileInfoReq, SyncHistorySubscribe, SyncHistoryUnsubscribe, SyncingInfoReq).annotations({ identifier: 'LSD.MessageToAppLeader' });
|
84
|
+
export const MessageFromAppLeader = Schema.Union(SnapshotRes, LoadDatabaseFileRes, MutationLogRes, ResetAllDataRes, Disconnect, MutationBroadcast, NetworkStatusRes, RunMutationRes, Pong, DatabaseFileInfoRes, SyncHistoryRes, SyncingInfoRes).annotations({ identifier: 'LSD.MessageFromAppLeader' });
|
85
|
+
//# sourceMappingURL=devtools-messages-leader.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"devtools-messages-leader.js","sourceRoot":"","sources":["../../src/dev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