From 8dcb2d7ccaaadbb968e17d749b545319d461083a Mon Sep 17 00:00:00 2001 From: aericio <16523741+Aericio@users.noreply.github.com> Date: Tue, 28 May 2024 17:16:47 -1000 Subject: [PATCH] chore: remove types export from index --- dist/index.d.ts | 1 - dist/index.js | 3 ++- dist/index.js.map | 2 +- src/index.ts | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index 9e817f9..12faece 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,3 +1,2 @@ export * from "./lib/database"; -export * from "./lib/types"; export * from "./lib/schema"; diff --git a/dist/index.js b/dist/index.js index fc2a812..516da60 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,5 @@ export * from "./lib/database"; -export * from "./lib/types"; export * from "./lib/schema"; +// This is not exported to enforce usage of single /types import. +// export * from "./lib/types"; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index e9c3727..3d29dae 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAE7B,iEAAiE;AACjE,+BAA+B"} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 9e817f9..47c4ef1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ export * from "./lib/database"; -export * from "./lib/types"; export * from "./lib/schema"; + +// This is not exported to enforce usage of single /types import. +// export * from "./lib/types";