@lightdash/common 0.2204.0 → 0.2205.0
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/compiler/lightdashModelConverter.d.ts +16 -0
- package/dist/cjs/compiler/lightdashModelConverter.d.ts.map +1 -0
- package/dist/cjs/compiler/lightdashModelConverter.js +125 -0
- package/dist/cjs/compiler/lightdashModelConverter.js.map +1 -0
- package/dist/cjs/compiler/translator.js +3 -3
- package/dist/cjs/compiler/translator.js.map +1 -1
- package/dist/cjs/ee/AiAgent/index.d.ts +2 -2
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/schemas/json/model-as-code-1.0.json +10 -59
- package/dist/cjs/types/dbt.d.ts +3 -3
- package/dist/cjs/types/dbt.d.ts.map +1 -1
- package/dist/cjs/types/lightdashModel.d.ts +62 -0
- package/dist/cjs/types/lightdashModel.d.ts.map +1 -0
- package/dist/cjs/types/lightdashModel.js +10 -0
- package/dist/cjs/types/lightdashModel.js.map +1 -0
- package/dist/cjs/types/lightdashProjectConfig.d.ts +9 -0
- package/dist/cjs/types/lightdashProjectConfig.d.ts.map +1 -1
- package/dist/cjs/types/lightdashProjectConfig.js.map +1 -1
- package/dist/cjs/types/resourceViewItem.d.ts +1 -1
- package/dist/cjs/types/table.d.ts.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/compiler/lightdashModelConverter.d.ts +16 -0
- package/dist/esm/compiler/lightdashModelConverter.d.ts.map +1 -0
- package/dist/esm/compiler/lightdashModelConverter.js +121 -0
- package/dist/esm/compiler/lightdashModelConverter.js.map +1 -0
- package/dist/esm/compiler/translator.js +3 -3
- package/dist/esm/compiler/translator.js.map +1 -1
- package/dist/esm/ee/AiAgent/index.d.ts +2 -2
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/schemas/json/model-as-code-1.0.json +10 -59
- package/dist/esm/types/dbt.d.ts +3 -3
- package/dist/esm/types/dbt.d.ts.map +1 -1
- package/dist/esm/types/lightdashModel.d.ts +62 -0
- package/dist/esm/types/lightdashModel.d.ts.map +1 -0
- package/dist/esm/types/lightdashModel.js +9 -0
- package/dist/esm/types/lightdashModel.js.map +1 -0
- package/dist/esm/types/lightdashProjectConfig.d.ts +9 -0
- package/dist/esm/types/lightdashProjectConfig.d.ts.map +1 -1
- package/dist/esm/types/lightdashProjectConfig.js.map +1 -1
- package/dist/esm/types/resourceViewItem.d.ts +1 -1
- package/dist/esm/types/table.d.ts.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/compiler/lightdashModelConverter.d.ts +16 -0
- package/dist/types/compiler/lightdashModelConverter.d.ts.map +1 -0
- package/dist/types/compiler/lightdashModelConverter.js +121 -0
- package/dist/types/compiler/lightdashModelConverter.js.map +1 -0
- package/dist/types/compiler/translator.js +3 -3
- package/dist/types/compiler/translator.js.map +1 -1
- package/dist/types/ee/AiAgent/index.d.ts +2 -2
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/schemas/json/model-as-code-1.0.json +10 -59
- package/dist/types/types/dbt.d.ts +3 -3
- package/dist/types/types/dbt.d.ts.map +1 -1
- package/dist/types/types/lightdashModel.d.ts +62 -0
- package/dist/types/types/lightdashModel.d.ts.map +1 -0
- package/dist/types/types/lightdashModel.js +9 -0
- package/dist/types/types/lightdashModel.js.map +1 -0
- package/dist/types/types/lightdashProjectConfig.d.ts +9 -0
- package/dist/types/types/lightdashProjectConfig.d.ts.map +1 -1
- package/dist/types/types/lightdashProjectConfig.js.map +1 -1
- package/dist/types/types/resourceViewItem.d.ts +1 -1
- package/dist/types/types/table.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/esm/types/dbt.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ type ExploreConfig = {
|
|
|
61
61
|
group_label?: string;
|
|
62
62
|
joins?: DbtModelJoin[];
|
|
63
63
|
};
|
|
64
|
-
type SharedDbtModelLightdashConfig = {
|
|
64
|
+
export type SharedDbtModelLightdashConfig = {
|
|
65
65
|
default_filters?: RequiredFilter[];
|
|
66
66
|
/**
|
|
67
67
|
* @deprecated use default_filters instead
|
|
@@ -71,7 +71,7 @@ type SharedDbtModelLightdashConfig = {
|
|
|
71
71
|
export type FieldSetDefinition = {
|
|
72
72
|
fields: string[];
|
|
73
73
|
};
|
|
74
|
-
type DbtModelLightdashConfig = ExploreConfig & SharedDbtModelLightdashConfig & {
|
|
74
|
+
export type DbtModelLightdashConfig = ExploreConfig & SharedDbtModelLightdashConfig & {
|
|
75
75
|
metrics?: Record<string, DbtModelLightdashMetric>;
|
|
76
76
|
sets?: Record<string, FieldSetDefinition>;
|
|
77
77
|
order_fields_by?: OrderFieldsByStrategy;
|
|
@@ -99,7 +99,7 @@ export type DbtModelGroup = {
|
|
|
99
99
|
description?: string;
|
|
100
100
|
};
|
|
101
101
|
export type DbtModelJoinType = 'inner' | 'full' | 'left' | 'right';
|
|
102
|
-
type DbtModelJoin = {
|
|
102
|
+
export type DbtModelJoin = {
|
|
103
103
|
join: string;
|
|
104
104
|
sql_on: string;
|
|
105
105
|
alias?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dbt.d.ts","sourceRoot":"","sources":["../../../src/types/dbt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAO5C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EACH,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,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,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,qBAAqB,aACpB,WAAW,KACtB,YAAY,EAqBd,CAAC;AAEF,wBAAgB,iBAAiB,CAC7B,cAAc,EAAE,YAAY,EAAE,EAC9B,gBAAgB,CAAC,EAAE,MAAM,EAAE,kBAY9B"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types for Lightdash Model YAML files (dbt-free model definitions)
|
|
3
|
+
* Based on schema: packages/common/src/schemas/json/model-as-code-1.0.json
|
|
4
|
+
*
|
|
5
|
+
* These types extend/reuse the existing dbt types to ensure coupling.
|
|
6
|
+
* When new properties are added to ColumnMeta or ModelMeta, they automatically appear here.
|
|
7
|
+
*/
|
|
8
|
+
import type { DbtColumnLightdashAdditionalDimension, DbtColumnLightdashDimension, DbtColumnLightdashMetric, DbtModelJoin, DbtModelLightdashConfig } from './dbt';
|
|
9
|
+
import type { RequiredFilter } from './filterGrammar';
|
|
10
|
+
/**
|
|
11
|
+
* Dimension definition in Lightdash Model
|
|
12
|
+
* Extends DbtColumnLightdashDimension with required fields
|
|
13
|
+
*/
|
|
14
|
+
export type LightdashModelDimension = DbtColumnLightdashDimension & {
|
|
15
|
+
name: string;
|
|
16
|
+
type: NonNullable<DbtColumnLightdashDimension['type']>;
|
|
17
|
+
sql: string;
|
|
18
|
+
metrics?: Record<string, DbtColumnLightdashMetric>;
|
|
19
|
+
additional_dimensions?: Record<string, LightdashModelAdditionalDimension>;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Additional dimension derived from a base dimension
|
|
23
|
+
* Reuses the dbt type exactly (since additional_dimensions work the same way)
|
|
24
|
+
*/
|
|
25
|
+
export type LightdashModelAdditionalDimension = DbtColumnLightdashAdditionalDimension & {
|
|
26
|
+
type: NonNullable<DbtColumnLightdashDimension['type']>;
|
|
27
|
+
sql: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metric definition in Lightdash Model
|
|
31
|
+
* Reuses DbtColumnLightdashMetric directly - no changes needed
|
|
32
|
+
*/
|
|
33
|
+
export type LightdashModelMetric = DbtColumnLightdashMetric;
|
|
34
|
+
/**
|
|
35
|
+
* Explore configuration in Lightdash Model
|
|
36
|
+
*/
|
|
37
|
+
export type LightdashModelExplore = {
|
|
38
|
+
label?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
group_label?: string;
|
|
41
|
+
joins?: DbtModelJoin[];
|
|
42
|
+
required_filters?: RequiredFilter[];
|
|
43
|
+
default_filters?: RequiredFilter[];
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Root Lightdash Model structure
|
|
47
|
+
* Extends DbtModelLightdashConfig to inherit all model-level configuration
|
|
48
|
+
*
|
|
49
|
+
* Uses sql_from to specify the table/query source,
|
|
50
|
+
* which maps directly to DbtModelLightdashConfig.sql_from
|
|
51
|
+
*/
|
|
52
|
+
export type LightdashModel = Omit<DbtModelLightdashConfig, 'joins' | 'explores' | 'sql_from'> & {
|
|
53
|
+
type: 'model' | 'model/v1beta' | 'model/v1';
|
|
54
|
+
name: string;
|
|
55
|
+
sql_from: string;
|
|
56
|
+
label?: string;
|
|
57
|
+
description?: string;
|
|
58
|
+
joins?: DbtModelJoin[];
|
|
59
|
+
explores?: Record<string, LightdashModelExplore>;
|
|
60
|
+
dimensions: LightdashModelDimension[];
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=lightdashModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightdashModel.d.ts","sourceRoot":"","sources":["../../../src/types/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AG,UAAU,CAAC;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACjD,UAAU,EAAE,uBAAuB,EAAE,CAAC;CACzC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types for Lightdash Model YAML files (dbt-free model definitions)
|
|
3
|
+
* Based on schema: packages/common/src/schemas/json/model-as-code-1.0.json
|
|
4
|
+
*
|
|
5
|
+
* These types extend/reuse the existing dbt types to ensure coupling.
|
|
6
|
+
* When new properties are added to ColumnMeta or ModelMeta, they automatically appear here.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=lightdashModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightdashModel.js","sourceRoot":"","sources":["../../../src/types/lightdashModel.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ParameterValue } from './parameters';
|
|
2
|
+
import type { WarehouseTypes } from './projects';
|
|
2
3
|
type SpotlightCategory = {
|
|
3
4
|
label: string;
|
|
4
5
|
color?: string;
|
|
@@ -22,9 +23,17 @@ export type LightdashProjectParameter = {
|
|
|
22
23
|
dimension: string;
|
|
23
24
|
};
|
|
24
25
|
};
|
|
26
|
+
/**
|
|
27
|
+
* Warehouse configuration for Lightdash-only projects
|
|
28
|
+
* Reuses WarehouseTypes enum to avoid duplication
|
|
29
|
+
*/
|
|
30
|
+
export type WarehouseConfig = {
|
|
31
|
+
type: WarehouseTypes;
|
|
32
|
+
};
|
|
25
33
|
export type LightdashProjectConfig = {
|
|
26
34
|
spotlight: SpotlightConfig;
|
|
27
35
|
parameters?: Record<string, LightdashProjectParameter>;
|
|
36
|
+
warehouse?: WarehouseConfig;
|
|
28
37
|
};
|
|
29
38
|
export declare const DEFAULT_SPOTLIGHT_CONFIG: SpotlightConfig;
|
|
30
39
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightdashProjectConfig.d.ts","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"lightdashProjectConfig.d.ts","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,KAAK,iBAAiB,GAAG;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,eAAe,GAAG;IACnB,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,UAAU,CAAC,EAAE;QACT,CAAC,cAAc,EAAE,MAAM,GAAG,iBAAiB,CAAC;KAC/C,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;IAC9B,sBAAsB,CAAC,EAAE;QAErB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,SAAS,EAAE,eAAe,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;IACvD,SAAS,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,eAEtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lightdashProjectConfig.js","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lightdashProjectConfig.js","sourceRoot":"","sources":["../../../src/types/lightdashProjectConfig.ts"],"names":[],"mappings":"AA4CA,MAAM,CAAC,MAAM,wBAAwB,GAAoB;IACrD,kBAAkB,EAAE,MAAM;CAC7B,CAAC"}
|
|
@@ -42,7 +42,7 @@ export type MostPopularAndRecentlyUpdated = {
|
|
|
42
42
|
recentlyUpdated: (DashboardBasicDetails | SpaceQuery)[];
|
|
43
43
|
};
|
|
44
44
|
export declare const contentToResourceViewItem: (content: SummaryContent) => ResourceViewItem;
|
|
45
|
-
export declare const resourceToContent: (resource: ResourceViewItem) => Pick<DashboardBasicDetails, "updatedAt" | "name" | "description" | "uuid" | "spaceUuid" | "updatedByUser" | "views" | "firstViewedAt" | "pinnedListUuid" | "pinnedListOrder" | "validationErrors"> | (Pick<Space, "projectUuid" | "name" | "
|
|
45
|
+
export declare const resourceToContent: (resource: ResourceViewItem) => Pick<DashboardBasicDetails, "updatedAt" | "name" | "description" | "uuid" | "spaceUuid" | "updatedByUser" | "views" | "firstViewedAt" | "pinnedListUuid" | "pinnedListOrder" | "validationErrors"> | (Pick<Space, "projectUuid" | "name" | "uuid" | "organizationUuid" | "isPrivate" | "pinnedListUuid" | "pinnedListOrder" | "parentSpaceUuid" | "path"> & {
|
|
46
46
|
access: string[];
|
|
47
47
|
accessListLength: number;
|
|
48
48
|
dashboardCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/types/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,oBAAY,qBAAqB;IAC7B,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,MAAM,MAAM,SAAS,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/types/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,oBAAY,qBAAqB;IAC7B,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,MAAM,MAAM,SAAS,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IAMrB,QAAQ,EAAE,MAAM,CAAC;IAIjB,MAAM,EAAE,MAAM,CAAC;IACf,QAA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