thebe-core / Exports / JsApi

This file is the main entrypoint for the cjs bundle For the TS module, use setupThebeCore()

Table of contents

Properties

Properties

connect

connect: (config: Config) => ThebeServer

Type declaration

▸ (config): ThebeServer

Parameters
NameType
configConfig
Returns

ThebeServer

Defined in

packages/core/src/thebe/entrypoint.ts:24


makeConfiguration

makeConfiguration: (options: Partial<CoreOptions>, events?: ThebeEvents) => Config

Type declaration

▸ (options, events?): Config

Parameters
NameType
optionsPartial<CoreOptions>
events?ThebeEvents
Returns

Config

Defined in

packages/core/src/thebe/entrypoint.ts:23


makeEvents

makeEvents: () => ThebeEvents

Type declaration

▸ (): ThebeEvents

Returns

ThebeEvents

Defined in

packages/core/src/thebe/entrypoint.ts:30


setupNotebook

setupNotebook: (blocks: CodeBlock[], options: Partial<CoreOptions>, events: ThebeEvents) => ThebeNotebook

Type declaration

▸ (blocks, options, events): ThebeNotebook

Parameters
NameType
blocksCodeBlock[]
optionsPartial<CoreOptions>
eventsThebeEvents
Returns

ThebeNotebook

Defined in

packages/core/src/thebe/entrypoint.ts:25