@lightdash/common 0.1473.1 → 0.1474.1
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/dist/ee/embed/index.d.ts +18 -0
- package/dist/ee/embed/index.js +2 -0
- package/package.json +1 -1
package/dist/ee/embed/index.d.ts
CHANGED
@@ -44,6 +44,8 @@ export declare const InteractivityOptionsSchema: z.ZodObject<{
|
|
44
44
|
}>>;
|
45
45
|
canExportCsv: z.ZodOptional<z.ZodBoolean>;
|
46
46
|
canExportImages: z.ZodOptional<z.ZodBoolean>;
|
47
|
+
canExportPagePdf: z.ZodOptional<z.ZodBoolean>;
|
48
|
+
canDateZoom: z.ZodOptional<z.ZodBoolean>;
|
47
49
|
}, "strip", z.ZodTypeAny, {
|
48
50
|
dashboardFiltersInteractivity?: {
|
49
51
|
enabled: boolean | FilterInteractivityValues;
|
@@ -51,6 +53,8 @@ export declare const InteractivityOptionsSchema: z.ZodObject<{
|
|
51
53
|
} | undefined;
|
52
54
|
canExportCsv?: boolean | undefined;
|
53
55
|
canExportImages?: boolean | undefined;
|
56
|
+
canExportPagePdf?: boolean | undefined;
|
57
|
+
canDateZoom?: boolean | undefined;
|
54
58
|
}, {
|
55
59
|
dashboardFiltersInteractivity?: {
|
56
60
|
enabled: boolean | FilterInteractivityValues;
|
@@ -58,6 +62,8 @@ export declare const InteractivityOptionsSchema: z.ZodObject<{
|
|
58
62
|
} | undefined;
|
59
63
|
canExportCsv?: boolean | undefined;
|
60
64
|
canExportImages?: boolean | undefined;
|
65
|
+
canExportPagePdf?: boolean | undefined;
|
66
|
+
canDateZoom?: boolean | undefined;
|
61
67
|
}>;
|
62
68
|
export type InteractivityOptions = z.infer<typeof InteractivityOptionsSchema>;
|
63
69
|
export declare const EmbedJwtSchema: z.ZodObject<{
|
@@ -89,6 +95,8 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
89
95
|
}>>;
|
90
96
|
canExportCsv: z.ZodOptional<z.ZodBoolean>;
|
91
97
|
canExportImages: z.ZodOptional<z.ZodBoolean>;
|
98
|
+
canExportPagePdf: z.ZodOptional<z.ZodBoolean>;
|
99
|
+
canDateZoom: z.ZodOptional<z.ZodBoolean>;
|
92
100
|
}>, "strip", z.ZodTypeAny, {
|
93
101
|
type: "dashboard";
|
94
102
|
dashboardUuid: string;
|
@@ -98,6 +106,8 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
98
106
|
} | undefined;
|
99
107
|
canExportCsv?: boolean | undefined;
|
100
108
|
canExportImages?: boolean | undefined;
|
109
|
+
canExportPagePdf?: boolean | undefined;
|
110
|
+
canDateZoom?: boolean | undefined;
|
101
111
|
isPreview?: boolean | undefined;
|
102
112
|
}, {
|
103
113
|
type: "dashboard";
|
@@ -108,6 +118,8 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
108
118
|
} | undefined;
|
109
119
|
canExportCsv?: boolean | undefined;
|
110
120
|
canExportImages?: boolean | undefined;
|
121
|
+
canExportPagePdf?: boolean | undefined;
|
122
|
+
canDateZoom?: boolean | undefined;
|
111
123
|
isPreview?: boolean | undefined;
|
112
124
|
}>;
|
113
125
|
iat: z.ZodOptional<z.ZodNumber>;
|
@@ -122,6 +134,8 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
122
134
|
} | undefined;
|
123
135
|
canExportCsv?: boolean | undefined;
|
124
136
|
canExportImages?: boolean | undefined;
|
137
|
+
canExportPagePdf?: boolean | undefined;
|
138
|
+
canDateZoom?: boolean | undefined;
|
125
139
|
isPreview?: boolean | undefined;
|
126
140
|
};
|
127
141
|
exp: number;
|
@@ -141,6 +155,8 @@ export declare const EmbedJwtSchema: z.ZodObject<{
|
|
141
155
|
} | undefined;
|
142
156
|
canExportCsv?: boolean | undefined;
|
143
157
|
canExportImages?: boolean | undefined;
|
158
|
+
canExportPagePdf?: boolean | undefined;
|
159
|
+
canDateZoom?: boolean | undefined;
|
144
160
|
isPreview?: boolean | undefined;
|
145
161
|
};
|
146
162
|
exp: number;
|
@@ -163,6 +179,8 @@ export type CreateEmbedJwt = {
|
|
163
179
|
};
|
164
180
|
canExportCsv?: boolean;
|
165
181
|
canExportImages?: boolean;
|
182
|
+
canDateZoom?: boolean;
|
183
|
+
canExportPagePdf?: boolean;
|
166
184
|
};
|
167
185
|
userAttributes?: {
|
168
186
|
[key: string]: string;
|
package/dist/ee/embed/index.js
CHANGED
@@ -23,6 +23,8 @@ exports.InteractivityOptionsSchema = zod_1.z.object({
|
|
23
23
|
dashboardFiltersInteractivity: exports.DashboardFilterInteractivityOptionsSchema.optional(),
|
24
24
|
canExportCsv: zod_1.z.boolean().optional(),
|
25
25
|
canExportImages: zod_1.z.boolean().optional(),
|
26
|
+
canExportPagePdf: zod_1.z.boolean().optional(),
|
27
|
+
canDateZoom: zod_1.z.boolean().optional(),
|
26
28
|
});
|
27
29
|
exports.EmbedJwtSchema = zod_1.z
|
28
30
|
.object({
|