jazz-tools 0.7.20 → 0.7.23
Sign up to get free protection for your applications and to get access to all the features.
- package/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +33 -33
- package/CHANGELOG.md +14 -0
- package/dist/coValues/account.js.map +1 -1
- package/dist/coValues/coMap.js +1 -1
- package/dist/coValues/coMap.js.map +1 -1
- package/dist/implementation/schema.js +31 -0
- package/dist/implementation/schema.js.map +1 -1
- package/dist/tests/coList.test.js +8 -2
- package/dist/tests/coList.test.js.map +1 -1
- package/dist/tests/coMap.test.js +4 -2
- package/dist/tests/coMap.test.js.map +1 -1
- package/dist/tests/deepLoading.test.js.map +1 -1
- package/package.json +2 -2
- package/src/coValues/account.ts +7 -5
- package/src/coValues/coMap.ts +1 -1
- package/src/implementation/schema.ts +41 -0
- package/src/tests/coList.test.ts +12 -10
- package/src/tests/coMap.test.ts +4 -2
- package/src/tests/deepLoading.test.ts +12 -8
package/.turbo/turbo-build.log
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
|
-
> jazz-tools@0.7.
|
2
|
+
> jazz-tools@0.7.21 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-tools@0.7.
|
6
|
+
> jazz-tools@0.7.21 lint
|
7
7
|
> eslint . --ext ts,tsx
|
8
8
|
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> jazz-tools@0.7.
|
2
|
+
> jazz-tools@0.7.21 test /Users/anselm/jazz/jazz/packages/jazz-tools
|
3
3
|
> vitest --run
|
4
4
|
|
5
5
|
|
@@ -8,9 +8,9 @@
|
|
8
8
|
stdout | unknown test
|
9
9
|
TestMap schema [90mundefined[39m
|
10
10
|
|
11
|
-
✓ src/tests/groupsAndAccounts.test.ts (1 test)
|
12
|
-
✓ src/tests/deepLoading.test.ts (3 tests)
|
13
|
-
✓ src/tests/coList.test.ts (10 tests)
|
11
|
+
✓ src/tests/groupsAndAccounts.test.ts (1 test) 36ms
|
12
|
+
✓ src/tests/deepLoading.test.ts (3 tests) 69ms
|
13
|
+
✓ src/tests/coList.test.ts (10 tests) 107ms
|
14
14
|
stdout | src/tests/coList.test.ts > Simple CoList operations > Mutation > splice
|
15
15
|
[ [32m'bread'[39m, [32m'onion'[39m ] [33m0[39m
|
16
16
|
[ [32m'bread'[39m, [32m'salt'[39m, [32m'onion'[39m ] [33m1[39m
|
@@ -28,9 +28,9 @@ subscribedStream[me.id] {
|
|
28
28
|
value: [36m[Getter][39m,
|
29
29
|
ref: [36m[Getter][39m,
|
30
30
|
by: [36m[Getter][39m,
|
31
|
-
madeAt: [35m2024-07-
|
31
|
+
madeAt: [35m2024-07-26T16:22:20.308Z[39m,
|
32
32
|
tx: {
|
33
|
-
sessionID: [32m'
|
33
|
+
sessionID: [32m'co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_zKdxkiedDz3v'[39m,
|
34
34
|
txIndex: [33m0[39m
|
35
35
|
}
|
36
36
|
}
|
@@ -40,9 +40,9 @@ subscribedStream[me.id] {
|
|
40
40
|
value: [36m[Getter][39m,
|
41
41
|
ref: [36m[Getter][39m,
|
42
42
|
by: [36m[Getter][39m,
|
43
|
-
madeAt: [35m2024-07-
|
43
|
+
madeAt: [35m2024-07-26T16:22:20.308Z[39m,
|
44
44
|
tx: {
|
45
|
-
sessionID: [32m'
|
45
|
+
sessionID: [32m'co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_zKdxkiedDz3v'[39m,
|
46
46
|
txIndex: [33m0[39m
|
47
47
|
}
|
48
48
|
}
|
@@ -52,36 +52,36 @@ subscribedStream[me.id] {
|
|
52
52
|
value: [36m[Getter][39m,
|
53
53
|
ref: [36m[Getter][39m,
|
54
54
|
by: [36m[Getter][39m,
|
55
|
-
madeAt: [35m2024-07-
|
55
|
+
madeAt: [35m2024-07-26T16:22:20.308Z[39m,
|
56
56
|
tx: {
|
57
|
-
sessionID: [32m'
|
57
|
+
sessionID: [32m'co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_zKdxkiedDz3v'[39m,
|
58
58
|
txIndex: [33m0[39m
|
59
59
|
}
|
60
60
|
}
|
61
61
|
subscribedStream[me.id]?.value?.[me.id]?.value {
|
62
|
-
id: [32m'
|
62
|
+
id: [32m'co_zNHdjw7zNNgVi8Q9uZV6mEXZuGp'[39m,
|
63
63
|
_type: [32m'CoStream'[39m,
|
64
|
-
|
65
|
-
in: {
|
64
|
+
co_zo8p2CnAsmVXqtbCL37eMhFjJAJ: [32m'milk'[39m,
|
65
|
+
in: { co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_zKdxkiedDz3v: [32m'milk'[39m }
|
66
66
|
}
|
67
67
|
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value milk
|
68
68
|
subscribedStream[me.id] {
|
69
69
|
value: [36m[Getter][39m,
|
70
70
|
ref: [36m[Getter][39m,
|
71
71
|
by: [36m[Getter][39m,
|
72
|
-
madeAt: [35m2024-07-
|
72
|
+
madeAt: [35m2024-07-26T16:22:20.308Z[39m,
|
73
73
|
tx: {
|
74
|
-
sessionID: [32m'
|
74
|
+
sessionID: [32m'co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_zKdxkiedDz3v'[39m,
|
75
75
|
txIndex: [33m0[39m
|
76
76
|
}
|
77
77
|
}
|
78
78
|
subscribedStream[me.id]?.value?.[me.id]?.value {
|
79
|
-
id: [32m'
|
79
|
+
id: [32m'co_zNHdjw7zNNgVi8Q9uZV6mEXZuGp'[39m,
|
80
80
|
_type: [32m'CoStream'[39m,
|
81
|
-
|
81
|
+
co_zo8p2CnAsmVXqtbCL37eMhFjJAJ: [32m'bread'[39m,
|
82
82
|
in: {
|
83
|
-
|
84
|
-
|
83
|
+
co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_zKdxkiedDz3v: [32m'milk'[39m,
|
84
|
+
co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_z9RjyFp465ch: [32m'bread'[39m
|
85
85
|
}
|
86
86
|
}
|
87
87
|
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value bread
|
@@ -89,38 +89,37 @@ subscribedStream[me.id] {
|
|
89
89
|
value: [36m[Getter][39m,
|
90
90
|
ref: [36m[Getter][39m,
|
91
91
|
by: [36m[Getter][39m,
|
92
|
-
madeAt: [35m2024-07-
|
92
|
+
madeAt: [35m2024-07-26T16:22:20.322Z[39m,
|
93
93
|
tx: {
|
94
|
-
sessionID: [32m'
|
94
|
+
sessionID: [32m'co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_z9RjyFp465ch'[39m,
|
95
95
|
txIndex: [33m0[39m
|
96
96
|
}
|
97
97
|
}
|
98
98
|
subscribedStream[me.id]?.value?.[me.id]?.value {
|
99
|
-
id: [32m'
|
99
|
+
id: [32m'co_zjaWkQYnFcnwcXxWZWfD5RD8tmG'[39m,
|
100
100
|
_type: [32m'CoStream'[39m,
|
101
|
-
|
102
|
-
in: {
|
101
|
+
co_zo8p2CnAsmVXqtbCL37eMhFjJAJ: [32m'butter'[39m,
|
102
|
+
in: { co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_z9RjyFp465ch: [32m'butter'[39m }
|
103
103
|
}
|
104
104
|
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value butter
|
105
105
|
subscribedStream[me.id] {
|
106
106
|
value: [36m[Getter][39m,
|
107
107
|
ref: [36m[Getter][39m,
|
108
108
|
by: [36m[Getter][39m,
|
109
|
-
madeAt: [35m2024-07-
|
109
|
+
madeAt: [35m2024-07-26T16:22:20.322Z[39m,
|
110
110
|
tx: {
|
111
|
-
sessionID: [32m'
|
111
|
+
sessionID: [32m'co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_z9RjyFp465ch'[39m,
|
112
112
|
txIndex: [33m0[39m
|
113
113
|
}
|
114
114
|
}
|
115
115
|
subscribedStream[me.id]?.value?.[me.id]?.value {
|
116
|
-
id: [32m'
|
116
|
+
id: [32m'co_zjaWkQYnFcnwcXxWZWfD5RD8tmG'[39m,
|
117
117
|
_type: [32m'CoStream'[39m,
|
118
|
-
|
119
|
-
in: {
|
118
|
+
co_zo8p2CnAsmVXqtbCL37eMhFjJAJ: [32m'jam'[39m,
|
119
|
+
in: { co_zo8p2CnAsmVXqtbCL37eMhFjJAJ_session_z9RjyFp465ch: [32m'jam'[39m }
|
120
120
|
}
|
121
121
|
subscribedStream[me.id]?.value?.[me.id]?.value?.[me.id]?.value jam
|
122
122
|
|
123
|
-
✓ src/tests/coMap.test.ts (13 tests) 218ms
|
124
123
|
stdout | src/tests/coMap.test.ts > CoMap resolution > Subscription & auto-resolution
|
125
124
|
subscribedMap.nested?.twiceNested?.taste [90mundefined[39m
|
126
125
|
subscribedMap.nested?.twiceNested?.taste [90mundefined[39m
|
@@ -131,10 +130,11 @@ subscribedMap.nested?.twiceNested?.taste sweet
|
|
131
130
|
subscribedMap.nested?.twiceNested?.taste salty
|
132
131
|
subscribedMap.nested?.twiceNested?.taste umami
|
133
132
|
|
134
|
-
✓ src/tests/
|
133
|
+
✓ src/tests/coMap.test.ts (13 tests) 146ms
|
134
|
+
✓ src/tests/coStream.test.ts (10 tests) 146ms
|
135
135
|
|
136
136
|
Test Files 5 passed (5)
|
137
137
|
Tests 37 passed (37)
|
138
|
-
Start at 17:
|
139
|
-
Duration
|
138
|
+
Start at 17:22:19
|
139
|
+
Duration 793ms (transform 293ms, setup 0ms, collect 2.35s, tests 504ms, environment 0ms, prepare 249ms)
|
140
140
|
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# jazz-autosub
|
2
2
|
|
3
|
+
## 0.7.23
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Mostly complete OPFS implementation (single-tab only)
|
8
|
+
- Updated dependencies
|
9
|
+
- cojson@0.7.23
|
10
|
+
|
11
|
+
## 0.7.21
|
12
|
+
|
13
|
+
### Patch Changes
|
14
|
+
|
15
|
+
- Fix another bug in CoMap 'has' proxy trap
|
16
|
+
|
3
17
|
## 0.7.20
|
4
18
|
|
5
19
|
### Patch Changes
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../src/coValues/account.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAapD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AACjD,OAAO,EACH,KAAK,GAUR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,KAAK,EACL,WAAW,EACX,UAAU,EACV,OAAO,EACP,GAAG,EACH,UAAU,EACV,OAAO,EACP,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,GAC7B,MAAM,gBAAgB,CAAC;AAExB,uCAAuC;AACvC,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAOpC,IAAI,OAAO;QAIP,OAAQ,IAAI,CAAC,WAA8B,CAAC,OAAO,CAAC;IACxD,CAAC;IAcD,IAAI,MAAM;QACN,OAAO,IAAe,CAAC;IAC3B,CAAC;IACD,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpE,CAAC;IAKD,IAAI,KAAK;QACL,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAE1B,CAAC;QAChB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAEpB,CAAC;QAEhB,OAAO;YACH,OAAO,EACH,SAAS;gBACR,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,KAAK,CAAC,UAAU,CAAC,CAAC;YACjC,OAAO,IAAI,CAAC;QAChB,CAAC;aAAM,CAAC;YACJ,OAAO,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;QAC3D,CAAC;IACL,CAAC;CACJ,CAAC;AAEF,uCAAuC;AACvC,MAAM,OAAO,UAAW,SAAQ,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,EAAuB;CAAG;AAEhF,uCAAuC;AACvC,MAAM,UAAU,mBAAmB,CAAC,OAAgB;IAKhD,OAAO,OAAO,CAAC,IAAI,CAAC;AACxB,CAAC"}
|
package/dist/coValues/coMap.js
CHANGED
@@ -455,7 +455,7 @@ const CoMapProxyHandler = {
|
|
455
455
|
has(target, key) {
|
456
456
|
const descriptor = (target._schema?.[key] ||
|
457
457
|
target._schema?.[ItemsSym]);
|
458
|
-
if (typeof key === "string" && descriptor) {
|
458
|
+
if (target._raw && typeof key === "string" && descriptor) {
|
459
459
|
return target._raw.get(key) !== undefined;
|
460
460
|
}
|
461
461
|
else {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coMap.js","sourceRoot":"","sources":["../../src/coValues/coMap.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAe/D,OAAO,EACH,OAAO,EACP,WAAW,EACX,GAAG,EACH,UAAU,EACV,OAAO,EACP,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,GAC7B,MAAM,gBAAgB,CAAC;AAUxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgCM;AACN,MAAM,OAAO,KAAM,SAAQ,WAAW;IAgBlC,gBAAgB;IAChB,IAAI,OAAO;QACP,OAAQ,IAAI,CAAC,WAA4B,CAAC,OAEf,CAAC;IAChC,CAAC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,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACpC,CAAC;IACL,CAAC;IACD,cAAc,CAAC,MAAM,EAAE,GAAG;QACtB,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,GAA6B,CAAC;YAC7D,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAW,CAAC;QACxC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,UAAU,EAAE,CAAC;YACxC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YACxB,OAAO,IAAI,CAAC;QAChB,CAAC;aAAM,CAAC;YACJ,OAAO,OAAO,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC/C,CAAC;IACL,CAAC;CACJ,CAAC"}
|
@@ -1,4 +1,31 @@
|
|
1
1
|
import { isCoValueClass, } from "../internal.js";
|
2
|
+
const optional = {
|
3
|
+
ref: optionalRef,
|
4
|
+
json() {
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
6
|
+
return { [SchemaInit]: "json" };
|
7
|
+
},
|
8
|
+
encoded(arg) {
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
10
|
+
return { [SchemaInit]: { encoded: arg } };
|
11
|
+
},
|
12
|
+
string: {
|
13
|
+
[SchemaInit]: "json",
|
14
|
+
},
|
15
|
+
number: {
|
16
|
+
[SchemaInit]: "json",
|
17
|
+
},
|
18
|
+
boolean: {
|
19
|
+
[SchemaInit]: "json",
|
20
|
+
},
|
21
|
+
null: {
|
22
|
+
[SchemaInit]: "json",
|
23
|
+
},
|
24
|
+
literal(..._lit) {
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
26
|
+
return { [SchemaInit]: "json" };
|
27
|
+
},
|
28
|
+
};
|
2
29
|
/** @category Schema definition */
|
3
30
|
export const co = {
|
4
31
|
string: {
|
@@ -28,7 +55,11 @@ export const co = {
|
|
28
55
|
ref,
|
29
56
|
items: ItemsSym,
|
30
57
|
members: MembersSym,
|
58
|
+
optional,
|
31
59
|
};
|
60
|
+
function optionalRef(arg) {
|
61
|
+
return ref(arg, { optional: true });
|
62
|
+
}
|
32
63
|
function ref(arg, options) {
|
33
64
|
return {
|
34
65
|
[SchemaInit]: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/implementation/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,cAAc,GAEjB,MAAM,gBAAgB,CAAC;AAaxB,kCAAkC;AAClC,MAAM,CAAC,MAAM,EAAE,GAAG;IACd,MAAM,EAAE;QACJ,CAAC,UAAU,CAAC,EAAE,MAAuB;KACf;IAC1B,MAAM,EAAE;QACJ,CAAC,UAAU,CAAC,EAAE,MAAuB;KACf;IAC1B,OAAO,EAAE;QACL,CAAC,UAAU,CAAC,EAAE,MAAuB;KACd;IAC3B,IAAI,EAAE;QACF,CAAC,UAAU,CAAC,EAAE,MAAuB;KACjB;IACxB,OAAO,CACH,GAAG,IAAO;QAEV,8DAA8D;QAC9D,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,MAAuB,EAAS,CAAC;IAC5D,CAAC;IACD,IAAI;QACA,8DAA8D;QAC9D,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,MAAuB,EAAS,CAAC;IAC5D,CAAC;IACD,OAAO,CAAI,GAAe;QACtB,8DAA8D;QAC9D,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAmB,EAAS,CAAC;IACtE,CAAC;IACD,GAAG;IACH,KAAK,EAAE,QAAoB;IAC3B,OAAO,EAAE,UAAwB;
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/implementation/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAGH,cAAc,GAEjB,MAAM,gBAAgB,CAAC;AAaxB,MAAM,QAAQ,GAAG;IACb,GAAG,EAAE,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AmB,EAAS,CAAC;IACtE,CAAC;IACD,GAAG;IACH,KAAK,EAAE,QAAoB;IAC3B,OAAO,EAAE,UAAwB;IACjC,QAAQ;CACX,CAAC;AAEF,SAAS,WAAW,CAChB,GAA+C;IAE/C,OAAO,GAAG,CAAC,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;AACxC,CAAC;AASD,SAAS,GAAG,CAIR,GAA+C,EAC/C,OAAiB;IAIjB,OAAO;QACH,CAAC,UAAU,CAAC,EAAE;YACV,GAAG,EAAE,GAAG;YACR,QAAQ,EAAE,OAAO,EAAE,QAAQ,IAAI,KAAK;SACtB;QAClB,8DAA8D;KAC1D,CAAC;AACb,CAAC;AASD,MAAM,UAAU,YAAY,CACxB,MAAc;IAEd,OAAO,CACH,OAAO,MAAM,KAAK,QAAQ;QAC1B,KAAK,IAAI,MAAM;QACf,UAAU,IAAI,MAAM;QACpB,OAAO,MAAM,CAAC,GAAG,KAAK,UAAU,CACnC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,qBAAqB,CACjC,MAAqB,EACrB,GAAe;IAEf,OAAO,cAAc,CAAI,MAAM,CAAC,GAAG,CAAC;QAChC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC;QACzB,CAAC,CACK,MAAM,CAAC,GAGV,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAC9B,CAAC;AAgCD,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEhE,kCAAkC;AAClC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACpB,IAAI;CACP,CAAC"}
|
@@ -124,7 +124,10 @@ describe("CoList resolution", async () => {
|
|
124
124
|
});
|
125
125
|
test("Loading and availability", async () => {
|
126
126
|
const { me, list } = await initNodeAndList();
|
127
|
-
const [initialAsPeer, secondPeer] = await Effect.runPromise(connectedPeers("initial", "second", {
|
127
|
+
const [initialAsPeer, secondPeer] = await Effect.runPromise(connectedPeers("initial", "second", {
|
128
|
+
peer1role: "server",
|
129
|
+
peer2role: "client",
|
130
|
+
}));
|
128
131
|
if (!isControlledAccount(me)) {
|
129
132
|
throw "me is not a controlled account";
|
130
133
|
}
|
@@ -158,7 +161,10 @@ describe("CoList resolution", async () => {
|
|
158
161
|
});
|
159
162
|
test("Subscription & auto-resolution", async () => {
|
160
163
|
const { me, list } = await initNodeAndList();
|
161
|
-
const [initialAsPeer, secondPeer] = await Effect.runPromise(connectedPeers("initial", "second", {
|
164
|
+
const [initialAsPeer, secondPeer] = await Effect.runPromise(connectedPeers("initial", "second", {
|
165
|
+
peer1role: "server",
|
166
|
+
peer2role: "client",
|
167
|
+
}));
|
162
168
|
if (!isControlledAccount(me)) {
|
163
169
|
throw "me is not a controlled account";
|
164
170
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coList.test.js","sourceRoot":"","sources":["../../src/tests/coList.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EACH,OAAO,EACP,MAAM,EACN,UAAU,EACV,EAAE,EACF,mBAAmB,GACtB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC;AAEzC,QAAQ,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;IAC5C,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,MAAM,CAAC;QAC5B,aAAa,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;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,CAAC;YAEzC,sDAAsD;YAEtD,MAAM,kBAAkB,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE;gBAC1D,KAAK,EAAE,cAAc;aACxB,CAAC,CAAC;YAEH,MAAM,aAAa,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,kBAAkB,CAAC,EAAE;gBAC1D,KAAK,EAAE,cAAc;aACxB,CAAC,CAAC;YAEH,OAAO,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC;YAE3B,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC5C,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACzC,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAEhD,mDAAmD;YACnD,kBAAkB,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;YAC5B,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;YAC5C,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC7C,CAAC,CAAC,CACL,CAAC;IACN,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
package/dist/tests/coMap.test.js
CHANGED
@@ -17,7 +17,7 @@ describe("Simple CoMap operations", async () => {
|
|
17
17
|
this._height = co.number;
|
18
18
|
this.birthday = co.encoded(Encoders.Date);
|
19
19
|
this.name = co.string;
|
20
|
-
this.nullable = co.encoded(Schema.
|
20
|
+
this.nullable = co.optional.encoded(Schema.NullishOr(Schema.String));
|
21
21
|
}
|
22
22
|
get roughColor() {
|
23
23
|
return this.color + "ish";
|
@@ -71,6 +71,8 @@ describe("Simple CoMap operations", async () => {
|
|
71
71
|
expect(map._raw.get("_height")).toEqual(20);
|
72
72
|
map.nullable = "not null";
|
73
73
|
map.nullable = null;
|
74
|
+
delete map.nullable;
|
75
|
+
map.nullable = undefined;
|
74
76
|
map.name = "Secret name";
|
75
77
|
expect(map.name).toEqual("Secret name");
|
76
78
|
map.name = undefined;
|
@@ -332,7 +334,7 @@ describe("CoMap resolution", async () => {
|
|
332
334
|
constructor() {
|
333
335
|
super(...arguments);
|
334
336
|
this.color = co.string;
|
335
|
-
this.nested = co.ref(NestedMap
|
337
|
+
this.nested = co.optional.ref(NestedMap);
|
336
338
|
}
|
337
339
|
}
|
338
340
|
test("Construction with optional", async () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"coMap.test.js","sourceRoot":"","sources":["../../src/tests/coMap.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EACH,OAAO,EACP,QAAQ,EACR,KAAK,EACL,EAAE,EACF,UAAU,EACV,mBAAmB,GACtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,MAAM,EAAE,CAAC;AAEzC,QAAQ,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,EAAE,GAAG,MAAM,OA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EAAE;KACjB,CAAC,CAAC;IACH,YAAY,CAAC,YAAY,CAAC,CAAC,aAAa,EAOrC,CAAC;IACJ,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACpD,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AACxD,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
"types": "./src/index.ts",
|
6
6
|
"type": "module",
|
7
7
|
"license": "MIT",
|
8
|
-
"version": "0.7.
|
8
|
+
"version": "0.7.23",
|
9
9
|
"dependencies": {
|
10
10
|
"@effect/schema": "^0.66.16",
|
11
11
|
"effect": "^3.5.2",
|
12
12
|
"fast-check": "^3.17.2",
|
13
|
-
"cojson": "0.7.
|
13
|
+
"cojson": "0.7.23"
|
14
14
|
},
|
15
15
|
"devDependencies": {
|
16
16
|
"typescript": "^5.3.3",
|
package/src/coValues/account.ts
CHANGED
@@ -224,11 +224,13 @@ export class Account extends CoValueBase implements CoValue {
|
|
224
224
|
},
|
225
225
|
) {
|
226
226
|
// TODO: is there a cleaner way to do this?
|
227
|
-
const connectedPeers = await Effect.runPromise(
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
227
|
+
const connectedPeers = await Effect.runPromise(
|
228
|
+
cojsonInternals.connectedPeers(
|
229
|
+
"creatingAccount",
|
230
|
+
"createdAccount",
|
231
|
+
{ peer1role: "server", peer2role: "client" },
|
232
|
+
),
|
233
|
+
);
|
232
234
|
|
233
235
|
as._raw.core.node.syncManager.addPeer(connectedPeers[1]);
|
234
236
|
|
package/src/coValues/coMap.ts
CHANGED
@@ -614,7 +614,7 @@ const CoMapProxyHandler: ProxyHandler<CoMap> = {
|
|
614
614
|
const descriptor = (target._schema?.[key as keyof CoMap["_schema"]] ||
|
615
615
|
target._schema?.[ItemsSym]) as Schema;
|
616
616
|
|
617
|
-
if (typeof key === "string" && descriptor) {
|
617
|
+
if (target._raw && typeof key === "string" && descriptor) {
|
618
618
|
return target._raw.get(key) !== undefined;
|
619
619
|
} else {
|
620
620
|
return Reflect.has(target, key);
|
@@ -17,6 +17,36 @@ export type IfCo<C, R> = C extends infer _A | infer B
|
|
17
17
|
: never;
|
18
18
|
export type UnCo<T> = T extends co<infer A> ? A : T;
|
19
19
|
|
20
|
+
const optional = {
|
21
|
+
ref: optionalRef,
|
22
|
+
json<T extends JsonValue>(): co<T | undefined> {
|
23
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
24
|
+
return { [SchemaInit]: "json" satisfies Schema } as any;
|
25
|
+
},
|
26
|
+
encoded<T>(arg: OptionalEncoder<T>): co<T> {
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
28
|
+
return { [SchemaInit]: { encoded: arg } satisfies Schema } as any;
|
29
|
+
},
|
30
|
+
string: {
|
31
|
+
[SchemaInit]: "json" satisfies Schema,
|
32
|
+
} as unknown as co<string | undefined>,
|
33
|
+
number: {
|
34
|
+
[SchemaInit]: "json" satisfies Schema,
|
35
|
+
} as unknown as co<number | undefined>,
|
36
|
+
boolean: {
|
37
|
+
[SchemaInit]: "json" satisfies Schema,
|
38
|
+
} as unknown as co<boolean | undefined>,
|
39
|
+
null: {
|
40
|
+
[SchemaInit]: "json" satisfies Schema,
|
41
|
+
} as unknown as co<null | undefined>,
|
42
|
+
literal<T extends (string | number | boolean)[]>(
|
43
|
+
..._lit: T
|
44
|
+
): co<T[number] | undefined> {
|
45
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
46
|
+
return { [SchemaInit]: "json" satisfies Schema } as any;
|
47
|
+
},
|
48
|
+
};
|
49
|
+
|
20
50
|
/** @category Schema definition */
|
21
51
|
export const co = {
|
22
52
|
string: {
|
@@ -48,8 +78,15 @@ export const co = {
|
|
48
78
|
ref,
|
49
79
|
items: ItemsSym as ItemsSym,
|
50
80
|
members: MembersSym as MembersSym,
|
81
|
+
optional,
|
51
82
|
};
|
52
83
|
|
84
|
+
function optionalRef<C extends CoValueClass>(
|
85
|
+
arg: C | ((_raw: InstanceType<C>["_raw"]) => C),
|
86
|
+
): co<InstanceType<C> | null | undefined> {
|
87
|
+
return ref(arg, { optional: true });
|
88
|
+
}
|
89
|
+
|
53
90
|
function ref<C extends CoValueClass>(
|
54
91
|
arg: C | ((_raw: InstanceType<C>["_raw"]) => C),
|
55
92
|
): co<InstanceType<C> | null>;
|
@@ -131,6 +168,10 @@ export type EffectSchemaWithInputAndOutput<A, I = A> = EffectSchema<
|
|
131
168
|
};
|
132
169
|
|
133
170
|
export type Encoder<V> = EffectSchemaWithInputAndOutput<V, JsonValue>;
|
171
|
+
export type OptionalEncoder<V> = EffectSchemaWithInputAndOutput<
|
172
|
+
V,
|
173
|
+
JsonValue | undefined
|
174
|
+
>;
|
134
175
|
|
135
176
|
import { Date } from "@effect/schema/Schema";
|
136
177
|
import { SchemaInit, ItemsSym, MembersSym } from "./symbols.js";
|
package/src/tests/coList.test.ts
CHANGED
@@ -157,11 +157,12 @@ describe("CoList resolution", async () => {
|
|
157
157
|
test("Loading and availability", async () => {
|
158
158
|
const { me, list } = await initNodeAndList();
|
159
159
|
|
160
|
-
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
161
|
-
"initial",
|
162
|
-
|
163
|
-
|
164
|
-
|
160
|
+
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
161
|
+
connectedPeers("initial", "second", {
|
162
|
+
peer1role: "server",
|
163
|
+
peer2role: "client",
|
164
|
+
}),
|
165
|
+
);
|
165
166
|
if (!isControlledAccount(me)) {
|
166
167
|
throw "me is not a controlled account";
|
167
168
|
}
|
@@ -216,11 +217,12 @@ describe("CoList resolution", async () => {
|
|
216
217
|
test("Subscription & auto-resolution", async () => {
|
217
218
|
const { me, list } = await initNodeAndList();
|
218
219
|
|
219
|
-
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
220
|
-
"initial",
|
221
|
-
|
222
|
-
|
223
|
-
|
220
|
+
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
221
|
+
connectedPeers("initial", "second", {
|
222
|
+
peer1role: "server",
|
223
|
+
peer2role: "client",
|
224
|
+
}),
|
225
|
+
);
|
224
226
|
if (!isControlledAccount(me)) {
|
225
227
|
throw "me is not a controlled account";
|
226
228
|
}
|
package/src/tests/coMap.test.ts
CHANGED
@@ -25,7 +25,7 @@ describe("Simple CoMap operations", async () => {
|
|
25
25
|
_height = co.number;
|
26
26
|
birthday = co.encoded(Encoders.Date);
|
27
27
|
name? = co.string;
|
28
|
-
nullable = co.encoded(Schema.
|
28
|
+
nullable = co.optional.encoded(Schema.NullishOr(Schema.String));
|
29
29
|
|
30
30
|
get roughColor() {
|
31
31
|
return this.color + "ish";
|
@@ -94,6 +94,8 @@ describe("Simple CoMap operations", async () => {
|
|
94
94
|
|
95
95
|
map.nullable = "not null";
|
96
96
|
map.nullable = null;
|
97
|
+
delete map.nullable;
|
98
|
+
map.nullable = undefined;
|
97
99
|
|
98
100
|
map.name = "Secret name";
|
99
101
|
expect(map.name).toEqual("Secret name");
|
@@ -442,7 +444,7 @@ describe("CoMap resolution", async () => {
|
|
442
444
|
|
443
445
|
class TestMapWithOptionalRef extends CoMap {
|
444
446
|
color = co.string;
|
445
|
-
nested = co.ref(NestedMap
|
447
|
+
nested = co.optional.ref(NestedMap);
|
446
448
|
}
|
447
449
|
|
448
450
|
test("Construction with optional", async () => {
|
@@ -39,10 +39,12 @@ describe("Deep loading with depth arg", async () => {
|
|
39
39
|
crypto: Crypto,
|
40
40
|
});
|
41
41
|
|
42
|
-
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
43
|
+
connectedPeers("initial", "second", {
|
44
|
+
peer1role: "server",
|
45
|
+
peer2role: "client",
|
46
|
+
}),
|
47
|
+
);
|
46
48
|
if (!isControlledAccount(me)) {
|
47
49
|
throw "me is not a controlled account";
|
48
50
|
}
|
@@ -252,10 +254,12 @@ test("Deep loading a record-like coMap", async () => {
|
|
252
254
|
crypto: Crypto,
|
253
255
|
});
|
254
256
|
|
255
|
-
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
256
|
-
|
257
|
-
|
258
|
-
|
257
|
+
const [initialAsPeer, secondPeer] = await Effect.runPromise(
|
258
|
+
connectedPeers("initial", "second", {
|
259
|
+
peer1role: "server",
|
260
|
+
peer2role: "client",
|
261
|
+
}),
|
262
|
+
);
|
259
263
|
if (!isControlledAccount(me)) {
|
260
264
|
throw "me is not a controlled account";
|
261
265
|
}
|