@narrative.io/data-collaboration-sdk-ts 0.0.73 → 0.0.74
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.
|
@@ -107,7 +107,7 @@ function getFieldsFromNql(nqlObject) {
|
|
|
107
107
|
const fieldsArray = [];
|
|
108
108
|
// Extract all fields from the 'select' section and mark them as exported.
|
|
109
109
|
nqlObject.select.forEach((field) => {
|
|
110
|
-
fieldsArray.push({ field: field.field, exported: true });
|
|
110
|
+
fieldsArray.push({ field: field.field.replace('"value"', 'value').replace('"type"', 'type'), exported: true });
|
|
111
111
|
});
|
|
112
112
|
// Process all filter expressions from the 'where' section.
|
|
113
113
|
nqlObject.where.filterExpressions.forEach((expression) => {
|