Skip to content

NotificationCenter

<!-- generated:meta -->

Grupui
Planeresource
Spec structNotificationCenterSpec

<!-- /generated:meta -->

Kapan Memakai

kind: NotificationCenter adalah permukaan in-app notifikasi untuk user saat ini — sumbernya module resmi formspec/notify.

Kapan memakai NotificationCenter:

  • Feed notifikasi in-app dengan badge unread

Kapan TIDAK pakai NotificationCenter:

  • Template pesan & channel provider (email/push/in-app) → itu hidup di formspec/notify, bukan di kontrak ini

Sumber kontrak: docs/spec/frontend/06-page-kinds.md §12.

Contoh Manifest

yaml
apiVersion: formspec.dev/v1
kind: NotificationCenter
metadata: { name: notifications, module: core }
spec:
  realtime: true

Atribut

<!-- generated:attributes -->

AtributTipeWajibContohDeskripsi
realtimeboolean

<!-- /generated:attributes -->

Gotchas

Standar terbuka (CC0) dengan implementasi referensi.