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? |
---|
__v | Number | | | | | |
_deleted | Boolean | | | false | x | |
_id | ObjectID | | | function defaultId() {
return new oid();
} | | |
_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 | |
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 | |
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 |
updatedAt | Date | | | | | |
web_count | Number | | | | x | |
wordpress_id | Number | | | | x | |
Raw definition
{
"path": "__v",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"__v"
],
"options": {},
"_index": null
}
{
"path": "_deleted",
"instance": "Boolean",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"_deleted"
],
"options": {
"default": false,
"index": true
},
"_index": true,
"defaultValue": false
}
{
"path": "_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [
null
],
"_presplitPath": [
"_id"
],
"options": {
"auto": true,
"type": "ObjectId"
},
"_index": null
}
{
"path": "_owner_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"_owner_id"
],
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"_index": true
}
{
"path": "_updated_by_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"_updated_by_id"
],
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"_index": true
}
{
"path": "app_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"app_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "books_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"books_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "createdAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [
null,
null
],
"_presplitPath": [
"createdAt"
],
"options": {
"immutable": true
},
"_index": null,
"$immutable": true
}
{
"path": "date_paid",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"date_paid"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "day",
"instance": "Date",
"validators": [
{
"message": "Path `{PATH}` is required.",
"type": "required"
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"day"
],
"options": {
"required": true,
"index": true
},
"_index": true,
"isRequired": true,
"originalRequiredValue": true
}
{
"enumValues": [],
"regExp": null,
"path": "email",
"instance": "String",
"validators": [],
"getters": [],
"setters": [
null,
null
],
"_presplitPath": [
"email"
],
"options": {
"index": true,
"trim": true,
"lowercase": true
},
"_index": true
}
{
"path": "first_payment",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"first_payment"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "insider",
"instance": "Boolean",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"insider"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "last_payment",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"last_payment"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "lifetime_value",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"lifetime_value"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "monthly_value",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"monthly_value"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "quicket_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"quicket_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "reader_id",
"instance": "ObjectID",
"validators": [
{
"message": "Path `{PATH}` is required.",
"type": "required"
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"reader_id"
],
"options": {
"required": true,
"link": "reader",
"index": true
},
"_index": true,
"isRequired": true,
"originalRequiredValue": true
}
{
"path": "sailthru_blast_click_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"sailthru_blast_click_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "sailthru_blast_open_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"sailthru_blast_open_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "sailthru_transactional_click_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"sailthru_transactional_click_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "sailthru_transactional_open_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"sailthru_transactional_open_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "touchbasepro_click_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"touchbasepro_click_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "touchbasepro_open_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"touchbasepro_open_count"
],
"options": {
"index": true
},
"_index": true
}
{
"enumValues": [],
"regExp": null,
"path": "uid",
"instance": "String",
"validators": [
{
"message": "Path `{PATH}` is required.",
"type": "required"
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"uid"
],
"options": {
"required": true,
"index": true,
"unique": true
},
"_index": {
"unique": true
},
"isRequired": true,
"originalRequiredValue": true
}
{
"path": "updatedAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"updatedAt"
],
"options": {},
"_index": null
}
{
"path": "web_count",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"web_count"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "wordpress_id",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"wordpress_id"
],
"options": {
"index": true
},
"_index": true
}