hapi-routes-notifications:暴露简单通知机制的路由

时间:2021-06-27 14:44:12
【文件属性】:
文件名称:hapi-routes-notifications:暴露简单通知机制的路由
文件大小:158KB
文件格式:ZIP
更新时间:2021-06-27 14:44:12
JavaScript (C) 2014 马丁·瓦鲁施 提供基于 HAPI 的通知管理端点。 POST /users/me/notifications 创建新通知。 通知由发布此消息的用户拥有(取自凭据中的 id 字段。)默认选项限制为每个用户一个,但这可以被覆盖。 以后再说 get /users/me/notifications/active --> 检索用户帖子的当前活动通知 /users/me/notification/active get /users/me/notifications 获取 /notifications/:notificationId 补丁 /notifications/:notificationId 删除 /notifications/:notificationId post /notifications/:notificationId/credit-cards/stripe-c
【文件预览】:
hapi-routes-notifications-master
----.travis.yml(55B)
----package.json(1KB)
----test()
--------routes-users-user-id-notifications-mark-as-read-tests.coffee(1KB)
--------support()
--------index-tests.coffee(581B)
--------routes-notifications-tests.coffee(893B)
----Gruntfile.coffee(2KB)
----src()
--------routes-users-user-id-notifications-mark-as-read-post.coffee(2KB)
--------helper-user-id-from-request.coffee(118B)
--------routes-users-user-id-notifications-get.coffee(2KB)
--------helper-obj-to-rest.coffee(128B)
--------routes-notifications-post.coffee(3KB)
--------validation-schemas.coffee(150B)
--------routes-notifications-notification-id-mark-as-read-post.coffee(1KB)
--------i18n.coffee(2KB)
--------index.coffee(1KB)
----doc()
--------method_list.html(944B)
--------extra()
--------alphabetical_index.html(5KB)
--------mixin_list.html(730B)
--------index.html(432B)
--------class_list.html(730B)
--------file_list.html(3KB)
--------extra_list.html(849B)
--------file()
--------stylesheets()
--------javascript()
----.gitignore(80B)
----lib()
--------routes-users-user-id-notifications-get.js.map(3KB)
--------routes-notifications.js.map(7KB)
--------index.js(2KB)
--------routes-users-user-id-notifications-get.js(3KB)
--------i18n.js(2KB)
--------routes-users-user-id-notifications-mark-as-read-post.js(3KB)
--------index.js.map(1023B)
--------helper-obj-to-rest.js(259B)
--------routes-users-user-id-notifications-mark-as-read-post.js.map(3KB)
--------routes-notifications-notification-id-mark-as-read-post.js(2KB)
--------helper-user-id-from-request.js(357B)
--------validation-schemas.js.map(451B)
--------routes-notifications-notification-id-mark-as-read-post.js.map(2KB)
--------helper-user-id-from-request.js.map(320B)
--------i18n.js.map(633B)
--------routes-notifications-post.js.map(4KB)
--------helper-obj-to-rest.js.map(451B)
--------routes-notifications.js(8KB)
--------routes-notifications-post.js(5KB)
--------validation-schemas.js(280B)
----README.md(4KB)

网友评论