@genesislcap/foundation-comms 15.79.2 → 15.80.0
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/asconfig.json +15 -0
- package/assembly/scdb/README.md +74 -0
- package/assembly/scdb/bench.mjs +32 -0
- package/assembly/scdb/decoder.ts +217 -0
- package/assembly/scdb/decoder.wasm +0 -0
- package/assembly/scdb/inline-wasm-base64.mjs +24 -0
- package/dist/dts/connect/connect.d.ts +2 -0
- package/dist/dts/connect/connect.d.ts.map +1 -1
- package/dist/dts/connect/http.connect.d.ts +10 -0
- package/dist/dts/connect/http.connect.d.ts.map +1 -1
- package/dist/dts/connect/message.d.ts +18 -0
- package/dist/dts/connect/message.d.ts.map +1 -1
- package/dist/dts/connect/scdbStreamDecoder.d.ts +66 -0
- package/dist/dts/connect/scdbStreamDecoder.d.ts.map +1 -0
- package/dist/dts/connect/socket.d.ts +23 -0
- package/dist/dts/connect/socket.d.ts.map +1 -1
- package/dist/dts/connect/socket.types.d.ts +14 -0
- package/dist/dts/connect/socket.types.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/datasource/datasource.types.d.ts +8 -0
- package/dist/dts/datasource/datasource.types.d.ts.map +1 -1
- package/dist/dts/datasource/index.d.ts +1 -0
- package/dist/dts/datasource/index.d.ts.map +1 -1
- package/dist/dts/datasource/scdb/base64.d.ts +6 -0
- package/dist/dts/datasource/scdb/base64.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/dictionaryHash.d.ts +40 -0
- package/dist/dts/datasource/scdb/dictionaryHash.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/index.d.ts +6 -0
- package/dist/dts/datasource/scdb/index.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/scdb-js-bench.d.mts +2 -0
- package/dist/dts/datasource/scdb/scdb-js-bench.d.mts.map +1 -0
- package/dist/dts/datasource/scdb/scdbDecode.d.ts +24 -0
- package/dist/dts/datasource/scdb/scdbDecode.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/scdbDecoder.d.ts +42 -0
- package/dist/dts/datasource/scdb/scdbDecoder.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/scdbWasmDecoder.d.ts +27 -0
- package/dist/dts/datasource/scdb/scdbWasmDecoder.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/scdbjDecoder.d.ts +35 -0
- package/dist/dts/datasource/scdb/scdbjDecoder.d.ts.map +1 -0
- package/dist/dts/datasource/scdb/wasm/decoder.wasm.base64.d.ts +7 -0
- package/dist/dts/datasource/scdb/wasm/decoder.wasm.base64.d.ts.map +1 -0
- package/dist/dts/testing/mocks/connect/socket.d.ts +1 -0
- package/dist/dts/testing/mocks/connect/socket.d.ts.map +1 -1
- package/dist/esm/connect/connect.js +22 -3
- package/dist/esm/connect/http.connect.js +33 -1
- package/dist/esm/connect/message.js +3 -1
- package/dist/esm/connect/scdbStreamDecoder.js +160 -0
- package/dist/esm/connect/socket.js +72 -2
- package/dist/esm/datasource/datasource.js +3 -0
- package/dist/esm/datasource/index.js +1 -0
- package/dist/esm/datasource/scdb/base64.js +17 -0
- package/dist/esm/datasource/scdb/dictionaryHash.js +45 -0
- package/dist/esm/datasource/scdb/index.js +5 -0
- package/dist/esm/datasource/scdb/scdb-golden-v1.json +15 -0
- package/dist/esm/datasource/scdb/scdb-js-bench.mjs +461 -0
- package/dist/esm/datasource/scdb/scdbDecode.js +67 -0
- package/dist/esm/datasource/scdb/scdbDecoder.js +279 -0
- package/dist/esm/datasource/scdb/scdbWasmDecoder.js +213 -0
- package/dist/esm/datasource/scdb/scdbjDecoder.js +60 -0
- package/dist/esm/datasource/scdb/wasm/decoder.wasm.base64.js +6 -0
- package/dist/esm/testing/mocks/connect/socket.js +3 -0
- package/dist/foundation-comms.api.json +1453 -8
- package/dist/foundation-comms.d.ts +251 -0
- package/package.json +14 -12
|
@@ -1030,6 +1030,152 @@
|
|
|
1030
1030
|
"endIndex": 2
|
|
1031
1031
|
}
|
|
1032
1032
|
},
|
|
1033
|
+
{
|
|
1034
|
+
"kind": "Interface",
|
|
1035
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate:interface",
|
|
1036
|
+
"docComment": "",
|
|
1037
|
+
"excerptTokens": [
|
|
1038
|
+
{
|
|
1039
|
+
"kind": "Content",
|
|
1040
|
+
"text": "export interface ColumnarQueryUpdate "
|
|
1041
|
+
}
|
|
1042
|
+
],
|
|
1043
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecode.ts",
|
|
1044
|
+
"releaseTag": "Public",
|
|
1045
|
+
"name": "ColumnarQueryUpdate",
|
|
1046
|
+
"preserveMemberOrder": false,
|
|
1047
|
+
"members": [
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "PropertySignature",
|
|
1050
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate#ENCODING:member",
|
|
1051
|
+
"docComment": "",
|
|
1052
|
+
"excerptTokens": [
|
|
1053
|
+
{
|
|
1054
|
+
"kind": "Content",
|
|
1055
|
+
"text": "ENCODING?: "
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"kind": "Content",
|
|
1059
|
+
"text": "string"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"kind": "Content",
|
|
1063
|
+
"text": ";"
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"isReadonly": false,
|
|
1067
|
+
"isOptional": true,
|
|
1068
|
+
"releaseTag": "Public",
|
|
1069
|
+
"name": "ENCODING",
|
|
1070
|
+
"propertyTypeTokenRange": {
|
|
1071
|
+
"startIndex": 1,
|
|
1072
|
+
"endIndex": 2
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"kind": "PropertySignature",
|
|
1077
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate#RBUF:member",
|
|
1078
|
+
"docComment": "",
|
|
1079
|
+
"excerptTokens": [
|
|
1080
|
+
{
|
|
1081
|
+
"kind": "Content",
|
|
1082
|
+
"text": "RBUF?: "
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"kind": "Reference",
|
|
1086
|
+
"text": "Uint8Array",
|
|
1087
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"kind": "Content",
|
|
1091
|
+
"text": " | string | number[]"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"kind": "Content",
|
|
1095
|
+
"text": ";"
|
|
1096
|
+
}
|
|
1097
|
+
],
|
|
1098
|
+
"isReadonly": false,
|
|
1099
|
+
"isOptional": true,
|
|
1100
|
+
"releaseTag": "Public",
|
|
1101
|
+
"name": "RBUF",
|
|
1102
|
+
"propertyTypeTokenRange": {
|
|
1103
|
+
"startIndex": 1,
|
|
1104
|
+
"endIndex": 3
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "PropertySignature",
|
|
1109
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate#ROW:member",
|
|
1110
|
+
"docComment": "",
|
|
1111
|
+
"excerptTokens": [
|
|
1112
|
+
{
|
|
1113
|
+
"kind": "Content",
|
|
1114
|
+
"text": "ROW?: "
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"kind": "Reference",
|
|
1118
|
+
"text": "Array",
|
|
1119
|
+
"canonicalReference": "!Array:interface"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"kind": "Content",
|
|
1123
|
+
"text": "<"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"kind": "Reference",
|
|
1127
|
+
"text": "Record",
|
|
1128
|
+
"canonicalReference": "!Record:type"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"kind": "Content",
|
|
1132
|
+
"text": "<string, unknown>>"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"kind": "Content",
|
|
1136
|
+
"text": ";"
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"isReadonly": false,
|
|
1140
|
+
"isOptional": true,
|
|
1141
|
+
"releaseTag": "Public",
|
|
1142
|
+
"name": "ROW",
|
|
1143
|
+
"propertyTypeTokenRange": {
|
|
1144
|
+
"startIndex": 1,
|
|
1145
|
+
"endIndex": 5
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "PropertySignature",
|
|
1150
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate#SCDBJ:member",
|
|
1151
|
+
"docComment": "",
|
|
1152
|
+
"excerptTokens": [
|
|
1153
|
+
{
|
|
1154
|
+
"kind": "Content",
|
|
1155
|
+
"text": "SCDBJ?: "
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"kind": "Reference",
|
|
1159
|
+
"text": "ScdbjPayload",
|
|
1160
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload:interface"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"kind": "Content",
|
|
1164
|
+
"text": ";"
|
|
1165
|
+
}
|
|
1166
|
+
],
|
|
1167
|
+
"isReadonly": false,
|
|
1168
|
+
"isOptional": true,
|
|
1169
|
+
"releaseTag": "Public",
|
|
1170
|
+
"name": "SCDBJ",
|
|
1171
|
+
"propertyTypeTokenRange": {
|
|
1172
|
+
"startIndex": 1,
|
|
1173
|
+
"endIndex": 2
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"extendsTokenRanges": []
|
|
1178
|
+
},
|
|
1033
1179
|
{
|
|
1034
1180
|
"kind": "TypeAlias",
|
|
1035
1181
|
"canonicalReference": "@genesislcap/foundation-comms!CommitAckEvent:type",
|
|
@@ -5070,7 +5216,16 @@
|
|
|
5070
5216
|
},
|
|
5071
5217
|
{
|
|
5072
5218
|
"kind": "Content",
|
|
5073
|
-
"text": "{\n DATASOURCE_NAME?: string;\n CRITERIA_MATCH?: string;\n MAX_ROWS?: number;\n VIEW_NUMBER?: number;\n FIELDS?: string;\n MAX_VIEW?: number;\n MOVING_VIEW?: boolean;\n ORDER_BY?: string;\n REVERSE?: boolean;\n
|
|
5219
|
+
"text": "{\n DATASOURCE_NAME?: string;\n CRITERIA_MATCH?: string;\n MAX_ROWS?: number;\n VIEW_NUMBER?: number;\n FIELDS?: string;\n MAX_VIEW?: number;\n MOVING_VIEW?: boolean;\n ORDER_BY?: string;\n REVERSE?: boolean;\n ENCODING?: "
|
|
5220
|
+
},
|
|
5221
|
+
{
|
|
5222
|
+
"kind": "Reference",
|
|
5223
|
+
"text": "ScdbEncoding",
|
|
5224
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
5225
|
+
},
|
|
5226
|
+
{
|
|
5227
|
+
"kind": "Content",
|
|
5228
|
+
"text": ";\n}"
|
|
5074
5229
|
},
|
|
5075
5230
|
{
|
|
5076
5231
|
"kind": "Content",
|
|
@@ -5082,7 +5237,7 @@
|
|
|
5082
5237
|
"name": "DataserverParams",
|
|
5083
5238
|
"typeTokenRange": {
|
|
5084
5239
|
"startIndex": 1,
|
|
5085
|
-
"endIndex":
|
|
5240
|
+
"endIndex": 4
|
|
5086
5241
|
}
|
|
5087
5242
|
},
|
|
5088
5243
|
{
|
|
@@ -10558,6 +10713,34 @@
|
|
|
10558
10713
|
"endIndex": 2
|
|
10559
10714
|
}
|
|
10560
10715
|
},
|
|
10716
|
+
{
|
|
10717
|
+
"kind": "PropertySignature",
|
|
10718
|
+
"canonicalReference": "@genesislcap/foundation-comms!DatasourceOptions#encoding:member",
|
|
10719
|
+
"docComment": "/**\n * Per-datasource columnar payload encoding, overriding the app-wide `ConnectConfig.connect.dataserverEncoding`. `'SCDBJ_V1'` (JSON-columnar) or `'SCDB_V1'` (binary). Negotiated + decoded transparently. Undefined => use the app-wide setting (or row mode).\n *\n * @remarks\n *\n * Only works with DATASERVER resources.\n */\n",
|
|
10720
|
+
"excerptTokens": [
|
|
10721
|
+
{
|
|
10722
|
+
"kind": "Content",
|
|
10723
|
+
"text": "encoding?: "
|
|
10724
|
+
},
|
|
10725
|
+
{
|
|
10726
|
+
"kind": "Reference",
|
|
10727
|
+
"text": "ScdbEncoding",
|
|
10728
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
10729
|
+
},
|
|
10730
|
+
{
|
|
10731
|
+
"kind": "Content",
|
|
10732
|
+
"text": ";"
|
|
10733
|
+
}
|
|
10734
|
+
],
|
|
10735
|
+
"isReadonly": false,
|
|
10736
|
+
"isOptional": true,
|
|
10737
|
+
"releaseTag": "Public",
|
|
10738
|
+
"name": "encoding",
|
|
10739
|
+
"propertyTypeTokenRange": {
|
|
10740
|
+
"startIndex": 1,
|
|
10741
|
+
"endIndex": 2
|
|
10742
|
+
}
|
|
10743
|
+
},
|
|
10561
10744
|
{
|
|
10562
10745
|
"kind": "PropertySignature",
|
|
10563
10746
|
"canonicalReference": "@genesislcap/foundation-comms!DatasourceOptions#fields:member",
|
|
@@ -11304,6 +11487,470 @@
|
|
|
11304
11487
|
],
|
|
11305
11488
|
"extendsTokenRanges": []
|
|
11306
11489
|
},
|
|
11490
|
+
{
|
|
11491
|
+
"kind": "Function",
|
|
11492
|
+
"canonicalReference": "@genesislcap/foundation-comms!decodeColumnarQueryUpdate:function(1)",
|
|
11493
|
+
"docComment": "/**\n * Decodes a QUERY_UPDATE to row objects. Chooses by `ENCODING`: - `SCDB_V1` -> binary blob: WASM decoder when provided (fastest), else pure-JS. - `SCDBJ_V1` -> JSON-columnar transpose. - otherwise -> the message's existing `ROW` array (legacy).\n */\n",
|
|
11494
|
+
"excerptTokens": [
|
|
11495
|
+
{
|
|
11496
|
+
"kind": "Content",
|
|
11497
|
+
"text": "export declare function decodeColumnarQueryUpdate(msg: "
|
|
11498
|
+
},
|
|
11499
|
+
{
|
|
11500
|
+
"kind": "Reference",
|
|
11501
|
+
"text": "ColumnarQueryUpdate",
|
|
11502
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate:interface"
|
|
11503
|
+
},
|
|
11504
|
+
{
|
|
11505
|
+
"kind": "Content",
|
|
11506
|
+
"text": ", dictionary: "
|
|
11507
|
+
},
|
|
11508
|
+
{
|
|
11509
|
+
"kind": "Content",
|
|
11510
|
+
"text": "readonly string[]"
|
|
11511
|
+
},
|
|
11512
|
+
{
|
|
11513
|
+
"kind": "Content",
|
|
11514
|
+
"text": ", wasm?: "
|
|
11515
|
+
},
|
|
11516
|
+
{
|
|
11517
|
+
"kind": "Reference",
|
|
11518
|
+
"text": "ScdbWasm",
|
|
11519
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbWasm:interface"
|
|
11520
|
+
},
|
|
11521
|
+
{
|
|
11522
|
+
"kind": "Content",
|
|
11523
|
+
"text": "): "
|
|
11524
|
+
},
|
|
11525
|
+
{
|
|
11526
|
+
"kind": "Reference",
|
|
11527
|
+
"text": "Array",
|
|
11528
|
+
"canonicalReference": "!Array:interface"
|
|
11529
|
+
},
|
|
11530
|
+
{
|
|
11531
|
+
"kind": "Content",
|
|
11532
|
+
"text": "<"
|
|
11533
|
+
},
|
|
11534
|
+
{
|
|
11535
|
+
"kind": "Reference",
|
|
11536
|
+
"text": "Record",
|
|
11537
|
+
"canonicalReference": "!Record:type"
|
|
11538
|
+
},
|
|
11539
|
+
{
|
|
11540
|
+
"kind": "Content",
|
|
11541
|
+
"text": "<string, unknown>>"
|
|
11542
|
+
},
|
|
11543
|
+
{
|
|
11544
|
+
"kind": "Content",
|
|
11545
|
+
"text": ";"
|
|
11546
|
+
}
|
|
11547
|
+
],
|
|
11548
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecode.ts",
|
|
11549
|
+
"returnTypeTokenRange": {
|
|
11550
|
+
"startIndex": 7,
|
|
11551
|
+
"endIndex": 11
|
|
11552
|
+
},
|
|
11553
|
+
"releaseTag": "Public",
|
|
11554
|
+
"overloadIndex": 1,
|
|
11555
|
+
"parameters": [
|
|
11556
|
+
{
|
|
11557
|
+
"parameterName": "msg",
|
|
11558
|
+
"parameterTypeTokenRange": {
|
|
11559
|
+
"startIndex": 1,
|
|
11560
|
+
"endIndex": 2
|
|
11561
|
+
},
|
|
11562
|
+
"isOptional": false
|
|
11563
|
+
},
|
|
11564
|
+
{
|
|
11565
|
+
"parameterName": "dictionary",
|
|
11566
|
+
"parameterTypeTokenRange": {
|
|
11567
|
+
"startIndex": 3,
|
|
11568
|
+
"endIndex": 4
|
|
11569
|
+
},
|
|
11570
|
+
"isOptional": false
|
|
11571
|
+
},
|
|
11572
|
+
{
|
|
11573
|
+
"parameterName": "wasm",
|
|
11574
|
+
"parameterTypeTokenRange": {
|
|
11575
|
+
"startIndex": 5,
|
|
11576
|
+
"endIndex": 6
|
|
11577
|
+
},
|
|
11578
|
+
"isOptional": true
|
|
11579
|
+
}
|
|
11580
|
+
],
|
|
11581
|
+
"name": "decodeColumnarQueryUpdate"
|
|
11582
|
+
},
|
|
11583
|
+
{
|
|
11584
|
+
"kind": "Function",
|
|
11585
|
+
"canonicalReference": "@genesislcap/foundation-comms!decodeColumnarReply:function(1)",
|
|
11586
|
+
"docComment": "/**\n * Decodes a self-describing columnar req/rep reply (dictionary inline) into plain result rows (cells only, no synthetic `DETAILS`). req/rep replies are full result sets, so unlike a dataserver `QUERY_UPDATE` they carry no per-row operation / rowRef.\n */\n",
|
|
11587
|
+
"excerptTokens": [
|
|
11588
|
+
{
|
|
11589
|
+
"kind": "Content",
|
|
11590
|
+
"text": "export declare function decodeColumnarReply(msg: "
|
|
11591
|
+
},
|
|
11592
|
+
{
|
|
11593
|
+
"kind": "Reference",
|
|
11594
|
+
"text": "ColumnarQueryUpdate",
|
|
11595
|
+
"canonicalReference": "@genesislcap/foundation-comms!ColumnarQueryUpdate:interface"
|
|
11596
|
+
},
|
|
11597
|
+
{
|
|
11598
|
+
"kind": "Content",
|
|
11599
|
+
"text": ", dictionary: "
|
|
11600
|
+
},
|
|
11601
|
+
{
|
|
11602
|
+
"kind": "Content",
|
|
11603
|
+
"text": "readonly string[]"
|
|
11604
|
+
},
|
|
11605
|
+
{
|
|
11606
|
+
"kind": "Content",
|
|
11607
|
+
"text": "): "
|
|
11608
|
+
},
|
|
11609
|
+
{
|
|
11610
|
+
"kind": "Reference",
|
|
11611
|
+
"text": "Array",
|
|
11612
|
+
"canonicalReference": "!Array:interface"
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
"kind": "Content",
|
|
11616
|
+
"text": "<"
|
|
11617
|
+
},
|
|
11618
|
+
{
|
|
11619
|
+
"kind": "Reference",
|
|
11620
|
+
"text": "Record",
|
|
11621
|
+
"canonicalReference": "!Record:type"
|
|
11622
|
+
},
|
|
11623
|
+
{
|
|
11624
|
+
"kind": "Content",
|
|
11625
|
+
"text": "<string, unknown>>"
|
|
11626
|
+
},
|
|
11627
|
+
{
|
|
11628
|
+
"kind": "Content",
|
|
11629
|
+
"text": ";"
|
|
11630
|
+
}
|
|
11631
|
+
],
|
|
11632
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecode.ts",
|
|
11633
|
+
"returnTypeTokenRange": {
|
|
11634
|
+
"startIndex": 5,
|
|
11635
|
+
"endIndex": 9
|
|
11636
|
+
},
|
|
11637
|
+
"releaseTag": "Public",
|
|
11638
|
+
"overloadIndex": 1,
|
|
11639
|
+
"parameters": [
|
|
11640
|
+
{
|
|
11641
|
+
"parameterName": "msg",
|
|
11642
|
+
"parameterTypeTokenRange": {
|
|
11643
|
+
"startIndex": 1,
|
|
11644
|
+
"endIndex": 2
|
|
11645
|
+
},
|
|
11646
|
+
"isOptional": false
|
|
11647
|
+
},
|
|
11648
|
+
{
|
|
11649
|
+
"parameterName": "dictionary",
|
|
11650
|
+
"parameterTypeTokenRange": {
|
|
11651
|
+
"startIndex": 3,
|
|
11652
|
+
"endIndex": 4
|
|
11653
|
+
},
|
|
11654
|
+
"isOptional": false
|
|
11655
|
+
}
|
|
11656
|
+
],
|
|
11657
|
+
"name": "decodeColumnarReply"
|
|
11658
|
+
},
|
|
11659
|
+
{
|
|
11660
|
+
"kind": "Function",
|
|
11661
|
+
"canonicalReference": "@genesislcap/foundation-comms!decodeScdb:function(1)",
|
|
11662
|
+
"docComment": "/**\n * Decodes an SCDB `RBUF` blob into delta records, using the column dictionary (ordered field-name list) the client derives from the resource's metadata and validates against the server's `DICT_HASH`. Each record's `cells` is a fresh target object passed to [decodeColumns].\n */\n",
|
|
11663
|
+
"excerptTokens": [
|
|
11664
|
+
{
|
|
11665
|
+
"kind": "Content",
|
|
11666
|
+
"text": "export declare function decodeScdb(bytes: "
|
|
11667
|
+
},
|
|
11668
|
+
{
|
|
11669
|
+
"kind": "Reference",
|
|
11670
|
+
"text": "Uint8Array",
|
|
11671
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
11672
|
+
},
|
|
11673
|
+
{
|
|
11674
|
+
"kind": "Content",
|
|
11675
|
+
"text": ", dictionary: "
|
|
11676
|
+
},
|
|
11677
|
+
{
|
|
11678
|
+
"kind": "Content",
|
|
11679
|
+
"text": "readonly string[]"
|
|
11680
|
+
},
|
|
11681
|
+
{
|
|
11682
|
+
"kind": "Content",
|
|
11683
|
+
"text": "): "
|
|
11684
|
+
},
|
|
11685
|
+
{
|
|
11686
|
+
"kind": "Reference",
|
|
11687
|
+
"text": "ScdbRecord",
|
|
11688
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbRecord:interface"
|
|
11689
|
+
},
|
|
11690
|
+
{
|
|
11691
|
+
"kind": "Content",
|
|
11692
|
+
"text": "[]"
|
|
11693
|
+
},
|
|
11694
|
+
{
|
|
11695
|
+
"kind": "Content",
|
|
11696
|
+
"text": ";"
|
|
11697
|
+
}
|
|
11698
|
+
],
|
|
11699
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecoder.ts",
|
|
11700
|
+
"returnTypeTokenRange": {
|
|
11701
|
+
"startIndex": 5,
|
|
11702
|
+
"endIndex": 7
|
|
11703
|
+
},
|
|
11704
|
+
"releaseTag": "Public",
|
|
11705
|
+
"overloadIndex": 1,
|
|
11706
|
+
"parameters": [
|
|
11707
|
+
{
|
|
11708
|
+
"parameterName": "bytes",
|
|
11709
|
+
"parameterTypeTokenRange": {
|
|
11710
|
+
"startIndex": 1,
|
|
11711
|
+
"endIndex": 2
|
|
11712
|
+
},
|
|
11713
|
+
"isOptional": false
|
|
11714
|
+
},
|
|
11715
|
+
{
|
|
11716
|
+
"parameterName": "dictionary",
|
|
11717
|
+
"parameterTypeTokenRange": {
|
|
11718
|
+
"startIndex": 3,
|
|
11719
|
+
"endIndex": 4
|
|
11720
|
+
},
|
|
11721
|
+
"isOptional": false
|
|
11722
|
+
}
|
|
11723
|
+
],
|
|
11724
|
+
"name": "decodeScdb"
|
|
11725
|
+
},
|
|
11726
|
+
{
|
|
11727
|
+
"kind": "Function",
|
|
11728
|
+
"canonicalReference": "@genesislcap/foundation-comms!decodeScdbjToCells:function(1)",
|
|
11729
|
+
"docComment": "/**\n * Transposes a parsed SCDBJ payload into plain result rows (cells only, no `DETAILS`). Used for req/rep replies, which are full result sets without per-row operation / rowRef semantics.\n */\n",
|
|
11730
|
+
"excerptTokens": [
|
|
11731
|
+
{
|
|
11732
|
+
"kind": "Content",
|
|
11733
|
+
"text": "export declare function decodeScdbjToCells(payload: "
|
|
11734
|
+
},
|
|
11735
|
+
{
|
|
11736
|
+
"kind": "Reference",
|
|
11737
|
+
"text": "ScdbjPayload",
|
|
11738
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload:interface"
|
|
11739
|
+
},
|
|
11740
|
+
{
|
|
11741
|
+
"kind": "Content",
|
|
11742
|
+
"text": ", dictionary: "
|
|
11743
|
+
},
|
|
11744
|
+
{
|
|
11745
|
+
"kind": "Content",
|
|
11746
|
+
"text": "readonly string[]"
|
|
11747
|
+
},
|
|
11748
|
+
{
|
|
11749
|
+
"kind": "Content",
|
|
11750
|
+
"text": "): "
|
|
11751
|
+
},
|
|
11752
|
+
{
|
|
11753
|
+
"kind": "Reference",
|
|
11754
|
+
"text": "Array",
|
|
11755
|
+
"canonicalReference": "!Array:interface"
|
|
11756
|
+
},
|
|
11757
|
+
{
|
|
11758
|
+
"kind": "Content",
|
|
11759
|
+
"text": "<"
|
|
11760
|
+
},
|
|
11761
|
+
{
|
|
11762
|
+
"kind": "Reference",
|
|
11763
|
+
"text": "Record",
|
|
11764
|
+
"canonicalReference": "!Record:type"
|
|
11765
|
+
},
|
|
11766
|
+
{
|
|
11767
|
+
"kind": "Content",
|
|
11768
|
+
"text": "<string, unknown>>"
|
|
11769
|
+
},
|
|
11770
|
+
{
|
|
11771
|
+
"kind": "Content",
|
|
11772
|
+
"text": ";"
|
|
11773
|
+
}
|
|
11774
|
+
],
|
|
11775
|
+
"fileUrlPath": "src/datasource/scdb/scdbjDecoder.ts",
|
|
11776
|
+
"returnTypeTokenRange": {
|
|
11777
|
+
"startIndex": 5,
|
|
11778
|
+
"endIndex": 9
|
|
11779
|
+
},
|
|
11780
|
+
"releaseTag": "Public",
|
|
11781
|
+
"overloadIndex": 1,
|
|
11782
|
+
"parameters": [
|
|
11783
|
+
{
|
|
11784
|
+
"parameterName": "payload",
|
|
11785
|
+
"parameterTypeTokenRange": {
|
|
11786
|
+
"startIndex": 1,
|
|
11787
|
+
"endIndex": 2
|
|
11788
|
+
},
|
|
11789
|
+
"isOptional": false
|
|
11790
|
+
},
|
|
11791
|
+
{
|
|
11792
|
+
"parameterName": "dictionary",
|
|
11793
|
+
"parameterTypeTokenRange": {
|
|
11794
|
+
"startIndex": 3,
|
|
11795
|
+
"endIndex": 4
|
|
11796
|
+
},
|
|
11797
|
+
"isOptional": false
|
|
11798
|
+
}
|
|
11799
|
+
],
|
|
11800
|
+
"name": "decodeScdbjToCells"
|
|
11801
|
+
},
|
|
11802
|
+
{
|
|
11803
|
+
"kind": "Function",
|
|
11804
|
+
"canonicalReference": "@genesislcap/foundation-comms!decodeScdbjToRows:function(1)",
|
|
11805
|
+
"docComment": "/**\n * Transposes a parsed SCDBJ payload into the legacy dataserver ROW shape: `[{ ...cells, DETAILS: { OPERATION, ROW_REF } }]`, using the column dictionary.\n */\n",
|
|
11806
|
+
"excerptTokens": [
|
|
11807
|
+
{
|
|
11808
|
+
"kind": "Content",
|
|
11809
|
+
"text": "export declare function decodeScdbjToRows(payload: "
|
|
11810
|
+
},
|
|
11811
|
+
{
|
|
11812
|
+
"kind": "Reference",
|
|
11813
|
+
"text": "ScdbjPayload",
|
|
11814
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload:interface"
|
|
11815
|
+
},
|
|
11816
|
+
{
|
|
11817
|
+
"kind": "Content",
|
|
11818
|
+
"text": ", dictionary: "
|
|
11819
|
+
},
|
|
11820
|
+
{
|
|
11821
|
+
"kind": "Content",
|
|
11822
|
+
"text": "readonly string[]"
|
|
11823
|
+
},
|
|
11824
|
+
{
|
|
11825
|
+
"kind": "Content",
|
|
11826
|
+
"text": "): "
|
|
11827
|
+
},
|
|
11828
|
+
{
|
|
11829
|
+
"kind": "Reference",
|
|
11830
|
+
"text": "Array",
|
|
11831
|
+
"canonicalReference": "!Array:interface"
|
|
11832
|
+
},
|
|
11833
|
+
{
|
|
11834
|
+
"kind": "Content",
|
|
11835
|
+
"text": "<"
|
|
11836
|
+
},
|
|
11837
|
+
{
|
|
11838
|
+
"kind": "Reference",
|
|
11839
|
+
"text": "Record",
|
|
11840
|
+
"canonicalReference": "!Record:type"
|
|
11841
|
+
},
|
|
11842
|
+
{
|
|
11843
|
+
"kind": "Content",
|
|
11844
|
+
"text": "<string, unknown>>"
|
|
11845
|
+
},
|
|
11846
|
+
{
|
|
11847
|
+
"kind": "Content",
|
|
11848
|
+
"text": ";"
|
|
11849
|
+
}
|
|
11850
|
+
],
|
|
11851
|
+
"fileUrlPath": "src/datasource/scdb/scdbjDecoder.ts",
|
|
11852
|
+
"returnTypeTokenRange": {
|
|
11853
|
+
"startIndex": 5,
|
|
11854
|
+
"endIndex": 9
|
|
11855
|
+
},
|
|
11856
|
+
"releaseTag": "Public",
|
|
11857
|
+
"overloadIndex": 1,
|
|
11858
|
+
"parameters": [
|
|
11859
|
+
{
|
|
11860
|
+
"parameterName": "payload",
|
|
11861
|
+
"parameterTypeTokenRange": {
|
|
11862
|
+
"startIndex": 1,
|
|
11863
|
+
"endIndex": 2
|
|
11864
|
+
},
|
|
11865
|
+
"isOptional": false
|
|
11866
|
+
},
|
|
11867
|
+
{
|
|
11868
|
+
"parameterName": "dictionary",
|
|
11869
|
+
"parameterTypeTokenRange": {
|
|
11870
|
+
"startIndex": 3,
|
|
11871
|
+
"endIndex": 4
|
|
11872
|
+
},
|
|
11873
|
+
"isOptional": false
|
|
11874
|
+
}
|
|
11875
|
+
],
|
|
11876
|
+
"name": "decodeScdbjToRows"
|
|
11877
|
+
},
|
|
11878
|
+
{
|
|
11879
|
+
"kind": "Function",
|
|
11880
|
+
"canonicalReference": "@genesislcap/foundation-comms!decodeScdbToRows:function(1)",
|
|
11881
|
+
"docComment": "/**\n * Reconstructs the legacy `ROW` array shape directly (the hot path used in the live socket flow): `[{ ...cells, DETAILS: { OPERATION, ROW_REF } }]`. Builds straight into the row objects with no intermediate record/cells allocation.\n */\n",
|
|
11882
|
+
"excerptTokens": [
|
|
11883
|
+
{
|
|
11884
|
+
"kind": "Content",
|
|
11885
|
+
"text": "export declare function decodeScdbToRows(bytes: "
|
|
11886
|
+
},
|
|
11887
|
+
{
|
|
11888
|
+
"kind": "Reference",
|
|
11889
|
+
"text": "Uint8Array",
|
|
11890
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
11891
|
+
},
|
|
11892
|
+
{
|
|
11893
|
+
"kind": "Content",
|
|
11894
|
+
"text": ", dictionary: "
|
|
11895
|
+
},
|
|
11896
|
+
{
|
|
11897
|
+
"kind": "Content",
|
|
11898
|
+
"text": "readonly string[]"
|
|
11899
|
+
},
|
|
11900
|
+
{
|
|
11901
|
+
"kind": "Content",
|
|
11902
|
+
"text": "): "
|
|
11903
|
+
},
|
|
11904
|
+
{
|
|
11905
|
+
"kind": "Reference",
|
|
11906
|
+
"text": "Array",
|
|
11907
|
+
"canonicalReference": "!Array:interface"
|
|
11908
|
+
},
|
|
11909
|
+
{
|
|
11910
|
+
"kind": "Content",
|
|
11911
|
+
"text": "<"
|
|
11912
|
+
},
|
|
11913
|
+
{
|
|
11914
|
+
"kind": "Reference",
|
|
11915
|
+
"text": "Record",
|
|
11916
|
+
"canonicalReference": "!Record:type"
|
|
11917
|
+
},
|
|
11918
|
+
{
|
|
11919
|
+
"kind": "Content",
|
|
11920
|
+
"text": "<string, unknown>>"
|
|
11921
|
+
},
|
|
11922
|
+
{
|
|
11923
|
+
"kind": "Content",
|
|
11924
|
+
"text": ";"
|
|
11925
|
+
}
|
|
11926
|
+
],
|
|
11927
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecoder.ts",
|
|
11928
|
+
"returnTypeTokenRange": {
|
|
11929
|
+
"startIndex": 5,
|
|
11930
|
+
"endIndex": 9
|
|
11931
|
+
},
|
|
11932
|
+
"releaseTag": "Public",
|
|
11933
|
+
"overloadIndex": 1,
|
|
11934
|
+
"parameters": [
|
|
11935
|
+
{
|
|
11936
|
+
"parameterName": "bytes",
|
|
11937
|
+
"parameterTypeTokenRange": {
|
|
11938
|
+
"startIndex": 1,
|
|
11939
|
+
"endIndex": 2
|
|
11940
|
+
},
|
|
11941
|
+
"isOptional": false
|
|
11942
|
+
},
|
|
11943
|
+
{
|
|
11944
|
+
"parameterName": "dictionary",
|
|
11945
|
+
"parameterTypeTokenRange": {
|
|
11946
|
+
"startIndex": 3,
|
|
11947
|
+
"endIndex": 4
|
|
11948
|
+
},
|
|
11949
|
+
"isOptional": false
|
|
11950
|
+
}
|
|
11951
|
+
],
|
|
11952
|
+
"name": "decodeScdbToRows"
|
|
11953
|
+
},
|
|
11307
11954
|
{
|
|
11308
11955
|
"kind": "Class",
|
|
11309
11956
|
"canonicalReference": "@genesislcap/foundation-comms!DefaultAuth:class",
|
|
@@ -21155,6 +21802,37 @@
|
|
|
21155
21802
|
"isOptional": false,
|
|
21156
21803
|
"isAbstract": false,
|
|
21157
21804
|
"name": "createResourcesMessage"
|
|
21805
|
+
},
|
|
21806
|
+
{
|
|
21807
|
+
"kind": "Property",
|
|
21808
|
+
"canonicalReference": "@genesislcap/foundation-comms!DefaultMessageBuilder#scdbEncoding:member",
|
|
21809
|
+
"docComment": "/**\n * Columnar payload encoding to request on DATA_LOGON via `DETAILS.ENCODING` (`'SCDB_V1'` binary, `'SCDBJ_V1'` json-columnar). Undefined => legacy row mode. A per-request `params.ENCODING` overrides this default.\n */\n",
|
|
21810
|
+
"excerptTokens": [
|
|
21811
|
+
{
|
|
21812
|
+
"kind": "Content",
|
|
21813
|
+
"text": "scdbEncoding?: "
|
|
21814
|
+
},
|
|
21815
|
+
{
|
|
21816
|
+
"kind": "Reference",
|
|
21817
|
+
"text": "ScdbEncoding",
|
|
21818
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
21819
|
+
},
|
|
21820
|
+
{
|
|
21821
|
+
"kind": "Content",
|
|
21822
|
+
"text": ";"
|
|
21823
|
+
}
|
|
21824
|
+
],
|
|
21825
|
+
"isReadonly": false,
|
|
21826
|
+
"isOptional": true,
|
|
21827
|
+
"releaseTag": "Public",
|
|
21828
|
+
"name": "scdbEncoding",
|
|
21829
|
+
"propertyTypeTokenRange": {
|
|
21830
|
+
"startIndex": 1,
|
|
21831
|
+
"endIndex": 2
|
|
21832
|
+
},
|
|
21833
|
+
"isStatic": false,
|
|
21834
|
+
"isProtected": false,
|
|
21835
|
+
"isAbstract": false
|
|
21158
21836
|
}
|
|
21159
21837
|
],
|
|
21160
21838
|
"implementsTokenRanges": [
|
|
@@ -24039,6 +24717,63 @@
|
|
|
24039
24717
|
"isAbstract": false,
|
|
24040
24718
|
"name": "sendForStreamWithoutTeardown"
|
|
24041
24719
|
},
|
|
24720
|
+
{
|
|
24721
|
+
"kind": "Method",
|
|
24722
|
+
"canonicalReference": "@genesislcap/foundation-comms!DefaultSocket#setScdbMetadataRefresher:member(1)",
|
|
24723
|
+
"docComment": "/**\n * Wires the SCDB decoder's metadata-refresh hook, used to fetch a resource's missing or stale metadata. The host passes a force-refresh, e.g. `Connect.getMetadata(resource, false)`.\n */\n",
|
|
24724
|
+
"excerptTokens": [
|
|
24725
|
+
{
|
|
24726
|
+
"kind": "Content",
|
|
24727
|
+
"text": "setScdbMetadataRefresher(refresher: "
|
|
24728
|
+
},
|
|
24729
|
+
{
|
|
24730
|
+
"kind": "Content",
|
|
24731
|
+
"text": "(resourceName: string) => void | "
|
|
24732
|
+
},
|
|
24733
|
+
{
|
|
24734
|
+
"kind": "Reference",
|
|
24735
|
+
"text": "Promise",
|
|
24736
|
+
"canonicalReference": "!Promise:interface"
|
|
24737
|
+
},
|
|
24738
|
+
{
|
|
24739
|
+
"kind": "Content",
|
|
24740
|
+
"text": "<unknown>"
|
|
24741
|
+
},
|
|
24742
|
+
{
|
|
24743
|
+
"kind": "Content",
|
|
24744
|
+
"text": "): "
|
|
24745
|
+
},
|
|
24746
|
+
{
|
|
24747
|
+
"kind": "Content",
|
|
24748
|
+
"text": "void"
|
|
24749
|
+
},
|
|
24750
|
+
{
|
|
24751
|
+
"kind": "Content",
|
|
24752
|
+
"text": ";"
|
|
24753
|
+
}
|
|
24754
|
+
],
|
|
24755
|
+
"isStatic": false,
|
|
24756
|
+
"returnTypeTokenRange": {
|
|
24757
|
+
"startIndex": 5,
|
|
24758
|
+
"endIndex": 6
|
|
24759
|
+
},
|
|
24760
|
+
"releaseTag": "Public",
|
|
24761
|
+
"isProtected": false,
|
|
24762
|
+
"overloadIndex": 1,
|
|
24763
|
+
"parameters": [
|
|
24764
|
+
{
|
|
24765
|
+
"parameterName": "refresher",
|
|
24766
|
+
"parameterTypeTokenRange": {
|
|
24767
|
+
"startIndex": 1,
|
|
24768
|
+
"endIndex": 4
|
|
24769
|
+
},
|
|
24770
|
+
"isOptional": false
|
|
24771
|
+
}
|
|
24772
|
+
],
|
|
24773
|
+
"isOptional": false,
|
|
24774
|
+
"isAbstract": false,
|
|
24775
|
+
"name": "setScdbMetadataRefresher"
|
|
24776
|
+
},
|
|
24042
24777
|
{
|
|
24043
24778
|
"kind": "Property",
|
|
24044
24779
|
"canonicalReference": "@genesislcap/foundation-comms!DefaultSocket#socketMessages:member",
|
|
@@ -24729,6 +25464,123 @@
|
|
|
24729
25464
|
}
|
|
24730
25465
|
]
|
|
24731
25466
|
},
|
|
25467
|
+
{
|
|
25468
|
+
"kind": "Function",
|
|
25469
|
+
"canonicalReference": "@genesislcap/foundation-comms!dictionaryFromMetadata:function(1)",
|
|
25470
|
+
"docComment": "/**\n * Ordered field-name list (the SCDB dictionary) for a resource, from its metadata. The order MUST match the server's, which derives the dictionary per resource type: a DATASERVER hashes its `FIELD` list, a REQUEST_SERVER its `REPLY_FIELD` (⇒ `REPLY.FIELD`) list. Selecting by `TYPE` — rather than \"first non-null\" — matters because a metadata object can legitimately carry BOTH `FIELD` and `REPLY_FIELD`; picking the wrong one yields a hash that never matches the server's `DICT_HASH`, so no columnar message for that resource can be decoded. Falls back to a lenient scan for unknown types.\n */\n",
|
|
25471
|
+
"excerptTokens": [
|
|
25472
|
+
{
|
|
25473
|
+
"kind": "Content",
|
|
25474
|
+
"text": "export declare function dictionaryFromMetadata(metadata: "
|
|
25475
|
+
},
|
|
25476
|
+
{
|
|
25477
|
+
"kind": "Content",
|
|
25478
|
+
"text": "{\n TYPE?: string;\n FIELD?: "
|
|
25479
|
+
},
|
|
25480
|
+
{
|
|
25481
|
+
"kind": "Reference",
|
|
25482
|
+
"text": "FieldLike",
|
|
25483
|
+
"canonicalReference": "@genesislcap/foundation-comms!~FieldLike:interface"
|
|
25484
|
+
},
|
|
25485
|
+
{
|
|
25486
|
+
"kind": "Content",
|
|
25487
|
+
"text": "[];\n REPLY_FIELD?: "
|
|
25488
|
+
},
|
|
25489
|
+
{
|
|
25490
|
+
"kind": "Reference",
|
|
25491
|
+
"text": "FieldLike",
|
|
25492
|
+
"canonicalReference": "@genesislcap/foundation-comms!~FieldLike:interface"
|
|
25493
|
+
},
|
|
25494
|
+
{
|
|
25495
|
+
"kind": "Content",
|
|
25496
|
+
"text": "[];\n REPLY?: {\n FIELD?: "
|
|
25497
|
+
},
|
|
25498
|
+
{
|
|
25499
|
+
"kind": "Reference",
|
|
25500
|
+
"text": "FieldLike",
|
|
25501
|
+
"canonicalReference": "@genesislcap/foundation-comms!~FieldLike:interface"
|
|
25502
|
+
},
|
|
25503
|
+
{
|
|
25504
|
+
"kind": "Content",
|
|
25505
|
+
"text": "[];\n };\n}"
|
|
25506
|
+
},
|
|
25507
|
+
{
|
|
25508
|
+
"kind": "Content",
|
|
25509
|
+
"text": "): "
|
|
25510
|
+
},
|
|
25511
|
+
{
|
|
25512
|
+
"kind": "Content",
|
|
25513
|
+
"text": "string[]"
|
|
25514
|
+
},
|
|
25515
|
+
{
|
|
25516
|
+
"kind": "Content",
|
|
25517
|
+
"text": ";"
|
|
25518
|
+
}
|
|
25519
|
+
],
|
|
25520
|
+
"fileUrlPath": "src/datasource/scdb/dictionaryHash.ts",
|
|
25521
|
+
"returnTypeTokenRange": {
|
|
25522
|
+
"startIndex": 9,
|
|
25523
|
+
"endIndex": 10
|
|
25524
|
+
},
|
|
25525
|
+
"releaseTag": "Public",
|
|
25526
|
+
"overloadIndex": 1,
|
|
25527
|
+
"parameters": [
|
|
25528
|
+
{
|
|
25529
|
+
"parameterName": "metadata",
|
|
25530
|
+
"parameterTypeTokenRange": {
|
|
25531
|
+
"startIndex": 1,
|
|
25532
|
+
"endIndex": 8
|
|
25533
|
+
},
|
|
25534
|
+
"isOptional": false
|
|
25535
|
+
}
|
|
25536
|
+
],
|
|
25537
|
+
"name": "dictionaryFromMetadata"
|
|
25538
|
+
},
|
|
25539
|
+
{
|
|
25540
|
+
"kind": "Function",
|
|
25541
|
+
"canonicalReference": "@genesislcap/foundation-comms!dictionaryHash:function(1)",
|
|
25542
|
+
"docComment": "/**\n * FNV-1a 32-bit hash of the field names joined by '\\n', as lowercase 8-char hex. MUST match the Kotlin `ColumnDictionary.contentHash` in genesis-columnar (cross-language vector: ['QUANTITY','PRICE','SYMBOL'] -> '40e6db4f').\n *\n * Hashes UTF-16 code units (`charCodeAt`), matching Kotlin's `Char.code` — NOT the UTF-8 bytes used for on-wire strings. Field names are ASCII in practice so the two coincide; keep both ends on UTF-16 units (do not switch to UTF-8 bytes) or a non-ASCII field name would hash differently across languages.\n */\n",
|
|
25543
|
+
"excerptTokens": [
|
|
25544
|
+
{
|
|
25545
|
+
"kind": "Content",
|
|
25546
|
+
"text": "export declare function dictionaryHash(fieldNames: "
|
|
25547
|
+
},
|
|
25548
|
+
{
|
|
25549
|
+
"kind": "Content",
|
|
25550
|
+
"text": "readonly string[]"
|
|
25551
|
+
},
|
|
25552
|
+
{
|
|
25553
|
+
"kind": "Content",
|
|
25554
|
+
"text": "): "
|
|
25555
|
+
},
|
|
25556
|
+
{
|
|
25557
|
+
"kind": "Content",
|
|
25558
|
+
"text": "string"
|
|
25559
|
+
},
|
|
25560
|
+
{
|
|
25561
|
+
"kind": "Content",
|
|
25562
|
+
"text": ";"
|
|
25563
|
+
}
|
|
25564
|
+
],
|
|
25565
|
+
"fileUrlPath": "src/datasource/scdb/dictionaryHash.ts",
|
|
25566
|
+
"returnTypeTokenRange": {
|
|
25567
|
+
"startIndex": 3,
|
|
25568
|
+
"endIndex": 4
|
|
25569
|
+
},
|
|
25570
|
+
"releaseTag": "Public",
|
|
25571
|
+
"overloadIndex": 1,
|
|
25572
|
+
"parameters": [
|
|
25573
|
+
{
|
|
25574
|
+
"parameterName": "fieldNames",
|
|
25575
|
+
"parameterTypeTokenRange": {
|
|
25576
|
+
"startIndex": 1,
|
|
25577
|
+
"endIndex": 2
|
|
25578
|
+
},
|
|
25579
|
+
"isOptional": false
|
|
25580
|
+
}
|
|
25581
|
+
],
|
|
25582
|
+
"name": "dictionaryHash"
|
|
25583
|
+
},
|
|
24732
25584
|
{
|
|
24733
25585
|
"kind": "Interface",
|
|
24734
25586
|
"canonicalReference": "@genesislcap/foundation-comms!EntityDatasource:interface",
|
|
@@ -27251,6 +28103,48 @@
|
|
|
27251
28103
|
"parameters": [],
|
|
27252
28104
|
"name": "getDatasource"
|
|
27253
28105
|
},
|
|
28106
|
+
{
|
|
28107
|
+
"kind": "Function",
|
|
28108
|
+
"canonicalReference": "@genesislcap/foundation-comms!getDefaultScdbWasm:function(1)",
|
|
28109
|
+
"docComment": "/**\n * Lazily instantiates (once) the bundled decoder from inlined base64 — no asset/fetch config, works in any bundler and SSR. This is what the socket layer uses for the `SCDB_V1` fast-path. Rejects if WebAssembly is unavailable; callers fall back to the pure-JS decoder.\n */\n",
|
|
28110
|
+
"excerptTokens": [
|
|
28111
|
+
{
|
|
28112
|
+
"kind": "Content",
|
|
28113
|
+
"text": "export declare function getDefaultScdbWasm(): "
|
|
28114
|
+
},
|
|
28115
|
+
{
|
|
28116
|
+
"kind": "Reference",
|
|
28117
|
+
"text": "Promise",
|
|
28118
|
+
"canonicalReference": "!Promise:interface"
|
|
28119
|
+
},
|
|
28120
|
+
{
|
|
28121
|
+
"kind": "Content",
|
|
28122
|
+
"text": "<"
|
|
28123
|
+
},
|
|
28124
|
+
{
|
|
28125
|
+
"kind": "Reference",
|
|
28126
|
+
"text": "ScdbWasm",
|
|
28127
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbWasm:interface"
|
|
28128
|
+
},
|
|
28129
|
+
{
|
|
28130
|
+
"kind": "Content",
|
|
28131
|
+
"text": ">"
|
|
28132
|
+
},
|
|
28133
|
+
{
|
|
28134
|
+
"kind": "Content",
|
|
28135
|
+
"text": ";"
|
|
28136
|
+
}
|
|
28137
|
+
],
|
|
28138
|
+
"fileUrlPath": "src/datasource/scdb/scdbWasmDecoder.ts",
|
|
28139
|
+
"returnTypeTokenRange": {
|
|
28140
|
+
"startIndex": 1,
|
|
28141
|
+
"endIndex": 5
|
|
28142
|
+
},
|
|
28143
|
+
"releaseTag": "Public",
|
|
28144
|
+
"overloadIndex": 1,
|
|
28145
|
+
"parameters": [],
|
|
28146
|
+
"name": "getDefaultScdbWasm"
|
|
28147
|
+
},
|
|
27254
28148
|
{
|
|
27255
28149
|
"kind": "Function",
|
|
27256
28150
|
"canonicalReference": "@genesislcap/foundation-comms!getGenesisResources:function(1)",
|
|
@@ -27981,6 +28875,66 @@
|
|
|
27981
28875
|
"endIndex": 2
|
|
27982
28876
|
}
|
|
27983
28877
|
},
|
|
28878
|
+
{
|
|
28879
|
+
"kind": "Function",
|
|
28880
|
+
"canonicalReference": "@genesislcap/foundation-comms!initScdbWasm:function(1)",
|
|
28881
|
+
"docComment": "/**\n * Instantiates the decoder. Defaults to the inlined `decoder.wasm`; pass your own bytes (bundler import / fetch / fs.readFile) to override. Returns an object whose `decodeToRows` is synchronous.\n */\n",
|
|
28882
|
+
"excerptTokens": [
|
|
28883
|
+
{
|
|
28884
|
+
"kind": "Content",
|
|
28885
|
+
"text": "export declare function initScdbWasm(wasmBytes?: "
|
|
28886
|
+
},
|
|
28887
|
+
{
|
|
28888
|
+
"kind": "Reference",
|
|
28889
|
+
"text": "BufferSource",
|
|
28890
|
+
"canonicalReference": "!BufferSource:type"
|
|
28891
|
+
},
|
|
28892
|
+
{
|
|
28893
|
+
"kind": "Content",
|
|
28894
|
+
"text": "): "
|
|
28895
|
+
},
|
|
28896
|
+
{
|
|
28897
|
+
"kind": "Reference",
|
|
28898
|
+
"text": "Promise",
|
|
28899
|
+
"canonicalReference": "!Promise:interface"
|
|
28900
|
+
},
|
|
28901
|
+
{
|
|
28902
|
+
"kind": "Content",
|
|
28903
|
+
"text": "<"
|
|
28904
|
+
},
|
|
28905
|
+
{
|
|
28906
|
+
"kind": "Reference",
|
|
28907
|
+
"text": "ScdbWasm",
|
|
28908
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbWasm:interface"
|
|
28909
|
+
},
|
|
28910
|
+
{
|
|
28911
|
+
"kind": "Content",
|
|
28912
|
+
"text": ">"
|
|
28913
|
+
},
|
|
28914
|
+
{
|
|
28915
|
+
"kind": "Content",
|
|
28916
|
+
"text": ";"
|
|
28917
|
+
}
|
|
28918
|
+
],
|
|
28919
|
+
"fileUrlPath": "src/datasource/scdb/scdbWasmDecoder.ts",
|
|
28920
|
+
"returnTypeTokenRange": {
|
|
28921
|
+
"startIndex": 3,
|
|
28922
|
+
"endIndex": 7
|
|
28923
|
+
},
|
|
28924
|
+
"releaseTag": "Public",
|
|
28925
|
+
"overloadIndex": 1,
|
|
28926
|
+
"parameters": [
|
|
28927
|
+
{
|
|
28928
|
+
"parameterName": "wasmBytes",
|
|
28929
|
+
"parameterTypeTokenRange": {
|
|
28930
|
+
"startIndex": 1,
|
|
28931
|
+
"endIndex": 2
|
|
28932
|
+
},
|
|
28933
|
+
"isOptional": true
|
|
28934
|
+
}
|
|
28935
|
+
],
|
|
28936
|
+
"name": "initScdbWasm"
|
|
28937
|
+
},
|
|
27984
28938
|
{
|
|
27985
28939
|
"kind": "Variable",
|
|
27986
28940
|
"canonicalReference": "@genesislcap/foundation-comms!isWebSocketExpression:var",
|
|
@@ -30654,6 +31608,34 @@
|
|
|
30654
31608
|
}
|
|
30655
31609
|
],
|
|
30656
31610
|
"name": "createResourcesMessage"
|
|
31611
|
+
},
|
|
31612
|
+
{
|
|
31613
|
+
"kind": "PropertySignature",
|
|
31614
|
+
"canonicalReference": "@genesislcap/foundation-comms!MessageBuilder#scdbEncoding:member",
|
|
31615
|
+
"docComment": "/**\n * Columnar payload encoding to request on DATA_LOGON (`'SCDB_V1'` | `'SCDBJ_V1'`). Undefined => legacy row mode. Normally set from `ConnectConfig.connect.dataserverEncoding`.\n */\n",
|
|
31616
|
+
"excerptTokens": [
|
|
31617
|
+
{
|
|
31618
|
+
"kind": "Content",
|
|
31619
|
+
"text": "scdbEncoding?: "
|
|
31620
|
+
},
|
|
31621
|
+
{
|
|
31622
|
+
"kind": "Reference",
|
|
31623
|
+
"text": "ScdbEncoding",
|
|
31624
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
31625
|
+
},
|
|
31626
|
+
{
|
|
31627
|
+
"kind": "Content",
|
|
31628
|
+
"text": ";"
|
|
31629
|
+
}
|
|
31630
|
+
],
|
|
31631
|
+
"isReadonly": false,
|
|
31632
|
+
"isOptional": true,
|
|
31633
|
+
"releaseTag": "Public",
|
|
31634
|
+
"name": "scdbEncoding",
|
|
31635
|
+
"propertyTypeTokenRange": {
|
|
31636
|
+
"startIndex": 1,
|
|
31637
|
+
"endIndex": 2
|
|
31638
|
+
}
|
|
30657
31639
|
}
|
|
30658
31640
|
],
|
|
30659
31641
|
"extendsTokenRanges": []
|
|
@@ -30768,7 +31750,16 @@
|
|
|
30768
31750
|
},
|
|
30769
31751
|
{
|
|
30770
31752
|
"kind": "Content",
|
|
30771
|
-
"text": "{\n DATASOURCE_NAME: string;\n
|
|
31753
|
+
"text": "{\n DATASOURCE_NAME: string;\n ENCODING?: "
|
|
31754
|
+
},
|
|
31755
|
+
{
|
|
31756
|
+
"kind": "Reference",
|
|
31757
|
+
"text": "ScdbEncoding",
|
|
31758
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
31759
|
+
},
|
|
31760
|
+
{
|
|
31761
|
+
"kind": "Content",
|
|
31762
|
+
"text": ";\n }"
|
|
30772
31763
|
},
|
|
30773
31764
|
{
|
|
30774
31765
|
"kind": "Content",
|
|
@@ -30779,7 +31770,7 @@
|
|
|
30779
31770
|
"name": "DataserverRequest",
|
|
30780
31771
|
"typeTokenRange": {
|
|
30781
31772
|
"startIndex": 1,
|
|
30782
|
-
"endIndex":
|
|
31773
|
+
"endIndex": 4
|
|
30783
31774
|
}
|
|
30784
31775
|
},
|
|
30785
31776
|
{
|
|
@@ -33752,7 +34743,16 @@
|
|
|
33752
34743
|
},
|
|
33753
34744
|
{
|
|
33754
34745
|
"kind": "Content",
|
|
33755
|
-
"text": "{\n CRITERIA_MATCH?: string;\n MAX_ROWS?: number;\n OFFSET?: number;\n ORDER_BY?: string;\n VIEW_NUMBER?: number;\n
|
|
34746
|
+
"text": "{\n CRITERIA_MATCH?: string;\n MAX_ROWS?: number;\n OFFSET?: number;\n ORDER_BY?: string;\n VIEW_NUMBER?: number;\n ENCODING?: "
|
|
34747
|
+
},
|
|
34748
|
+
{
|
|
34749
|
+
"kind": "Reference",
|
|
34750
|
+
"text": "ScdbEncoding",
|
|
34751
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
34752
|
+
},
|
|
34753
|
+
{
|
|
34754
|
+
"kind": "Content",
|
|
34755
|
+
"text": ";\n}"
|
|
33756
34756
|
},
|
|
33757
34757
|
{
|
|
33758
34758
|
"kind": "Content",
|
|
@@ -33764,7 +34764,7 @@
|
|
|
33764
34764
|
"name": "RequestDetailsParam",
|
|
33765
34765
|
"typeTokenRange": {
|
|
33766
34766
|
"startIndex": 1,
|
|
33767
|
-
"endIndex":
|
|
34767
|
+
"endIndex": 4
|
|
33768
34768
|
}
|
|
33769
34769
|
},
|
|
33770
34770
|
{
|
|
@@ -34270,6 +35270,388 @@
|
|
|
34270
35270
|
"endIndex": 2
|
|
34271
35271
|
}
|
|
34272
35272
|
},
|
|
35273
|
+
{
|
|
35274
|
+
"kind": "TypeAlias",
|
|
35275
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type",
|
|
35276
|
+
"docComment": "/**\n * The columnar wire encodings a client can negotiate via `DETAILS.ENCODING` (absent = legacy row mode).\n */\n",
|
|
35277
|
+
"excerptTokens": [
|
|
35278
|
+
{
|
|
35279
|
+
"kind": "Content",
|
|
35280
|
+
"text": "export type ScdbEncoding = "
|
|
35281
|
+
},
|
|
35282
|
+
{
|
|
35283
|
+
"kind": "Content",
|
|
35284
|
+
"text": "'SCDB_V1' | 'SCDBJ_V1'"
|
|
35285
|
+
},
|
|
35286
|
+
{
|
|
35287
|
+
"kind": "Content",
|
|
35288
|
+
"text": ";"
|
|
35289
|
+
}
|
|
35290
|
+
],
|
|
35291
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecode.ts",
|
|
35292
|
+
"releaseTag": "Public",
|
|
35293
|
+
"name": "ScdbEncoding",
|
|
35294
|
+
"typeTokenRange": {
|
|
35295
|
+
"startIndex": 1,
|
|
35296
|
+
"endIndex": 2
|
|
35297
|
+
}
|
|
35298
|
+
},
|
|
35299
|
+
{
|
|
35300
|
+
"kind": "Interface",
|
|
35301
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload:interface",
|
|
35302
|
+
"docComment": "/**\n * SCDBJ (JSON-columnar) decoder.\n *\n * The no-WASM peer of the binary `scdbDecoder`. The server sends a `QUERY_UPDATE` whose payload is a plain JSON object (decoded for free by the existing envelope `JSON.parse`); this transposes it back into the legacy `ROW` array of row objects that ag-Grid consumes. Because native `JSON.parse` does the bulk work and only the transpose is JS, this is at parity with row-JSON on a full snapshot and faster on deltas, while being ~2x smaller on the wire (no repeated field-name keys).\n *\n * Wire shape (short keys; see genesis-columnar/docs/scdb-v1.md): { n, r:[rowRef strings], o: opCode | [opCodes], c:[ { i:colId, x?:[presentIdx], v:[values] } ] } `x` omitted => dense column. Values are aligned to the present cells; a `null` entry is an explicit change-to-null. Column ids index the metadata-derived dictionary.\n */\n",
|
|
35303
|
+
"excerptTokens": [
|
|
35304
|
+
{
|
|
35305
|
+
"kind": "Content",
|
|
35306
|
+
"text": "export interface ScdbjPayload "
|
|
35307
|
+
}
|
|
35308
|
+
],
|
|
35309
|
+
"fileUrlPath": "src/datasource/scdb/scdbjDecoder.ts",
|
|
35310
|
+
"releaseTag": "Public",
|
|
35311
|
+
"name": "ScdbjPayload",
|
|
35312
|
+
"preserveMemberOrder": false,
|
|
35313
|
+
"members": [
|
|
35314
|
+
{
|
|
35315
|
+
"kind": "PropertySignature",
|
|
35316
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload#c:member",
|
|
35317
|
+
"docComment": "",
|
|
35318
|
+
"excerptTokens": [
|
|
35319
|
+
{
|
|
35320
|
+
"kind": "Content",
|
|
35321
|
+
"text": "c: "
|
|
35322
|
+
},
|
|
35323
|
+
{
|
|
35324
|
+
"kind": "Reference",
|
|
35325
|
+
"text": "Array",
|
|
35326
|
+
"canonicalReference": "!Array:interface"
|
|
35327
|
+
},
|
|
35328
|
+
{
|
|
35329
|
+
"kind": "Content",
|
|
35330
|
+
"text": "<{\n i: number;\n x?: number[];\n v: unknown[];\n }>"
|
|
35331
|
+
},
|
|
35332
|
+
{
|
|
35333
|
+
"kind": "Content",
|
|
35334
|
+
"text": ";"
|
|
35335
|
+
}
|
|
35336
|
+
],
|
|
35337
|
+
"isReadonly": false,
|
|
35338
|
+
"isOptional": false,
|
|
35339
|
+
"releaseTag": "Public",
|
|
35340
|
+
"name": "c",
|
|
35341
|
+
"propertyTypeTokenRange": {
|
|
35342
|
+
"startIndex": 1,
|
|
35343
|
+
"endIndex": 3
|
|
35344
|
+
}
|
|
35345
|
+
},
|
|
35346
|
+
{
|
|
35347
|
+
"kind": "PropertySignature",
|
|
35348
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload#n:member",
|
|
35349
|
+
"docComment": "",
|
|
35350
|
+
"excerptTokens": [
|
|
35351
|
+
{
|
|
35352
|
+
"kind": "Content",
|
|
35353
|
+
"text": "n: "
|
|
35354
|
+
},
|
|
35355
|
+
{
|
|
35356
|
+
"kind": "Content",
|
|
35357
|
+
"text": "number"
|
|
35358
|
+
},
|
|
35359
|
+
{
|
|
35360
|
+
"kind": "Content",
|
|
35361
|
+
"text": ";"
|
|
35362
|
+
}
|
|
35363
|
+
],
|
|
35364
|
+
"isReadonly": false,
|
|
35365
|
+
"isOptional": false,
|
|
35366
|
+
"releaseTag": "Public",
|
|
35367
|
+
"name": "n",
|
|
35368
|
+
"propertyTypeTokenRange": {
|
|
35369
|
+
"startIndex": 1,
|
|
35370
|
+
"endIndex": 2
|
|
35371
|
+
}
|
|
35372
|
+
},
|
|
35373
|
+
{
|
|
35374
|
+
"kind": "PropertySignature",
|
|
35375
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload#o:member",
|
|
35376
|
+
"docComment": "",
|
|
35377
|
+
"excerptTokens": [
|
|
35378
|
+
{
|
|
35379
|
+
"kind": "Content",
|
|
35380
|
+
"text": "o: "
|
|
35381
|
+
},
|
|
35382
|
+
{
|
|
35383
|
+
"kind": "Content",
|
|
35384
|
+
"text": "number | number[]"
|
|
35385
|
+
},
|
|
35386
|
+
{
|
|
35387
|
+
"kind": "Content",
|
|
35388
|
+
"text": ";"
|
|
35389
|
+
}
|
|
35390
|
+
],
|
|
35391
|
+
"isReadonly": false,
|
|
35392
|
+
"isOptional": false,
|
|
35393
|
+
"releaseTag": "Public",
|
|
35394
|
+
"name": "o",
|
|
35395
|
+
"propertyTypeTokenRange": {
|
|
35396
|
+
"startIndex": 1,
|
|
35397
|
+
"endIndex": 2
|
|
35398
|
+
}
|
|
35399
|
+
},
|
|
35400
|
+
{
|
|
35401
|
+
"kind": "PropertySignature",
|
|
35402
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbjPayload#r:member",
|
|
35403
|
+
"docComment": "",
|
|
35404
|
+
"excerptTokens": [
|
|
35405
|
+
{
|
|
35406
|
+
"kind": "Content",
|
|
35407
|
+
"text": "r: "
|
|
35408
|
+
},
|
|
35409
|
+
{
|
|
35410
|
+
"kind": "Content",
|
|
35411
|
+
"text": "string[]"
|
|
35412
|
+
},
|
|
35413
|
+
{
|
|
35414
|
+
"kind": "Content",
|
|
35415
|
+
"text": ";"
|
|
35416
|
+
}
|
|
35417
|
+
],
|
|
35418
|
+
"isReadonly": false,
|
|
35419
|
+
"isOptional": false,
|
|
35420
|
+
"releaseTag": "Public",
|
|
35421
|
+
"name": "r",
|
|
35422
|
+
"propertyTypeTokenRange": {
|
|
35423
|
+
"startIndex": 1,
|
|
35424
|
+
"endIndex": 2
|
|
35425
|
+
}
|
|
35426
|
+
}
|
|
35427
|
+
],
|
|
35428
|
+
"extendsTokenRanges": []
|
|
35429
|
+
},
|
|
35430
|
+
{
|
|
35431
|
+
"kind": "TypeAlias",
|
|
35432
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbOperation:type",
|
|
35433
|
+
"docComment": "/**\n * SCDB v1 (Sparse Columnar Delta Block) decoder.\n *\n * Decodes the binary `RBUF` payload that a Genesis dataserver sends when a client negotiates `DETAILS.ENCODING = SCDB_V1`. The wire format is defined, language-neutrally, in the server repo at `genesis-columnar/docs/scdb-v1.md` and is pinned by the shared golden vectors in `scdb-golden-v1.json` (this directory). The Kotlin `ScdbReader` is the reference implementation; this decoder must stay byte-for-byte compatible with it.\n *\n * Performance notes (see scdb-js-bench.mjs): - single pass straight into the output objects — no per-column intermediate arrays; - dense columns (flagged by the encoder) skip the presence bitmap and the per-row presence test; - varints decode in Number space (exact for |v| < 2^53), using BigInt only past 49 bits; - strings take a manual ASCII fast-path (TextDecoder has a fixed per-call overhead).\n *\n * Browser contract: - operates over the `Uint8Array` the existing msgpack envelope decoder already produces for `RBUF`; - `ROW_REF` decodes to a `string` (sent as decimal text) — matches the existing contract, no BigInt; - 64-bit LONG *values* decode to `number` when safe, else `bigint` (the customNumberParser rule).\n */\n",
|
|
35434
|
+
"excerptTokens": [
|
|
35435
|
+
{
|
|
35436
|
+
"kind": "Content",
|
|
35437
|
+
"text": "export type ScdbOperation = "
|
|
35438
|
+
},
|
|
35439
|
+
{
|
|
35440
|
+
"kind": "Content",
|
|
35441
|
+
"text": "'INSERT' | 'MODIFY' | 'DELETE'"
|
|
35442
|
+
},
|
|
35443
|
+
{
|
|
35444
|
+
"kind": "Content",
|
|
35445
|
+
"text": ";"
|
|
35446
|
+
}
|
|
35447
|
+
],
|
|
35448
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecoder.ts",
|
|
35449
|
+
"releaseTag": "Public",
|
|
35450
|
+
"name": "ScdbOperation",
|
|
35451
|
+
"typeTokenRange": {
|
|
35452
|
+
"startIndex": 1,
|
|
35453
|
+
"endIndex": 2
|
|
35454
|
+
}
|
|
35455
|
+
},
|
|
35456
|
+
{
|
|
35457
|
+
"kind": "Interface",
|
|
35458
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbRecord:interface",
|
|
35459
|
+
"docComment": "/**\n * A decoded delta row. `cells` contains only changed fields; an explicit `null` is change-to-null.\n */\n",
|
|
35460
|
+
"excerptTokens": [
|
|
35461
|
+
{
|
|
35462
|
+
"kind": "Content",
|
|
35463
|
+
"text": "export interface ScdbRecord "
|
|
35464
|
+
}
|
|
35465
|
+
],
|
|
35466
|
+
"fileUrlPath": "src/datasource/scdb/scdbDecoder.ts",
|
|
35467
|
+
"releaseTag": "Public",
|
|
35468
|
+
"name": "ScdbRecord",
|
|
35469
|
+
"preserveMemberOrder": false,
|
|
35470
|
+
"members": [
|
|
35471
|
+
{
|
|
35472
|
+
"kind": "PropertySignature",
|
|
35473
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbRecord#cells:member",
|
|
35474
|
+
"docComment": "",
|
|
35475
|
+
"excerptTokens": [
|
|
35476
|
+
{
|
|
35477
|
+
"kind": "Content",
|
|
35478
|
+
"text": "cells: "
|
|
35479
|
+
},
|
|
35480
|
+
{
|
|
35481
|
+
"kind": "Reference",
|
|
35482
|
+
"text": "Record",
|
|
35483
|
+
"canonicalReference": "!Record:type"
|
|
35484
|
+
},
|
|
35485
|
+
{
|
|
35486
|
+
"kind": "Content",
|
|
35487
|
+
"text": "<string, unknown>"
|
|
35488
|
+
},
|
|
35489
|
+
{
|
|
35490
|
+
"kind": "Content",
|
|
35491
|
+
"text": ";"
|
|
35492
|
+
}
|
|
35493
|
+
],
|
|
35494
|
+
"isReadonly": false,
|
|
35495
|
+
"isOptional": false,
|
|
35496
|
+
"releaseTag": "Public",
|
|
35497
|
+
"name": "cells",
|
|
35498
|
+
"propertyTypeTokenRange": {
|
|
35499
|
+
"startIndex": 1,
|
|
35500
|
+
"endIndex": 3
|
|
35501
|
+
}
|
|
35502
|
+
},
|
|
35503
|
+
{
|
|
35504
|
+
"kind": "PropertySignature",
|
|
35505
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbRecord#operation:member",
|
|
35506
|
+
"docComment": "",
|
|
35507
|
+
"excerptTokens": [
|
|
35508
|
+
{
|
|
35509
|
+
"kind": "Content",
|
|
35510
|
+
"text": "operation: "
|
|
35511
|
+
},
|
|
35512
|
+
{
|
|
35513
|
+
"kind": "Reference",
|
|
35514
|
+
"text": "ScdbOperation",
|
|
35515
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbOperation:type"
|
|
35516
|
+
},
|
|
35517
|
+
{
|
|
35518
|
+
"kind": "Content",
|
|
35519
|
+
"text": ";"
|
|
35520
|
+
}
|
|
35521
|
+
],
|
|
35522
|
+
"isReadonly": false,
|
|
35523
|
+
"isOptional": false,
|
|
35524
|
+
"releaseTag": "Public",
|
|
35525
|
+
"name": "operation",
|
|
35526
|
+
"propertyTypeTokenRange": {
|
|
35527
|
+
"startIndex": 1,
|
|
35528
|
+
"endIndex": 2
|
|
35529
|
+
}
|
|
35530
|
+
},
|
|
35531
|
+
{
|
|
35532
|
+
"kind": "PropertySignature",
|
|
35533
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbRecord#rowRef:member",
|
|
35534
|
+
"docComment": "",
|
|
35535
|
+
"excerptTokens": [
|
|
35536
|
+
{
|
|
35537
|
+
"kind": "Content",
|
|
35538
|
+
"text": "rowRef: "
|
|
35539
|
+
},
|
|
35540
|
+
{
|
|
35541
|
+
"kind": "Content",
|
|
35542
|
+
"text": "string"
|
|
35543
|
+
},
|
|
35544
|
+
{
|
|
35545
|
+
"kind": "Content",
|
|
35546
|
+
"text": ";"
|
|
35547
|
+
}
|
|
35548
|
+
],
|
|
35549
|
+
"isReadonly": false,
|
|
35550
|
+
"isOptional": false,
|
|
35551
|
+
"releaseTag": "Public",
|
|
35552
|
+
"name": "rowRef",
|
|
35553
|
+
"propertyTypeTokenRange": {
|
|
35554
|
+
"startIndex": 1,
|
|
35555
|
+
"endIndex": 2
|
|
35556
|
+
}
|
|
35557
|
+
}
|
|
35558
|
+
],
|
|
35559
|
+
"extendsTokenRanges": []
|
|
35560
|
+
},
|
|
35561
|
+
{
|
|
35562
|
+
"kind": "Interface",
|
|
35563
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbWasm:interface",
|
|
35564
|
+
"docComment": "/**\n * WASM fast-path decoder for the binary SCDB (`SCDB_V1`) payload.\n *\n * Instantiates the AssemblyScript decoder (`wasm/decoder.wasm`), which parses the binary blob at near-native speed into a columnar result in linear memory; this module then assembles the legacy `ROW` array of objects that ag-Grid consumes. Measured ~1.5x faster than native `JSON.parse` on a full snapshot and ~2.5x on deltas, while the payload stays ~3x smaller on the wire. See `wasm/README.md` and the benchmark for numbers.\n *\n * If wasm is unavailable (or instantiation fails), callers fall back to the pure-JS `decodeScdbToRows` from `scdbDecoder.ts` — same output, no toolchain.\n */\n",
|
|
35565
|
+
"excerptTokens": [
|
|
35566
|
+
{
|
|
35567
|
+
"kind": "Content",
|
|
35568
|
+
"text": "export interface ScdbWasm "
|
|
35569
|
+
}
|
|
35570
|
+
],
|
|
35571
|
+
"fileUrlPath": "src/datasource/scdb/scdbWasmDecoder.ts",
|
|
35572
|
+
"releaseTag": "Public",
|
|
35573
|
+
"name": "ScdbWasm",
|
|
35574
|
+
"preserveMemberOrder": false,
|
|
35575
|
+
"members": [
|
|
35576
|
+
{
|
|
35577
|
+
"kind": "MethodSignature",
|
|
35578
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbWasm#decodeToRows:member(1)",
|
|
35579
|
+
"docComment": "",
|
|
35580
|
+
"excerptTokens": [
|
|
35581
|
+
{
|
|
35582
|
+
"kind": "Content",
|
|
35583
|
+
"text": "decodeToRows(blob: "
|
|
35584
|
+
},
|
|
35585
|
+
{
|
|
35586
|
+
"kind": "Reference",
|
|
35587
|
+
"text": "Uint8Array",
|
|
35588
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
35589
|
+
},
|
|
35590
|
+
{
|
|
35591
|
+
"kind": "Content",
|
|
35592
|
+
"text": ", dictionary: "
|
|
35593
|
+
},
|
|
35594
|
+
{
|
|
35595
|
+
"kind": "Content",
|
|
35596
|
+
"text": "readonly string[]"
|
|
35597
|
+
},
|
|
35598
|
+
{
|
|
35599
|
+
"kind": "Content",
|
|
35600
|
+
"text": "): "
|
|
35601
|
+
},
|
|
35602
|
+
{
|
|
35603
|
+
"kind": "Reference",
|
|
35604
|
+
"text": "Array",
|
|
35605
|
+
"canonicalReference": "!Array:interface"
|
|
35606
|
+
},
|
|
35607
|
+
{
|
|
35608
|
+
"kind": "Content",
|
|
35609
|
+
"text": "<"
|
|
35610
|
+
},
|
|
35611
|
+
{
|
|
35612
|
+
"kind": "Reference",
|
|
35613
|
+
"text": "Record",
|
|
35614
|
+
"canonicalReference": "!Record:type"
|
|
35615
|
+
},
|
|
35616
|
+
{
|
|
35617
|
+
"kind": "Content",
|
|
35618
|
+
"text": "<string, unknown>>"
|
|
35619
|
+
},
|
|
35620
|
+
{
|
|
35621
|
+
"kind": "Content",
|
|
35622
|
+
"text": ";"
|
|
35623
|
+
}
|
|
35624
|
+
],
|
|
35625
|
+
"isOptional": false,
|
|
35626
|
+
"returnTypeTokenRange": {
|
|
35627
|
+
"startIndex": 5,
|
|
35628
|
+
"endIndex": 9
|
|
35629
|
+
},
|
|
35630
|
+
"releaseTag": "Public",
|
|
35631
|
+
"overloadIndex": 1,
|
|
35632
|
+
"parameters": [
|
|
35633
|
+
{
|
|
35634
|
+
"parameterName": "blob",
|
|
35635
|
+
"parameterTypeTokenRange": {
|
|
35636
|
+
"startIndex": 1,
|
|
35637
|
+
"endIndex": 2
|
|
35638
|
+
},
|
|
35639
|
+
"isOptional": false
|
|
35640
|
+
},
|
|
35641
|
+
{
|
|
35642
|
+
"parameterName": "dictionary",
|
|
35643
|
+
"parameterTypeTokenRange": {
|
|
35644
|
+
"startIndex": 3,
|
|
35645
|
+
"endIndex": 4
|
|
35646
|
+
},
|
|
35647
|
+
"isOptional": false
|
|
35648
|
+
}
|
|
35649
|
+
],
|
|
35650
|
+
"name": "decodeToRows"
|
|
35651
|
+
}
|
|
35652
|
+
],
|
|
35653
|
+
"extendsTokenRanges": []
|
|
35654
|
+
},
|
|
34273
35655
|
{
|
|
34274
35656
|
"kind": "TypeAlias",
|
|
34275
35657
|
"canonicalReference": "@genesislcap/foundation-comms!SchemaResponse:type",
|
|
@@ -36273,6 +37655,60 @@
|
|
|
36273
37655
|
],
|
|
36274
37656
|
"name": "sendForStreamWithoutTeardown"
|
|
36275
37657
|
},
|
|
37658
|
+
{
|
|
37659
|
+
"kind": "MethodSignature",
|
|
37660
|
+
"canonicalReference": "@genesislcap/foundation-comms!Socket#setScdbMetadataRefresher:member(1)",
|
|
37661
|
+
"docComment": "/**\n * Wires a metadata-refresh hook for the SCDB columnar decoder, used to fetch a resource's missing or stale metadata (e.g. `getMetadata(r, false)`).\n */\n",
|
|
37662
|
+
"excerptTokens": [
|
|
37663
|
+
{
|
|
37664
|
+
"kind": "Content",
|
|
37665
|
+
"text": "setScdbMetadataRefresher?(refresher: "
|
|
37666
|
+
},
|
|
37667
|
+
{
|
|
37668
|
+
"kind": "Content",
|
|
37669
|
+
"text": "(resourceName: string) => void | "
|
|
37670
|
+
},
|
|
37671
|
+
{
|
|
37672
|
+
"kind": "Reference",
|
|
37673
|
+
"text": "Promise",
|
|
37674
|
+
"canonicalReference": "!Promise:interface"
|
|
37675
|
+
},
|
|
37676
|
+
{
|
|
37677
|
+
"kind": "Content",
|
|
37678
|
+
"text": "<unknown>"
|
|
37679
|
+
},
|
|
37680
|
+
{
|
|
37681
|
+
"kind": "Content",
|
|
37682
|
+
"text": "): "
|
|
37683
|
+
},
|
|
37684
|
+
{
|
|
37685
|
+
"kind": "Content",
|
|
37686
|
+
"text": "void"
|
|
37687
|
+
},
|
|
37688
|
+
{
|
|
37689
|
+
"kind": "Content",
|
|
37690
|
+
"text": ";"
|
|
37691
|
+
}
|
|
37692
|
+
],
|
|
37693
|
+
"isOptional": true,
|
|
37694
|
+
"returnTypeTokenRange": {
|
|
37695
|
+
"startIndex": 5,
|
|
37696
|
+
"endIndex": 6
|
|
37697
|
+
},
|
|
37698
|
+
"releaseTag": "Public",
|
|
37699
|
+
"overloadIndex": 1,
|
|
37700
|
+
"parameters": [
|
|
37701
|
+
{
|
|
37702
|
+
"parameterName": "refresher",
|
|
37703
|
+
"parameterTypeTokenRange": {
|
|
37704
|
+
"startIndex": 1,
|
|
37705
|
+
"endIndex": 4
|
|
37706
|
+
},
|
|
37707
|
+
"isOptional": false
|
|
37708
|
+
}
|
|
37709
|
+
],
|
|
37710
|
+
"name": "setScdbMetadataRefresher"
|
|
37711
|
+
},
|
|
36276
37712
|
{
|
|
36277
37713
|
"kind": "MethodSignature",
|
|
36278
37714
|
"canonicalReference": "@genesislcap/foundation-comms!Socket#socketMessages:member(1)",
|
|
@@ -36370,7 +37806,16 @@
|
|
|
36370
37806
|
},
|
|
36371
37807
|
{
|
|
36372
37808
|
"kind": "Content",
|
|
36373
|
-
"text": ") => void;\n proxyPath?: string;\n
|
|
37809
|
+
"text": ") => void;\n proxyPath?: string;\n dataserverEncoding?: "
|
|
37810
|
+
},
|
|
37811
|
+
{
|
|
37812
|
+
"kind": "Reference",
|
|
37813
|
+
"text": "ScdbEncoding",
|
|
37814
|
+
"canonicalReference": "@genesislcap/foundation-comms!ScdbEncoding:type"
|
|
37815
|
+
},
|
|
37816
|
+
{
|
|
37817
|
+
"kind": "Content",
|
|
37818
|
+
"text": ";\n}"
|
|
36374
37819
|
},
|
|
36375
37820
|
{
|
|
36376
37821
|
"kind": "Content",
|
|
@@ -36382,7 +37827,7 @@
|
|
|
36382
37827
|
"name": "SocketConnectOptions",
|
|
36383
37828
|
"typeTokenRange": {
|
|
36384
37829
|
"startIndex": 1,
|
|
36385
|
-
"endIndex":
|
|
37830
|
+
"endIndex": 12
|
|
36386
37831
|
}
|
|
36387
37832
|
},
|
|
36388
37833
|
{
|