@prismshadow/penguin-library-terminal · library/terminal/src/web/module.ts:12 · Child of WebRoot

TerminalModule

module

No JSDoc comment in source yet.

API

@Module({
  contributes: {
    "WebAppModule.pages": [
      {
        id: "terminal.page",
        key: "terminal",
        path: "/terminal",
        frame: "bare",
        nav: "none",
        admin: false,
        released: true,
        order: 100,
      },
    ],
    "WebAppModule.layers": [{ id: "terminal.runtime", order: 10 }],
    "DockModule.panels": [
      {
        id: "terminal.panel",
        kind: "terminal",
        title: "Command-line terminal",
        titleZh: "命令行终端",
        icon: "terminalWindow",
        order: 15,
      },
    ],
  },
})
export class TerminalModule {
  @Bind("terminal.page") page = TerminalPage;
  @Bind("terminal.runtime") runtime = TerminalDockRuntime;
  @Bind("terminal.panel") panel = { mainDefinitions: [mainPanelTerminal] };
}

Dependencies & Wiring

Extracted from class decorators
@Bindbinds (3)
page → terminal.page: unknown · runtime → terminal.runtime: unknown · panel → terminal.panel: unknown

Contributes

{
  "WebAppModule.pages": [
    {
      "id": "terminal.page",
      "key": "terminal",
      "path": "/terminal",
      "frame": "bare",
      "nav": "none",
      "admin": false,
      "released": true,
      "order": 100
    }
  ],
  "WebAppModule.layers": [
    {
      "id": "terminal.runtime",
      "order": 10
    }
  ],
  "DockModule.panels": [
    {
      "id": "terminal.panel",
      "kind": "terminal",
      "title": "Command-line terminal",
      "titleZh": "命令行终端",
      "icon": "terminalWindow",
      "order": 15
    }
  ]
}

Target slots: WebAppModule.pages · WebAppModule.layers · DockModule.panels

Children (0)

No child modules or components declared in @Module.

Exports (0)

None (module-private).