@rljson/io 0.0.59 → 0.0.61
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 +134 -134
- package/dist/conformance-tests/goldens/dump/two-tables.json +208 -208
- package/dist/conformance-tests/goldens/dumpTable/table1.json +12 -12
- package/dist/conformance-tests/goldens/rawTableCfgs.json +213 -213
- package/dist/conformance-tests/goldens/tableCfgs-1.json +158 -158
- package/dist/conformance-tests/goldens/tableCfgs.json +127 -127
- package/dist/conformance-tests/io-conformance.setup.ts +38 -38
- package/dist/conformance-tests/io-conformance.spec.ts +1069 -1069
- package/dist/conformance-tests/scripts/install-conformance-tests.js +103 -103
- package/dist/index.d.ts +3 -0
- package/dist/io.js +233 -2
- package/dist/socket-mock.d.ts +22 -0
- package/dist/src/example.ts +10 -10
- package/package.json +9 -9
- package/dist/peer-server-socket-mock.d.ts +0 -18
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_hash": "dBFECc7GRh-vrkpouyUTCy",
|
|
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
|
-
"titleShort": "Hash",
|
|
17
|
-
"titleLong": "Row Hash",
|
|
18
|
-
"_hash": "2QxgcOKzL6zsVCo9Yi_5Ke"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"key": "table",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"titleShort": "Table",
|
|
24
|
-
"titleLong": "Table Key",
|
|
25
|
-
"_hash": "dxePvdUNnwg2TdHEAPlzcL"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"key": "predecessor",
|
|
29
|
-
"type": "string",
|
|
30
|
-
"titleShort": "Predecessor",
|
|
31
|
-
"titleLong": "Predecessor Revision Hash",
|
|
32
|
-
"_hash": "DX2BPCXbaK-WFn4Oy9hYjg"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"key": "successor",
|
|
36
|
-
"type": "string",
|
|
37
|
-
"titleShort": "Successor",
|
|
38
|
-
"titleLong": "Successor Revision Hash",
|
|
39
|
-
"_hash": "w-IMk9JjuBkgt88ddVGV7B"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"key": "timestamp",
|
|
43
|
-
"type": "number",
|
|
44
|
-
"titleShort": "Timestamp",
|
|
45
|
-
"titleLong": "Revision Timestamp",
|
|
46
|
-
"_hash": "G9EloAJ1OVidMrffwSVrLt"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"key": "id",
|
|
50
|
-
"type": "string",
|
|
51
|
-
"titleShort": "ID",
|
|
52
|
-
"titleLong": "Revision ID",
|
|
53
|
-
"_hash": "gwBBBa7SXFx2Zfz00JYdCR"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"_hash": "KFWwSAaR3bnqCwesHeAN4k"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"_hash": "jERNpYntKnsV66yxoS2xOg",
|
|
60
|
-
"key": "tableCfgs",
|
|
61
|
-
"type": "tableCfgs",
|
|
62
|
-
"isHead": false,
|
|
63
|
-
"isRoot": false,
|
|
64
|
-
"isShared": true,
|
|
65
|
-
"previous": "",
|
|
66
|
-
"columns": [
|
|
67
|
-
{
|
|
68
|
-
"key": "_hash",
|
|
69
|
-
"type": "string",
|
|
70
|
-
"titleShort": "Hash",
|
|
71
|
-
"titleLong": "Row Hash",
|
|
72
|
-
"_hash": "2QxgcOKzL6zsVCo9Yi_5Ke"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"key": "key",
|
|
76
|
-
"type": "string",
|
|
77
|
-
"titleShort": "Key",
|
|
78
|
-
"titleLong": "Table Key",
|
|
79
|
-
"_hash": "vXW6G031fGusGpEgdnVWmt"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"key": "type",
|
|
83
|
-
"type": "string",
|
|
84
|
-
"titleShort": "Type",
|
|
85
|
-
"titleLong": "Content Type",
|
|
86
|
-
"_hash": "X2upWVtQ02TKW3mj6SqU0c"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"key": "isHead",
|
|
90
|
-
"type": "boolean",
|
|
91
|
-
"titleShort": "Is Head",
|
|
92
|
-
"titleLong": "Is Head Table",
|
|
93
|
-
"_hash": "A-q9m5MVPMRVN6hk4pAMLH"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"key": "isRoot",
|
|
97
|
-
"type": "boolean",
|
|
98
|
-
"titleShort": "Is Root",
|
|
99
|
-
"titleLong": "Is Root Table",
|
|
100
|
-
"_hash": "qYiiwGCxzUtxlqIvZeU1rh"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"key": "isShared",
|
|
104
|
-
"type": "boolean",
|
|
105
|
-
"titleShort": "Is Shared",
|
|
106
|
-
"titleLong": "Is Shared Table",
|
|
107
|
-
"_hash": "jS9CqQBxXDhz1IB6PET4-P"
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"key": "previous",
|
|
111
|
-
"type": "string",
|
|
112
|
-
"titleShort": "Previous",
|
|
113
|
-
"titleLong": "Previous Table Configuration Hash",
|
|
114
|
-
"_hash": "0EgSa6oJSjOqjUCqlJzb5E"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"key": "columns",
|
|
118
|
-
"type": "jsonArray",
|
|
119
|
-
"titleShort": "Columns",
|
|
120
|
-
"titleLong": "Column Configurations",
|
|
121
|
-
"_hash": "GRV_4vc3xouarDpc1ZXE2_"
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"_tableCfg": "jERNpYntKnsV66yxoS2xOg",
|
|
127
|
-
"_hash": "6iuL4dWHnsKqfvyAdVizTC"
|
|
128
|
-
},
|
|
129
|
-
"revisions": {
|
|
130
|
-
"_type": "revisions",
|
|
131
|
-
"_data": [],
|
|
132
|
-
"_tableCfg": "KFWwSAaR3bnqCwesHeAN4k",
|
|
133
|
-
"_hash": "n0CtU753RpXZnGRTftbONY"
|
|
134
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"_hash": "dBFECc7GRh-vrkpouyUTCy",
|
|
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
|
+
"titleShort": "Hash",
|
|
17
|
+
"titleLong": "Row Hash",
|
|
18
|
+
"_hash": "2QxgcOKzL6zsVCo9Yi_5Ke"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "table",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"titleShort": "Table",
|
|
24
|
+
"titleLong": "Table Key",
|
|
25
|
+
"_hash": "dxePvdUNnwg2TdHEAPlzcL"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"key": "predecessor",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"titleShort": "Predecessor",
|
|
31
|
+
"titleLong": "Predecessor Revision Hash",
|
|
32
|
+
"_hash": "DX2BPCXbaK-WFn4Oy9hYjg"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"key": "successor",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"titleShort": "Successor",
|
|
38
|
+
"titleLong": "Successor Revision Hash",
|
|
39
|
+
"_hash": "w-IMk9JjuBkgt88ddVGV7B"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"key": "timestamp",
|
|
43
|
+
"type": "number",
|
|
44
|
+
"titleShort": "Timestamp",
|
|
45
|
+
"titleLong": "Revision Timestamp",
|
|
46
|
+
"_hash": "G9EloAJ1OVidMrffwSVrLt"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"key": "id",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"titleShort": "ID",
|
|
52
|
+
"titleLong": "Revision ID",
|
|
53
|
+
"_hash": "gwBBBa7SXFx2Zfz00JYdCR"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"_hash": "KFWwSAaR3bnqCwesHeAN4k"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"_hash": "jERNpYntKnsV66yxoS2xOg",
|
|
60
|
+
"key": "tableCfgs",
|
|
61
|
+
"type": "tableCfgs",
|
|
62
|
+
"isHead": false,
|
|
63
|
+
"isRoot": false,
|
|
64
|
+
"isShared": true,
|
|
65
|
+
"previous": "",
|
|
66
|
+
"columns": [
|
|
67
|
+
{
|
|
68
|
+
"key": "_hash",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"titleShort": "Hash",
|
|
71
|
+
"titleLong": "Row Hash",
|
|
72
|
+
"_hash": "2QxgcOKzL6zsVCo9Yi_5Ke"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "key",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"titleShort": "Key",
|
|
78
|
+
"titleLong": "Table Key",
|
|
79
|
+
"_hash": "vXW6G031fGusGpEgdnVWmt"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "type",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"titleShort": "Type",
|
|
85
|
+
"titleLong": "Content Type",
|
|
86
|
+
"_hash": "X2upWVtQ02TKW3mj6SqU0c"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"key": "isHead",
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"titleShort": "Is Head",
|
|
92
|
+
"titleLong": "Is Head Table",
|
|
93
|
+
"_hash": "A-q9m5MVPMRVN6hk4pAMLH"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"key": "isRoot",
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"titleShort": "Is Root",
|
|
99
|
+
"titleLong": "Is Root Table",
|
|
100
|
+
"_hash": "qYiiwGCxzUtxlqIvZeU1rh"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"key": "isShared",
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"titleShort": "Is Shared",
|
|
106
|
+
"titleLong": "Is Shared Table",
|
|
107
|
+
"_hash": "jS9CqQBxXDhz1IB6PET4-P"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"key": "previous",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"titleShort": "Previous",
|
|
113
|
+
"titleLong": "Previous Table Configuration Hash",
|
|
114
|
+
"_hash": "0EgSa6oJSjOqjUCqlJzb5E"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"key": "columns",
|
|
118
|
+
"type": "jsonArray",
|
|
119
|
+
"titleShort": "Columns",
|
|
120
|
+
"titleLong": "Column Configurations",
|
|
121
|
+
"_hash": "GRV_4vc3xouarDpc1ZXE2_"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"_tableCfg": "jERNpYntKnsV66yxoS2xOg",
|
|
127
|
+
"_hash": "6iuL4dWHnsKqfvyAdVizTC"
|
|
128
|
+
},
|
|
129
|
+
"revisions": {
|
|
130
|
+
"_type": "revisions",
|
|
131
|
+
"_data": [],
|
|
132
|
+
"_tableCfg": "KFWwSAaR3bnqCwesHeAN4k",
|
|
133
|
+
"_hash": "n0CtU753RpXZnGRTftbONY"
|
|
134
|
+
}
|
|
135
135
|
}
|