@lightdash/common 0.2204.0 → 0.2206.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.
Files changed (82) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/compiler/lightdashModelConverter.d.ts +16 -0
  3. package/dist/cjs/compiler/lightdashModelConverter.d.ts.map +1 -0
  4. package/dist/cjs/compiler/lightdashModelConverter.js +125 -0
  5. package/dist/cjs/compiler/lightdashModelConverter.js.map +1 -0
  6. package/dist/cjs/compiler/translator.js +3 -3
  7. package/dist/cjs/compiler/translator.js.map +1 -1
  8. package/dist/cjs/ee/AiAgent/index.d.ts +2 -2
  9. package/dist/cjs/index.d.ts +2 -0
  10. package/dist/cjs/index.d.ts.map +1 -1
  11. package/dist/cjs/index.js +2 -0
  12. package/dist/cjs/index.js.map +1 -1
  13. package/dist/cjs/schemas/json/model-as-code-1.0.json +10 -59
  14. package/dist/cjs/types/dbt.d.ts +3 -3
  15. package/dist/cjs/types/dbt.d.ts.map +1 -1
  16. package/dist/cjs/types/lightdashModel.d.ts +62 -0
  17. package/dist/cjs/types/lightdashModel.d.ts.map +1 -0
  18. package/dist/cjs/types/lightdashModel.js +10 -0
  19. package/dist/cjs/types/lightdashModel.js.map +1 -0
  20. package/dist/cjs/types/lightdashProjectConfig.d.ts +9 -0
  21. package/dist/cjs/types/lightdashProjectConfig.d.ts.map +1 -1
  22. package/dist/cjs/types/lightdashProjectConfig.js.map +1 -1
  23. package/dist/cjs/types/resourceViewItem.d.ts +1 -1
  24. package/dist/cjs/types/savedCharts.d.ts +1 -0
  25. package/dist/cjs/types/savedCharts.d.ts.map +1 -1
  26. package/dist/cjs/types/savedCharts.js.map +1 -1
  27. package/dist/cjs/types/table.d.ts.map +1 -1
  28. package/dist/esm/.tsbuildinfo +1 -1
  29. package/dist/esm/compiler/lightdashModelConverter.d.ts +16 -0
  30. package/dist/esm/compiler/lightdashModelConverter.d.ts.map +1 -0
  31. package/dist/esm/compiler/lightdashModelConverter.js +121 -0
  32. package/dist/esm/compiler/lightdashModelConverter.js.map +1 -0
  33. package/dist/esm/compiler/translator.js +3 -3
  34. package/dist/esm/compiler/translator.js.map +1 -1
  35. package/dist/esm/ee/AiAgent/index.d.ts +2 -2
  36. package/dist/esm/index.d.ts +2 -0
  37. package/dist/esm/index.d.ts.map +1 -1
  38. package/dist/esm/index.js +2 -0
  39. package/dist/esm/index.js.map +1 -1
  40. package/dist/esm/schemas/json/model-as-code-1.0.json +10 -59
  41. package/dist/esm/types/dbt.d.ts +3 -3
  42. package/dist/esm/types/dbt.d.ts.map +1 -1
  43. package/dist/esm/types/lightdashModel.d.ts +62 -0
  44. package/dist/esm/types/lightdashModel.d.ts.map +1 -0
  45. package/dist/esm/types/lightdashModel.js +9 -0
  46. package/dist/esm/types/lightdashModel.js.map +1 -0
  47. package/dist/esm/types/lightdashProjectConfig.d.ts +9 -0
  48. package/dist/esm/types/lightdashProjectConfig.d.ts.map +1 -1
  49. package/dist/esm/types/lightdashProjectConfig.js.map +1 -1
  50. package/dist/esm/types/resourceViewItem.d.ts +1 -1
  51. package/dist/esm/types/savedCharts.d.ts +1 -0
  52. package/dist/esm/types/savedCharts.d.ts.map +1 -1
  53. package/dist/esm/types/savedCharts.js.map +1 -1
  54. package/dist/esm/types/table.d.ts.map +1 -1
  55. package/dist/types/.tsbuildinfo +1 -1
  56. package/dist/types/compiler/lightdashModelConverter.d.ts +16 -0
  57. package/dist/types/compiler/lightdashModelConverter.d.ts.map +1 -0
  58. package/dist/types/compiler/lightdashModelConverter.js +121 -0
  59. package/dist/types/compiler/lightdashModelConverter.js.map +1 -0
  60. package/dist/types/compiler/translator.js +3 -3
  61. package/dist/types/compiler/translator.js.map +1 -1
  62. package/dist/types/ee/AiAgent/index.d.ts +2 -2
  63. package/dist/types/index.d.ts +2 -0
  64. package/dist/types/index.d.ts.map +1 -1
  65. package/dist/types/index.js +2 -0
  66. package/dist/types/index.js.map +1 -1
  67. package/dist/types/schemas/json/model-as-code-1.0.json +10 -59
  68. package/dist/types/types/dbt.d.ts +3 -3
  69. package/dist/types/types/dbt.d.ts.map +1 -1
  70. package/dist/types/types/lightdashModel.d.ts +62 -0
  71. package/dist/types/types/lightdashModel.d.ts.map +1 -0
  72. package/dist/types/types/lightdashModel.js +9 -0
  73. package/dist/types/types/lightdashModel.js.map +1 -0
  74. package/dist/types/types/lightdashProjectConfig.d.ts +9 -0
  75. package/dist/types/types/lightdashProjectConfig.d.ts.map +1 -1
  76. package/dist/types/types/lightdashProjectConfig.js.map +1 -1
  77. package/dist/types/types/resourceViewItem.d.ts +1 -1
  78. package/dist/types/types/savedCharts.d.ts +1 -0
  79. package/dist/types/types/savedCharts.d.ts.map +1 -1
  80. package/dist/types/types/savedCharts.js.map +1 -1
  81. package/dist/types/types/table.d.ts.map +1 -1
  82. package/package.json +1 -1
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Converter to transform Lightdash YAML models to DbtModelNode format
3
+ * This allows Lightdash models to be processed through the existing translator.ts pipeline
4
+ */
5
+ import type { DbtModelNode } from '../types/dbt';
6
+ import { type LightdashModel } from '../types/lightdashModel';
7
+ /**
8
+ * Convert a Lightdash YAML model to DbtModelNode format
9
+ * This enables reuse of the existing convertTable and convertExplores functions
10
+ */
11
+ export declare function convertLightdashModelToDbtModel(model: LightdashModel): DbtModelNode;
12
+ /**
13
+ * Convert multiple Lightdash models to DbtModelNode format
14
+ */
15
+ export declare function convertLightdashModelsToDbtModels(models: LightdashModel[]): DbtModelNode[];
16
+ //# sourceMappingURL=lightdashModelConverter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightdashModelConverter.d.ts","sourceRoot":"","sources":["../../../src/compiler/lightdashModelConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAIR,YAAY,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACH,KAAK,cAAc,EAEtB,MAAM,yBAAyB,CAAC;AAEjC;;;GAGG;AACH,wBAAgB,+BAA+B,CAC3C,KAAK,EAAE,cAAc,GACtB,YAAY,CA+Gd;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAC7C,MAAM,EAAE,cAAc,EAAE,GACzB,YAAY,EAAE,CAEhB"}
@@ -0,0 +1,121 @@
1
+ /**
2
+ * Converter to transform Lightdash YAML models to DbtModelNode format
3
+ * This allows Lightdash models to be processed through the existing translator.ts pipeline
4
+ */
5
+ /**
6
+ * Convert a Lightdash YAML model to DbtModelNode format
7
+ * This enables reuse of the existing convertTable and convertExplores functions
8
+ */
9
+ export function convertLightdashModelToDbtModel(model) {
10
+ // Generate a unique ID for this model
11
+ const uniqueId = `model.lightdash.${model.name}`;
12
+ // sql_from can be either a table reference (e.g., 'schema.table') or a SQL query
13
+ // Maps directly to DbtModelLightdashConfig.sql_from
14
+ const sqlFrom = model.sql_from;
15
+ // Convert dimensions to dbt column format
16
+ const columns = {};
17
+ model.dimensions.forEach((dimension) => {
18
+ // LightdashModelDimension extends DbtColumnLightdashDimension, so we can safely
19
+ // extract the properties that match DbtColumnLightdashDimension
20
+ const dimensionConfig = {
21
+ name: dimension.name,
22
+ label: dimension.label,
23
+ type: dimension.type,
24
+ description: dimension.description,
25
+ sql: dimension.sql,
26
+ time_intervals: dimension.time_intervals,
27
+ hidden: dimension.hidden,
28
+ round: dimension.round,
29
+ format: dimension.format,
30
+ group_label: dimension.group_label,
31
+ groups: dimension.groups,
32
+ colors: dimension.colors,
33
+ urls: dimension.urls,
34
+ required_attributes: dimension.required_attributes,
35
+ ai_hint: dimension.ai_hint,
36
+ tags: dimension.tags,
37
+ compact: dimension.compact,
38
+ };
39
+ columns[dimension.name] = {
40
+ name: dimension.name,
41
+ description: dimension.description,
42
+ data_type: dimension.type,
43
+ meta: {
44
+ dimension: dimensionConfig,
45
+ // LightdashModelMetric is compatible with DbtColumnLightdashMetric
46
+ metrics: dimension.metrics,
47
+ // LightdashModelAdditionalDimension extends DbtColumnLightdashAdditionalDimension (compatible types)
48
+ additional_dimensions: dimension.additional_dimensions,
49
+ },
50
+ };
51
+ });
52
+ // Build the meta block with model-level configuration
53
+ // LightdashModel extends DbtModelLightdashConfig, so we extract those properties
54
+ const modelConfig = {
55
+ label: model.label,
56
+ description: model.description,
57
+ metrics: model.metrics,
58
+ sets: model.sets,
59
+ order_fields_by: model.order_fields_by,
60
+ group_label: model.group_label,
61
+ sql_filter: model.sql_filter,
62
+ sql_where: model.sql_where,
63
+ sql_from: sqlFrom, // from_sql maps directly to sql_from
64
+ required_attributes: model.required_attributes,
65
+ group_details: model.group_details,
66
+ default_time_dimension: model.default_time_dimension,
67
+ spotlight: model.spotlight,
68
+ joins: model.joins,
69
+ required_filters: model.required_filters,
70
+ default_filters: model.default_filters,
71
+ explores: model.explores,
72
+ ai_hint: model.ai_hint,
73
+ parameters: model.parameters,
74
+ primary_key: model.primary_key,
75
+ };
76
+ // Create a DbtModelNode that mimics what dbt would produce
77
+ // Note: database, schema, relation_name are placeholder values since sql_from is used
78
+ return {
79
+ unique_id: uniqueId,
80
+ resource_type: 'model',
81
+ name: model.name,
82
+ database: 'db-error',
83
+ schema: 'schema-error',
84
+ alias: model.name,
85
+ description: model.description || '',
86
+ columns,
87
+ meta: modelConfig,
88
+ config: {
89
+ materialized: 'view',
90
+ meta: modelConfig,
91
+ },
92
+ tags: [],
93
+ path: `lightdash/models/${model.name}.yml`,
94
+ patch_path: `lightdash://${model.name}.yml`,
95
+ depends_on: {
96
+ nodes: [],
97
+ macros: [],
98
+ },
99
+ refs: [],
100
+ sources: [],
101
+ compiled: true,
102
+ compiled_code: sqlFrom,
103
+ // Required by CompiledModelNode
104
+ fqn: [model.name],
105
+ raw_code: sqlFrom,
106
+ language: 'sql',
107
+ package_name: 'lightdash',
108
+ original_file_path: `lightdash/models/${model.name}.yml`,
109
+ checksum: {
110
+ name: 'sha256',
111
+ checksum: '',
112
+ },
113
+ };
114
+ }
115
+ /**
116
+ * Convert multiple Lightdash models to DbtModelNode format
117
+ */
118
+ export function convertLightdashModelsToDbtModels(models) {
119
+ return models.map((model) => convertLightdashModelToDbtModel(model));
120
+ }
121
+ //# sourceMappingURL=lightdashModelConverter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightdashModelConverter.js","sourceRoot":"","sources":["../../../src/compiler/lightdashModelConverter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH;;;GAGG;AACH,MAAM,UAAU,+BAA+B,CAC3C,KAAqB;IAErB,sCAAsC;IACtC,MAAM,QAAQ,GAAG,mBAAmB,KAAK,CAAC,IAAI,EAAE,CAAC;IAEjD,iFAAiF;IACjF,oDAAoD;IACpD,MAAM,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC;IAE/B,0CAA0C;IAC1C,MAAM,OAAO,GAAmC,EAAE,CAAC;IAEnD,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,SAAkC,EAAE,EAAE;QAC5D,gFAAgF;QAChF,gEAAgE;QAChE,MAAM,eAAe,GAAgC;YACjD,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,WAAW,EAAE,SAAS,CAAC,WAAW;YAClC,GAAG,EAAE,SAAS,CAAC,GAAG;YAClB,cAAc,EAAE,SAAS,CAAC,cAAc;YACxC,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,WAAW,EAAE,SAAS,CAAC,WAAW;YAClC,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;YAClD,OAAO,EAAE,SAAS,CAAC,OAAO;YAC1B,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,OAAO,EAAE,SAAS,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,OAAO;QACH,SAAS,EAAE,QAAQ;QACnB,aAAa,EAAE,OAAO;QACtB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,KAAK,CAAC,IAAI;QACjB,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,EAAE;QACpC,OAAO;QACP,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACJ,YAAY,EAAE,MAAM;YACpB,IAAI,EAAE,WAAW;SACpB;QACD,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,oBAAoB,KAAK,CAAC,IAAI,MAAM;QAC1C,UAAU,EAAE,eAAe,KAAK,CAAC,IAAI,MAAM;QAC3C,UAAU,EAAE;YACR,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACb;QACD,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,aAAa,EAAE,OAAO;QACtB,gCAAgC;QAChC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;QACjB,QAAQ,EAAE,OAAO;QACjB,QAAQ,EAAE,KAAc;QACxB,YAAY,EAAE,WAAW;QACzB,kBAAkB,EAAE,oBAAoB,KAAK,CAAC,IAAI,MAAM;QACxD,QAAQ,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,EAAE;SACf;KACJ,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iCAAiC,CAC7C,MAAwB;IAExB,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,+BAA+B,CAAC,KAAK,CAAC,CAAC,CAAC;AACzE,CAAC"}
@@ -409,9 +409,6 @@ export const convertTable = (adapterType, model, dbtMetrics, spotlightConfig, st
409
409
  : 'Found a metric and a dimension with the same name:';
410
410
  throw new ParseError(`${message} ${duplicatedNames}`);
411
411
  }
412
- if (!model.relation_name) {
413
- throw new Error(`Model "${model.name}" has no table relation`);
414
- }
415
412
  const groupDetails = {};
416
413
  if (meta.group_details) {
417
414
  Object.entries(meta.group_details).forEach(([key, data]) => {
@@ -425,6 +422,9 @@ export const convertTable = (adapterType, model, dbtMetrics, spotlightConfig, st
425
422
  validateSets(dimensions, allMetrics, model, meta);
426
423
  }
427
424
  const sqlTable = meta.sql_from || model.relation_name;
425
+ if (sqlTable === null || sqlTable === undefined || sqlTable === '') {
426
+ throw new Error(`Model "${model.name}" is missing a table reference.`);
427
+ }
428
428
  return {
429
429
  name: model.name,
430
430
  label: tableLabel,
@@ -1 +1 @@
1
- {"version":3,"file":"translator.js","sourceRoot":"","sources":["../../../src/compiler/translator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AACjC,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,eAAe,EACf,aAAa,GAOhB,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,YAAY,EACZ,wBAAwB,EACxB,UAAU,GACb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACH,eAAe,GAIlB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,aAAa,EACb,SAAS,EACT,UAAU,EACV,UAAU,EACV,YAAY,EACZ,eAAe,GAIlB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,YAAY,EACZ,yBAAyB,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,qBAAqB,EAAkB,MAAM,gBAAgB,CAAC;AAGvE,OAAO,iBAAiB,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACH,yBAAyB,EACzB,oCAAoC,GACvC,MAAM,0BAA0B,CAAC;AAElC,MAAM,eAAe,GAAG,C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C;IAClD,QAAQ;IACR,MAAM;IACN,KAAK,EAAE,KAAK,IAAI,IAAI;CACvB,CAAC,CAAC,CAAC"}
@@ -53,9 +53,9 @@ export declare const baseAgentSchema: z.ZodObject<{
53
53
  name: string;
54
54
  description: string | null;
55
55
  tags: string[] | null;
56
- model: string;
57
56
  uuid: string;
58
57
  organizationUuid: string;
58
+ model: string;
59
59
  userAccess: string[];
60
60
  version: number;
61
61
  imageUrl: string | null;
@@ -77,9 +77,9 @@ export declare const baseAgentSchema: z.ZodObject<{
77
77
  name: string;
78
78
  description: string | null;
79
79
  tags: string[] | null;
80
- model: string;
81
80
  uuid: string;
82
81
  organizationUuid: string;
82
+ model: string;
83
83
  userAccess: string[];
84
84
  version: number;
85
85
  imageUrl: string | null;
@@ -21,6 +21,7 @@ export * from './authorization/types';
21
21
  export * from './compiler/compilationReport';
22
22
  export * from './compiler/exploreCompiler';
23
23
  export * from './compiler/filtersCompiler';
24
+ export * from './compiler/lightdashModelConverter';
24
25
  export * from './compiler/parameters';
25
26
  export * from './compiler/translator';
26
27
  export * from './constants/sessionStorageKeys';
@@ -76,6 +77,7 @@ export * from './types/gitIntegration';
76
77
  export * from './types/groups';
77
78
  export * from './types/job';
78
79
  export * from './types/knex-paginate';
80
+ export * from './types/lightdashModel';
79
81
  export * from './types/lightdashProjectConfig';
80
82
  export * from './types/metricQuery';
81
83
  export * from './types/metricsExplorer';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EASH,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAA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O,MAAM,YAAY,EAAE,eAAe,EA6FhC,CAAC;AAEX,eAAO,MAAM,YAAY,EAAE,eAAe,EAWhC,CAAC"}
package/dist/esm/index.js CHANGED
@@ -24,6 +24,7 @@ export * from './authorization/types';
24
24
  export * from './compiler/compilationReport';
25
25
  export * from './compiler/exploreCompiler';
26
26
  export * from './compiler/filtersCompiler';
27
+ export * from './compiler/lightdashModelConverter';
27
28
  export * from './compiler/parameters';
28
29
  export * from './compiler/translator';
29
30
  export * from './constants/sessionStorageKeys';
@@ -79,6 +80,7 @@ export * from './types/gitIntegration';
79
80
  export * from './types/groups';
80
81
  export * from './types/job';
81
82
  export * from './types/knex-paginate';
83
+ export * from './types/lightdashModel';
82
84
  export * from './types/lightdashProjectConfig';
83
85
  export * from './types/metricQuery';
84
86
  export * from './types/metricsExplorer';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EACH,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,QAAQ,EACR,kBAAkB,GAUrB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EACH,cAAc,EACd,WAAW,GAEd,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAoB,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE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AAE,wBAAwB;qBACjC;iBACJ;aACJ;SACJ;KACJ;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE;YACJ,yDAAyD;YACzD;gBACI,QAAQ,EAAE,iBAAiB,CAAC,SAAS;gBACrC,IAAI,EAAE,eAAe,CAAC,MAAM;aAC/B;SACJ;QACD,QAAQ,EAAE;YACN;gBACI,IAAI,EAAE,iBAAiB;aAC1B;SACJ;KACJ;IACD,0CAA0C;IAC1C;QACI,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE;QACV,WAAW,EAAE;YACT;gBACI,SAAS,EAAE,YAAY,CAAC,SAAS;gBACjC,IAAI,EAAE,eAAe,CAAC,MAAM;aAC/B;SACJ;QACD,QAAQ,EAAE;YACN;gBACI,IAAI,EAAE,iBAAiB;aAC1B;SACJ;KACJ;CACK,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAsB;IAC3C;QACI,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE;YACN;gBACI,IAAI,EAAE,iBAAiB;aAC1B;SACJ;KACJ;CACK,CAAC"}
@@ -4,54 +4,15 @@
4
4
  "title": "Lightdash Model as Code",
5
5
  "description": "Schema for defining Lightdash models in YAML format independent of dbt",
6
6
  "type": "object",
7
- "oneOf": [
7
+ "allOf": [
8
8
  {
9
- "description": "Model with SQL query source",
10
- "allOf": [
11
- {
12
- "$ref": "#/definitions/BaseModel"
13
- },
14
- {
15
- "type": "object",
16
- "properties": {
17
- "from_sql": {
18
- "type": "string",
19
- "description": "SQL query to use as the model source"
20
- }
21
- },
22
- "required": ["from_sql"],
23
- "not": {
24
- "required": ["from_table"]
25
- }
26
- }
27
- ]
28
- },
29
- {
30
- "description": "Model with table reference source",
31
- "allOf": [
32
- {
33
- "$ref": "#/definitions/BaseModel"
34
- },
35
- {
36
- "type": "object",
37
- "properties": {
38
- "from_table": {
39
- "type": "string",
40
- "description": "Table reference to use as the model source"
41
- }
42
- },
43
- "required": ["from_table"],
44
- "not": {
45
- "required": ["from_sql"]
46
- }
47
- }
48
- ]
9
+ "$ref": "#/definitions/BaseModel"
49
10
  }
50
11
  ],
51
12
  "definitions": {
52
13
  "BaseModel": {
53
14
  "type": "object",
54
- "required": ["type", "name", "dimensions"],
15
+ "required": ["type", "name", "dimensions", "sql_from"],
55
16
  "properties": {
56
17
  "type": {
57
18
  "enum": ["model", "model/v1beta", "model/v1"],
@@ -61,6 +22,10 @@
61
22
  "type": "string",
62
23
  "description": "Model name (must be unique)"
63
24
  },
25
+ "sql_from": {
26
+ "type": "string",
27
+ "description": "SQL query or table reference to use as the model source (e.g., 'SELECT * FROM schema.table' or 'schema.table')"
28
+ },
64
29
  "label": {
65
30
  "type": "string",
66
31
  "description": "Human-readable label for the model"
@@ -249,7 +214,7 @@
249
214
  },
250
215
  "Dimension": {
251
216
  "type": "object",
252
- "required": ["name", "type"],
217
+ "required": ["name", "type", "sql"],
253
218
  "properties": {
254
219
  "name": {
255
220
  "type": "string",
@@ -275,7 +240,7 @@
275
240
  },
276
241
  "sql": {
277
242
  "type": "string",
278
- "description": "Custom SQL expression for this dimension"
243
+ "description": "SQL expression for this dimension (required)"
279
244
  },
280
245
  "time_intervals": {
281
246
  "oneOf": [
@@ -487,7 +452,7 @@
487
452
  },
488
453
  "sql": {
489
454
  "type": "string",
490
- "description": "Custom SQL expression for this metric"
455
+ "description": "SQL expression for this metric (optional - defaults to parent dimension)"
491
456
  },
492
457
  "round": {
493
458
  "type": "number",
@@ -745,20 +710,6 @@
745
710
  ],
746
711
  "description": "Relationship cardinality"
747
712
  },
748
- "primary_key": {
749
- "oneOf": [
750
- {
751
- "type": "string"
752
- },
753
- {
754
- "type": "array",
755
- "items": {
756
- "type": "string"
757
- }
758
- }
759
- ],
760
- "description": "Primary key of the joined model"
761
- },
762
713
  "description": {
763
714
  "type": "string",
764
715
  "description": "Detailed description of the join"