Model jobs


Permissions

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

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
createdAtDatex
descriptionString
enabledBooleanx
keyStringxx
lastDurationMsNumber
lastErrorString
lastRunAtDatex
lastStatusStringx
nameStringx
scheduleStringx
updatedAtDatex

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": {
    "index": true
  },
  "validators": []
}

description

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

enabled

{
  "path": "enabled",
  "instance": "Boolean",
  "options": {
    "index": true
  },
  "validators": []
}

key

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

lastDurationMs

{
  "path": "lastDurationMs",
  "instance": "Number",
  "options": {},
  "validators": []
}

lastError

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

lastRunAt

{
  "path": "lastRunAt",
  "instance": "Date",
  "options": {
    "index": true
  },
  "validators": []
}

lastStatus

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

name

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

schedule

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

updatedAt

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