@seneca/refer
Version:
User Referral business logic plugin for the Seneca platform.
142 lines (74 loc) • 3.06 kB
Markdown
# @seneca/refer
> _Seneca Refer_ is a plugin for [Seneca](http://senecajs.org)
User referral business logic plugin for the Seneca platform.
[](https://npmjs.com/package/@seneca/refer)
[](https://github.com/senecajs/seneca-refer/actions/workflows/build.yml)
[](https://coveralls.io/github/senecajs/seneca-refer?branch=main)
[](https://snyk.io/test/github/senecajs/seneca-refer)
[](https://deepscan.io/dashboard#view=project&tid=5016&pid=20872&bid=581541)
[](https://codeclimate.com/github/senecajs/seneca-refer/maintainability)
|  | This open source module is sponsored and supported by [Voxgig](https://www.voxgig.com). |
| ---------------------------------------------------- | --------------------------------------------------------------------------------------- |
## Install
```sh
$ npm install @seneca/refer
```
## Quick Example
```js
// Setup - get the key value (<SECRET>) separately from a vault or
// environment variable.
Seneca().use('refer', {})
TODO
```
<!--START:options-->
## Options
_None._
<!--END:options-->
<!--START:action-list-->
## Action Patterns
* [accept:entry,biz:refer](#-acceptentrybizrefer-)
* [biz:refer,create:entry](#-bizrefercreateentry-)
* [biz:refer,ensure:entry](#-bizreferensureentry-)
* [biz:refer,give:award](#-bizrefergiveaward-)
* [biz:refer,load:entry](#-bizreferloadentry-)
* [biz:refer,load:rules](#-bizreferloadrules-)
* [biz:refer,lost:entry](#-bizreferlostentry-)
* [biz:refer,update:occur](#-bizreferupdateoccur-)
* [biz:refer,update:entry](#-bizreferupdateentry-)
<!--END:action-list-->
<!--START:action-desc-->
## Action Descriptions
### « `accept:entry,biz:refer` »
No description provided.
----------
### « `biz:refer,create:entry` »
Create referral entry.
----------
### « `biz:refer,ensure:entry` »
No description provided.
----------
### « `biz:refer,give:award` »
No description provided.
----------
### « `biz:refer,load:entry` »
No description provided.
----------
### « `biz:refer,load:rules` »
No description provided.
----------
### « `biz:refer,lost:entry` »
No description provided.
----------
### « `biz:refer,update:occur` »
No description provided.
----------
### « `biz:refer,update:entry` »
No description provided.
----------
<!--END:action-desc-->
## More Examples
## Motivation
## Support
## API
## Contributing
## Background