@lightdash/common 0.1448.1 → 0.1449.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -0
- package/dist/types/coder.d.ts +4 -4
- package/package.json +1 -1
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;
|
package/dist/types/coder.d.ts
CHANGED
@@ -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
|
22
|
+
export type DashboardTileAsCode = Omit<DashboardTile, 'properties' | 'uuid'> & {
|
23
23
|
uuid: DashboardTile['uuid'] | undefined;
|
24
|
-
properties:
|
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:
|
27
|
+
tiles: DashboardTileAsCode[];
|
28
28
|
version: number;
|
29
29
|
spaceSlug: string;
|
30
30
|
downloadedAt?: Date;
|