Skip to content

feat: add notification preferences, webhooks, and Stellar dividends/KYC#1056

Open
Nimatstar wants to merge 1 commit into
DistinctCodes:mainfrom
Nimatstar:feat/notifications-webhooks-930-931-936-937
Open

feat: add notification preferences, webhooks, and Stellar dividends/KYC#1056
Nimatstar wants to merge 1 commit into
DistinctCodes:mainfrom
Nimatstar:feat/notifications-webhooks-930-931-936-937

Conversation

@Nimatstar

Copy link
Copy Markdown

Summary

  • Add NotificationsModule with NotificationPreference entity and per-user notification preference CRUD (GET/PUT/POST /users/me/notification-preferences)
  • Add WebhooksModule with Webhook entity, outbound webhook creation, listing, deletion, and test dispatch
  • Add Stellar dividend distribution and on-chain voting API endpoints (POST /stellar/assets/:id/dividends/distribute, voting proposals, vote casting, results)
  • Add Stellar lease creation, insurance policy query, and KYC submission/status endpoints
  • Fix broken app.module.ts imports array syntax (pre-existing merge conflict artefact)
  • Fix pre-existing TypeScript and lint errors across the codebase

Test plan

  • GET /users/me/notification-preferences — returns user preferences
  • PUT /users/me/notification-preferences — upserts all preferences
  • POST /webhooks — creates webhook
  • POST /webhooks/:id/test — fires test payload to URL
  • POST /stellar/assets/:id/dividends/distribute — distributes dividends (stub)
  • POST /kyc/submit — submits KYC documents (stub)
  • CI lint and build pass

closes #930
closes #931
closes #936
closes #937

- Add NotificationsModule with per-user notification preference CRUD (DistinctCodes#930)
- Add WebhooksModule with outbound webhook creation, listing, deletion, and test dispatch (DistinctCodes#931)
- Add Stellar dividend distribution and on-chain voting API endpoints (DistinctCodes#936)
- Add Stellar lease, insurance, and KYC API endpoints (DistinctCodes#937)
- Fix broken app.module.ts imports array syntax
- Fix pre-existing TypeScript and lint errors across codebase

closes DistinctCodes#930
closes DistinctCodes#931
closes DistinctCodes#936
closes DistinctCodes#937
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola

Copy link
Copy Markdown
Collaborator

@Nimatstar Kindly resolve all conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants