@narrative.io/data-collaboration-sdk-ts 2.51.0 → 2.52.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.
@@ -1,9 +1,18 @@
1
1
  import type { CollaboratorsConfig } from "src/types";
2
2
  import type * as Parser from "../nql/AstParser";
3
+ export interface CondensedNqlDatasetSource {
4
+ type: "dataset";
5
+ datasetName: string;
6
+ }
7
+ export interface CondensedNqlRosettaSource {
8
+ type: "rosetta_stone";
9
+ }
10
+ export type CondensedNqlSource = CondensedNqlDatasetSource | CondensedNqlRosettaSource;
3
11
  export interface NqlQueryAst {
4
12
  parsed: Parser.Select;
5
13
  compiled: string;
6
14
  placeholdersWithContext?: unknown[];
15
+ sources?: CondensedNqlSource[];
7
16
  ast_metadata: {
8
17
  node_type: "multiple";
9
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.51.0",
3
+ "version": "2.52.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",