@evolu/react 6.0.0 → 6.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
@@ -11,20 +11,20 @@ export * from "@evolu/common/public";
11
11
  * import { NonEmptyString1000, createEvolu, id } from "@evolu/react";
12
12
  *
13
13
  * const TodoId = id("Todo");
14
- * type TodoId = S.Schema.To<typeof TodoId>;
14
+ * type TodoId = S.Schema.Type<typeof TodoId>;
15
15
  *
16
16
  * const TodoTable = table({
17
17
  * id: TodoId,
18
18
  * title: NonEmptyString1000,
19
19
  * });
20
- * type TodoTable = S.Schema.To<typeof TodoTable>;
20
+ * type TodoTable = S.Schema.Type<typeof TodoTable>;
21
21
  *
22
22
  * const Database = database({
23
23
  * // _todo is local-only table
24
24
  * _todo: TodoTable,
25
25
  * todo: TodoTable,
26
26
  * });
27
- * type Database = S.Schema.To<typeof Database>;
27
+ * type Database = S.Schema.Type<typeof Database>;
28
28
  *
29
29
  * const evolu = createEvolu(Database);
30
30
  */
package/dist/index.js CHANGED
@@ -16,20 +16,20 @@ const FlushSyncLive = Layer.succeed(FlushSync, flushSync);
16
16
  * import { NonEmptyString1000, createEvolu, id } from "@evolu/react";
17
17
  *
18
18
  * const TodoId = id("Todo");
19
- * type TodoId = S.Schema.To<typeof TodoId>;
19
+ * type TodoId = S.Schema.Type<typeof TodoId>;
20
20
  *
21
21
  * const TodoTable = table({
22
22
  * id: TodoId,
23
23
  * title: NonEmptyString1000,
24
24
  * });
25
- * type TodoTable = S.Schema.To<typeof TodoTable>;
25
+ * type TodoTable = S.Schema.Type<typeof TodoTable>;
26
26
  *
27
27
  * const Database = database({
28
28
  * // _todo is local-only table
29
29
  * _todo: TodoTable,
30
30
  * todo: TodoTable,
31
31
  * });
32
- * type Database = S.Schema.To<typeof Database>;
32
+ * type Database = S.Schema.Type<typeof Database>;
33
33
  *
34
34
  * const evolu = createEvolu(Database);
35
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evolu/react",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "Evolu for React",
5
5
  "keywords": [
6
6
  "evolu",
@@ -29,22 +29,21 @@
29
29
  "README.md"
30
30
  ],
31
31
  "devDependencies": {
32
- "@types/react-dom": "^18.2.19",
32
+ "@types/react-dom": "^18.2.22",
33
33
  "eslint": "^8.57.0",
34
34
  "react-dom": "^18.2.0",
35
- "typescript": "^5.3.3",
36
- "vitest": "^1.3.1",
37
- "@evolu/common": "4.0.0",
38
- "@evolu/common-react": "6.0.0",
39
- "@evolu/common-web": "6.0.0",
35
+ "typescript": "^5.4.2",
36
+ "vitest": "^1.4.0",
37
+ "@evolu/common": "4.0.5",
38
+ "@evolu/common-react": "6.0.3",
39
+ "@evolu/common-web": "6.0.4",
40
40
  "@evolu/tsconfig": "0.0.2",
41
41
  "eslint-config-evolu": "1.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@evolu/common": "^4.0.0",
45
- "@evolu/common-react": "^6.0.0",
46
- "@evolu/common-web": "^6.0.0",
47
- "@types/react-dom": "^18.2.19",
44
+ "@evolu/common": "^4.0.5",
45
+ "@evolu/common-react": "^6.0.3",
46
+ "@evolu/common-web": "^6.0.4",
48
47
  "react-dom": "^18.2.0"
49
48
  },
50
49
  "publishConfig": {
package/src/index.ts CHANGED
@@ -19,20 +19,20 @@ const FlushSyncLive = Layer.succeed(FlushSync, flushSync);
19
19
  * import { NonEmptyString1000, createEvolu, id } from "@evolu/react";
20
20
  *
21
21
  * const TodoId = id("Todo");
22
- * type TodoId = S.Schema.To<typeof TodoId>;
22
+ * type TodoId = S.Schema.Type<typeof TodoId>;
23
23
  *
24
24
  * const TodoTable = table({
25
25
  * id: TodoId,
26
26
  * title: NonEmptyString1000,
27
27
  * });
28
- * type TodoTable = S.Schema.To<typeof TodoTable>;
28
+ * type TodoTable = S.Schema.Type<typeof TodoTable>;
29
29
  *
30
30
  * const Database = database({
31
31
  * // _todo is local-only table
32
32
  * _todo: TodoTable,
33
33
  * todo: TodoTable,
34
34
  * });
35
- * type Database = S.Schema.To<typeof Database>;
35
+ * type Database = S.Schema.Type<typeof Database>;
36
36
  *
37
37
  * const evolu = createEvolu(Database);
38
38
  */