Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Cleanup enums

Tomas Valenta5b693a289635
diff --git a/packages/js-sdk/src/index.ts b/packages/js-sdk/src/index.ts
index a726f3d7c..1a6b0ba97 100644
--- a/packages/js-sdk/src/index.ts
+++ b/packages/js-sdk/src/index.ts
@@ -19,7 +19,8 @@ export {
export type { Logger } from './logs'
export type { ConnectionOpts, Username } from './connectionConfig'
-export type { FilesystemEvent, WatchHandle, FilesystemEventType } from './sandbox/filesystem/watchHandle'
+export { FilesystemEventType } from './sandbox/filesystem/watchHandle'
+export type { FilesystemEvent, WatchHandle } from './sandbox/filesystem/watchHandle'
export type {
EntryInfo,
} from './sandbox/filesystem'
diff --git a/packages/js-sdk/src/sandbox/filesystem/watchHandle.ts b/packages/js-sdk/src/sandbox/filesystem/watchHandle.ts
index b74a892f0..0107f17c6 100644
--- a/packages/js-sdk/src/sandbox/filesystem/watchHandle.ts
+++ b/packages/js-sdk/src/sandbox/filesystem/watchHandle.ts
@@ -4,7 +4,7 @@ import {
WatchDirResponse,
} from '../../envd/filesystem/filesystem_pb'
-export enum FilesystemEventType {
+export const enum FilesystemEventType {
CHMOD = 'chmod',
CREATE = 'create',
REMOVE = 'remove',