cap-js-notifications
A CAP Node.js order service that sends a notification after every create, published as a sample implementation of @cap-js/notifications@cap-js/notificationsPublishes business notifications to SAP Build WorkZone from the application, so a user is told something happened without the UI polling for it.sap official, cap.
The wiring sits in three files. package.json pins the plugin at 0.1.0 on @sap/cds 7, srv/service.cds projects shop.Orders into a draft-enabled service with Fiori annotations for the list and the detail view, and srv/service.js connects to the notifications service in an after CREATE handler and calls notify with recipients, a priority, a title and a description. The recipient is one address written into the handler, so nothing here decides who is told. Production configuration is declared in package.json, xsuaa for authentication and HANA for the database, and the scripts build and deploy the project as a multi-target application.
Facts
Where it sits
Who is behind it
In the atlas: maintains 47, contributes to 47, wrote 10@miyasutamaintainer
Before choosing this
Signals
LicenceNo licenseNeither the package manifest nor the repository tree declares a licence
Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.
What it declares
Every artifact
- Type
- Sample
- Origin
- Independently maintained
As a sample
- Form
- does not say
Connections
Telling a person something happened when they are not looking
Download
README
quoted from miyasuta/cap-js-notifications, readGetting Started
Welcome to your new project.
It contains these folders and files, following our recommended project layout:
| File or Folder | Purpose |
|---|---|
app/ | content for UI frontends goes here |
db/ | your domain models and data go here |
srv/ | your service models and code go here |
package.json | project metadata and configuration |
readme.md | this getting started guide |
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
Flavors
“"@sap/cds": "^7"” — miyasuta/cap-js-notifications — package.json
History in the atlas
- First seen.
For your agent
- Ref
artifact:miyasuta-cap-js-notifications- JSON
- /artifacts/miyasuta-cap-js-notifications.json
- MCP
- Connecting an agent