@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.
@@ -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' | 'colorPalette' | 'updatedAt'> & {
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1387.0",
3
+ "version": "0.1387.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [