@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.
- package/build/nql/Ast.d.ts +1 -0
- package/build/nql/types.d.ts +3 -0
- package/build/nql/types.js +4 -0
- package/package.json +1 -1
package/build/nql/Ast.d.ts
CHANGED
|
@@ -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";
|
package/build/nql/types.d.ts
CHANGED
|
@@ -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
|
package/build/nql/types.js
CHANGED
|
@@ -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.
|