@dpuse/dpuse-shared 1.0.155 → 1.0.159
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/README.md +6 -6
- package/dist/dpuse-shared.es.js +25 -16
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/component/module/connector/connectorConfig.schema.d.ts +2 -2
- package/dist/types/src/component/module/connector/index.d.ts +49 -8
- package/dist/types/src/component/module/connector/objectParsing.d.ts +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -241,13 +241,13 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
241
241
|
|
|
242
242
|
| Chunk/Module/File | Composition |
|
|
243
243
|
| :-------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- |
|
|
244
|
-
| **dist/dpuse-shared.es.js** | 59.
|
|
245
|
-
| src → index.ts + 13 more | `███████████████░░░░░` 76.
|
|
246
|
-
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 36.
|
|
247
|
-
| ↳ dataFormatIcons.ts | `▒▒▒▒▒░░░░░░░░░░░░░░░`
|
|
248
|
-
| ↳ objectParsing.ts | `▒░░░░░░░░░░░░░░░░░░░`
|
|
244
|
+
| **dist/dpuse-shared.es.js** | 59.4 kB · gzip 17.1 kB · 100.0% of the build |
|
|
245
|
+
| src → index.ts + 13 more | `███████████████░░░░░` 76.7% · 45.5 kB |
|
|
246
|
+
| ↳ index.ts | `▒▒▒▒▒▒▒░░░░░░░░░░░░░` 36.5% · 21.7 kB |
|
|
247
|
+
| ↳ dataFormatIcons.ts | `▒▒▒▒▒░░░░░░░░░░░░░░░` 25.9% · 15.4 kB |
|
|
248
|
+
| ↳ objectParsing.ts | `▒░░░░░░░░░░░░░░░░░░░` 4.9% · 2.9 kB |
|
|
249
249
|
| ↳ delimitedText.ts | `▒░░░░░░░░░░░░░░░░░░░` 2.6% · 1.6 kB |
|
|
250
|
-
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.
|
|
250
|
+
| ↳ connectorConfig.schema.ts | `░░░░░░░░░░░░░░░░░░░░` 2.2% · 1.3 kB |
|
|
251
251
|
| ↳ 9 smaller files | `▒░░░░░░░░░░░░░░░░░░░` 4.6% · 2.7 kB |
|
|
252
252
|
| valibot → dist/index.mjs | `███░░░░░░░░░░░░░░░░░` 12.8% · 7.6 kB |
|
|
253
253
|
| (bundler output, whitespace & JSON) | `██░░░░░░░░░░░░░░░░░░` 10.5% · 6.2 kB |
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -599,6 +599,7 @@ var O = {
|
|
|
599
599
|
var me = T([
|
|
600
600
|
"abortOperation",
|
|
601
601
|
"auditObjectContent",
|
|
602
|
+
"closeStore",
|
|
602
603
|
"createObject",
|
|
603
604
|
"describeConnection",
|
|
604
605
|
"dropObject",
|
|
@@ -607,7 +608,10 @@ var me = T([
|
|
|
607
608
|
"getReadableStream",
|
|
608
609
|
"getRecord",
|
|
609
610
|
"listNodes",
|
|
611
|
+
"loadObjectRecords",
|
|
612
|
+
"openStore",
|
|
610
613
|
"previewObject",
|
|
614
|
+
"queryRecords",
|
|
611
615
|
"removeRecords",
|
|
612
616
|
"retrieveChunks",
|
|
613
617
|
"retrieveRecords",
|
|
@@ -1001,25 +1005,24 @@ async function Ge(e) {
|
|
|
1001
1005
|
}, t);
|
|
1002
1006
|
}
|
|
1003
1007
|
async function Ke(e) {
|
|
1004
|
-
let { constructColumnAuditor: t, onProgress: n,
|
|
1005
|
-
abortSignal:
|
|
1006
|
-
chunkSize:
|
|
1007
|
-
dataFormatId:
|
|
1008
|
-
encodingId:
|
|
1009
|
-
valueDelimiterId:
|
|
1008
|
+
let { constructColumnAuditor: t, onProgress: n, options: r, signal: i, stream: a, toolConfigs: o } = e, s = Date.now(), c = performance.now(), l = t(r.hasHeaders), { parser: u } = await q(o, r.dataFormatId, r.parserId), d = await u.parseStream(a, {
|
|
1009
|
+
abortSignal: i,
|
|
1010
|
+
chunkSize: r.chunkSize,
|
|
1011
|
+
dataFormatId: r.dataFormatId,
|
|
1012
|
+
encodingId: r.encodingId,
|
|
1013
|
+
valueDelimiterId: r.valueDelimiterId
|
|
1010
1014
|
}, (e, t) => {
|
|
1011
|
-
|
|
1012
|
-
return n(t.length), r?.(i);
|
|
1015
|
+
l.auditRecords(t), n(t.length);
|
|
1013
1016
|
});
|
|
1014
1017
|
return {
|
|
1015
|
-
asAt:
|
|
1016
|
-
columns:
|
|
1017
|
-
commentLineCount:
|
|
1018
|
-
duration: performance.now() -
|
|
1019
|
-
emptyLineCount:
|
|
1020
|
-
invalidFieldLengthCount:
|
|
1021
|
-
lineCount:
|
|
1022
|
-
recordCount: Math.max(0,
|
|
1018
|
+
asAt: s,
|
|
1019
|
+
columns: l.completeAudit(),
|
|
1020
|
+
commentLineCount: d.commentLineCount,
|
|
1021
|
+
duration: performance.now() - c,
|
|
1022
|
+
emptyLineCount: d.emptyLineCount,
|
|
1023
|
+
invalidFieldLengthCount: d.nonUniformRecordCount,
|
|
1024
|
+
lineCount: d.lineCount,
|
|
1025
|
+
recordCount: Math.max(0, d.recordCount - +!!r.hasHeaders)
|
|
1023
1026
|
};
|
|
1024
1027
|
}
|
|
1025
1028
|
async function q(e, t, n) {
|
|
@@ -1085,6 +1088,7 @@ var qe = [
|
|
|
1085
1088
|
], J = {
|
|
1086
1089
|
abortOperation: "Abort Operation",
|
|
1087
1090
|
auditObjectContent: "Audit Object Content",
|
|
1091
|
+
closeStore: "Close Store",
|
|
1088
1092
|
createObject: "Create Object",
|
|
1089
1093
|
describeConnection: "Describe Connection",
|
|
1090
1094
|
dropObject: "Drop Object",
|
|
@@ -1093,7 +1097,10 @@ var qe = [
|
|
|
1093
1097
|
getReadableStream: "Get Readable Stream",
|
|
1094
1098
|
getRecord: "Get Record",
|
|
1095
1099
|
listNodes: "List Nodes",
|
|
1100
|
+
loadObjectRecords: "Load Object Records",
|
|
1101
|
+
openStore: "Open Store",
|
|
1096
1102
|
previewObject: "Preview Object",
|
|
1103
|
+
queryRecords: "Query Records",
|
|
1097
1104
|
removeRecords: "Remove Records",
|
|
1098
1105
|
retrieveChunks: "Retrieve Chunks",
|
|
1099
1106
|
retrieveRecords: "Retrieve Records",
|
|
@@ -1130,6 +1137,7 @@ var qe = [
|
|
|
1130
1137
|
], Xe = /* @__PURE__ */ new Set([
|
|
1131
1138
|
"createObject",
|
|
1132
1139
|
"dropObject",
|
|
1140
|
+
"loadObjectRecords",
|
|
1133
1141
|
"removeRecords",
|
|
1134
1142
|
"upsertRecords"
|
|
1135
1143
|
]), Ze = /* @__PURE__ */ new Set([
|
|
@@ -1140,6 +1148,7 @@ var qe = [
|
|
|
1140
1148
|
"getRecord",
|
|
1141
1149
|
"listNodes",
|
|
1142
1150
|
"previewObject",
|
|
1151
|
+
"queryRecords",
|
|
1143
1152
|
"retrieveChunks",
|
|
1144
1153
|
"retrieveRecords"
|
|
1145
1154
|
]);
|