@narrative.io/data-collaboration-sdk-ts 2.35.0 → 2.37.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.
@@ -109,6 +109,7 @@ type ExtractPlaceholderType<T> = T extends NqlPlaceholder<infer U> ? ExtractNqlT
109
109
  interface NqlPlaceholder<T extends NqlAstType | NqlAstType[] = any> {
110
110
  type: "placeholder";
111
111
  identifier: string;
112
+ description?: string;
112
113
  expectedType: T;
113
114
  optional: boolean;
114
115
  cardinality: "one" | "many";
@@ -45,18 +45,21 @@ export declare const NqlQueryInputObj: z.ZodObject<{
45
45
  }, {
46
46
  type: "shared" | "dedicated";
47
47
  }>>;
48
+ create_as_view: z.ZodOptional<z.ZodBoolean>;
48
49
  }, "strip", z.ZodTypeAny, {
49
50
  nql: string;
50
51
  data_plane_id: string | null;
51
52
  execution_cluster?: {
52
53
  type: "shared" | "dedicated";
53
54
  } | undefined;
55
+ create_as_view?: boolean | undefined;
54
56
  }, {
55
57
  nql: string;
56
58
  data_plane_id: string | null;
57
59
  execution_cluster?: {
58
60
  type: "shared" | "dedicated";
59
61
  } | undefined;
62
+ create_as_view?: boolean | undefined;
60
63
  }>;
61
64
  /**
62
65
  * Type for NqlQueryInput object. This is the object that is passed to the NQL API
@@ -45,6 +45,10 @@ export const NqlQueryInputObj = z.object({
45
45
  })
46
46
  .optional()
47
47
  .describe("Execution cluster configuration"),
48
+ create_as_view: z
49
+ .boolean()
50
+ .optional()
51
+ .describe("Whether to create as a view."),
48
52
  });
49
53
  /**
50
54
  * A schema object used to validate and infer the structure of NqlPreSelectExpression.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.35.0",
3
+ "version": "2.37.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",