From d76ed187ee083a796a151e6bfbafc2fcda04ac82 Mon Sep 17 00:00:00 2001 From: David Perl Date: Tue, 26 Nov 2024 16:51:43 +0000 Subject: [PATCH] actually add the index files lol --- package-lock.json | 4 ++-- src/connection/index.ts | 1 + src/index.ts | 2 ++ src/types/index.ts | 1 + src/ui/hooks/index.ts | 2 ++ 5 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 src/connection/index.ts create mode 100644 src/ui/hooks/index.ts diff --git a/package-lock.json b/package-lock.json index e7c46003..665e27ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "@diamondlightsource/cs-web-lib", - "version": "0.4.0", + "version": "0.5.0", "license": "ISC", "dependencies": { "apollo-link-retry": "^2.2.16", @@ -14800,4 +14800,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/connection/index.ts b/src/connection/index.ts new file mode 100644 index 00000000..39b9a61b --- /dev/null +++ b/src/connection/index.ts @@ -0,0 +1 @@ +export * from "./plugin"; diff --git a/src/index.ts b/src/index.ts index 2a84b3fc..a8526f1a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,8 @@ export * from "./redux"; export * from "./misc"; +export * from "./connection"; export * from "./ui/components"; export * from "./ui/widgets"; +export * from "./ui/hooks"; export * from "./types"; export { contextRender } from "./testResources"; diff --git a/src/types/index.ts b/src/types/index.ts index e1665fce..a0eb8bfd 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -4,3 +4,4 @@ export { Color } from "./color"; export { PV } from "./pv"; export { Font, FontStyle } from "./font"; export { Border, BorderStyle } from "./border"; +export { DType } from "./dtypes"; diff --git a/src/ui/hooks/index.ts b/src/ui/hooks/index.ts new file mode 100644 index 00000000..e45f33b7 --- /dev/null +++ b/src/ui/hooks/index.ts @@ -0,0 +1,2 @@ +export { useDevice } from "./useDevice"; +export { useConnection } from "./useConnection";