@prismshadow/penguin-library-workbench · library/workbench/src/web/app-center/module.ts:13 · Child of WebRoot

AppCenterModule

module

No JSDoc comment in source yet.

API

@Module({
  contributes: {
    "WebAppModule.pages": [
      {
        id: "app-center.page",
        key: "apps",
        path: "/apps",
        frame: "shell",
        nav: "main",
        admin: false,
        released: true,
        order: 25,
        title: "App Center",
        titleZh: "应用中心",
        icon: "tiles",
      },
      {
        // Beside an Agent workbench's full page (/app/:projectId/:agentId/:workbenchId), which
        // its static segment outranks: no Agent but the system Agent has this id.
        id: "app-center.system-app",
        key: "system-app",
        path: "/app/:projectId/system_agent/:appKey",
        frame: "bare",
        nav: "none",
        admin: false,
        released: true,
        order: 112,
      },
      {
        // The Evaluation Center's old addresses, until 1.0: they lead into the Self-Evolution
        // Workbench's window (legacy-benchmark-redirect.tsx).
        id: "app-center.legacy-benchmark",
        key: "legacy-benchmark",
        path: "/benchmark/*",
        frame: "shell",
        nav: "none",
        admin: false,
        released: true,
        order: 70,
      },
    ],
    "WebAppModule.layers": [{ id: "app-center.windows", order: 40, area: "page" }],
  },
})
export class AppCenterModule {
  @Bind("app-center.page") page = AppCenterPage;
  @Bind("app-center.windows") windows = AppCenterWindows;
  @Bind("app-center.system-app") systemApp = SystemAppPage;
  @Bind("app-center.legacy-benchmark") legacyBenchmark = LegacyBenchmarkRedirect;
}

Dependencies & Wiring

Extracted from class decorators
@Bindbinds (4)
page → app-center.page: unknown · windows → app-center.windows: unknown · systemApp → app-center.system-app: unknown · legacyBenchmark → app-center.legacy-benchmark: unknown

Contributes

{
  "WebAppModule.pages": [
    {
      "id": "app-center.page",
      "key": "apps",
      "path": "/apps",
      "frame": "shell",
      "nav": "main",
      "admin": false,
      "released": true,
      "order": 25,
      "title": "App Center",
      "titleZh": "应用中心",
      "icon": "tiles"
    },
    {
      "id": "app-center.system-app",
      "key": "system-app",
      "path": "/app/:projectId/system_agent/:appKey",
      "frame": "bare",
      "nav": "none",
      "admin": false,
      "released": true,
      "order": 112
    },
    {
      "id": "app-center.legacy-benchmark",
      "key": "legacy-benchmark",
      "path": "/benchmark/*",
      "frame": "shell",
      "nav": "none",
      "admin": false,
      "released": true,
      "order": 70
    }
  ],
  "WebAppModule.layers": [
    {
      "id": "app-center.windows",
      "order": 40,
      "area": "page"
    }
  ]
}

Target slots: WebAppModule.pages · WebAppModule.layers

Children (0)

No child modules or components declared in @Module.

Exports (0)

None (module-private).