jazz-tools 0.7.0-alpha.9 → 0.7.3
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 +14 -15
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-test.log +140 -0
- package/CHANGELOG.md +331 -27
- package/LICENSE.txt +1 -1
- package/README.md +10 -2
- package/dist/coValues/account.js +86 -41
- package/dist/coValues/account.js.map +1 -1
- package/dist/coValues/coList.js +75 -48
- package/dist/coValues/coList.js.map +1 -1
- package/dist/coValues/coMap.js +167 -44
- package/dist/coValues/coMap.js.map +1 -1
- package/dist/coValues/coStream.js +192 -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 +73 -13
- package/dist/coValues/group.js.map +1 -1
- package/dist/coValues/interfaces.js +58 -35
- 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 +4 -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 -74
- 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 +186 -128
- package/src/coValues/coList.ts +156 -107
- package/src/coValues/coMap.ts +272 -148
- package/src/coValues/coStream.ts +388 -87
- package/src/coValues/deepLoading.ts +229 -0
- package/src/coValues/extensions/imageDef.ts +17 -13
- package/src/coValues/group.ts +166 -59
- package/src/coValues/interfaces.ts +189 -160
- 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 +141 -0
- package/src/implementation/subscriptionScope.ts +48 -12
- package/src/implementation/symbols.ts +11 -0
- package/src/index.ts +19 -8
- package/src/internal.ts +7 -3
- package/src/tests/coList.test.ts +77 -62
- package/src/tests/coMap.test.ts +201 -114
- package/src/tests/coStream.test.ts +113 -84
- package/src/tests/deepLoading.test.ts +304 -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,23 @@
|
|
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
9
|
|
10
|
-
/Users/anselm/jazz/jazz/packages/jazz-
|
11
|
-
|
10
|
+
/Users/anselm/jazz/jazz/packages/jazz-tools/src/coValues/coStream.ts
|
11
|
+
671:9 error 'Cl' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
12
|
+
686:9 error 'Cl' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
|
12
13
|
|
13
|
-
/Users/anselm/jazz/jazz/packages/jazz-
|
14
|
-
|
14
|
+
/Users/anselm/jazz/jazz/packages/jazz-tools/src/coValues/interfaces.ts
|
15
|
+
56:12 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
15
16
|
|
16
|
-
|
17
|
-
0:0 warning File ignored because of a matching ignore pattern. Use "--no-ignore" to override
|
17
|
+
✖ 3 problems (3 errors, 0 warnings)
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
ELIFECYCLE Command failed.
|
19
|
+
npm ERR! Lifecycle script `lint` failed with error:
|
20
|
+
npm ERR! Error: command failed
|
21
|
+
npm ERR! in workspace: jazz-tools@0.7.1
|
22
|
+
npm ERR! at location: /Users/anselm/jazz/jazz/packages/jazz-tools
|
23
|
+
ELIFECYCLE Command failed with exit code 1.
|
@@ -0,0 +1,140 @@
|
|
1
|
+
|
2
|
+
> jazz-tools@0.7.1 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) 39ms
|
9
|
+
✓ src/tests/deepLoading.test.ts (3 tests) 81ms
|
10
|
+
stdout | unknown test
|
11
|
+
TestMap schema [90mundefined[39m
|
12
|
+
|
13
|
+
✓ src/tests/coList.test.ts (10 tests) 148ms
|
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-26T15:11:48.997Z[39m,
|
32
|
+
tx: {
|
33
|
+
sessionID: [32m'co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zPYMTSkySdty'[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-26T15:11:48.997Z[39m,
|
44
|
+
tx: {
|
45
|
+
sessionID: [32m'co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zPYMTSkySdty'[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-26T15:11:48.997Z[39m,
|
56
|
+
tx: {
|
57
|
+
sessionID: [32m'co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zPYMTSkySdty'[39m,
|
58
|
+
txIndex: [33m0[39m
|
59
|
+
}
|
60
|
+
}
|
61
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
62
|
+
id: [32m'co_zEKrWtTzkzefunWDtiVtBvacn7V'[39m,
|
63
|
+
_type: [32m'CoStream'[39m,
|
64
|
+
co_zV2tG6EASXsWMi2TdwukBxyb23u: [32m'milk'[39m,
|
65
|
+
in: { co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zPYMTSkySdty: [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-26T15:11:48.997Z[39m,
|
73
|
+
tx: {
|
74
|
+
sessionID: [32m'co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zPYMTSkySdty'[39m,
|
75
|
+
txIndex: [33m0[39m
|
76
|
+
}
|
77
|
+
}
|
78
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
79
|
+
id: [32m'co_zEKrWtTzkzefunWDtiVtBvacn7V'[39m,
|
80
|
+
_type: [32m'CoStream'[39m,
|
81
|
+
co_zV2tG6EASXsWMi2TdwukBxyb23u: [32m'bread'[39m,
|
82
|
+
in: {
|
83
|
+
co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zPYMTSkySdty: [32m'milk'[39m,
|
84
|
+
co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zLRSquERuYQs: [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-26T15:11:49.013Z[39m,
|
93
|
+
tx: {
|
94
|
+
sessionID: [32m'co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zLRSquERuYQs'[39m,
|
95
|
+
txIndex: [33m0[39m
|
96
|
+
}
|
97
|
+
}
|
98
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
99
|
+
id: [32m'co_zC5woKjv4Tb6sbidj7j4fYfPkJY'[39m,
|
100
|
+
_type: [32m'CoStream'[39m,
|
101
|
+
co_zV2tG6EASXsWMi2TdwukBxyb23u: [32m'butter'[39m,
|
102
|
+
in: { co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zLRSquERuYQs: [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-26T15:11:49.013Z[39m,
|
110
|
+
tx: {
|
111
|
+
sessionID: [32m'co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zLRSquERuYQs'[39m,
|
112
|
+
txIndex: [33m0[39m
|
113
|
+
}
|
114
|
+
}
|
115
|
+
subscribedStream[me.id]?.value?.[me.id]?.value {
|
116
|
+
id: [32m'co_zC5woKjv4Tb6sbidj7j4fYfPkJY'[39m,
|
117
|
+
_type: [32m'CoStream'[39m,
|
118
|
+
co_zV2tG6EASXsWMi2TdwukBxyb23u: [32m'jam'[39m,
|
119
|
+
in: { co_zV2tG6EASXsWMi2TdwukBxyb23u_session_zLRSquERuYQs: [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) 168ms
|
124
|
+
✓ src/tests/coMap.test.ts (11 tests) 188ms
|
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 16:11:48
|
139
|
+
Duration 799ms (transform 323ms, setup 0ms, collect 2.23s, tests 624ms, environment 0ms, prepare 217ms)
|
140
|
+
|
package/CHANGELOG.md
CHANGED
@@ -1,102 +1,406 @@
|
|
1
1
|
# jazz-autosub
|
2
2
|
|
3
|
+
## 0.7.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Clean up loading & subscription API
|
8
|
+
|
9
|
+
## 0.7.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- Add runtime option for optional refs
|
14
|
+
|
15
|
+
## 0.7.0
|
16
|
+
|
17
|
+
### Minor Changes
|
18
|
+
|
19
|
+
- e299c3e: New simplified API
|
20
|
+
|
21
|
+
### Patch Changes
|
22
|
+
|
23
|
+
- 8636319: Fix infinite recursion in subscriptionScope
|
24
|
+
- 8636319: Fix type of init param for CoMap.create
|
25
|
+
- 1a35307: Implement first devtools formatters
|
26
|
+
- 96c494f: Implement profile visibility based on groups & new migration signature
|
27
|
+
- 59c18c3: CoMap fix
|
28
|
+
- 19f52b7: Fixed bug with newRandomSessionID being called before crypto was ready
|
29
|
+
- 8636319: Implement deep loading, simplify API
|
30
|
+
- 19004b4: Add .all to CoStreamEntry
|
31
|
+
- a78f168: Make Account -> Profile a lazy ref schema
|
32
|
+
- 52675c9: Fix CoList.splice / RawCoList.append
|
33
|
+
- 129e2c1: More precise imports from @effect/schema
|
34
|
+
- 1cfa279: More superclass-compatible CoMaps
|
35
|
+
- 704af7d: Add maxWidth option for loading images
|
36
|
+
- 460478f: Use effect 3.0
|
37
|
+
- 6b0418f: Fix image resolution loading
|
38
|
+
- ed5643a: Fix CoMap \_refs for co.items
|
39
|
+
- bde684f: CoValue casting & auto-subbing \_owner
|
40
|
+
- c4151fc: Support stricter TS lint rules
|
41
|
+
- 63374cc: Relax types of CoMap.\_schema
|
42
|
+
- 01ac646: Make CoMaps even more subclassable
|
43
|
+
- a5e68a4: Make refs type more precise
|
44
|
+
- 952982e: Consistent proxy based API
|
45
|
+
- 1a35307: Add ability to declare minimum required data in subscribe & Improve property access tracing
|
46
|
+
- 5fa277c: Fix CoMap.Record.toJSON()
|
47
|
+
- 60d5ca2: Introduce jazz-tools CLI
|
48
|
+
- 21771c4: Reintroduce changes from main
|
49
|
+
- 77c2b56: Get rid of self generics, new create syntax
|
50
|
+
- 63374cc: Fix schema of Account & Group
|
51
|
+
- d2e03ff: Fix variance of ID.\_\_type
|
52
|
+
- 354bdcd: Even friendlier for subclassing CoMap
|
53
|
+
- 60d5ca2: Clean up exports
|
54
|
+
- 69ac514: Use effect schema much less
|
55
|
+
- f8a5c46: Fix CoStream types
|
56
|
+
- f0f6f1b: Clean up API more & re-add jazz-nodejs
|
57
|
+
- e5eed5b: Make refs on list more precise
|
58
|
+
- 1a44f87: Refactoring
|
59
|
+
- 627d895: Get rid of Co namespace
|
60
|
+
- 1200aae: Cache CoValue proxies
|
61
|
+
- 63374cc: Make sure delete on CoMaps deletes keys
|
62
|
+
- ece35b3: Make fast-check a direct dependency to help dev time resolution
|
63
|
+
- 38d4410: CoMap fixes and improvements
|
64
|
+
- 85d2b62: More subclass-friendly types in CoMap
|
65
|
+
- fd86c11: Extract jazz cli into jazz-run package
|
66
|
+
- 52675c9: Fix Costream[...].all
|
67
|
+
- Updated dependencies [1a35307]
|
68
|
+
- Updated dependencies [96c494f]
|
69
|
+
- Updated dependencies [19f52b7]
|
70
|
+
- Updated dependencies [d8fe2b1]
|
71
|
+
- Updated dependencies [1200aae]
|
72
|
+
- Updated dependencies [52675c9]
|
73
|
+
- Updated dependencies [1a35307]
|
74
|
+
- Updated dependencies [e299c3e]
|
75
|
+
- Updated dependencies [bf0f8ec]
|
76
|
+
- Updated dependencies [c4151fc]
|
77
|
+
- Updated dependencies [8636319]
|
78
|
+
- Updated dependencies [952982e]
|
79
|
+
- Updated dependencies [21771c4]
|
80
|
+
- Updated dependencies [69ac514]
|
81
|
+
- Updated dependencies [f0f6f1b]
|
82
|
+
- Updated dependencies [1a44f87]
|
83
|
+
- Updated dependencies [627d895]
|
84
|
+
- Updated dependencies [63374cc]
|
85
|
+
- Updated dependencies [a423eee]
|
86
|
+
- cojson@0.7.0
|
87
|
+
- cojson-transport-nodejs-ws@0.7.0
|
88
|
+
|
89
|
+
## 0.7.0-alpha.42
|
90
|
+
|
91
|
+
### Patch Changes
|
92
|
+
|
93
|
+
- Fixed bug with newRandomSessionID being called before crypto was ready
|
94
|
+
- Updated dependencies
|
95
|
+
- cojson@0.7.0-alpha.42
|
96
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.42
|
97
|
+
|
98
|
+
## 0.7.0-alpha.41
|
99
|
+
|
100
|
+
### Patch Changes
|
101
|
+
|
102
|
+
- Updated dependencies
|
103
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.41
|
104
|
+
|
105
|
+
## 0.7.0-alpha.39
|
106
|
+
|
107
|
+
### Patch Changes
|
108
|
+
|
109
|
+
- Updated dependencies
|
110
|
+
- cojson@0.7.0-alpha.39
|
111
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.39
|
112
|
+
|
113
|
+
## 0.7.0-alpha.38
|
114
|
+
|
115
|
+
### Patch Changes
|
116
|
+
|
117
|
+
- Fix infinite recursion in subscriptionScope
|
118
|
+
- Fix type of init param for CoMap.create
|
119
|
+
- Implement deep loading, simplify API
|
120
|
+
- Updated dependencies
|
121
|
+
- cojson@0.7.0-alpha.38
|
122
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.38
|
123
|
+
|
124
|
+
## 0.7.0-alpha.37
|
125
|
+
|
126
|
+
### Patch Changes
|
127
|
+
|
128
|
+
- Updated dependencies
|
129
|
+
- cojson@0.7.0-alpha.37
|
130
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.37
|
131
|
+
|
132
|
+
## 0.7.0-alpha.36
|
133
|
+
|
134
|
+
### Patch Changes
|
135
|
+
|
136
|
+
- 1a35307: Implement first devtools formatters
|
137
|
+
- 6b0418f: Fix image resolution loading
|
138
|
+
- 1a35307: Add ability to declare minimum required data in subscribe & Improve property access tracing
|
139
|
+
- Updated dependencies [1a35307]
|
140
|
+
- Updated dependencies [1a35307]
|
141
|
+
- cojson@0.7.0-alpha.36
|
142
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.36
|
143
|
+
|
144
|
+
## 0.7.0-alpha.35
|
145
|
+
|
146
|
+
### Patch Changes
|
147
|
+
|
148
|
+
- Cache CoValue proxies
|
149
|
+
- Updated dependencies
|
150
|
+
- cojson@0.7.0-alpha.35
|
151
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.35
|
152
|
+
|
153
|
+
## 0.7.0-alpha.34
|
154
|
+
|
155
|
+
### Patch Changes
|
156
|
+
|
157
|
+
- Extract jazz cli into jazz-run package
|
158
|
+
|
159
|
+
## 0.7.0-alpha.32
|
160
|
+
|
161
|
+
### Patch Changes
|
162
|
+
|
163
|
+
- Introduce jazz-tools CLI
|
164
|
+
- Clean up exports
|
165
|
+
|
166
|
+
## 0.7.0-alpha.31
|
167
|
+
|
168
|
+
### Patch Changes
|
169
|
+
|
170
|
+
- Get rid of self generics, new create syntax
|
171
|
+
|
172
|
+
## 0.7.0-alpha.30
|
173
|
+
|
174
|
+
### Patch Changes
|
175
|
+
|
176
|
+
- CoValue casting & auto-subbing \_owner
|
177
|
+
|
178
|
+
## 0.7.0-alpha.29
|
179
|
+
|
180
|
+
### Patch Changes
|
181
|
+
|
182
|
+
- Reintroduce changes from main
|
183
|
+
- Updated dependencies
|
184
|
+
- cojson@0.7.0-alpha.29
|
185
|
+
|
186
|
+
## 0.7.0-alpha.28
|
187
|
+
|
188
|
+
### Patch Changes
|
189
|
+
|
190
|
+
- Implement profile visibility based on groups & new migration signature
|
191
|
+
- Updated dependencies
|
192
|
+
- cojson@0.7.0-alpha.28
|
193
|
+
|
194
|
+
## 0.7.0-alpha.27
|
195
|
+
|
196
|
+
### Patch Changes
|
197
|
+
|
198
|
+
- Fix CoList.splice / RawCoList.append
|
199
|
+
- Fix Costream[...].all
|
200
|
+
- Updated dependencies
|
201
|
+
- cojson@0.7.0-alpha.27
|
202
|
+
|
203
|
+
## 0.7.0-alpha.26
|
204
|
+
|
205
|
+
### Patch Changes
|
206
|
+
|
207
|
+
- Fix CoMap.Record.toJSON()
|
208
|
+
|
209
|
+
## 0.7.0-alpha.25
|
210
|
+
|
211
|
+
### Patch Changes
|
212
|
+
|
213
|
+
- Make Account -> Profile a lazy ref schema
|
214
|
+
|
215
|
+
## 0.7.0-alpha.24
|
216
|
+
|
217
|
+
### Patch Changes
|
218
|
+
|
219
|
+
- Relax types of CoMap.\_schema
|
220
|
+
- Fix schema of Account & Group
|
221
|
+
- Make sure delete on CoMaps deletes keys
|
222
|
+
- Updated dependencies
|
223
|
+
- cojson@0.7.0-alpha.24
|
224
|
+
|
225
|
+
## 0.7.0-alpha.23
|
226
|
+
|
227
|
+
### Patch Changes
|
228
|
+
|
229
|
+
- CoMap fixes and improvements
|
230
|
+
|
231
|
+
## 0.7.0-alpha.22
|
232
|
+
|
233
|
+
### Patch Changes
|
234
|
+
|
235
|
+
- Fix CoMap \_refs for co.items
|
236
|
+
|
237
|
+
## 0.7.0-alpha.21
|
238
|
+
|
239
|
+
### Patch Changes
|
240
|
+
|
241
|
+
- Add maxWidth option for loading images
|
242
|
+
|
243
|
+
## 0.7.0-alpha.20
|
244
|
+
|
245
|
+
### Patch Changes
|
246
|
+
|
247
|
+
- Make fast-check a direct dependency to help dev time resolution
|
248
|
+
|
249
|
+
## 0.7.0-alpha.19
|
250
|
+
|
251
|
+
### Patch Changes
|
252
|
+
|
253
|
+
- More precise imports from @effect/schema
|
254
|
+
|
255
|
+
## 0.7.0-alpha.17
|
256
|
+
|
257
|
+
### Patch Changes
|
258
|
+
|
259
|
+
- Use effect 3.0
|
260
|
+
|
261
|
+
## 0.7.0-alpha.16
|
262
|
+
|
263
|
+
### Patch Changes
|
264
|
+
|
265
|
+
- Make CoMaps even more subclassable
|
266
|
+
|
267
|
+
## 0.7.0-alpha.15
|
268
|
+
|
269
|
+
### Patch Changes
|
270
|
+
|
271
|
+
- More superclass-compatible CoMaps
|
272
|
+
|
273
|
+
## 0.7.0-alpha.14
|
274
|
+
|
275
|
+
### Patch Changes
|
276
|
+
|
277
|
+
- Fix CoStream types
|
278
|
+
|
279
|
+
## 0.7.0-alpha.13
|
280
|
+
|
281
|
+
### Patch Changes
|
282
|
+
|
283
|
+
- Add .all to CoStreamEntry
|
284
|
+
|
285
|
+
## 0.7.0-alpha.12
|
286
|
+
|
287
|
+
### Patch Changes
|
288
|
+
|
289
|
+
- Fix variance of ID.\_\_type
|
290
|
+
|
291
|
+
## 0.7.0-alpha.11
|
292
|
+
|
293
|
+
### Patch Changes
|
294
|
+
|
295
|
+
- Support stricter TS lint rules
|
296
|
+
- Updated dependencies
|
297
|
+
- cojson@0.7.0-alpha.11
|
298
|
+
|
299
|
+
## 0.7.0-alpha.10
|
300
|
+
|
301
|
+
### Patch Changes
|
302
|
+
|
303
|
+
- Clean up API more & re-add jazz-nodejs
|
304
|
+
- Updated dependencies
|
305
|
+
- cojson@0.7.0-alpha.10
|
306
|
+
|
3
307
|
## 0.7.0-alpha.9
|
4
308
|
|
5
309
|
### Patch Changes
|
6
310
|
|
7
|
-
-
|
311
|
+
- Even friendlier for subclassing CoMap
|
8
312
|
|
9
313
|
## 0.7.0-alpha.8
|
10
314
|
|
11
315
|
### Patch Changes
|
12
316
|
|
13
|
-
-
|
317
|
+
- More subclass-friendly types in CoMap
|
14
318
|
|
15
319
|
## 0.7.0-alpha.7
|
16
320
|
|
17
321
|
### Patch Changes
|
18
322
|
|
19
|
-
-
|
20
|
-
-
|
21
|
-
|
323
|
+
- Consistent proxy based API
|
324
|
+
- Updated dependencies
|
325
|
+
- cojson@0.7.0-alpha.7
|
22
326
|
|
23
327
|
## 0.7.0-alpha.6
|
24
328
|
|
25
329
|
### Patch Changes
|
26
330
|
|
27
|
-
-
|
331
|
+
- CoMap fix
|
28
332
|
|
29
333
|
## 0.7.0-alpha.5
|
30
334
|
|
31
335
|
### Patch Changes
|
32
336
|
|
33
|
-
-
|
34
|
-
-
|
35
|
-
|
337
|
+
- Refactoring
|
338
|
+
- Updated dependencies
|
339
|
+
- cojson@0.7.0-alpha.5
|
36
340
|
|
37
341
|
## 0.7.0-alpha.4
|
38
342
|
|
39
343
|
### Patch Changes
|
40
344
|
|
41
|
-
-
|
345
|
+
- Make refs on list more precise
|
42
346
|
|
43
347
|
## 0.7.0-alpha.3
|
44
348
|
|
45
349
|
### Patch Changes
|
46
350
|
|
47
|
-
-
|
351
|
+
- Make refs type more precise
|
48
352
|
|
49
353
|
## 0.7.0-alpha.2
|
50
354
|
|
51
355
|
### Patch Changes
|
52
356
|
|
53
|
-
-
|
357
|
+
- Get rid of Co namespace
|
54
358
|
|
55
359
|
## 0.7.0-alpha.1
|
56
360
|
|
57
361
|
### Patch Changes
|
58
362
|
|
59
|
-
-
|
60
|
-
-
|
61
|
-
|
363
|
+
- Use effect schema much less
|
364
|
+
- Updated dependencies
|
365
|
+
- cojson@0.7.0-alpha.1
|
62
366
|
|
63
367
|
## 0.7.0-alpha.0
|
64
368
|
|
65
369
|
### Minor Changes
|
66
370
|
|
67
|
-
-
|
371
|
+
- New simplified API
|
68
372
|
|
69
373
|
### Patch Changes
|
70
374
|
|
71
|
-
-
|
72
|
-
|
375
|
+
- Updated dependencies
|
376
|
+
- cojson@0.7.0-alpha.0
|
73
377
|
|
74
378
|
## 0.6.1
|
75
379
|
|
76
380
|
### Patch Changes
|
77
381
|
|
78
|
-
-
|
79
|
-
-
|
80
|
-
|
382
|
+
- Fix loading of accounts
|
383
|
+
- Updated dependencies
|
384
|
+
- cojson@0.6.5
|
81
385
|
|
82
386
|
## 0.6.0
|
83
387
|
|
84
388
|
### Minor Changes
|
85
389
|
|
86
|
-
-
|
390
|
+
- Make addMember and removeMember take loaded Accounts instead of just IDs
|
87
391
|
|
88
392
|
### Patch Changes
|
89
393
|
|
90
|
-
-
|
91
|
-
|
394
|
+
- Updated dependencies
|
395
|
+
- cojson@0.6.0
|
92
396
|
|
93
397
|
## 0.5.0
|
94
398
|
|
95
399
|
### Minor Changes
|
96
400
|
|
97
|
-
-
|
401
|
+
- Adding a lot of performance improvements to cojson, add a stresstest for the twit example and make that run smoother in a lot of ways.
|
98
402
|
|
99
403
|
### Patch Changes
|
100
404
|
|
101
|
-
-
|
102
|
-
|
405
|
+
- Updated dependencies
|
406
|
+
- cojson@0.5.0
|
package/LICENSE.txt
CHANGED
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)
|