@livestore/livestore 0.0.0-snapshot-d2ade85ddbf2f2a330a2bd289e0255b3189142dc → 0.0.0-snapshot-895bae4721a004be02dd5794614b72c90995e56b

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.
@@ -11,34 +11,29 @@ export type AppState = {
11
11
  newTodoText: string;
12
12
  filter: Filter;
13
13
  };
14
- export declare const todos: State.SQLite.TableDef<{
15
- name: "todos";
16
- columns: {
17
- readonly id: {
18
- columnType: "text";
19
- schema: Schema.Schema<string, string, never>;
20
- default: import("effect/Option").None<never>;
21
- nullable: false;
22
- primaryKey: true;
23
- };
24
- readonly text: {
25
- columnType: "text";
26
- schema: Schema.Schema<string, string, never>;
27
- default: import("effect/Option").Some<"">;
28
- nullable: false;
29
- primaryKey: false;
30
- };
31
- readonly completed: {
32
- columnType: "integer";
33
- schema: Schema.Schema<boolean, number, never>;
34
- default: import("effect/Option").Some<false>;
35
- nullable: false;
36
- primaryKey: false;
37
- };
14
+ export declare const todos: State.SQLite.TableDef<State.SQLite.SqliteTableDefForInput<"todos", {
15
+ readonly id: {
16
+ columnType: "text";
17
+ schema: Schema.Schema<string, string, never>;
18
+ default: import("effect/Option").None<never>;
19
+ nullable: false;
20
+ primaryKey: true;
38
21
  };
39
- indexes?: ReadonlyArray<import("@livestore/common/dist/schema/state/sqlite/db-schema/dsl/mod.js").Index>;
40
- ast: import("@livestore/common/dist/schema/state/sqlite/db-schema/ast/sqlite.js").Table;
41
- }, {
22
+ readonly text: {
23
+ columnType: "text";
24
+ schema: Schema.Schema<string, string, never>;
25
+ default: import("effect/Option").Some<"">;
26
+ nullable: false;
27
+ primaryKey: false;
28
+ };
29
+ readonly completed: {
30
+ columnType: "integer";
31
+ schema: Schema.Schema<boolean, number, never>;
32
+ default: import("effect/Option").Some<false>;
33
+ nullable: false;
34
+ primaryKey: false;
35
+ };
36
+ }>, {
42
37
  isClientDocumentTable: false;
43
38
  requiredInsertColumnNames: "id";
44
39
  }, Schema.Schema<{
@@ -67,34 +62,29 @@ export declare const app: State.SQLite.ClientDocumentTableDef<"app", {
67
62
  };
68
63
  }>;
69
64
  export declare const tables: {
70
- todos: State.SQLite.TableDef<{
71
- name: "todos";
72
- columns: {
73
- readonly id: {
74
- columnType: "text";
75
- schema: Schema.Schema<string, string, never>;
76
- default: import("effect/Option").None<never>;
77
- nullable: false;
78
- primaryKey: true;
79
- };
80
- readonly text: {
81
- columnType: "text";
82
- schema: Schema.Schema<string, string, never>;
83
- default: import("effect/Option").Some<"">;
84
- nullable: false;
85
- primaryKey: false;
86
- };
87
- readonly completed: {
88
- columnType: "integer";
89
- schema: Schema.Schema<boolean, number, never>;
90
- default: import("effect/Option").Some<false>;
91
- nullable: false;
92
- primaryKey: false;
93
- };
65
+ todos: State.SQLite.TableDef<State.SQLite.SqliteTableDefForInput<"todos", {
66
+ readonly id: {
67
+ columnType: "text";
68
+ schema: Schema.Schema<string, string, never>;
69
+ default: import("effect/Option").None<never>;
70
+ nullable: false;
71
+ primaryKey: true;
94
72
  };
95
- indexes?: ReadonlyArray<import("@livestore/common/dist/schema/state/sqlite/db-schema/dsl/mod.js").Index>;
96
- ast: import("@livestore/common/dist/schema/state/sqlite/db-schema/ast/sqlite.js").Table;
97
- }, {
73
+ readonly text: {
74
+ columnType: "text";
75
+ schema: Schema.Schema<string, string, never>;
76
+ default: import("effect/Option").Some<"">;
77
+ nullable: false;
78
+ primaryKey: false;
79
+ };
80
+ readonly completed: {
81
+ columnType: "integer";
82
+ schema: Schema.Schema<boolean, number, never>;
83
+ default: import("effect/Option").Some<false>;
84
+ nullable: false;
85
+ primaryKey: false;
86
+ };
87
+ }>, {
98
88
  isClientDocumentTable: false;
99
89
  requiredInsertColumnNames: "id";
100
90
  }, Schema.Schema<{
@@ -1 +1 @@
1
- {"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../src/utils/tests/fixture.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,E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I,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;CACf,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAOhB,CAAA;AAEF,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;EAOd,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA;AAEpC,eAAO,MAAM,KAAK,8CAAwD,CAAA;AAC1E,eAAO,MAAM,MAAM;;;EAAoC,CAAA;AAEvD,eAAO,MAAM,WAAW,GAAI,+BAGzB;IACD,UAAU,CAAC,EAAE,IAAI,CAAC,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,IAAI,CAAC,OAAO,CAAA;CACtB;;;mFAU4E,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/livestore",
3
- "version": "0.0.0-snapshot-d2ade85ddbf2f2a330a2bd289e0255b3189142dc",
3
+ "version": "0.0.0-snapshot-895bae4721a004be02dd5794614b72c90995e56b",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@opentelemetry/api": "1.9.0",
40
- "@livestore/common": "0.0.0-snapshot-d2ade85ddbf2f2a330a2bd289e0255b3189142dc",
41
- "@livestore/utils": "0.0.0-snapshot-d2ade85ddbf2f2a330a2bd289e0255b3189142dc"
40
+ "@livestore/common": "0.0.0-snapshot-895bae4721a004be02dd5794614b72c90995e56b",
41
+ "@livestore/utils": "0.0.0-snapshot-895bae4721a004be02dd5794614b72c90995e56b"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@opentelemetry/sdk-trace-base": "^2.0.0",
@@ -46,8 +46,8 @@
46
46
  "typescript": "^5.8.3",
47
47
  "vite": "^6.3.4",
48
48
  "vitest": "^3.1.2",
49
- "@livestore/adapter-web": "0.0.0-snapshot-d2ade85ddbf2f2a330a2bd289e0255b3189142dc",
50
- "@livestore/utils-dev": "0.0.0-snapshot-d2ade85ddbf2f2a330a2bd289e0255b3189142dc"
49
+ "@livestore/utils-dev": "0.0.0-snapshot-895bae4721a004be02dd5794614b72c90995e56b",
50
+ "@livestore/adapter-web": "0.0.0-snapshot-895bae4721a004be02dd5794614b72c90995e56b"
51
51
  },
52
52
  "files": [
53
53
  "package.json",