@lightdash/common 0.1448.1 → 0.1449.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/index.d.ts CHANGED
@@ -516,6 +516,7 @@ export declare const sensitiveDbtCredentialsFieldNames: readonly ["personal_acce
516
516
  export declare const DbtProjectTypeLabels: Record<DbtProjectType, string>;
517
517
  export type CreateProject = Omit<Project, 'projectUuid' | 'organizationUuid' | 'schedulerTimezone' | 'createdByUserUuid'> & {
518
518
  warehouseConnection: CreateWarehouseCredentials;
519
+ copyWarehouseConnectionFromUpstreamProject?: boolean;
519
520
  };
520
521
  export type UpdateProject = Omit<Project, 'projectUuid' | 'organizationUuid' | 'type' | 'schedulerTimezone' | 'createdByUserUuid'> & {
521
522
  warehouseConnection: CreateWarehouseCredentials;
@@ -1,4 +1,4 @@
1
- import type { Dashboard, DashboardTile, PromotionChanges, SavedChart } from '..';
1
+ import type { Dashboard, DashboardChartTileProperties, DashboardLoomTileProperties, DashboardMarkdownTileProperties, DashboardTile, PromotionChanges, SavedChart } from '..';
2
2
  export declare const currentVersion = 1;
3
3
  export type ChartAsCode = Pick<SavedChart, 'name' | 'description' | 'tableName' | 'metricQuery' | 'chartConfig' | 'tableConfig' | 'slug' | 'updatedAt'> & {
4
4
  dashboardSlug: string | undefined;
@@ -19,12 +19,12 @@ export type ApiChartAsCodeUpsertResponse = {
19
19
  status: 'ok';
20
20
  results: PromotionChanges;
21
21
  };
22
- export type DashboardTileWithoutUuids = Omit<DashboardTile, 'properties' | 'uuid'> & {
22
+ export type DashboardTileAsCode = Omit<DashboardTile, 'properties' | 'uuid'> & {
23
23
  uuid: DashboardTile['uuid'] | undefined;
24
- properties: Omit<DashboardTile['properties'], 'savedChartUuid' | 'savedSqlUuid' | 'savedSemanticViewerChartUuid'>;
24
+ properties: Pick<DashboardChartTileProperties['properties'], 'title' | 'hideTitle' | 'chartSlug'> | DashboardMarkdownTileProperties['properties'] | DashboardLoomTileProperties['properties'];
25
25
  };
26
26
  export type DashboardAsCode = Pick<Dashboard, 'name' | 'description' | 'updatedAt' | 'filters' | 'tabs' | 'slug'> & {
27
- tiles: DashboardTileWithoutUuids[];
27
+ tiles: DashboardTileAsCode[];
28
28
  version: number;
29
29
  spaceSlug: string;
30
30
  downloadedAt?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1448.1",
3
+ "version": "0.1449.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [