From df39c125ebd7d5731251f161681a54a349985789 Mon Sep 17 00:00:00 2001 From: Yu Ishikawa Date: Fri, 26 Jul 2024 11:27:26 +0900 Subject: [PATCH 1/3] Add Lightdash to `catalog.json` Signed-off-by: Yu Ishikawa --- src/api/json/catalog.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 07e9f3fc312..21efbe79de6 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -6720,6 +6720,12 @@ "description": "Tycho.yaml file", "fileMatch": ["**/tycho.yml", "**/tycho.yaml"], "url": "https://deployments.allegrogroup.com/tycho/schema" + }, + { + "name": "Lightdash", + "description": "dbt YAML files configuration for Lightdash", + "fileMatch": ["**/models/*.yml", "**/models/*.yaml"], + "url": "https://raw.githubusercontent.com/lightdash/lightdash/main/packages/common/src/schemas/json/lightdash-dbt-2.0.json" } ] } From e0471563718dc6b706b97a3a4bdcc9630f65d217 Mon Sep 17 00:00:00 2001 From: Yu Ishikawa Date: Fri, 26 Jul 2024 12:50:03 +0900 Subject: [PATCH 2/3] Update Signed-off-by: Yu Ishikawa --- src/api/json/catalog.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index 21efbe79de6..b5e4a57bb80 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -6724,7 +6724,10 @@ { "name": "Lightdash", "description": "dbt YAML files configuration for Lightdash", - "fileMatch": ["**/models/*.yml", "**/models/*.yaml"], + "fileMatch": [ + "models/*.yml", "models/**/*.yml", + "models/*.yaml", "models/**/*.yaml" + ], "url": "https://raw.githubusercontent.com/lightdash/lightdash/main/packages/common/src/schemas/json/lightdash-dbt-2.0.json" } ] From fa4c22e3f9399110c8951ad1664917977a698faf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 03:51:05 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/api/json/catalog.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index b5e4a57bb80..6dc6d86dd7c 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -6725,8 +6725,10 @@ "name": "Lightdash", "description": "dbt YAML files configuration for Lightdash", "fileMatch": [ - "models/*.yml", "models/**/*.yml", - "models/*.yaml", "models/**/*.yaml" + "models/*.yml", + "models/**/*.yml", + "models/*.yaml", + "models/**/*.yaml" ], "url": "https://raw.githubusercontent.com/lightdash/lightdash/main/packages/common/src/schemas/json/lightdash-dbt-2.0.json" }