@narrative.io/data-collaboration-sdk-ts 0.20.0 → 0.22.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/build/nql/AstParser.d.ts
CHANGED
package/build/nql/AstParser.js
CHANGED
package/build/nql/NqlBuilder.js
CHANGED
|
@@ -295,6 +295,12 @@ function compileLit(value, valueType, as) {
|
|
|
295
295
|
}
|
|
296
296
|
break;
|
|
297
297
|
}
|
|
298
|
+
case "long":
|
|
299
|
+
valueNql = `${parseInt(value)}`;
|
|
300
|
+
break;
|
|
301
|
+
case "double":
|
|
302
|
+
valueNql = `${parseFloat(value)}`;
|
|
303
|
+
break;
|
|
298
304
|
default:
|
|
299
305
|
// todo(mbabic) don't really know what to do here/how complicated this needs to be
|
|
300
306
|
valueNql = str(value);
|