jazz-tools 0.7.0-alpha.8 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.cjs +3 -10
- package/.prettierrc.js +9 -0
- package/.turbo/turbo-build.log +3 -19
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-test.log +140 -0
- package/CHANGELOG.md +304 -0
- package/README.md +10 -2
- package/dist/coValues/account.js +59 -41
- package/dist/coValues/account.js.map +1 -1
- package/dist/coValues/coList.js +49 -46
- package/dist/coValues/coList.js.map +1 -1
- package/dist/coValues/coMap.js +143 -44
- package/dist/coValues/coMap.js.map +1 -1
- package/dist/coValues/coStream.js +144 -35
- package/dist/coValues/coStream.js.map +1 -1
- package/dist/coValues/deepLoading.js +60 -0
- package/dist/coValues/deepLoading.js.map +1 -0
- package/dist/coValues/extensions/imageDef.js +10 -7
- package/dist/coValues/extensions/imageDef.js.map +1 -1
- package/dist/coValues/group.js +49 -13
- package/dist/coValues/group.js.map +1 -1
- package/dist/coValues/interfaces.js +70 -31
- package/dist/coValues/interfaces.js.map +1 -1
- package/dist/implementation/devtoolsFormatters.js +114 -0
- package/dist/implementation/devtoolsFormatters.js.map +1 -0
- package/dist/implementation/refs.js +58 -18
- package/dist/implementation/refs.js.map +1 -1
- package/dist/implementation/schema.js +58 -0
- package/dist/implementation/schema.js.map +1 -0
- package/dist/implementation/subscriptionScope.js +19 -1
- package/dist/implementation/subscriptionScope.js.map +1 -1
- package/dist/implementation/symbols.js +5 -0
- package/dist/implementation/symbols.js.map +1 -0
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/internal.js +5 -2
- package/dist/internal.js.map +1 -1
- package/dist/tests/coList.test.js +51 -48
- package/dist/tests/coList.test.js.map +1 -1
- package/dist/tests/coMap.test.js +131 -73
- package/dist/tests/coMap.test.js.map +1 -1
- package/dist/tests/coStream.test.js +56 -41
- package/dist/tests/coStream.test.js.map +1 -1
- package/dist/tests/deepLoading.test.js +188 -0
- package/dist/tests/deepLoading.test.js.map +1 -0
- package/dist/tests/groupsAndAccounts.test.js +83 -0
- package/dist/tests/groupsAndAccounts.test.js.map +1 -0
- package/package.json +17 -9
- package/src/coValues/account.ts +113 -125
- package/src/coValues/coList.ts +87 -103
- package/src/coValues/coMap.ts +200 -147
- package/src/coValues/coStream.ts +264 -80
- package/src/coValues/deepLoading.ts +229 -0
- package/src/coValues/extensions/imageDef.ts +17 -13
- package/src/coValues/group.ts +92 -58
- package/src/coValues/interfaces.ts +215 -115
- package/src/implementation/devtoolsFormatters.ts +110 -0
- package/src/implementation/inspect.ts +1 -1
- package/src/implementation/refs.ts +80 -28
- package/src/implementation/schema.ts +138 -0
- package/src/implementation/subscriptionScope.ts +48 -12
- package/src/implementation/symbols.ts +11 -0
- package/src/index.ts +12 -8
- package/src/internal.ts +7 -3
- package/src/tests/coList.test.ts +77 -62
- package/src/tests/coMap.test.ts +201 -113
- package/src/tests/coStream.test.ts +113 -84
- package/src/tests/deepLoading.test.ts +301 -0
- package/src/tests/groupsAndAccounts.test.ts +91 -0
- package/dist/implementation/encoding.js +0 -26
- package/dist/implementation/encoding.js.map +0 -1
- package/src/implementation/encoding.ts +0 -105
package/.eslintrc.cjs
CHANGED
@@ -3,6 +3,7 @@ module.exports = {
|
|
3
3
|
"eslint:recommended",
|
4
4
|
"plugin:@typescript-eslint/recommended",
|
5
5
|
"plugin:require-extensions/recommended",
|
6
|
+
"prettier"
|
6
7
|
],
|
7
8
|
parser: "@typescript-eslint/parser",
|
8
9
|
plugins: ["@typescript-eslint", "require-extensions"],
|
@@ -10,7 +11,7 @@ module.exports = {
|
|
10
11
|
project: "./tsconfig.json",
|
11
12
|
tsconfigRootDir: __dirname,
|
12
13
|
},
|
13
|
-
ignorePatterns: [".eslint.cjs"
|
14
|
+
ignorePatterns: [".eslint.cjs"],
|
14
15
|
root: true,
|
15
16
|
rules: {
|
16
17
|
"no-unused-vars": "off",
|
@@ -19,13 +20,5 @@ module.exports = {
|
|
19
20
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
20
21
|
],
|
21
22
|
"@typescript-eslint/no-floating-promises": "error",
|
22
|
-
"@typescript-eslint/no-explicit-any": "warn",
|
23
|
-
"@typescript-eslint/consistent-type-imports": [
|
24
|
-
"error",
|
25
|
-
{
|
26
|
-
prefer: "type-imports",
|
27
|
-
disallowTypeAnnotations: false,
|
28
|
-
},
|
29
|
-
],
|
30
23
|
},
|
31
|
-
}
|
24
|
+
}
|
package/.prettierrc.js
ADDED
package/.turbo/turbo-build.log
CHANGED
@@ -1,24 +1,8 @@
|
|
1
1
|
|
2
|
-
> jazz-
|
2
|
+
> jazz-tools@0.7.1 build /Users/anselm/jazz/jazz/packages/jazz-tools
|
3
3
|
> npm run lint && rm -rf ./dist && tsc --sourceMap --outDir dist
|
4
4
|
|
5
5
|
|
6
|
-
> jazz-
|
7
|
-
> eslint
|
6
|
+
> jazz-tools@0.7.1 lint
|
7
|
+
> eslint . --ext ts,tsx
|
8
8
|
|
9
|
-
|
10
|
-
/Users/anselm/jazz/jazz/packages/jazz-js/src/tests/binaryCoStream.test.ts
|
11
|
-
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
|
12
|
-
|
13
|
-
/Users/anselm/jazz/jazz/packages/jazz-js/src/tests/coList.test.ts
|
14
|
-
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
|
15
|
-
|
16
|
-
/Users/anselm/jazz/jazz/packages/jazz-js/src/tests/coMap.test.ts
|
17
|
-
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
|
18
|
-
|
19
|
-
/Users/anselm/jazz/jazz/packages/jazz-js/src/tests/coStream.test.ts
|
20
|
-
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
|
21
|
-
|
22
|
-
✖ 4 problems (0 errors, 4 warnings)
|
23
|
-
|
24
|
-
ELIFECYCLE Command failed.
|
@@ -0,0 +1,140 @@
|
|
1
|
+
|
2
|
+
> jazz-tools@0.7.0-alpha.37 test /Users/anselm/jazz/jazz/packages/jazz-tools
|
3
|
+
> vitest --run
|
4
|
+
|
5
|
+
|
6
|
+
RUN v0.34.6 /Users/anselm/jazz/jazz/packages/jazz-tools
|
7
|
+
|
8
|
+
✓ src/tests/groupsAndAccounts.test.ts (1 test) 41ms
|
9
|
+
stdout | unknown test
|
10
|
+
TestMap schema [90mundefined[39m
|
11
|
+
|
12
|
+
✓ src/tests/deepLoading.test.ts (3 tests) 86ms
|
13
|
+
✓ src/tests/coList.test.ts (10 tests) 160ms
|
14
|
+
stdout | src/tests/coList.test.ts > Simple CoList operations > Mutation > splice
|
15
|
+
[ [32m'bread'[39m, [32m'onion'[39m ] [33m0[39m
|
16
|
+
[ [32m'bread'[39m, [32m'salt'[39m, [32m'onion'[39m ] [33m1[39m
|
17
|
+
|
18
|
+
stdout | src/tests/coList.test.ts > CoList resolution > Subscription & auto-resolution
|
19
|
+
subscribedList?.[0]?.[0]?.[0] [90mundefined[39m
|
20
|
+
subscribedList?.[0]?.[0]?.[0] [90mundefined[39m
|
21
|
+
subscribedList?.[0]?.[0]?.[0] a
|
22
|
+
subscribedList?.[0]?.[0]?.[0] x
|
23
|
+
subscribedList?.[0]?.[0]?.[0] y
|
24
|
+
subscribedList?.[0]?.[0]?.[0] w
|
25
|
+
|
26
|
+
stdout | src/tests/coStream.test.ts > CoStream resolution > Subscription & auto-resolution
|
27
|
+
subscribedStream[me.id] {
|
28
|
+
value: [36m[Getter][39m,
|
29
|
+
ref: [36m[Getter][39m,
|
30
|
+
by: [36m[Getter][39m,
|
31
|
+
madeAt: [35m2024-05-24T20:46:44.463Z[39m,
|
32
|
+
tx: {
|
33
|
+
sessionID: [32m'co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_z75hUWuWjTuX'[39m,
|
34
|
+
txIndex: [33m0[39m
|
35
|
+
}
|
36
|
+
}
|
37
|
+
subscribedStream[me.id]?.value?.[me.id]?.value [90mundefined[39m
|
38
|
+
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value [90mundefined[39m
|
39
|
+
subscribedStream[me.id] {
|
40
|
+
value: [36m[Getter][39m,
|
41
|
+
ref: [36m[Getter][39m,
|
42
|
+
by: [36m[Getter][39m,
|
43
|
+
madeAt: [35m2024-05-24T20:46:44.463Z[39m,
|
44
|
+
tx: {
|
45
|
+
sessionID: [32m'co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_z75hUWuWjTuX'[39m,
|
46
|
+
txIndex: [33m0[39m
|
47
|
+
}
|
48
|
+
}
|
49
|
+
subscribedStream[me.id]?.value?.[me.id]?.value [1mnull[22m
|
50
|
+
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value [90mundefined[39m
|
51
|
+
subscribedStream[me.id] {
|
52
|
+
value: [36m[Getter][39m,
|
53
|
+
ref: [36m[Getter][39m,
|
54
|
+
by: [36m[Getter][39m,
|
55
|
+
madeAt: [35m2024-05-24T20:46:44.463Z[39m,
|
56
|
+
tx: {
|
57
|
+
sessionID: [32m'co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_z75hUWuWjTuX'[39m,
|
58
|
+
txIndex: [33m0[39m
|
59
|
+
}
|
60
|
+
}
|
61
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
62
|
+
id: [32m'co_zGQiwntfLWcU3pybwp6nq8VhcEr'[39m,
|
63
|
+
_type: [32m'CoStream'[39m,
|
64
|
+
co_zNCLRSU2cPfqfz9aEAA1vL2JsF5: [32m'milk'[39m,
|
65
|
+
in: { co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_z75hUWuWjTuX: [32m'milk'[39m }
|
66
|
+
}
|
67
|
+
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value milk
|
68
|
+
subscribedStream[me.id] {
|
69
|
+
value: [36m[Getter][39m,
|
70
|
+
ref: [36m[Getter][39m,
|
71
|
+
by: [36m[Getter][39m,
|
72
|
+
madeAt: [35m2024-05-24T20:46:44.463Z[39m,
|
73
|
+
tx: {
|
74
|
+
sessionID: [32m'co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_z75hUWuWjTuX'[39m,
|
75
|
+
txIndex: [33m0[39m
|
76
|
+
}
|
77
|
+
}
|
78
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
79
|
+
id: [32m'co_zGQiwntfLWcU3pybwp6nq8VhcEr'[39m,
|
80
|
+
_type: [32m'CoStream'[39m,
|
81
|
+
co_zNCLRSU2cPfqfz9aEAA1vL2JsF5: [32m'bread'[39m,
|
82
|
+
in: {
|
83
|
+
co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_z75hUWuWjTuX: [32m'milk'[39m,
|
84
|
+
co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_zSWSUsvvX8KW: [32m'bread'[39m
|
85
|
+
}
|
86
|
+
}
|
87
|
+
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value bread
|
88
|
+
subscribedStream[me.id] {
|
89
|
+
value: [36m[Getter][39m,
|
90
|
+
ref: [36m[Getter][39m,
|
91
|
+
by: [36m[Getter][39m,
|
92
|
+
madeAt: [35m2024-05-24T20:46:44.481Z[39m,
|
93
|
+
tx: {
|
94
|
+
sessionID: [32m'co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_zSWSUsvvX8KW'[39m,
|
95
|
+
txIndex: [33m0[39m
|
96
|
+
}
|
97
|
+
}
|
98
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
99
|
+
id: [32m'co_zhX5ZcvxQW4w2LJ99rBQ6NmBziS'[39m,
|
100
|
+
_type: [32m'CoStream'[39m,
|
101
|
+
co_zNCLRSU2cPfqfz9aEAA1vL2JsF5: [32m'butter'[39m,
|
102
|
+
in: { co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_zSWSUsvvX8KW: [32m'butter'[39m }
|
103
|
+
}
|
104
|
+
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value butter
|
105
|
+
subscribedStream[me.id] {
|
106
|
+
value: [36m[Getter][39m,
|
107
|
+
ref: [36m[Getter][39m,
|
108
|
+
by: [36m[Getter][39m,
|
109
|
+
madeAt: [35m2024-05-24T20:46:44.481Z[39m,
|
110
|
+
tx: {
|
111
|
+
sessionID: [32m'co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_zSWSUsvvX8KW'[39m,
|
112
|
+
txIndex: [33m0[39m
|
113
|
+
}
|
114
|
+
}
|
115
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
116
|
+
id: [32m'co_zhX5ZcvxQW4w2LJ99rBQ6NmBziS'[39m,
|
117
|
+
_type: [32m'CoStream'[39m,
|
118
|
+
co_zNCLRSU2cPfqfz9aEAA1vL2JsF5: [32m'jam'[39m,
|
119
|
+
in: { co_zNCLRSU2cPfqfz9aEAA1vL2JsF5_session_zSWSUsvvX8KW: [32m'jam'[39m }
|
120
|
+
}
|
121
|
+
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value jam
|
122
|
+
|
123
|
+
✓ src/tests/coStream.test.ts (10 tests) 181ms
|
124
|
+
✓ src/tests/coMap.test.ts (11 tests) 203ms
|
125
|
+
stdout | src/tests/coMap.test.ts > CoMap resolution > Subscription & auto-resolution
|
126
|
+
subscribedMap.nested?.twiceNested?.taste [90mundefined[39m
|
127
|
+
subscribedMap.nested?.twiceNested?.taste [90mundefined[39m
|
128
|
+
subscribedMap.nested?.twiceNested?.taste sour
|
129
|
+
subscribedMap.nested?.twiceNested?.taste sour
|
130
|
+
subscribedMap.nested?.twiceNested?.taste sweet
|
131
|
+
subscribedMap.nested?.twiceNested?.taste sweet
|
132
|
+
subscribedMap.nested?.twiceNested?.taste salty
|
133
|
+
subscribedMap.nested?.twiceNested?.taste umami
|
134
|
+
|
135
|
+
|
136
|
+
Test Files 5 passed (5)
|
137
|
+
Tests 35 passed (35)
|
138
|
+
Start at 21:46:43
|
139
|
+
Duration 805ms (transform 212ms, setup 0ms, collect 2.19s, tests 671ms, environment 0ms, prepare 225ms)
|
140
|
+
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,309 @@
|
|
1
1
|
# jazz-autosub
|
2
2
|
|
3
|
+
## 0.7.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Add runtime option for optional refs
|
8
|
+
|
9
|
+
## 0.7.0
|
10
|
+
|
11
|
+
### Minor Changes
|
12
|
+
|
13
|
+
- e299c3e: New simplified API
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- 8636319: Fix infinite recursion in subscriptionScope
|
18
|
+
- 8636319: Fix type of init param for CoMap.create
|
19
|
+
- 1a35307: Implement first devtools formatters
|
20
|
+
- 96c494f: Implement profile visibility based on groups & new migration signature
|
21
|
+
- 59c18c3: CoMap fix
|
22
|
+
- 19f52b7: Fixed bug with newRandomSessionID being called before crypto was ready
|
23
|
+
- 8636319: Implement deep loading, simplify API
|
24
|
+
- 19004b4: Add .all to CoStreamEntry
|
25
|
+
- a78f168: Make Account -> Profile a lazy ref schema
|
26
|
+
- 52675c9: Fix CoList.splice / RawCoList.append
|
27
|
+
- 129e2c1: More precise imports from @effect/schema
|
28
|
+
- 1cfa279: More superclass-compatible CoMaps
|
29
|
+
- 704af7d: Add maxWidth option for loading images
|
30
|
+
- 460478f: Use effect 3.0
|
31
|
+
- 6b0418f: Fix image resolution loading
|
32
|
+
- ed5643a: Fix CoMap \_refs for co.items
|
33
|
+
- bde684f: CoValue casting & auto-subbing \_owner
|
34
|
+
- c4151fc: Support stricter TS lint rules
|
35
|
+
- 63374cc: Relax types of CoMap.\_schema
|
36
|
+
- 01ac646: Make CoMaps even more subclassable
|
37
|
+
- a5e68a4: Make refs type more precise
|
38
|
+
- 952982e: Consistent proxy based API
|
39
|
+
- 1a35307: Add ability to declare minimum required data in subscribe & Improve property access tracing
|
40
|
+
- 5fa277c: Fix CoMap.Record.toJSON()
|
41
|
+
- 60d5ca2: Introduce jazz-tools CLI
|
42
|
+
- 21771c4: Reintroduce changes from main
|
43
|
+
- 77c2b56: Get rid of self generics, new create syntax
|
44
|
+
- 63374cc: Fix schema of Account & Group
|
45
|
+
- d2e03ff: Fix variance of ID.\_\_type
|
46
|
+
- 354bdcd: Even friendlier for subclassing CoMap
|
47
|
+
- 60d5ca2: Clean up exports
|
48
|
+
- 69ac514: Use effect schema much less
|
49
|
+
- f8a5c46: Fix CoStream types
|
50
|
+
- f0f6f1b: Clean up API more & re-add jazz-nodejs
|
51
|
+
- e5eed5b: Make refs on list more precise
|
52
|
+
- 1a44f87: Refactoring
|
53
|
+
- 627d895: Get rid of Co namespace
|
54
|
+
- 1200aae: Cache CoValue proxies
|
55
|
+
- 63374cc: Make sure delete on CoMaps deletes keys
|
56
|
+
- ece35b3: Make fast-check a direct dependency to help dev time resolution
|
57
|
+
- 38d4410: CoMap fixes and improvements
|
58
|
+
- 85d2b62: More subclass-friendly types in CoMap
|
59
|
+
- fd86c11: Extract jazz cli into jazz-run package
|
60
|
+
- 52675c9: Fix Costream[...].all
|
61
|
+
- Updated dependencies [1a35307]
|
62
|
+
- Updated dependencies [96c494f]
|
63
|
+
- Updated dependencies [19f52b7]
|
64
|
+
- Updated dependencies [d8fe2b1]
|
65
|
+
- Updated dependencies [1200aae]
|
66
|
+
- Updated dependencies [52675c9]
|
67
|
+
- Updated dependencies [1a35307]
|
68
|
+
- Updated dependencies [e299c3e]
|
69
|
+
- Updated dependencies [bf0f8ec]
|
70
|
+
- Updated dependencies [c4151fc]
|
71
|
+
- Updated dependencies [8636319]
|
72
|
+
- Updated dependencies [952982e]
|
73
|
+
- Updated dependencies [21771c4]
|
74
|
+
- Updated dependencies [69ac514]
|
75
|
+
- Updated dependencies [f0f6f1b]
|
76
|
+
- Updated dependencies [1a44f87]
|
77
|
+
- Updated dependencies [627d895]
|
78
|
+
- Updated dependencies [63374cc]
|
79
|
+
- Updated dependencies [a423eee]
|
80
|
+
- cojson@0.7.0
|
81
|
+
- cojson-transport-nodejs-ws@0.7.0
|
82
|
+
|
83
|
+
## 0.7.0-alpha.42
|
84
|
+
|
85
|
+
### Patch Changes
|
86
|
+
|
87
|
+
- Fixed bug with newRandomSessionID being called before crypto was ready
|
88
|
+
- Updated dependencies
|
89
|
+
- cojson@0.7.0-alpha.42
|
90
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.42
|
91
|
+
|
92
|
+
## 0.7.0-alpha.41
|
93
|
+
|
94
|
+
### Patch Changes
|
95
|
+
|
96
|
+
- Updated dependencies
|
97
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.41
|
98
|
+
|
99
|
+
## 0.7.0-alpha.39
|
100
|
+
|
101
|
+
### Patch Changes
|
102
|
+
|
103
|
+
- Updated dependencies
|
104
|
+
- cojson@0.7.0-alpha.39
|
105
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.39
|
106
|
+
|
107
|
+
## 0.7.0-alpha.38
|
108
|
+
|
109
|
+
### Patch Changes
|
110
|
+
|
111
|
+
- Fix infinite recursion in subscriptionScope
|
112
|
+
- Fix type of init param for CoMap.create
|
113
|
+
- Implement deep loading, simplify API
|
114
|
+
- Updated dependencies
|
115
|
+
- cojson@0.7.0-alpha.38
|
116
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.38
|
117
|
+
|
118
|
+
## 0.7.0-alpha.37
|
119
|
+
|
120
|
+
### Patch Changes
|
121
|
+
|
122
|
+
- Updated dependencies
|
123
|
+
- cojson@0.7.0-alpha.37
|
124
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.37
|
125
|
+
|
126
|
+
## 0.7.0-alpha.36
|
127
|
+
|
128
|
+
### Patch Changes
|
129
|
+
|
130
|
+
- 1a35307: Implement first devtools formatters
|
131
|
+
- 6b0418f: Fix image resolution loading
|
132
|
+
- 1a35307: Add ability to declare minimum required data in subscribe & Improve property access tracing
|
133
|
+
- Updated dependencies [1a35307]
|
134
|
+
- Updated dependencies [1a35307]
|
135
|
+
- cojson@0.7.0-alpha.36
|
136
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.36
|
137
|
+
|
138
|
+
## 0.7.0-alpha.35
|
139
|
+
|
140
|
+
### Patch Changes
|
141
|
+
|
142
|
+
- Cache CoValue proxies
|
143
|
+
- Updated dependencies
|
144
|
+
- cojson@0.7.0-alpha.35
|
145
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.35
|
146
|
+
|
147
|
+
## 0.7.0-alpha.34
|
148
|
+
|
149
|
+
### Patch Changes
|
150
|
+
|
151
|
+
- Extract jazz cli into jazz-run package
|
152
|
+
|
153
|
+
## 0.7.0-alpha.32
|
154
|
+
|
155
|
+
### Patch Changes
|
156
|
+
|
157
|
+
- Introduce jazz-tools CLI
|
158
|
+
- Clean up exports
|
159
|
+
|
160
|
+
## 0.7.0-alpha.31
|
161
|
+
|
162
|
+
### Patch Changes
|
163
|
+
|
164
|
+
- Get rid of self generics, new create syntax
|
165
|
+
|
166
|
+
## 0.7.0-alpha.30
|
167
|
+
|
168
|
+
### Patch Changes
|
169
|
+
|
170
|
+
- CoValue casting & auto-subbing \_owner
|
171
|
+
|
172
|
+
## 0.7.0-alpha.29
|
173
|
+
|
174
|
+
### Patch Changes
|
175
|
+
|
176
|
+
- Reintroduce changes from main
|
177
|
+
- Updated dependencies
|
178
|
+
- cojson@0.7.0-alpha.29
|
179
|
+
|
180
|
+
## 0.7.0-alpha.28
|
181
|
+
|
182
|
+
### Patch Changes
|
183
|
+
|
184
|
+
- Implement profile visibility based on groups & new migration signature
|
185
|
+
- Updated dependencies
|
186
|
+
- cojson@0.7.0-alpha.28
|
187
|
+
|
188
|
+
## 0.7.0-alpha.27
|
189
|
+
|
190
|
+
### Patch Changes
|
191
|
+
|
192
|
+
- Fix CoList.splice / RawCoList.append
|
193
|
+
- Fix Costream[...].all
|
194
|
+
- Updated dependencies
|
195
|
+
- cojson@0.7.0-alpha.27
|
196
|
+
|
197
|
+
## 0.7.0-alpha.26
|
198
|
+
|
199
|
+
### Patch Changes
|
200
|
+
|
201
|
+
- Fix CoMap.Record.toJSON()
|
202
|
+
|
203
|
+
## 0.7.0-alpha.25
|
204
|
+
|
205
|
+
### Patch Changes
|
206
|
+
|
207
|
+
- Make Account -> Profile a lazy ref schema
|
208
|
+
|
209
|
+
## 0.7.0-alpha.24
|
210
|
+
|
211
|
+
### Patch Changes
|
212
|
+
|
213
|
+
- Relax types of CoMap.\_schema
|
214
|
+
- Fix schema of Account & Group
|
215
|
+
- Make sure delete on CoMaps deletes keys
|
216
|
+
- Updated dependencies
|
217
|
+
- cojson@0.7.0-alpha.24
|
218
|
+
|
219
|
+
## 0.7.0-alpha.23
|
220
|
+
|
221
|
+
### Patch Changes
|
222
|
+
|
223
|
+
- CoMap fixes and improvements
|
224
|
+
|
225
|
+
## 0.7.0-alpha.22
|
226
|
+
|
227
|
+
### Patch Changes
|
228
|
+
|
229
|
+
- Fix CoMap \_refs for co.items
|
230
|
+
|
231
|
+
## 0.7.0-alpha.21
|
232
|
+
|
233
|
+
### Patch Changes
|
234
|
+
|
235
|
+
- Add maxWidth option for loading images
|
236
|
+
|
237
|
+
## 0.7.0-alpha.20
|
238
|
+
|
239
|
+
### Patch Changes
|
240
|
+
|
241
|
+
- Make fast-check a direct dependency to help dev time resolution
|
242
|
+
|
243
|
+
## 0.7.0-alpha.19
|
244
|
+
|
245
|
+
### Patch Changes
|
246
|
+
|
247
|
+
- More precise imports from @effect/schema
|
248
|
+
|
249
|
+
## 0.7.0-alpha.17
|
250
|
+
|
251
|
+
### Patch Changes
|
252
|
+
|
253
|
+
- Use effect 3.0
|
254
|
+
|
255
|
+
## 0.7.0-alpha.16
|
256
|
+
|
257
|
+
### Patch Changes
|
258
|
+
|
259
|
+
- Make CoMaps even more subclassable
|
260
|
+
|
261
|
+
## 0.7.0-alpha.15
|
262
|
+
|
263
|
+
### Patch Changes
|
264
|
+
|
265
|
+
- More superclass-compatible CoMaps
|
266
|
+
|
267
|
+
## 0.7.0-alpha.14
|
268
|
+
|
269
|
+
### Patch Changes
|
270
|
+
|
271
|
+
- Fix CoStream types
|
272
|
+
|
273
|
+
## 0.7.0-alpha.13
|
274
|
+
|
275
|
+
### Patch Changes
|
276
|
+
|
277
|
+
- Add .all to CoStreamEntry
|
278
|
+
|
279
|
+
## 0.7.0-alpha.12
|
280
|
+
|
281
|
+
### Patch Changes
|
282
|
+
|
283
|
+
- Fix variance of ID.\_\_type
|
284
|
+
|
285
|
+
## 0.7.0-alpha.11
|
286
|
+
|
287
|
+
### Patch Changes
|
288
|
+
|
289
|
+
- Support stricter TS lint rules
|
290
|
+
- Updated dependencies
|
291
|
+
- cojson@0.7.0-alpha.11
|
292
|
+
|
293
|
+
## 0.7.0-alpha.10
|
294
|
+
|
295
|
+
### Patch Changes
|
296
|
+
|
297
|
+
- Clean up API more & re-add jazz-nodejs
|
298
|
+
- Updated dependencies
|
299
|
+
- cojson@0.7.0-alpha.10
|
300
|
+
|
301
|
+
## 0.7.0-alpha.9
|
302
|
+
|
303
|
+
### Patch Changes
|
304
|
+
|
305
|
+
- Even friendlier for subclassing CoMap
|
306
|
+
|
3
307
|
## 0.7.0-alpha.8
|
4
308
|
|
5
309
|
### Patch Changes
|
package/README.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# `jazz-tools`
|
2
2
|
|
3
|
-
|
3
|
+
The base implementation for Jazz (see [jazz.tools](https://jazz.tools)), a framework for distributed state.
|
4
|
+
|
5
|
+
Provides a high-level API around the CoJSON protocol.
|
6
|
+
|
7
|
+
## Environments and bindings
|
8
|
+
|
9
|
+
- `jazz-browser` (Vanilla JavaScript)
|
10
|
+
- `jazz-react` (React apps)
|
11
|
+
- `jazz-nodejs` (NodeJS or Bun server workers)
|