git » sdk » commit e0c152c

Mark exported types

author Stephen Paul Weber
2026-02-23 15:14:14 UTC
committer Stephen Paul Weber
2026-02-23 15:14:14 UTC
parent 7b42212a4765abce2a0ff81d1aff1cc605111b6b

Mark exported types

for compatibilty with isolatedModules tsconfig

npm/calls.ts +3 -1
npm/index.ts +4 -2
npm/persistence.ts +4 -2

diff --git a/npm/calls.ts b/npm/calls.ts
index 2aa2a21..1ce1db1 100644
--- a/npm/calls.ts
+++ b/npm/calls.ts
@@ -2,6 +2,8 @@ export {
 	borogove_calls_CallStatus as CallStatus,
 } from "./borogove-enums";
 export {
-	borogove_calls_Session as Session,
 	borogove_calls_InitiatedSession as InitiatedSession,
 } from "./borogove.js";
+export type {
+	borogove_calls_Session as Session,
+} from "./borogove.js";
diff --git a/npm/index.ts b/npm/index.ts
index 4ac5b20..9b13343 100644
--- a/npm/index.ts
+++ b/npm/index.ts
@@ -22,7 +22,6 @@ export {
     borogove_DirectChat as DirectChat,
     borogove_EventEmitter as EventEmitter,
     borogove_Form as Form,
-    borogove_FormSection as FormSection,
     borogove_FormItem as FormItem,
     borogove_FormField as FormField,
     borogove_FormOption as FormOption,
@@ -31,7 +30,6 @@ export {
     borogove_LinkMetadata as LinkMetadata,
     borogove_Notification as Notification,
     borogove_Participant as Participant,
-    borogove_Persistence as Persistence,
     borogove_Profile as Profile,
     borogove_ProfileBuilder as ProfileBuilder,
     borogove_ProfileItem as ProfileItem,
@@ -40,6 +38,10 @@ export {
     borogove_Register as Register,
     borogove_SerializedChat as SerializedChat,
 } from "./borogove.js";
+export type {
+    borogove_FormSection as FormSection,
+    borogove_Persistence as Persistence,
+} from "./borogove.js";
 
 import * as persistence from "./persistence";
 export { persistence };
diff --git a/npm/persistence.ts b/npm/persistence.ts
index 8f3f7ff..04070da 100644
--- a/npm/persistence.ts
+++ b/npm/persistence.ts
@@ -2,8 +2,10 @@ export { default as IDB } from "./IDB.js";
 export { default as MediaStoreCache } from "./MediaStoreCache.js";
 
 export {
-	borogove_persistence_KeyValueStore as KeyValueStore,
-	borogove_persistence_MediaStore as MediaStore,
 	borogove_persistence_Dummy as Dummy,
 	borogove_persistence_Sqlite as Sqlite,
 } from "./borogove.js";
+export type {
+	borogove_persistence_KeyValueStore as KeyValueStore,
+	borogove_persistence_MediaStore as MediaStore,
+} from "./borogove.js";