@narrative.io/data-collaboration-sdk-ts 2.43.0 → 2.44.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.
@@ -122,6 +122,8 @@ function compileTableRefs(tables) {
122
122
  return aliased("narrative.rosetta_stone", table.as, false);
123
123
  case "raw_table":
124
124
  return aliased(table.nql, table.as, false);
125
+ case "placeholder":
126
+ return compilePlaceholder(table);
125
127
  default:
126
128
  throw new Error("unreachable");
127
129
  }
@@ -358,6 +360,7 @@ export function compilePlaceholder(n) {
358
360
  case "boolean_literal":
359
361
  case "timestamp_literal":
360
362
  case "column":
363
+ case "table":
361
364
  return `{{${n.identifier}}}`;
362
365
  default:
363
366
  throw new Error("unsupported placeholder");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.43.0",
3
+ "version": "2.44.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",