@livestore/common 0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.3 → 0.0.0-snapshot-412a36a7e6c9b0e9e237b553fd0522aed285228f
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/devtools/devtools-messages-client-session.d.ts +8 -8
- package/dist/leader-thread/leader-worker-devtools.d.ts +1 -1
- package/dist/schema/EventDef.d.ts +2 -2
- package/dist/schema/state/sqlite/query-builder/impl.test.d.ts +3 -3
- package/dist/schema/state/sqlite/system-tables.d.ts +2 -2
- package/dist/sync/syncstate.d.ts +2 -2
- package/package.json +3 -3
|
@@ -23,38 +23,38 @@ declare const DebugInfoRes_base: Schema.Struct<{
|
|
|
23
23
|
slowQueries: Schema.transform<Schema.Struct<{
|
|
24
24
|
size: typeof Schema.Number;
|
|
25
25
|
items: Schema.Array$<Schema.Schema<{
|
|
26
|
-
readonly queryStr: string;
|
|
27
26
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
|
28
27
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
|
29
28
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
29
|
+
readonly queryStr: string;
|
|
30
30
|
readonly durationMs: number;
|
|
31
31
|
readonly rowsCount: number | undefined;
|
|
32
32
|
readonly queriedTables: ReadonlySet<string>;
|
|
33
33
|
readonly startTimePerfNow: number;
|
|
34
34
|
}, {
|
|
35
|
-
readonly queryStr: string;
|
|
36
35
|
readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
|
|
37
36
|
readonly [x: string]: string | number | readonly number[] | null;
|
|
38
37
|
} | undefined;
|
|
38
|
+
readonly queryStr: string;
|
|
39
39
|
readonly durationMs: number;
|
|
40
40
|
readonly rowsCount: number | undefined;
|
|
41
41
|
readonly queriedTables: readonly string[];
|
|
42
42
|
readonly startTimePerfNow: number;
|
|
43
43
|
}, never>>;
|
|
44
44
|
}>, Schema.Schema<import("../bounded-collections.js").BoundArray<{
|
|
45
|
-
readonly queryStr: string;
|
|
46
45
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
|
47
46
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
|
48
47
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
48
|
+
readonly queryStr: string;
|
|
49
49
|
readonly durationMs: number;
|
|
50
50
|
readonly rowsCount: number | undefined;
|
|
51
51
|
readonly queriedTables: ReadonlySet<string>;
|
|
52
52
|
readonly startTimePerfNow: number;
|
|
53
53
|
}>, import("../bounded-collections.js").BoundArray<{
|
|
54
|
-
readonly queryStr: string;
|
|
55
54
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
|
56
55
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
|
57
56
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
57
|
+
readonly queryStr: string;
|
|
58
58
|
readonly durationMs: number;
|
|
59
59
|
readonly rowsCount: number | undefined;
|
|
60
60
|
readonly queriedTables: ReadonlySet<string>;
|
|
@@ -96,38 +96,38 @@ declare const DebugInfoHistoryRes_base: Schema.Struct<{
|
|
|
96
96
|
slowQueries: Schema.transform<Schema.Struct<{
|
|
97
97
|
size: typeof Schema.Number;
|
|
98
98
|
items: Schema.Array$<Schema.Schema<{
|
|
99
|
-
readonly queryStr: string;
|
|
100
99
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
|
101
100
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
|
102
101
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
102
|
+
readonly queryStr: string;
|
|
103
103
|
readonly durationMs: number;
|
|
104
104
|
readonly rowsCount: number | undefined;
|
|
105
105
|
readonly queriedTables: ReadonlySet<string>;
|
|
106
106
|
readonly startTimePerfNow: number;
|
|
107
107
|
}, {
|
|
108
|
-
readonly queryStr: string;
|
|
109
108
|
readonly bindValues: readonly (string | number | readonly number[] | null)[] | {
|
|
110
109
|
readonly [x: string]: string | number | readonly number[] | null;
|
|
111
110
|
} | undefined;
|
|
111
|
+
readonly queryStr: string;
|
|
112
112
|
readonly durationMs: number;
|
|
113
113
|
readonly rowsCount: number | undefined;
|
|
114
114
|
readonly queriedTables: readonly string[];
|
|
115
115
|
readonly startTimePerfNow: number;
|
|
116
116
|
}, never>>;
|
|
117
117
|
}>, Schema.Schema<import("../bounded-collections.js").BoundArray<{
|
|
118
|
-
readonly queryStr: string;
|
|
119
118
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
|
120
119
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
|
121
120
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
121
|
+
readonly queryStr: string;
|
|
122
122
|
readonly durationMs: number;
|
|
123
123
|
readonly rowsCount: number | undefined;
|
|
124
124
|
readonly queriedTables: ReadonlySet<string>;
|
|
125
125
|
readonly startTimePerfNow: number;
|
|
126
126
|
}>, import("../bounded-collections.js").BoundArray<{
|
|
127
|
-
readonly queryStr: string;
|
|
128
127
|
readonly bindValues: ((readonly (string | number | Uint8Array<ArrayBufferLike> | null)[] | {
|
|
129
128
|
readonly [x: string]: string | number | Uint8Array<ArrayBufferLike> | null;
|
|
130
129
|
}) & import("effect/Brand").Brand<"PreparedBindValues">) | undefined;
|
|
130
|
+
readonly queryStr: string;
|
|
131
131
|
readonly durationMs: number;
|
|
132
132
|
readonly rowsCount: number | undefined;
|
|
133
133
|
readonly queriedTables: ReadonlySet<string>;
|
|
@@ -2,5 +2,5 @@ import { Effect } from '@livestore/utils/effect';
|
|
|
2
2
|
import { UnexpectedError } from '../index.js';
|
|
3
3
|
import type { DevtoolsOptions } from './types.js';
|
|
4
4
|
import { LeaderThreadCtx } from './types.js';
|
|
5
|
-
export declare const bootDevtools: (options: DevtoolsOptions) => Effect.Effect<void, UnexpectedError, import("effect/Scope").Scope |
|
|
5
|
+
export declare const bootDevtools: (options: DevtoolsOptions) => Effect.Effect<void, UnexpectedError, LeaderThreadCtx | import("effect/Scope").Scope | import("@effect/platform/HttpClient").HttpClient>;
|
|
6
6
|
//# sourceMappingURL=leader-worker-devtools.d.ts.map
|
|
@@ -107,10 +107,10 @@ export declare const materializers: <TInputRecord extends Record<string, EventDe
|
|
|
107
107
|
name: TEventName;
|
|
108
108
|
}>>; };
|
|
109
109
|
export declare const rawSqlEvent: EventDef<"livestore.RawSql", {
|
|
110
|
+
readonly sql: string;
|
|
110
111
|
readonly bindValues?: {
|
|
111
112
|
readonly [x: string]: any;
|
|
112
113
|
} | undefined;
|
|
113
|
-
readonly sql: string;
|
|
114
114
|
readonly writeTables?: ReadonlySet<string> | undefined;
|
|
115
115
|
}, {
|
|
116
116
|
readonly sql: string;
|
|
@@ -120,10 +120,10 @@ export declare const rawSqlEvent: EventDef<"livestore.RawSql", {
|
|
|
120
120
|
readonly writeTables?: readonly string[] | undefined;
|
|
121
121
|
}, true>;
|
|
122
122
|
export declare const rawSqlMaterializer: Materializer<EventDef<"livestore.RawSql", {
|
|
123
|
+
readonly sql: string;
|
|
123
124
|
readonly bindValues?: {
|
|
124
125
|
readonly [x: string]: any;
|
|
125
126
|
} | undefined;
|
|
126
|
-
readonly sql: string;
|
|
127
127
|
readonly writeTables?: ReadonlySet<string> | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
readonly sql: string;
|
|
@@ -26,7 +26,7 @@ export declare const issue: State.SQLite.TableDef<{
|
|
|
26
26
|
};
|
|
27
27
|
readonly priority: {
|
|
28
28
|
columnType: "integer";
|
|
29
|
-
schema: Schema.Schema<0 | 1 | 2 |
|
|
29
|
+
schema: Schema.Schema<0 | 1 | 2 | 4 | 3, 0 | 1 | 2 | 4 | 3, never>;
|
|
30
30
|
default: import("effect/Option").Some<0>;
|
|
31
31
|
nullable: false;
|
|
32
32
|
primaryKey: false;
|
|
@@ -69,7 +69,7 @@ export declare const issue: State.SQLite.TableDef<{
|
|
|
69
69
|
readonly id: number;
|
|
70
70
|
readonly title: string;
|
|
71
71
|
readonly creator: string;
|
|
72
|
-
readonly priority: 0 | 1 | 2 |
|
|
72
|
+
readonly priority: 0 | 1 | 2 | 4 | 3;
|
|
73
73
|
readonly created: Date;
|
|
74
74
|
readonly deleted: Date | null;
|
|
75
75
|
readonly modified: Date;
|
|
@@ -78,7 +78,7 @@ export declare const issue: State.SQLite.TableDef<{
|
|
|
78
78
|
readonly id: number;
|
|
79
79
|
readonly title: string;
|
|
80
80
|
readonly creator: string;
|
|
81
|
-
readonly priority: 0 | 1 | 2 |
|
|
81
|
+
readonly priority: 0 | 1 | 2 | 4 | 3;
|
|
82
82
|
readonly created: number;
|
|
83
83
|
readonly deleted: number | null;
|
|
84
84
|
readonly modified: number;
|
|
@@ -114,7 +114,7 @@ export declare const sessionChangesetMetaTable: import("./table-def.js").TableDe
|
|
|
114
114
|
readonly debug: {
|
|
115
115
|
columnType: "text";
|
|
116
116
|
schema: Schema.Schema<unknown, string | null, never>;
|
|
117
|
-
default: import("effect/Option").
|
|
117
|
+
default: import("effect/Option").None<never> | import("effect/Option").Some<any>;
|
|
118
118
|
nullable: true;
|
|
119
119
|
primaryKey: false;
|
|
120
120
|
};
|
|
@@ -271,7 +271,7 @@ export declare const stateSystemTables: (import("./table-def.js").TableDef<{
|
|
|
271
271
|
readonly debug: {
|
|
272
272
|
columnType: "text";
|
|
273
273
|
schema: Schema.Schema<unknown, string | null, never>;
|
|
274
|
-
default: import("effect/Option").
|
|
274
|
+
default: import("effect/Option").None<never> | import("effect/Option").Some<any>;
|
|
275
275
|
nullable: true;
|
|
276
276
|
primaryKey: false;
|
|
277
277
|
};
|
package/dist/sync/syncstate.d.ts
CHANGED
|
@@ -222,9 +222,9 @@ declare const MergeResultUnexpectedError_base: Schema.Class<MergeResultUnexpecte
|
|
|
222
222
|
_tag: Schema.Literal<["unexpected-error"]>;
|
|
223
223
|
cause: typeof UnexpectedError;
|
|
224
224
|
}>, never, {
|
|
225
|
-
readonly _tag: "unexpected-error";
|
|
226
|
-
} & {
|
|
227
225
|
readonly cause: UnexpectedError;
|
|
226
|
+
} & {
|
|
227
|
+
readonly _tag: "unexpected-error";
|
|
228
228
|
}, {}, {}>;
|
|
229
229
|
export declare class MergeResultUnexpectedError extends MergeResultUnexpectedError_base {
|
|
230
230
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livestore/common",
|
|
3
|
-
"version": "0.0.0-snapshot-
|
|
3
|
+
"version": "0.0.0-snapshot-412a36a7e6c9b0e9e237b553fd0522aed285228f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"graphology": "0.26.0-alpha1",
|
|
55
55
|
"graphology-dag": "0.4.1",
|
|
56
56
|
"graphology-types": "0.24.8",
|
|
57
|
-
"@livestore/utils": "0.0.0-snapshot-
|
|
57
|
+
"@livestore/utils": "0.0.0-snapshot-412a36a7e6c9b0e9e237b553fd0522aed285228f"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"vitest": "^3.1.1",
|
|
61
|
-
"@livestore/utils-dev": "0.0.0-snapshot-
|
|
61
|
+
"@livestore/utils-dev": "0.0.0-snapshot-412a36a7e6c9b0e9e237b553fd0522aed285228f"
|
|
62
62
|
},
|
|
63
63
|
"files": [
|
|
64
64
|
"package.json",
|