Skip to content

Interface: ExtensionEntrypoints

Makaio Framework


Makaio Framework / contracts / ExtensionEntrypoints

Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:30

Convention-based entrypoint declarations for each runtime surface.

true means “use the surface name as the stem”. A string value is a custom stem whose final path segment names the file (e.g. "cli/index" resolves to src/cli/index.ts in dev or dist/cli/index.mjs in production). Omit surfaces the extension does not target.

The runtime resolves the stem by trying src/{stem}.ts first (dev), then dist/{stem}.mjs (production). No path prefix or file extension should be included in the descriptor — those are added by convention.

readonly optional browser?: string | true

Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:34

Browser entry — bundled JS loaded in the renderer.


readonly optional cli?: string | true

Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:36

CLI entry — exports an ExtensionCliContribution as default export.


readonly optional server?: string | true

Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:32

Server entry — exports a MakaioExtension as default export.