Model touchbasesubscribers


Permissions

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

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
createdAtDate
dataMixed
dateDate
emailStringx
email_clientString
list_idObjectIDtouchbaselistx
nameString
stateStringx
uidStringx
updatedAtDate

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

createdAt

{
  "path": "createdAt",
  "instance": "Date",
  "options": {
    "immutable": true
  },
  "validators": []
}

data

{
  "path": "data",
  "instance": "Mixed",
  "options": {},
  "validators": []
}

date

{
  "path": "date",
  "instance": "Date",
  "options": {},
  "validators": []
}

email

{
  "path": "email",
  "instance": "String",
  "options": {
    "index": true
  },
  "validators": []
}

email_client

{
  "path": "email_client",
  "instance": "String",
  "options": {},
  "validators": []
}

list_id

{
  "path": "list_id",
  "instance": "ObjectID",
  "options": {
    "link": "touchbaselist",
    "index": true
  },
  "validators": []
}

name

{
  "path": "name",
  "instance": "String",
  "options": {},
  "validators": []
}

state

{
  "path": "state",
  "instance": "String",
  "options": {
    "index": true
  },
  "validators": []
}

uid

{
  "path": "uid",
  "instance": "String",
  "options": {
    "unique": true
  },
  "validators": []
}

updatedAt

{
  "path": "updatedAt",
  "instance": "Date",
  "options": {},
  "validators": []
}