@livestore/common 0.3.2-dev.9 → 0.4.0-dev.0
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 +2 -2
- package/dist/ClientSessionLeaderThreadProxy.d.ts.map +1 -1
- package/dist/adapter-types.d.ts +4 -4
- package/dist/adapter-types.d.ts.map +1 -1
- package/dist/debug-info.d.ts +17 -17
- package/dist/devtools/devtools-messages-client-session.d.ts +38 -38
- package/dist/devtools/devtools-messages-common.d.ts +6 -6
- package/dist/devtools/devtools-messages-leader.d.ts +28 -28
- package/dist/devtools/devtools-messages-leader.d.ts.map +1 -1
- package/dist/devtools/devtools-messages-leader.js.map +1 -1
- package/dist/leader-thread/LeaderSyncProcessor.js +3 -1
- package/dist/leader-thread/LeaderSyncProcessor.js.map +1 -1
- package/dist/leader-thread/make-leader-thread-layer.d.ts.map +1 -1
- package/dist/leader-thread/make-leader-thread-layer.js +21 -4
- package/dist/leader-thread/make-leader-thread-layer.js.map +1 -1
- package/dist/leader-thread/shutdown-channel.d.ts +2 -2
- package/dist/leader-thread/shutdown-channel.d.ts.map +1 -1
- package/dist/leader-thread/shutdown-channel.js +2 -2
- package/dist/leader-thread/shutdown-channel.js.map +1 -1
- package/dist/leader-thread/types.d.ts +1 -1
- package/dist/leader-thread/types.d.ts.map +1 -1
- package/dist/materializer-helper.d.ts +3 -3
- package/dist/materializer-helper.d.ts.map +1 -1
- package/dist/materializer-helper.js +2 -2
- package/dist/materializer-helper.js.map +1 -1
- package/dist/rematerialize-from-eventlog.js +1 -1
- package/dist/rematerialize-from-eventlog.js.map +1 -1
- package/dist/schema/EventDef.d.ts +104 -178
- package/dist/schema/EventSequenceNumber.d.ts +5 -0
- package/dist/schema/EventSequenceNumber.d.ts.map +1 -1
- package/dist/schema/EventSequenceNumber.js +7 -2
- package/dist/schema/EventSequenceNumber.js.map +1 -1
- package/dist/schema/EventSequenceNumber.test.js +2 -2
- package/dist/schema/LiveStoreEvent.d.ts +6 -5
- package/dist/schema/LiveStoreEvent.d.ts.map +1 -1
- package/dist/schema/LiveStoreEvent.js +5 -0
- package/dist/schema/LiveStoreEvent.js.map +1 -1
- package/dist/schema/schema.d.ts +3 -0
- package/dist/schema/schema.d.ts.map +1 -1
- package/dist/schema/schema.js.map +1 -1
- package/dist/schema/state/sqlite/client-document-def.d.ts +3 -2
- package/dist/schema/state/sqlite/client-document-def.d.ts.map +1 -1
- package/dist/schema/state/sqlite/client-document-def.js +6 -4
- package/dist/schema/state/sqlite/client-document-def.js.map +1 -1
- package/dist/schema/state/sqlite/client-document-def.test.js +76 -1
- package/dist/schema/state/sqlite/client-document-def.test.js.map +1 -1
- package/dist/schema/state/sqlite/column-annotations.d.ts +34 -0
- package/dist/schema/state/sqlite/column-annotations.d.ts.map +1 -0
- package/dist/schema/state/sqlite/column-annotations.js +50 -0
- package/dist/schema/state/sqlite/column-annotations.js.map +1 -0
- package/dist/schema/state/sqlite/column-annotations.test.d.ts +2 -0
- package/dist/schema/state/sqlite/column-annotations.test.d.ts.map +1 -0
- package/dist/schema/state/sqlite/column-annotations.test.js +179 -0
- package/dist/schema/state/sqlite/column-annotations.test.js.map +1 -0
- package/dist/schema/state/sqlite/column-spec.d.ts +11 -0
- package/dist/schema/state/sqlite/column-spec.d.ts.map +1 -0
- package/dist/schema/state/sqlite/column-spec.js +39 -0
- package/dist/schema/state/sqlite/column-spec.js.map +1 -0
- package/dist/schema/state/sqlite/column-spec.test.d.ts +2 -0
- package/dist/schema/state/sqlite/column-spec.test.d.ts.map +1 -0
- package/dist/schema/state/sqlite/column-spec.test.js +146 -0
- package/dist/schema/state/sqlite/column-spec.test.js.map +1 -0
- package/dist/schema/state/sqlite/db-schema/ast/sqlite.d.ts +1 -0
- package/dist/schema/state/sqlite/db-schema/ast/sqlite.d.ts.map +1 -1
- package/dist/schema/state/sqlite/db-schema/ast/sqlite.js +1 -0
- package/dist/schema/state/sqlite/db-schema/ast/sqlite.js.map +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts +17 -4
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.d.ts.map +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.js +2 -0
- package/dist/schema/state/sqlite/db-schema/dsl/field-defs.js.map +1 -1
- package/dist/schema/state/sqlite/db-schema/dsl/mod.d.ts +65 -165
- 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 -0
- package/dist/schema/state/sqlite/db-schema/dsl/mod.js.map +1 -1
- package/dist/schema/state/sqlite/mod.d.ts +2 -0
- package/dist/schema/state/sqlite/mod.d.ts.map +1 -1
- package/dist/schema/state/sqlite/mod.js +2 -0
- package/dist/schema/state/sqlite/mod.js.map +1 -1
- package/dist/schema/state/sqlite/query-builder/api.d.ts +309 -560
- package/dist/schema/state/sqlite/query-builder/api.d.ts.map +1 -1
- package/dist/schema/state/sqlite/query-builder/astToSql.d.ts +1 -0
- package/dist/schema/state/sqlite/query-builder/astToSql.d.ts.map +1 -1
- package/dist/schema/state/sqlite/query-builder/astToSql.js +8 -6
- package/dist/schema/state/sqlite/query-builder/astToSql.js.map +1 -1
- package/dist/schema/state/sqlite/system-tables.d.ts +464 -46
- package/dist/schema/state/sqlite/system-tables.d.ts.map +1 -1
- package/dist/schema/state/sqlite/table-def.d.ts +161 -152
- package/dist/schema/state/sqlite/table-def.d.ts.map +1 -1
- package/dist/schema/state/sqlite/table-def.js +251 -5
- package/dist/schema/state/sqlite/table-def.js.map +1 -1
- package/dist/schema/state/sqlite/table-def.test.d.ts +2 -0
- package/dist/schema/state/sqlite/table-def.test.d.ts.map +1 -0
- package/dist/schema/state/sqlite/table-def.test.js +635 -0
- package/dist/schema/state/sqlite/table-def.test.js.map +1 -0
- package/dist/schema-management/common.d.ts +1 -1
- package/dist/schema-management/common.d.ts.map +1 -1
- package/dist/schema-management/common.js +11 -2
- package/dist/schema-management/common.js.map +1 -1
- package/dist/schema-management/migrations.d.ts +0 -1
- package/dist/schema-management/migrations.d.ts.map +1 -1
- package/dist/schema-management/migrations.js +4 -30
- package/dist/schema-management/migrations.js.map +1 -1
- package/dist/schema-management/migrations.test.d.ts +2 -0
- package/dist/schema-management/migrations.test.d.ts.map +1 -0
- package/dist/schema-management/migrations.test.js +52 -0
- package/dist/schema-management/migrations.test.js.map +1 -0
- package/dist/sql-queries/types.d.ts +37 -133
- package/dist/sqlite-db-helper.d.ts +3 -1
- package/dist/sqlite-db-helper.d.ts.map +1 -1
- package/dist/sqlite-db-helper.js +16 -0
- package/dist/sqlite-db-helper.js.map +1 -1
- package/dist/sqlite-types.d.ts +4 -4
- package/dist/sqlite-types.d.ts.map +1 -1
- package/dist/sync/ClientSessionSyncProcessor.d.ts +2 -2
- package/dist/sync/ClientSessionSyncProcessor.d.ts.map +1 -1
- package/dist/sync/ClientSessionSyncProcessor.js +8 -7
- package/dist/sync/ClientSessionSyncProcessor.js.map +1 -1
- package/dist/sync/sync.d.ts.map +1 -1
- package/dist/sync/sync.js.map +1 -1
- package/dist/util.d.ts +3 -3
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/src/ClientSessionLeaderThreadProxy.ts +2 -2
- package/src/adapter-types.ts +6 -4
- package/src/devtools/devtools-messages-leader.ts +3 -3
- package/src/leader-thread/LeaderSyncProcessor.ts +3 -1
- package/src/leader-thread/make-leader-thread-layer.ts +26 -7
- package/src/leader-thread/shutdown-channel.ts +2 -2
- package/src/leader-thread/types.ts +1 -1
- package/src/materializer-helper.ts +5 -11
- package/src/rematerialize-from-eventlog.ts +2 -2
- package/src/schema/EventSequenceNumber.test.ts +2 -2
- package/src/schema/EventSequenceNumber.ts +8 -2
- package/src/schema/LiveStoreEvent.ts +7 -1
- package/src/schema/schema.ts +4 -0
- package/src/schema/state/sqlite/client-document-def.test.ts +89 -1
- package/src/schema/state/sqlite/client-document-def.ts +7 -4
- package/src/schema/state/sqlite/column-annotations.test.ts +212 -0
- package/src/schema/state/sqlite/column-annotations.ts +77 -0
- package/src/schema/state/sqlite/column-spec.test.ts +223 -0
- package/src/schema/state/sqlite/column-spec.ts +42 -0
- package/src/schema/state/sqlite/db-schema/ast/sqlite.ts +2 -0
- package/src/schema/state/sqlite/db-schema/dsl/__snapshots__/field-defs.test.ts.snap +15 -0
- package/src/schema/state/sqlite/db-schema/dsl/field-defs.ts +20 -2
- package/src/schema/state/sqlite/db-schema/dsl/mod.ts +1 -0
- package/src/schema/state/sqlite/mod.ts +2 -0
- package/src/schema/state/sqlite/query-builder/api.ts +4 -3
- package/src/schema/state/sqlite/query-builder/astToSql.ts +9 -7
- package/src/schema/state/sqlite/table-def.test.ts +798 -0
- package/src/schema/state/sqlite/table-def.ts +472 -16
- package/src/schema-management/common.ts +10 -3
- package/src/schema-management/migrations.ts +4 -33
- package/src/sqlite-db-helper.ts +19 -1
- package/src/sqlite-types.ts +4 -4
- package/src/sync/ClientSessionSyncProcessor.ts +13 -8
- package/src/sync/sync.ts +2 -0
- package/src/util.ts +7 -2
- package/src/version.ts +1 -1
@@ -23,8 +23,8 @@ export interface ClientSessionLeaderThreadProxy {
|
|
23
23
|
/** The migrations report from the leader thread */
|
24
24
|
readonly migrationsReport: MigrationsReport;
|
25
25
|
};
|
26
|
-
export: Effect.Effect<Uint8Array
|
27
|
-
getEventlogData: Effect.Effect<Uint8Array
|
26
|
+
export: Effect.Effect<Uint8Array<ArrayBuffer>, UnexpectedError>;
|
27
|
+
getEventlogData: Effect.Effect<Uint8Array<ArrayBuffer>, UnexpectedError>;
|
28
28
|
getSyncState: Effect.Effect<SyncState, UnexpectedError>;
|
29
29
|
/** For debugging purposes it can be useful to manually trigger devtools messages (e.g. to reset the database) */
|
30
30
|
sendDevtoolsMessage: (message: Devtools.Leader.MessageToApp) => Effect.Effect<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AC5C,CAAA;IACD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,CAAA;IAC/D,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,CAAA;IACxE,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;IACvD,iHAAiH;IACjH,mBAAmB,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,CAAC,CAAA;CACrG;AAED,eAAO,MAAM,EAAE,GACb,OAAO,8BAA8B,EACrC,UAAU;IAAE,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,8BAA8B,KAAK,OAAO,CAAC,8BAA8B,CAAC,CAAA;CAAE,KAC9G,8BAIF,CAAA"}
|
package/dist/adapter-types.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type
|
1
|
+
import { type Effect, type Exit, type Queue, Schema, type Scope, type SubscriptionRef, type WebChannel } from '@livestore/utils/effect';
|
2
2
|
import type { ClientSessionLeaderThreadProxy } from './ClientSessionLeaderThreadProxy.ts';
|
3
3
|
import type * as Devtools from './devtools/mod.ts';
|
4
4
|
import type { IntentionalShutdownCause, SyncError, UnexpectedError } from './errors.ts';
|
@@ -22,7 +22,7 @@ export interface ClientSession {
|
|
22
22
|
sessionId: string;
|
23
23
|
/** Status info whether current session is leader or not */
|
24
24
|
lockStatus: SubscriptionRef.SubscriptionRef<LockStatus>;
|
25
|
-
shutdown: (cause:
|
25
|
+
shutdown: (cause: Exit.Exit<IntentionalShutdownCause, UnexpectedError | SyncError>) => Effect.Effect<void>;
|
26
26
|
/** A proxy API to communicate with the leader thread */
|
27
27
|
leaderThread: ClientSessionLeaderThreadProxy;
|
28
28
|
/** A unique identifier for the current instance of the client session. Used for debugging purposes. */
|
@@ -90,7 +90,7 @@ export type MigrationOptions = {
|
|
90
90
|
};
|
91
91
|
} | {
|
92
92
|
strategy: 'manual';
|
93
|
-
migrate: (oldDb: Uint8Array) => Uint8Array | Promise<Uint8Array
|
93
|
+
migrate: (oldDb: Uint8Array<ArrayBuffer>) => Uint8Array<ArrayBuffer> | Promise<Uint8Array<ArrayBuffer>> | Effect.Effect<Uint8Array<ArrayBuffer>, unknown>;
|
94
94
|
};
|
95
95
|
export type MigrationHooks = {
|
96
96
|
/** Runs on the empty in-memory database with no database schemas applied yet */
|
@@ -111,7 +111,7 @@ export interface AdapterArgs {
|
|
111
111
|
devtoolsEnabled: boolean;
|
112
112
|
debugInstanceId: string;
|
113
113
|
bootStatusQueue: Queue.Queue<BootStatus>;
|
114
|
-
shutdown: (
|
114
|
+
shutdown: (exit: Exit.Exit<IntentionalShutdownCause, UnexpectedError | SyncError>) => Effect.Effect<void>;
|
115
115
|
connectDevtoolsToStore: ConnectDevtoolsToStore;
|
116
116
|
/**
|
117
117
|
* Payload that will be passed to the sync backend when connecting
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,
|
1
|
+
{"version":3,"file":"adapter-types.d.ts","sourceRoot":"","sources":["../src/adapter-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,IAAI,EACT,KAAK,KAAK,EACV,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,UAAU,EAChB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAA;AACzF,OAAO,KAAK,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AACvF,OAAO,KAAK,EAAE,eAAe,E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,EAAE,KAAK,CAAC,KAAK,CAAC,CAAA;AAEvG,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,eAAe,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAA;IACxC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,wBAAwB,EAAE,eAAe,GAAG,SAAS,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IACzG,sBAAsB,EAAE,sBAAsB,CAAA;IAC9C;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS,CAAA;CAC1C"}
|
package/dist/debug-info.d.ts
CHANGED
@@ -11,7 +11,7 @@ export type SlowQueryInfo = {
|
|
11
11
|
};
|
12
12
|
export declare const SlowQueryInfo: Schema.Struct<{
|
13
13
|
queryStr: typeof Schema.String;
|
14
|
-
bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number,
|
14
|
+
bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>]>, "PreparedBindValues">>;
|
15
15
|
durationMs: typeof Schema.Number;
|
16
16
|
rowsCount: Schema.UndefinedOr<typeof Schema.Number>;
|
17
17
|
queriedTables: Schema.ReadonlySet$<typeof Schema.String>;
|
@@ -26,8 +26,8 @@ export declare const DebugInfo: Schema.Struct<{
|
|
26
26
|
size: typeof Schema.Number;
|
27
27
|
items: Schema.Array$<Schema.Schema<{
|
28
28
|
readonly queryStr: string;
|
29
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
30
|
-
readonly [x: string]: string | number | Uint8Array<
|
29
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
30
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
31
31
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
32
32
|
readonly durationMs: number;
|
33
33
|
readonly rowsCount: number | undefined;
|
@@ -35,8 +35,8 @@ export declare const DebugInfo: Schema.Struct<{
|
|
35
35
|
readonly startTimePerfNow: number;
|
36
36
|
}, {
|
37
37
|
readonly queryStr: string;
|
38
|
-
readonly bindValues: readonly (string | number |
|
39
|
-
readonly [x: string]: string | number |
|
38
|
+
readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
39
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
40
40
|
} | undefined;
|
41
41
|
readonly durationMs: number;
|
42
42
|
readonly rowsCount: number | undefined;
|
@@ -45,8 +45,8 @@ export declare const DebugInfo: Schema.Struct<{
|
|
45
45
|
}, never>>;
|
46
46
|
}>, Schema.Schema<BoundArray<{
|
47
47
|
readonly queryStr: string;
|
48
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
49
|
-
readonly [x: string]: string | number | Uint8Array<
|
48
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
49
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
50
50
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
51
51
|
readonly durationMs: number;
|
52
52
|
readonly rowsCount: number | undefined;
|
@@ -54,8 +54,8 @@ export declare const DebugInfo: Schema.Struct<{
|
|
54
54
|
readonly startTimePerfNow: number;
|
55
55
|
}>, BoundArray<{
|
56
56
|
readonly queryStr: string;
|
57
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
58
|
-
readonly [x: string]: string | number | Uint8Array<
|
57
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
58
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
59
59
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
60
60
|
readonly durationMs: number;
|
61
61
|
readonly rowsCount: number | undefined;
|
@@ -75,8 +75,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
|
|
75
75
|
size: typeof Schema.Number;
|
76
76
|
items: Schema.Array$<Schema.Schema<{
|
77
77
|
readonly queryStr: string;
|
78
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
79
|
-
readonly [x: string]: string | number | Uint8Array<
|
78
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
79
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
80
80
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
81
81
|
readonly durationMs: number;
|
82
82
|
readonly rowsCount: number | undefined;
|
@@ -84,8 +84,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
|
|
84
84
|
readonly startTimePerfNow: number;
|
85
85
|
}, {
|
86
86
|
readonly queryStr: string;
|
87
|
-
readonly bindValues: readonly (string | number |
|
88
|
-
readonly [x: string]: string | number |
|
87
|
+
readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
88
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
89
89
|
} | undefined;
|
90
90
|
readonly durationMs: number;
|
91
91
|
readonly rowsCount: number | undefined;
|
@@ -94,8 +94,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
|
|
94
94
|
}, never>>;
|
95
95
|
}>, Schema.Schema<BoundArray<{
|
96
96
|
readonly queryStr: string;
|
97
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
98
|
-
readonly [x: string]: string | number | Uint8Array<
|
97
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
98
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
99
99
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
100
100
|
readonly durationMs: number;
|
101
101
|
readonly rowsCount: number | undefined;
|
@@ -103,8 +103,8 @@ export declare const MutableDebugInfo: Schema.mutable<Schema.Struct<{
|
|
103
103
|
readonly startTimePerfNow: number;
|
104
104
|
}>, BoundArray<{
|
105
105
|
readonly queryStr: string;
|
106
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
107
|
-
readonly [x: string]: string | number | Uint8Array<
|
106
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
107
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
108
108
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
109
109
|
readonly durationMs: number;
|
110
110
|
readonly rowsCount: number | undefined;
|
@@ -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.
|
5
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
16
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
17
17
|
} & {
|
18
18
|
clientId: typeof Schema.String;
|
19
19
|
sessionId: typeof Schema.String;
|
@@ -24,8 +24,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
24
24
|
size: typeof Schema.Number;
|
25
25
|
items: Schema.Array$<Schema.Schema<{
|
26
26
|
readonly queryStr: string;
|
27
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
28
|
-
readonly [x: string]: string | number | Uint8Array<
|
27
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
28
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
29
29
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
30
30
|
readonly durationMs: number;
|
31
31
|
readonly rowsCount: number | undefined;
|
@@ -33,8 +33,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
33
33
|
readonly startTimePerfNow: number;
|
34
34
|
}, {
|
35
35
|
readonly queryStr: string;
|
36
|
-
readonly bindValues: readonly (string | number |
|
37
|
-
readonly [x: string]: string | number |
|
36
|
+
readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
37
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
38
38
|
} | undefined;
|
39
39
|
readonly durationMs: number;
|
40
40
|
readonly rowsCount: number | undefined;
|
@@ -43,8 +43,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
43
43
|
}, never>>;
|
44
44
|
}>, Schema.Schema<import("../bounded-collections.ts").BoundArray<{
|
45
45
|
readonly queryStr: string;
|
46
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
47
|
-
readonly [x: string]: string | number | Uint8Array<
|
46
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
47
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
48
48
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
49
49
|
readonly durationMs: number;
|
50
50
|
readonly rowsCount: number | undefined;
|
@@ -52,8 +52,8 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
52
52
|
readonly startTimePerfNow: number;
|
53
53
|
}>, import("../bounded-collections.ts").BoundArray<{
|
54
54
|
readonly queryStr: string;
|
55
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
56
|
-
readonly [x: string]: string | number | Uint8Array<
|
55
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
56
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
57
57
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
58
58
|
readonly durationMs: number;
|
59
59
|
readonly rowsCount: number | undefined;
|
@@ -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.
|
76
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
89
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
90
90
|
} & {
|
91
91
|
clientId: typeof Schema.String;
|
92
92
|
sessionId: typeof Schema.String;
|
@@ -97,8 +97,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
97
97
|
size: typeof Schema.Number;
|
98
98
|
items: Schema.Array$<Schema.Schema<{
|
99
99
|
readonly queryStr: string;
|
100
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
101
|
-
readonly [x: string]: string | number | Uint8Array<
|
100
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
101
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
102
102
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
103
103
|
readonly durationMs: number;
|
104
104
|
readonly rowsCount: number | undefined;
|
@@ -106,8 +106,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
106
106
|
readonly startTimePerfNow: number;
|
107
107
|
}, {
|
108
108
|
readonly queryStr: string;
|
109
|
-
readonly bindValues: readonly (string | number |
|
110
|
-
readonly [x: string]: string | number |
|
109
|
+
readonly bindValues: readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
110
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
111
111
|
} | undefined;
|
112
112
|
readonly durationMs: number;
|
113
113
|
readonly rowsCount: number | undefined;
|
@@ -116,8 +116,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
116
116
|
}, never>>;
|
117
117
|
}>, Schema.Schema<import("../bounded-collections.ts").BoundArray<{
|
118
118
|
readonly queryStr: string;
|
119
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
120
|
-
readonly [x: string]: string | number | Uint8Array<
|
119
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
120
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
121
121
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
122
122
|
readonly durationMs: number;
|
123
123
|
readonly rowsCount: number | undefined;
|
@@ -125,8 +125,8 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
125
125
|
readonly startTimePerfNow: number;
|
126
126
|
}>, import("../bounded-collections.ts").BoundArray<{
|
127
127
|
readonly queryStr: string;
|
128
|
-
readonly bindValues: ((readonly (string | number | Uint8Array<
|
129
|
-
readonly [x: string]: string | number | Uint8Array<
|
128
|
+
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBuffer> | null)[] | {
|
129
|
+
readonly [x: string]: string | number | Uint8Array<ArrayBuffer> | null;
|
130
130
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
131
131
|
readonly durationMs: number;
|
132
132
|
readonly rowsCount: number | undefined;
|
@@ -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.
|
150
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
163
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
174
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
175
175
|
} & {
|
176
176
|
clientId: typeof Schema.String;
|
177
177
|
sessionId: typeof Schema.String;
|
@@ -182,14 +182,14 @@ 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.
|
185
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
186
186
|
} & {
|
187
187
|
clientId: typeof Schema.String;
|
188
188
|
sessionId: typeof Schema.String;
|
189
189
|
requestId: typeof Schema.String;
|
190
190
|
} & {
|
191
191
|
queryStr: typeof Schema.String;
|
192
|
-
bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number,
|
192
|
+
bindValues: Schema.UndefinedOr<Schema.brand<Schema.Union<[Schema.Array$<Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, typeof Schema.Number, Schema.Schema<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>, never>, typeof Schema.Null]>>]>, "PreparedBindValues">>;
|
193
193
|
queriedTables: Schema.ReadonlySet$<typeof Schema.String>;
|
194
194
|
}>;
|
195
195
|
export declare class DebugInfoRerunQueryReq extends DebugInfoRerunQueryReq_base {
|
@@ -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.
|
200
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
211
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
224
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
237
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
238
238
|
} & {
|
239
239
|
clientId: typeof Schema.String;
|
240
240
|
sessionId: typeof Schema.String;
|
@@ -257,7 +257,7 @@ export declare class SyncHeadRes extends SyncHeadRes_base {
|
|
257
257
|
declare const ReactivityGraphSubscribe_base: Schema.Struct<{
|
258
258
|
_tag: Schema.tag<"LSD.ClientSession.ReactivityGraphSubscribe">;
|
259
259
|
} & {
|
260
|
-
liveStoreVersion: Schema.Literal<["0.
|
260
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
261
261
|
} & {
|
262
262
|
clientId: typeof Schema.String;
|
263
263
|
sessionId: typeof Schema.String;
|
@@ -271,7 +271,7 @@ export declare class ReactivityGraphSubscribe extends ReactivityGraphSubscribe_b
|
|
271
271
|
declare const ReactivityGraphUnsubscribe_base: Schema.Struct<{
|
272
272
|
_tag: Schema.tag<"LSD.ClientSession.ReactivityGraphUnsubscribe">;
|
273
273
|
} & {
|
274
|
-
liveStoreVersion: Schema.Literal<["0.
|
274
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
275
275
|
} & {
|
276
276
|
clientId: typeof Schema.String;
|
277
277
|
sessionId: typeof Schema.String;
|
@@ -284,7 +284,7 @@ export declare class ReactivityGraphUnsubscribe extends ReactivityGraphUnsubscri
|
|
284
284
|
declare const ReactivityGraphRes_base: Schema.Struct<{
|
285
285
|
_tag: Schema.tag<"LSD.ClientSession.ReactivityGraphRes">;
|
286
286
|
} & {
|
287
|
-
liveStoreVersion: Schema.Literal<["0.
|
287
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
288
288
|
} & {
|
289
289
|
clientId: typeof Schema.String;
|
290
290
|
sessionId: typeof Schema.String;
|
@@ -298,7 +298,7 @@ export declare class ReactivityGraphRes extends ReactivityGraphRes_base {
|
|
298
298
|
declare const LiveQueriesSubscribe_base: Schema.Struct<{
|
299
299
|
_tag: Schema.tag<"LSD.ClientSession.LiveQueriesSubscribe">;
|
300
300
|
} & {
|
301
|
-
liveStoreVersion: Schema.Literal<["0.
|
301
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
302
302
|
} & {
|
303
303
|
clientId: typeof Schema.String;
|
304
304
|
sessionId: typeof Schema.String;
|
@@ -311,7 +311,7 @@ export declare class LiveQueriesSubscribe extends LiveQueriesSubscribe_base {
|
|
311
311
|
declare const LiveQueriesUnsubscribe_base: Schema.Struct<{
|
312
312
|
_tag: Schema.tag<"LSD.ClientSession.LiveQueriesUnsubscribe">;
|
313
313
|
} & {
|
314
|
-
liveStoreVersion: Schema.Literal<["0.
|
314
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
315
315
|
} & {
|
316
316
|
clientId: typeof Schema.String;
|
317
317
|
sessionId: typeof Schema.String;
|
@@ -341,7 +341,7 @@ export declare class SerializedLiveQuery extends SerializedLiveQuery_base {
|
|
341
341
|
declare const LiveQueriesRes_base: Schema.Struct<{
|
342
342
|
_tag: Schema.tag<"LSD.ClientSession.LiveQueriesRes">;
|
343
343
|
} & {
|
344
|
-
liveStoreVersion: Schema.Literal<["0.
|
344
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
345
345
|
} & {
|
346
346
|
clientId: typeof Schema.String;
|
347
347
|
sessionId: typeof Schema.String;
|
@@ -355,7 +355,7 @@ export declare class LiveQueriesRes extends LiveQueriesRes_base {
|
|
355
355
|
declare const Ping_base: Schema.Struct<{
|
356
356
|
_tag: Schema.tag<"LSD.ClientSession.Ping">;
|
357
357
|
} & {
|
358
|
-
liveStoreVersion: Schema.Literal<["0.
|
358
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
359
359
|
} & {
|
360
360
|
clientId: typeof Schema.String;
|
361
361
|
sessionId: typeof Schema.String;
|
@@ -366,7 +366,7 @@ export declare class Ping extends Ping_base {
|
|
366
366
|
declare const Pong_base: Schema.Struct<{
|
367
367
|
_tag: Schema.tag<"LSD.ClientSession.Pong">;
|
368
368
|
} & {
|
369
|
-
liveStoreVersion: Schema.Literal<["0.
|
369
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
370
370
|
} & {
|
371
371
|
clientId: typeof Schema.String;
|
372
372
|
sessionId: typeof Schema.String;
|
@@ -377,7 +377,7 @@ export declare class Pong extends Pong_base {
|
|
377
377
|
declare const Disconnect_base: Schema.Struct<{
|
378
378
|
_tag: Schema.tag<"LSD.ClientSession.Disconnect">;
|
379
379
|
} & {
|
380
|
-
liveStoreVersion: Schema.Literal<["0.
|
380
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
381
381
|
} & {
|
382
382
|
clientId: typeof Schema.String;
|
383
383
|
sessionId: typeof Schema.String;
|
@@ -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.
|
12
|
+
export declare const liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
16
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
21
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
28
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
36
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
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.
|
45
|
+
liveStoreVersion: Schema.Literal<["0.4.0-dev.0"]>;
|
46
46
|
} & {
|
47
47
|
clientId: typeof Schema.String;
|
48
48
|
} & {
|