@lightdash/common 0.1387.0 → 0.1387.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/coder.d.ts +4 -6
- package/package.json +1 -1
package/dist/types/coder.d.ts
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
import type { SavedChart } from '..';
|
1
|
+
import type { PromotionChanges, SavedChart } from '..';
|
2
2
|
export declare const currentVersion = 1;
|
3
|
-
export type ChartAsCode = Pick<SavedChart, 'name' | 'description' | 'tableName' | 'metricQuery' | 'chartConfig' | 'tableConfig' | 'slug' | 'dashboardUuid' | '
|
3
|
+
export type ChartAsCode = Pick<SavedChart, 'name' | 'description' | 'tableName' | 'metricQuery' | 'chartConfig' | 'tableConfig' | 'slug' | 'dashboardUuid' | 'updatedAt'> & {
|
4
4
|
version: number;
|
5
5
|
spaceSlug: string;
|
6
|
+
downloadedAt?: Date;
|
6
7
|
};
|
7
8
|
export type ApiChartAsCodeListResponse = {
|
8
9
|
status: 'ok';
|
@@ -10,8 +11,5 @@ export type ApiChartAsCodeListResponse = {
|
|
10
11
|
};
|
11
12
|
export type ApiChartAsCodeUpsertResponse = {
|
12
13
|
status: 'ok';
|
13
|
-
results:
|
14
|
-
chart: ChartAsCode;
|
15
|
-
created: boolean;
|
16
|
-
};
|
14
|
+
results: PromotionChanges;
|
17
15
|
};
|