From ed47aeb77958805da8a2f63ab26f76fc0955751b Mon Sep 17 00:00:00 2001 From: Derek Wickern Date: Tue, 26 Sep 2023 22:54:20 -0700 Subject: [PATCH 1/3] generate types for materialized view (#13) --- src/generator.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/generator.ts b/src/generator.ts index b4ee67b..3ed5d42 100644 --- a/src/generator.ts +++ b/src/generator.ts @@ -142,6 +142,7 @@ export class Generator { .with("base table", () => "Table" as const) .with("table", () => "Table" as const) .with("view", () => "View" as const) + .with("materialized view", () => "View" as const) .otherwise(() => null); } From 63938aefbdc85ecf118095689bfebf731b77b893 Mon Sep 17 00:00:00 2001 From: Lorefnon Date: Thu, 28 Sep 2023 11:01:11 +0530 Subject: [PATCH 2/3] Update version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4836596..a2d4fad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-sql-codegen", - "version": "3.15.0", + "version": "3.16.0", "description": "Generates ts-sql-query table mappings from tbls schema output", "main": "dist/index.js", "bin": "dist/cli.js", From 6a8b4deb300bfab66f69e28edbad9e87e8da4d42 Mon Sep 17 00:00:00 2001 From: Lorefnon Date: Thu, 28 Sep 2023 11:09:39 +0530 Subject: [PATCH 3/3] Bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a2d4fad..f76269b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-sql-codegen", - "version": "3.16.0", + "version": "3.17.0", "description": "Generates ts-sql-query table mappings from tbls schema output", "main": "dist/index.js", "bin": "dist/cli.js",