{{ entry.name }}
{{ entry.packagePath }}
{{ entry.description }}
{{ entry.structure }}
import { Component } from '@angular/core'; import { RouterLink } from '@angular/router'; import { DemoSectionComponent } from '../shared/demo-section.component'; import { PageHeaderComponent } from '../shared/page-header.component'; import { MODELS_IMPORT } from '../snippets'; interface ModelEntry { name: string; packagePath: string; description: string; /** TypeScript shape from `@africanies/africanies-models` (display-only). */ structure: string; } interface ModelGroup { id: string; title: string; hint: string; models: ModelEntry[]; /** Optional link to the matching SDK API service/group. */ apiFragment?: string; apiLabel?: string; } interface ModelCategory { id: string; title: string; hint: string; groups: ModelGroup[]; } /** * Shape catalog for `@africanies/africanies-models`. * How to call services lives on the SDK API page. */ @Component({ selector: 'app-models-page', standalone: true, imports: [PageHeaderComponent, DemoSectionComponent, RouterLink], template: `
Types only — no Angular providers. Service calls and snippets live on SDK API.
{{ category.hint }}
How to call: {{ group.apiLabel ?? 'SDK API' }}
}{{ entry.packagePath }}
{{ entry.description }}
{{ entry.structure }}