Model interactions
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| owner | x | x | x | x |
| user | x | x | | |
| all | | | | |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| app_count | Number | | | | x | | |
| books_count | Number | | | | x | | |
| count | Number | | | | x | | |
| createdAt | Date | | | | | | |
| date_paid | Date | | | | x | | |
| day | Date | | | | x | | x |
| email | String | | | | x | | |
| first_payment | Date | | | | x | | |
| insider | Boolean | | | | x | | |
| last_payment | Date | | | | x | | |
| lifetime_value | Number | | | | x | | |
| monthly_value | Number | | | | x | | |
| quicket_count | Number | | | | x | | |
| reader_id | ObjectID | reader | | | x | | x |
| sailthru_blast_click_count | Number | | | | x | | |
| sailthru_blast_open_count | Number | | | | x | | |
| sailthru_transactional_click_count | Number | | | | x | | |
| sailthru_transactional_open_count | Number | | | | x | | |
| touchbasepro_click_count | Number | | | | x | | |
| touchbasepro_open_count | Number | | | | x | | |
| uid | String | | | | x | x | x |
| updatedAt | Date | | | | | | |
| web_count | Number | | | | x | | |
| wordpress_id | Number | | | | x | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}app_count
{
"path": "app_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}books_count
{
"path": "books_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}count
{
"path": "count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}date_paid
{
"path": "date_paid",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}day
{
"path": "day",
"instance": "Date",
"options": {
"required": true,
"index": true
},
"validators": [
{
"message": "Path `{PATH}` is required."
}
],
"isRequired": true
}Validators
- : Path `{PATH}` is required.
email
{
"path": "email",
"instance": "String",
"options": {
"index": true,
"trim": true,
"lowercase": true
},
"validators": []
}first_payment
{
"path": "first_payment",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}insider
{
"path": "insider",
"instance": "Boolean",
"options": {
"index": true
},
"validators": []
}last_payment
{
"path": "last_payment",
"instance": "Date",
"options": {
"index": true
},
"validators": []
}lifetime_value
{
"path": "lifetime_value",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}monthly_value
{
"path": "monthly_value",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}quicket_count
{
"path": "quicket_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}reader_id
{
"path": "reader_id",
"instance": "ObjectID",
"options": {
"required": true,
"link": "reader",
"index": true
},
"validators": [
{
"message": "Path `{PATH}` is required."
}
],
"isRequired": true
}Validators
- : Path `{PATH}` is required.
sailthru_blast_click_count
{
"path": "sailthru_blast_click_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}sailthru_blast_open_count
{
"path": "sailthru_blast_open_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}sailthru_transactional_click_count
{
"path": "sailthru_transactional_click_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}sailthru_transactional_open_count
{
"path": "sailthru_transactional_open_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}touchbasepro_click_count
{
"path": "touchbasepro_click_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}touchbasepro_open_count
{
"path": "touchbasepro_open_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}uid
{
"path": "uid",
"instance": "String",
"options": {
"required": true,
"index": true,
"unique": true
},
"validators": [
{
"message": "Path `{PATH}` is required."
}
],
"isRequired": true
}Validators
- : Path `{PATH}` is required.
updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}web_count
{
"path": "web_count",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}wordpress_id
{
"path": "wordpress_id",
"instance": "Number",
"options": {
"index": true
},
"validators": []
}