dino-market-ui-seedwork
TypeScript icon, indicating that this package has built-in type declarations

1.0.86 • Public • Published

common

TODO: description

Usage

const common = require('common');

// TODO: DEMONSTRATE API

API Compatible Specs

Main API

  1. API for retrieving ME

users/{role}/me - GET

Example body

{
  data: {
    walletAddress: str,
    avatar: str,
    username: str
    id: str
  }
}
  1. Get current user firebase notification token

user-notification/token - GET

Example body

{
  data: {
    notification_identifier: str
  }
}
  1. Update notification token

user-notification/token - POST

  1. Mark notification read

user-notification/{noti-id}/mark-as-read - PATCH

  1. Mark notification mark as read

user-notification/mark-as-read-all - POST

  1. Get notification list

user-notification/ - GET

Example body

{
  data: {
    items: [
      {
        content: json_string,
        id: string,
        is_read: bool,
        send-_at: ISO_date
        type_id: str_capitalized
      }
    ]
  }
}

Package Sidebar

Install

npm i dino-market-ui-seedwork

Weekly Downloads

8

Version

1.0.86

License

MIT

Unpacked Size

45.2 MB

Total Files

132

Last publish

Collaborators

  • orai_dinohub