@rljson/io 0.0.41 → 0.0.43
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/LICENSE +21 -21
- package/README.architecture.md +9 -9
- package/README.blog.md +3 -3
- package/README.contributors.md +32 -32
- package/README.md +18 -18
- package/README.public.md +7 -7
- package/README.trouble.md +36 -36
- package/dist/README.architecture.md +9 -9
- package/dist/README.blog.md +3 -3
- package/dist/README.contributors.md +32 -32
- package/dist/README.md +18 -18
- package/dist/README.public.md +7 -7
- package/dist/README.trouble.md +36 -36
- package/dist/conformance-tests/goldens/dump/empty.json +106 -104
- package/dist/conformance-tests/goldens/dump/two-tables.json +168 -164
- package/dist/conformance-tests/goldens/dumpTable/table1.json +12 -11
- package/dist/conformance-tests/goldens/tableCfgs-1.json +122 -122
- package/dist/conformance-tests/goldens/tableCfgs.json +99 -98
- package/dist/conformance-tests/io-conformance.setup.ts +38 -38
- package/dist/conformance-tests/io-conformance.spec.ts +942 -920
- package/dist/conformance-tests/scripts/install-conformance-tests.js +103 -103
- package/dist/io.js +73 -76
- package/dist/src/example.ts +10 -10
- package/package.json +57 -65
|
@@ -1,105 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_hash": "
|
|
3
|
-
"tableCfgs": {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
1
|
+
{
|
|
2
|
+
"_hash": "Lf-TTU_gym_sZTMaNY9ifV",
|
|
3
|
+
"tableCfgs": {
|
|
4
|
+
"_type": "tableCfgs",
|
|
5
|
+
"_data": [
|
|
6
|
+
{
|
|
7
|
+
"key": "revisions",
|
|
8
|
+
"type": "revisions",
|
|
9
|
+
"isHead": true,
|
|
10
|
+
"isRoot": true,
|
|
11
|
+
"isShared": false,
|
|
12
|
+
"columns": [
|
|
13
|
+
{
|
|
14
|
+
"key": "_hash",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"_hash": "df4oYftB-71Njv9FprRCeg"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "table",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"_hash": "FmsYjsit04XJi02Sihdwl-"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "predecessor",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"_hash": "RlAk7Lj-lZf2KDlUk5fekZ"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"key": "successor",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"_hash": "MJlFtQVty5oUJKVzzj5hyB"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "timestamp",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"_hash": "XpKYGh23thW6vONgQuoMHf"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"key": "id",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"_hash": "eq2P3RIaSgy81i7PomNUvn"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"_hash": "2ztQLyMtsFFIs0z_rvT6UL"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"_hash": "er5aXXmEqihTA7Y1glILb4",
|
|
48
|
+
"key": "tableCfgs",
|
|
49
|
+
"type": "tableCfgs",
|
|
50
|
+
"isHead": false,
|
|
51
|
+
"isRoot": false,
|
|
52
|
+
"isShared": true,
|
|
53
|
+
"previous": "",
|
|
54
|
+
"columns": [
|
|
55
|
+
{
|
|
56
|
+
"key": "_hash",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"_hash": "df4oYftB-71Njv9FprRCeg"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"key": "key",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"_hash": "tapEY-QdaJwWhz1PPZoG35"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"key": "type",
|
|
67
|
+
"type": "string",
|
|
68
|
+
"_hash": "zE7ALsNzu5JPgDD4AxeRCh"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"key": "isHead",
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"_hash": "ar8Hajt2UZDn-F21QLMyC_"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "isRoot",
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"_hash": "hedsCm_HtiiTuzJyTeMqhm"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "isShared",
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"_hash": "pxXOf3-3qCo9Z3FzC9JXSH"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"key": "previous",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"_hash": "e0TEeDmSvJcLEMtrVxc0oW"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "columns",
|
|
92
|
+
"type": "jsonArray",
|
|
93
|
+
"_hash": "aPmGTcNng9E1RvlEj1LtxB"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"_tableCfg": "er5aXXmEqihTA7Y1glILb4",
|
|
99
|
+
"_hash": "_u8EEswMCQtr4EKdi4F2Ti"
|
|
100
|
+
},
|
|
101
|
+
"revisions": {
|
|
102
|
+
"_type": "revisions",
|
|
103
|
+
"_data": [],
|
|
104
|
+
"_tableCfg": "2ztQLyMtsFFIs0z_rvT6UL",
|
|
105
|
+
"_hash": "QaE-R7nOANTF7AshcaAQFr"
|
|
106
|
+
}
|
|
105
107
|
}
|
|
@@ -1,165 +1,169 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_hash": "
|
|
3
|
-
"tableCfgs": {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
1
|
+
{
|
|
2
|
+
"_hash": "KfPLdhXxDH3KbR_a3pLMBx",
|
|
3
|
+
"tableCfgs": {
|
|
4
|
+
"_type": "tableCfgs",
|
|
5
|
+
"_data": [
|
|
6
|
+
{
|
|
7
|
+
"key": "revisions",
|
|
8
|
+
"type": "revisions",
|
|
9
|
+
"isHead": true,
|
|
10
|
+
"isRoot": true,
|
|
11
|
+
"isShared": false,
|
|
12
|
+
"columns": [
|
|
13
|
+
{
|
|
14
|
+
"key": "_hash",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"_hash": "df4oYftB-71Njv9FprRCeg"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "table",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"_hash": "FmsYjsit04XJi02Sihdwl-"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"key": "predecessor",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"_hash": "RlAk7Lj-lZf2KDlUk5fekZ"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"key": "successor",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"_hash": "MJlFtQVty5oUJKVzzj5hyB"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "timestamp",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"_hash": "XpKYGh23thW6vONgQuoMHf"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"key": "id",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"_hash": "eq2P3RIaSgy81i7PomNUvn"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"_hash": "2ztQLyMtsFFIs0z_rvT6UL"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"key": "table2",
|
|
48
|
+
"columns": [
|
|
49
|
+
{
|
|
50
|
+
"key": "_hash",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"_hash": "df4oYftB-71Njv9FprRCeg"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"key": "a",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"_hash": "4sOy83iAANZEj6_Lmlg0d3"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"key": "b",
|
|
61
|
+
"type": "number",
|
|
62
|
+
"_hash": "dHYaVsRiXeP_WY7Qrd5Y8J"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"type": "components",
|
|
66
|
+
"isHead": true,
|
|
67
|
+
"isRoot": true,
|
|
68
|
+
"isShared": false,
|
|
69
|
+
"_hash": "DLDX4scFVGDPf4JOqBJ1Dx"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"_hash": "er5aXXmEqihTA7Y1glILb4",
|
|
73
|
+
"key": "tableCfgs",
|
|
74
|
+
"type": "tableCfgs",
|
|
75
|
+
"isHead": false,
|
|
76
|
+
"isRoot": false,
|
|
77
|
+
"isShared": true,
|
|
78
|
+
"previous": "",
|
|
79
|
+
"columns": [
|
|
80
|
+
{
|
|
81
|
+
"key": "_hash",
|
|
82
|
+
"type": "string",
|
|
83
|
+
"_hash": "df4oYftB-71Njv9FprRCeg"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"key": "key",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"_hash": "tapEY-QdaJwWhz1PPZoG35"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "type",
|
|
92
|
+
"type": "string",
|
|
93
|
+
"_hash": "zE7ALsNzu5JPgDD4AxeRCh"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "isHead",
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"_hash": "ar8Hajt2UZDn-F21QLMyC_"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"key": "isRoot",
|
|
102
|
+
"type": "boolean",
|
|
103
|
+
"_hash": "hedsCm_HtiiTuzJyTeMqhm"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"key": "isShared",
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"_hash": "pxXOf3-3qCo9Z3FzC9JXSH"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"key": "previous",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"_hash": "e0TEeDmSvJcLEMtrVxc0oW"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "columns",
|
|
117
|
+
"type": "jsonArray",
|
|
118
|
+
"_hash": "aPmGTcNng9E1RvlEj1LtxB"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"key": "table1",
|
|
124
|
+
"columns": [
|
|
125
|
+
{
|
|
126
|
+
"key": "_hash",
|
|
127
|
+
"type": "string",
|
|
128
|
+
"_hash": "df4oYftB-71Njv9FprRCeg"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"key": "a",
|
|
132
|
+
"type": "string",
|
|
133
|
+
"_hash": "4sOy83iAANZEj6_Lmlg0d3"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"key": "b",
|
|
137
|
+
"type": "number",
|
|
138
|
+
"_hash": "dHYaVsRiXeP_WY7Qrd5Y8J"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"type": "components",
|
|
142
|
+
"isHead": true,
|
|
143
|
+
"isRoot": true,
|
|
144
|
+
"isShared": false,
|
|
145
|
+
"_hash": "uX24nHRtwkXRsq8l46cNRZ"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"_tableCfg": "er5aXXmEqihTA7Y1glILb4",
|
|
149
|
+
"_hash": "8AXRYJ2KR8Kn9EonKQmJc1"
|
|
150
|
+
},
|
|
151
|
+
"revisions": {
|
|
152
|
+
"_type": "revisions",
|
|
153
|
+
"_data": [],
|
|
154
|
+
"_tableCfg": "2ztQLyMtsFFIs0z_rvT6UL",
|
|
155
|
+
"_hash": "QaE-R7nOANTF7AshcaAQFr"
|
|
156
|
+
},
|
|
157
|
+
"table1": {
|
|
158
|
+
"_type": "components",
|
|
159
|
+
"_data": [],
|
|
160
|
+
"_tableCfg": "uX24nHRtwkXRsq8l46cNRZ",
|
|
161
|
+
"_hash": "pYe_-T9K-7wMRpTbHgqOfP"
|
|
162
|
+
},
|
|
163
|
+
"table2": {
|
|
164
|
+
"_type": "components",
|
|
165
|
+
"_data": [],
|
|
166
|
+
"_tableCfg": "DLDX4scFVGDPf4JOqBJ1Dx",
|
|
167
|
+
"_hash": "Yc2y8em-BFHUmYReVQtpQe"
|
|
168
|
+
}
|
|
165
169
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
"table1": {
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
1
|
+
{
|
|
2
|
+
"table1": {
|
|
3
|
+
"_type": "components",
|
|
4
|
+
"_data": [
|
|
5
|
+
{
|
|
6
|
+
"a": "a2",
|
|
7
|
+
"_hash": "coOa9IUeUZ7j2a7U-tReeu"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"_tableCfg": "uX24nHRtwkXRsq8l46cNRZ",
|
|
11
|
+
"_hash": "zn4-cNVdMm7j0BvlnL_jPp"
|
|
12
|
+
}
|
|
12
13
|
}
|