@livestore/livestore 0.3.2-dev.5 → 0.3.2-dev.7
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/mod.d.ts +56 -14
- package/dist/utils/tests/fixture.d.ts +46 -8
- package/dist/utils/tests/fixture.d.ts.map +1 -1
- package/package.json +9 -35
package/dist/mod.d.ts
CHANGED
@@ -1,14 +1,56 @@
|
|
1
|
-
export type {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
export {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
export type {
|
2
|
+
Adapter,
|
3
|
+
ClientSession,
|
4
|
+
PreparedStatement,
|
5
|
+
} from "@livestore/common";
|
6
|
+
export {
|
7
|
+
type Bindable,
|
8
|
+
type BootStatus,
|
9
|
+
type DebugInfo,
|
10
|
+
IntentionalShutdownCause,
|
11
|
+
type MutableDebugInfo,
|
12
|
+
type PreparedBindValues,
|
13
|
+
prepareBindValues,
|
14
|
+
provideOtel,
|
15
|
+
type QueryBuilder,
|
16
|
+
type QueryBuilderAst,
|
17
|
+
type RowQuery,
|
18
|
+
SessionIdSymbol,
|
19
|
+
type SqliteDb,
|
20
|
+
StoreInterrupted,
|
21
|
+
sql,
|
22
|
+
} from "@livestore/common";
|
23
|
+
export * from "@livestore/common/schema";
|
24
|
+
export { Schema } from "@livestore/utils/effect";
|
25
|
+
export { nanoid } from "@livestore/utils/nanoid";
|
26
|
+
export { deepEqual } from "../../utils/dist/mod.ts";
|
27
|
+
export {
|
28
|
+
computed,
|
29
|
+
type LiveQuery,
|
30
|
+
type LiveQueryDef,
|
31
|
+
queryDb,
|
32
|
+
type RcRef,
|
33
|
+
type Signal,
|
34
|
+
type SignalDef,
|
35
|
+
signal,
|
36
|
+
} from "./live-queries/mod.ts";
|
37
|
+
export { emptyDebugInfo, SqliteDbWrapper } from "./SqliteDbWrapper.ts";
|
38
|
+
export {
|
39
|
+
type CreateStoreOptions,
|
40
|
+
createStore,
|
41
|
+
createStorePromise,
|
42
|
+
} from "./store/create-store.ts";
|
43
|
+
export { Store } from "./store/store.ts";
|
44
|
+
export type {
|
45
|
+
OtelOptions,
|
46
|
+
QueryDebugInfo,
|
47
|
+
RefreshReason,
|
48
|
+
} from "./store/store-types.ts";
|
49
|
+
export {
|
50
|
+
type LiveStoreContext,
|
51
|
+
type LiveStoreContextRunning,
|
52
|
+
makeShutdownDeferred,
|
53
|
+
type ShutdownDeferred,
|
54
|
+
} from "./store/store-types.ts";
|
55
|
+
export * from "./utils/stack-info.ts";
|
56
|
+
//# sourceMappingURL=mod.d.ts.map
|
@@ -33,10 +33,29 @@ export declare const todos: State.SQLite.TableDef<State.SQLite.SqliteTableDefFor
|
|
33
33
|
nullable: false;
|
34
34
|
primaryKey: false;
|
35
35
|
};
|
36
|
-
}>, {
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
}>, State.SQLite.WithDefaults<{
|
37
|
+
readonly id: {
|
38
|
+
columnType: "text";
|
39
|
+
schema: Schema.Schema<string, string, never>;
|
40
|
+
default: import("effect/Option").None<never>;
|
41
|
+
nullable: false;
|
42
|
+
primaryKey: true;
|
43
|
+
};
|
44
|
+
readonly text: {
|
45
|
+
columnType: "text";
|
46
|
+
schema: Schema.Schema<string, string, never>;
|
47
|
+
default: import("effect/Option").Some<"">;
|
48
|
+
nullable: false;
|
49
|
+
primaryKey: false;
|
50
|
+
};
|
51
|
+
readonly completed: {
|
52
|
+
columnType: "integer";
|
53
|
+
schema: Schema.Schema<boolean, number, never>;
|
54
|
+
default: import("effect/Option").Some<false>;
|
55
|
+
nullable: false;
|
56
|
+
primaryKey: false;
|
57
|
+
};
|
58
|
+
}>, Schema.Schema<{
|
40
59
|
readonly id: string;
|
41
60
|
readonly text: string;
|
42
61
|
readonly completed: boolean;
|
@@ -84,10 +103,29 @@ export declare const tables: {
|
|
84
103
|
nullable: false;
|
85
104
|
primaryKey: false;
|
86
105
|
};
|
87
|
-
}>, {
|
88
|
-
|
89
|
-
|
90
|
-
|
106
|
+
}>, State.SQLite.WithDefaults<{
|
107
|
+
readonly id: {
|
108
|
+
columnType: "text";
|
109
|
+
schema: Schema.Schema<string, string, never>;
|
110
|
+
default: import("effect/Option").None<never>;
|
111
|
+
nullable: false;
|
112
|
+
primaryKey: true;
|
113
|
+
};
|
114
|
+
readonly text: {
|
115
|
+
columnType: "text";
|
116
|
+
schema: Schema.Schema<string, string, never>;
|
117
|
+
default: import("effect/Option").Some<"">;
|
118
|
+
nullable: false;
|
119
|
+
primaryKey: false;
|
120
|
+
};
|
121
|
+
readonly completed: {
|
122
|
+
columnType: "integer";
|
123
|
+
schema: Schema.Schema<boolean, number, never>;
|
124
|
+
default: import("effect/Option").Some<false>;
|
125
|
+
nullable: false;
|
126
|
+
primaryKey: false;
|
127
|
+
};
|
128
|
+
}>, Schema.Schema<{
|
91
129
|
readonly id: string;
|
92
130
|
readonly text: string;
|
93
131
|
readonly completed: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../src/utils/tests/fixture.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmC,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAE/C,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,CAAA;AAEnD,MAAM,MAAM,QAAQ,GAAG;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;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@livestore/livestore",
|
3
|
-
"version": "0.3.2-dev.
|
3
|
+
"version": "0.3.2-dev.7",
|
4
4
|
"type": "module",
|
5
5
|
"sideEffects": false,
|
6
6
|
"exports": {
|
7
|
-
".":
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"./internal": {
|
12
|
-
"types": "./dist/internal/mod.d.ts",
|
13
|
-
"default": "./dist/internal/mod.js"
|
14
|
-
},
|
15
|
-
"./internal/testing-utils": {
|
16
|
-
"types": "./dist/utils/tests/mod.d.ts",
|
17
|
-
"default": "./dist/utils/tests/mod.js"
|
18
|
-
},
|
19
|
-
"./effect": {
|
20
|
-
"types": "./dist/effect/mod.d.ts",
|
21
|
-
"default": "./dist/effect/mod.js"
|
22
|
-
}
|
23
|
-
},
|
24
|
-
"types": "./dist/mod.d.ts",
|
25
|
-
"typesVersions": {
|
26
|
-
"*": {
|
27
|
-
"internal": [
|
28
|
-
"./dist/internal/mod.d.ts"
|
29
|
-
],
|
30
|
-
"testing-utils": [
|
31
|
-
"./dist/utils/tests/mod.d.ts"
|
32
|
-
],
|
33
|
-
"effect": [
|
34
|
-
"./dist/effect/mod.d.ts"
|
35
|
-
]
|
36
|
-
}
|
7
|
+
".": "./dist/mod.js",
|
8
|
+
"./internal": "./dist/internal/mod.js",
|
9
|
+
"./internal/testing-utils": "./dist/utils/tests/mod.js",
|
10
|
+
"./effect": "./dist/effect/mod.js"
|
37
11
|
},
|
38
12
|
"dependencies": {
|
39
13
|
"@opentelemetry/api": "1.9.0",
|
40
|
-
"@livestore/common": "0.3.2-dev.
|
41
|
-
"@livestore/utils": "0.3.2-dev.
|
14
|
+
"@livestore/common": "0.3.2-dev.7",
|
15
|
+
"@livestore/utils": "0.3.2-dev.7"
|
42
16
|
},
|
43
17
|
"devDependencies": {
|
44
18
|
"@opentelemetry/sdk-trace-base": "^2.0.0",
|
@@ -46,8 +20,8 @@
|
|
46
20
|
"typescript": "^5.8.3",
|
47
21
|
"vite": "^7.0.0",
|
48
22
|
"vitest": "3.2.4",
|
49
|
-
"@livestore/
|
50
|
-
"@livestore/
|
23
|
+
"@livestore/adapter-web": "0.3.2-dev.7",
|
24
|
+
"@livestore/utils-dev": "0.3.2-dev.7"
|
51
25
|
},
|
52
26
|
"files": [
|
53
27
|
"package.json",
|