Interface: ExtensionEntrypoints
Makaio Framework / contracts / ExtensionEntrypoints
Interface: ExtensionEntrypoints
Section titled “Interface: 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.
Properties
Section titled “Properties”browser?
Section titled “browser?”
readonlyoptionalbrowser?:string|true
Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:34
Browser entry — bundled JS loaded in the renderer.
readonlyoptionalcli?:string|true
Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:36
CLI entry — exports an ExtensionCliContribution as default export.
server?
Section titled “server?”
readonlyoptionalserver?:string|true
Defined in: ../../../packages/contracts/src/extension/extension-descriptor.ts:32
Server entry — exports a MakaioExtension as default export.