Model sailthru_profile
Permissions
User Group | Create? | Read? | Update? | Delete? |
---|
admin | x | x | x | x |
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 | |
browser | Array | | | function() {
// Leave it up to `cast()` to convert the array
return fn
? defaultArr.call(this)
: defaultArr != null
? [].concat(defaultArr)
: [];
} | | |
create_date | Date | | | | | |
createdAt | Date | | | | | |
email | String | | | | x | x |
extid | Number | | | | | |
geo | Mixed | | | | | |
horizon_month | Mixed | | | | | |
horizon_times | Mixed | | | | | |
id | String | | | | x | x |
last_click | Date | | | | | |
last_open | Date | | | | | |
last_pageview | Date | | | | | |
lists_signup | Array | | | function() {
// Leave it up to `cast()` to convert the array
return fn
? defaultArr.call(this)
: defaultArr != null
? [].concat(defaultArr)
: [];
} | | |
optout_reason | String | | | | | |
optout_time | Date | | | | | |
optout_type | String | | | | | |
signup_time | Date | | | | | |
total_clicks | Number | | | | | |
total_messages | Number | | | | | |
total_opens | Number | | | | | |
total_pageviews | Number | | | | | |
total_unique_clicks | Number | | | | | |
total_unique_opens | Number | | | | | |
updatedAt | Date | | | | | |
var_time | Date | | | | | |
vars | Mixed | | | | | |
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
}
{
"schemaOptions": {
"timestamps": true,
"toJSON": {
"virtuals": true
},
"toObject": {
"virtuals": true
},
"collection": "sailthru_profile",
"perms": {
"admin": "crud"
},
"typeKey": "type",
"id": true,
"_id": true,
"validateBeforeSave": true,
"read": null,
"shardKey": null,
"discriminatorKey": "__t",
"autoIndex": null,
"minimize": true,
"optimisticConcurrency": false,
"versionKey": "__v",
"capped": false,
"bufferCommands": true,
"strictQuery": true,
"strict": true,
"_perms": {
"admin": "crud",
"owner": "",
"user": "",
"all": ""
},
"pluralization": true
},
"caster": {
"path": "browser",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"browser"
],
"options": {},
"_index": null,
"_arrayPath": "browser.$",
"_arrayParentPath": "browser"
},
"$embeddedSchemaType": {
"path": "browser",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"browser"
],
"options": {},
"_index": null,
"_arrayPath": "browser.$",
"_arrayParentPath": "browser"
},
"$isMongooseArray": true,
"path": "browser",
"instance": "Array",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"browser"
],
"options": {},
"_index": null
}
{
"path": "create_date",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"create_date"
],
"options": {},
"_index": null
}
{
"path": "createdAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [
null,
null
],
"_presplitPath": [
"createdAt"
],
"options": {
"immutable": true
},
"_index": null,
"$immutable": true
}
{
"enumValues": [],
"regExp": null,
"path": "email",
"instance": "String",
"validators": [
{
"message": "Path `{PATH}` is required.",
"type": "required"
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"email"
],
"options": {
"unique": true,
"index": true,
"required": true
},
"_index": {
"unique": true
},
"isRequired": true,
"originalRequiredValue": true
}
{
"path": "extid",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"extid"
],
"options": {},
"_index": null
}
{
"path": "geo",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"geo"
],
"options": {},
"_index": null
}
{
"path": "horizon_month",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"horizon_month"
],
"options": {},
"_index": null
}
{
"path": "horizon_times",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"horizon_times"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "id",
"instance": "String",
"validators": [
{
"message": "Path `{PATH}` is required.",
"type": "required"
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"id"
],
"options": {
"unique": true,
"index": true,
"required": true
},
"_index": {
"unique": true
},
"isRequired": true,
"originalRequiredValue": true
}
{
"path": "last_click",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"last_click"
],
"options": {},
"_index": null
}
{
"path": "last_open",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"last_open"
],
"options": {},
"_index": null
}
{
"path": "last_pageview",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"last_pageview"
],
"options": {},
"_index": null
}
{
"schemaOptions": {
"timestamps": true,
"toJSON": {
"virtuals": true
},
"toObject": {
"virtuals": true
},
"collection": "sailthru_profile",
"perms": {
"admin": "crud"
},
"typeKey": "type",
"id": true,
"_id": true,
"validateBeforeSave": true,
"read": null,
"shardKey": null,
"discriminatorKey": "__t",
"autoIndex": null,
"minimize": true,
"optimisticConcurrency": false,
"versionKey": "__v",
"capped": false,
"bufferCommands": true,
"strictQuery": true,
"strict": true,
"_perms": {
"admin": "crud",
"owner": "",
"user": "",
"all": ""
},
"pluralization": true
},
"caster": {
"path": "lists_signup",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"lists_signup"
],
"options": {},
"_index": null,
"_arrayPath": "lists_signup.$",
"_arrayParentPath": "lists_signup"
},
"$embeddedSchemaType": {
"path": "lists_signup",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"lists_signup"
],
"options": {},
"_index": null,
"_arrayPath": "lists_signup.$",
"_arrayParentPath": "lists_signup"
},
"$isMongooseArray": true,
"path": "lists_signup",
"instance": "Array",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"lists_signup"
],
"options": {
"default": []
},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "optout_reason",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"optout_reason"
],
"options": {},
"_index": null
}
{
"path": "optout_time",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"optout_time"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "optout_type",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"optout_type"
],
"options": {},
"_index": null
}
{
"path": "signup_time",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"signup_time"
],
"options": {},
"_index": null
}
{
"path": "total_clicks",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"total_clicks"
],
"options": {},
"_index": null
}
{
"path": "total_messages",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"total_messages"
],
"options": {},
"_index": null
}
{
"path": "total_opens",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"total_opens"
],
"options": {},
"_index": null
}
{
"path": "total_pageviews",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"total_pageviews"
],
"options": {},
"_index": null
}
{
"path": "total_unique_clicks",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"total_unique_clicks"
],
"options": {},
"_index": null
}
{
"path": "total_unique_opens",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"total_unique_opens"
],
"options": {},
"_index": null
}
{
"path": "updatedAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"updatedAt"
],
"options": {},
"_index": null
}
{
"path": "var_time",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"var_time"
],
"options": {},
"_index": null
}
{
"path": "vars",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"vars"
],
"options": {},
"_index": null
}