@devrev/ts-adaas 1.13.2-beta.1 → 1.13.2-beta.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-type-translation.d.ts","sourceRoot":"","sources":["../../src/common/event-type-translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,CAwD7E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,kBAAkB,GAC5B,kBAAkB,CA0CpB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,eAAe,GACzB,eAAe,
|
|
1
|
+
{"version":3,"file":"event-type-translation.d.ts","sourceRoot":"","sources":["../../src/common/event-type-translation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,CAwD7E;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CACzC,SAAS,EAAE,kBAAkB,GAC5B,kBAAkB,CA0CpB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,eAAe,GACzB,eAAe,CAmBjB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,kBAAkB,GAAG,eAAe,GAC9C,kBAAkB,GAAG,eAAe,CAatC"}
|
|
@@ -92,6 +92,10 @@ function translateLoaderEventType(eventType) {
|
|
|
92
92
|
const mapping = {
|
|
93
93
|
// Old string values -> New enum members
|
|
94
94
|
[loading_1.LoaderEventType.DataLoadingDelay]: loading_1.LoaderEventType.DataLoadingDelayed,
|
|
95
|
+
[loading_1.LoaderEventType.AttachmentsLoadingProgress]: loading_1.LoaderEventType.AttachmentLoadingProgress,
|
|
96
|
+
[loading_1.LoaderEventType.AttachmentsLoadingDelayed]: loading_1.LoaderEventType.AttachmentLoadingDelayed,
|
|
97
|
+
[loading_1.LoaderEventType.AttachmentsLoadingDone]: loading_1.LoaderEventType.AttachmentLoadingDone,
|
|
98
|
+
[loading_1.LoaderEventType.AttachmentsLoadingError]: loading_1.LoaderEventType.AttachmentLoadingError,
|
|
95
99
|
};
|
|
96
100
|
// If there's a mapping, use it; otherwise return original (already new)
|
|
97
101
|
return (_a = mapping[stringValue]) !== null && _a !== void 0 ? _a : eventType;
|
package/dist/workers/spawn.js
CHANGED
|
@@ -34,11 +34,11 @@ function getWorkerPath({ event, workerBasePath, }) {
|
|
|
34
34
|
break;
|
|
35
35
|
case extraction_1.EventType.StartLoadingData:
|
|
36
36
|
case extraction_1.EventType.ContinueLoadingData:
|
|
37
|
-
path = '/workers/data
|
|
37
|
+
path = '/workers/load-data';
|
|
38
38
|
break;
|
|
39
39
|
case extraction_1.EventType.StartLoadingAttachments:
|
|
40
40
|
case extraction_1.EventType.ContinueLoadingAttachments:
|
|
41
|
-
path = '/workers/attachments
|
|
41
|
+
path = '/workers/load-attachments';
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
return path ? workerBasePath + path : null;
|
package/package.json
CHANGED