Model interactions


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx
ownerxxxx
userxx
all

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
app_countNumberx
books_countNumberx
countNumberx
createdAtDate
date_paidDatex
dayDatexx
emailStringx
first_paymentDatex
insiderBooleanx
last_paymentDatex
lifetime_valueNumberx
monthly_valueNumberx
quicket_countNumberx
reader_idObjectIDreaderxx
sailthru_blast_click_countNumberx
sailthru_blast_open_countNumberx
sailthru_transactional_click_countNumberx
sailthru_transactional_open_countNumberx
touchbasepro_click_countNumberx
touchbasepro_open_countNumberx
uidStringxxx
updatedAtDate
web_countNumberx
wordpress_idNumberx

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

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

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

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": []
}