SYMBOL INDEX (129 symbols across 25 files) FILE: internals/esbuild-plugins/inline-file.ts function inlineFilePlugin (line 5) | function inlineFilePlugin(): Plugin { FILE: internals/esbuild-plugins/inline-worker.ts constant WORKER_RE (line 7) | const WORKER_RE = /(?:new Worker|createNodeWorker|StatefulWorker)\(requi... function hashString (line 10) | function hashString(val: string): string { function writeWorker (line 16) | async function writeWorker(dirname: string, content: string): Promise P... FILE: internals/servers/consumer/build.ts constant RUNTIME_PORT (line 9) | const RUNTIME_PORT = 4000; constant RUNTIME_URL (line 10) | const RUNTIME_URL = `https://${os.hostname()}-${RUNTIME_PORT}.${ FILE: internals/servers/consumer/serve.ts constant PORT (line 7) | const PORT = 5000; FILE: internals/servers/main-server.ts constant PORT (line 7) | const PORT = +(process.env.PORT || '4000'); constant NODE_EMULATOR_RUNTIME_BUILD_DIR (line 11) | const NODE_EMULATOR_RUNTIME_BUILD_DIR = path.join(__dirname, '../../pack... FILE: internals/servers/preview-server.ts constant PORT (line 7) | const PORT = +(process.env.PORT || '3000'); constant PREVIEW_BUILD_DIR (line 11) | const PREVIEW_BUILD_DIR = path.join(__dirname, '../../packages/runtime/p... FILE: internals/servers/test/test-server.ts constant PORT (line 7) | const PORT = 4007; FILE: internals/servers/utils.ts function setupApp (line 5) | function setupApp(): FastifyInstance { FILE: packages/nodebox/build.ts constant EXIT_TS_ERROR (line 5) | const EXIT_TS_ERROR = Boolean(process.env.IS_PROD_BUILD || process.env.CI); function build (line 7) | async function build() { FILE: packages/nodebox/src/Nodebox.ts constant DEFAULT_RUNTIME_URL (line 13) | const DEFAULT_RUNTIME_URL = 'https://nodebox-runtime.codesandbox.io'; type ChannelOptions (line 15) | interface ChannelOptions { class Nodebox (line 34) | class Nodebox { method constructor (line 44) | constructor(private readonly options: ChannelOptions) { method connect (line 59) | public async connect(): Promise { method fs (line 126) | get fs(): FileSystemApi { method shell (line 140) | get shell(): ShellApi { method preview (line 154) | get preview(): PreviewApi { FILE: packages/nodebox/src/logger.ts constant FLAG (line 2) | const FLAG = window.localStorage['CSB_EMULATOR_DEBUG']; constant DEFAULT (line 7) | const DEFAULT = '\u001b[0m'; constant GREEN (line 9) | const GREEN = '\u001b[32;1m'; constant RED (line 10) | const RED = '\u001b[31m'; constant BLUE (line 12) | const BLUE = '\u001b[34m'; constant YELLOW (line 13) | const YELLOW = '\u001b[33;1m'; constant MAGENTA (line 14) | const MAGENTA = '\u001b[35;1m'; constant CYAN (line 15) | const CYAN = '\u001b[36;1m'; type Scope (line 17) | type Scope = 'preview' | 'emulator' | 'runtime' | 'bridge' | 'runtime:wo... constant COLOR_SCOPE (line 18) | const COLOR_SCOPE: Record = { function createDebug (line 26) | function createDebug(scope: Scope) { FILE: packages/nodebox/src/messages.ts type ConsumerEvents (line 16) | interface ConsumerEvents extends FileSystemEvents, ShellEvents, PreviewE... type WatcherEvent (line 22) | type WatcherEvent = type FSWatchEvent (line 44) | type FSWatchEvent = WatcherEvent & { type WorkerStatusUpdate (line 48) | type WorkerStatusUpdate = type WorkerEvents (line 65) | interface WorkerEvents { type OperationEvent (line 98) | type OperationEvent = Payload & { type MaybePromise (line 102) | type MaybePromise = T | Promise; class MessageReceiver (line 104) | class MessageReceiver { method constructor (line 108) | constructor() { method waitForHandshake (line 113) | private waitForHandshake() { method addMessageListener (line 147) | private addMessageListener(): void { method on (line 167) | public on( method send (line 197) | public send( class MessageSender (line 214) | class MessageSender { method constructor (line 220) | constructor(private readonly target: Window) { method handshake (line 248) | public async handshake(): Promise { method on (line 274) | public on( method off (line 292) | public off( method send (line 300) | public async send( FILE: packages/nodebox/src/modules/fs.ts type FSEncoding (line 5) | type FSEncoding = BufferEncoding | 'buffer'; type FileContent (line 7) | type FileContent = Uint8Array | string; type FilesMap (line 9) | interface FilesMap { type FileWatchOptions (line 13) | interface FileWatchOptions { type FileWatchEvent (line 17) | type FileWatchEvent = Omit; type IFileStats (line 19) | interface IFileStats { type FileSystemEvents (line 30) | interface FileSystemEvents { type WriteFileOptions (line 83) | type WriteFileOptions = BufferEncoding | { encoding?: BufferEncoding; re... class FileSystemApi (line 85) | class FileSystemApi { method constructor (line 86) | constructor(private readonly channel: MessageSender) {} method init (line 91) | public async init(files: FilesMap): Promise { method readFile (line 104) | public async readFile(path: string, encoding?: FSEncoding): Promise { method mkdir (line 147) | public async mkdir(path: string, options?: { recursive?: boolean }): P... method stat (line 154) | public async stat(path: string): Promise { method rm (line 164) | public async rm(path: string, options?: { force?: boolean; recursive?:... method watch (line 174) | public async watch( FILE: packages/nodebox/src/modules/preview.ts type PreviewEvents (line 5) | interface PreviewEvents { constant TIMEOUT (line 15) | const TIMEOUT = 20_000; type PreviewInfo (line 17) | type PreviewInfo = { class PreviewApi (line 23) | class PreviewApi { method constructor (line 24) | constructor(private readonly channel: MessageSender) {} method waitFor (line 26) | private async waitFor( method getByShellId (line 77) | public async getByShellId(sourceShellId: string, timeout?: number): Pr... method waitForPort (line 83) | public async waitForPort(port: number, timeout?: number): Promise, options:... method on (line 107) | public async on(message: 'exit' | 'progress' | 'error', listener: any)... method kill (line 130) | public async kill(): Promise { FILE: packages/nodebox/src/runtime-protocol.types.ts constant INJECT_MESSAGE_TYPE (line 1) | const INJECT_MESSAGE_TYPE = 'INJECT_AND_INVOKE'; constant PREVIEW_LOADED_MESSAGE_TYPE (line 2) | const PREVIEW_LOADED_MESSAGE_TYPE = 'PREVIEW_LOADED'; type Message (line 4) | interface Message { type BaseScope (line 8) | type BaseScope = Record; type InjectMessage (line 10) | interface InjectMessage { FILE: packages/utils/withTimeout.ts function withTimeout (line 7) | function withTimeout(promise: DeferredPromise, duration: number): v... FILE: sync-repo.js constant INTERNAL_ENTRIES (line 35) | const INTERNAL_ENTRIES = ['packages/runtime', 'documentation']; FILE: tests/features/files.start.test.ts type WatchOutput (line 28) | type WatchOutput = FileWatchEvent | undefined; FILE: tests/global.d.ts type ProcessEnv (line 2) | interface ProcessEnv { type Window (line 9) | interface Window { FILE: tests/index.ts type Window (line 6) | interface Window { type Fixtures (line 14) | interface Fixtures { constant EMULATOR_URL (line 29) | const EMULATOR_URL = `https://${process.env.EMULATOR_HOST}?layout=debug`; method runTestServer (line 34) | async runTestServer({ page }, use) { method getBridgeFrameLocator (line 54) | async getBridgeFrameLocator({ page }, use) { method getPreviewFrameLocator (line 64) | async getPreviewFrameLocator({ page }, use) { method getPreviewFrame (line 74) | async getPreviewFrame({ getBridgeFrameLocator, getPreviewFrameLocator },... method runExample (line 86) | async runExample({ page }, use) { FILE: tests/setup/MockCdn.ts type MockCdnOptions (line 7) | interface MockCdnOptions { type MockCdnPackage (line 11) | interface MockCdnPackage { class MockCdn (line 17) | class MockCdn { method constructor (line 22) | constructor(options: MockCdnOptions) { method respondWith (line 35) | private respondWith(res: FastifyReply, data: unknown) { method dependencyQueryMiddleware (line 40) | private dependencyQueryMiddleware(req: FastifyRequest, res: FastifyRep... method moduleQueryMiddleware (line 53) | private moduleQueryMiddleware(req: FastifyRequest<{ Params: { query: s... method getPackagePragma (line 70) | private getPackagePragma(pkgName: string, packageVersion: string): str... method url (line 74) | get url(): string { method listen (line 79) | public async listen(options?: FastifyListenOptions): Promise { FILE: tests/setup/globalSetup.ts function globalSetup (line 16) | async function globalSetup(_context: Config): Promise<() => Promise { function runPreviewServer (line 47) | function runPreviewServer(): DeferredPromise { function spawnAndWaitForStdout (line 53) | function spawnAndWaitForStdout( FILE: tests/setup/runSandpackCDNProxy.ts type TestServerReturnType (line 8) | interface TestServerReturnType { constant TEST_DATA_DIR (line 13) | const TEST_DATA_DIR = path.join(__dirname, '../cdn-proxy'); function runSandpackCDNProxy (line 15) | async function runSandpackCDNProxy(): Promise { FILE: tests/setup/runTestServer.ts type TestServerReturnType (line 7) | interface TestServerReturnType { function runTestServer (line 12) | async function runTestServer(): Promise {