@evolu/react 8.0.0 → 8.0.2

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/index.d.ts CHANGED
@@ -12,13 +12,13 @@ export declare const
12
12
  * import * as E from "@evolu/react";
13
13
  *
14
14
  * const TodoId = E.id("Todo");
15
- * type TodoId = S.Schema.Type<typeof TodoId>;
15
+ * type TodoId = typeof TodoId.Type;
16
16
  *
17
17
  * const TodoTable = E.table({
18
18
  * id: TodoId,
19
19
  * title: E.NonEmptyString1000,
20
20
  * });
21
- * type TodoTable = S.Schema.Type<typeof TodoTable>;
21
+ * type TodoTable = typeof TodoTable.Type;
22
22
  *
23
23
  * const Database = E.database({
24
24
  * todo: TodoTable,
@@ -26,7 +26,7 @@ export declare const
26
26
  * // Prefix `_` makes the table local-only (it will not sync)
27
27
  * _todo: TodoTable,
28
28
  * });
29
- * type Database = S.Schema.Type<typeof Database>;
29
+ * type Database = typeof Database.Type;
30
30
  *
31
31
  * const evolu = E.createEvolu(Database);
32
32
  */
package/dist/index.js CHANGED
@@ -21,13 +21,13 @@ export const {
21
21
  * import * as E from "@evolu/react";
22
22
  *
23
23
  * const TodoId = E.id("Todo");
24
- * type TodoId = S.Schema.Type<typeof TodoId>;
24
+ * type TodoId = typeof TodoId.Type;
25
25
  *
26
26
  * const TodoTable = E.table({
27
27
  * id: TodoId,
28
28
  * title: E.NonEmptyString1000,
29
29
  * });
30
- * type TodoTable = S.Schema.Type<typeof TodoTable>;
30
+ * type TodoTable = typeof TodoTable.Type;
31
31
  *
32
32
  * const Database = E.database({
33
33
  * todo: TodoTable,
@@ -35,7 +35,7 @@ export const {
35
35
  * // Prefix `_` makes the table local-only (it will not sync)
36
36
  * _todo: TodoTable,
37
37
  * });
38
- * type Database = S.Schema.Type<typeof Database>;
38
+ * type Database = typeof Database.Type;
39
39
  *
40
40
  * const evolu = E.createEvolu(Database);
41
41
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evolu/react",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Evolu for React",
5
5
  "keywords": [
6
6
  "evolu",
@@ -33,17 +33,17 @@
33
33
  "eslint": "^8.57.0",
34
34
  "react-dom": "^18.3.1",
35
35
  "typescript": "^5.4.5",
36
- "vitest": "^1.5.2",
37
- "@evolu/common": "5.0.0",
38
- "@evolu/common-react": "8.0.0",
36
+ "vitest": "^1.6.0",
37
+ "@evolu/common": "5.1.1",
38
+ "@evolu/common-react": "8.0.4",
39
+ "@evolu/common-web": "8.0.2",
39
40
  "@evolu/tsconfig": "0.0.2",
40
- "@evolu/common-web": "8.0.0",
41
41
  "eslint-config-evolu": "1.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@evolu/common": "^5.0.0",
45
- "@evolu/common-react": "^8.0.0",
46
- "@evolu/common-web": "^8.0.0",
44
+ "@evolu/common": "^5.1.1",
45
+ "@evolu/common-react": "^8.0.4",
46
+ "@evolu/common-web": "^8.0.2",
47
47
  "react-dom": "^18.2.0"
48
48
  },
49
49
  "publishConfig": {
package/src/index.ts CHANGED
@@ -26,13 +26,13 @@ export const {
26
26
  * import * as E from "@evolu/react";
27
27
  *
28
28
  * const TodoId = E.id("Todo");
29
- * type TodoId = S.Schema.Type<typeof TodoId>;
29
+ * type TodoId = typeof TodoId.Type;
30
30
  *
31
31
  * const TodoTable = E.table({
32
32
  * id: TodoId,
33
33
  * title: E.NonEmptyString1000,
34
34
  * });
35
- * type TodoTable = S.Schema.Type<typeof TodoTable>;
35
+ * type TodoTable = typeof TodoTable.Type;
36
36
  *
37
37
  * const Database = E.database({
38
38
  * todo: TodoTable,
@@ -40,7 +40,7 @@ export const {
40
40
  * // Prefix `_` makes the table local-only (it will not sync)
41
41
  * _todo: TodoTable,
42
42
  * });
43
- * type Database = S.Schema.Type<typeof Database>;
43
+ * type Database = typeof Database.Type;
44
44
  *
45
45
  * const evolu = E.createEvolu(Database);
46
46
  */