Model schedules
Permissions
User Group | Create? | Read? | Update? | Delete? |
---|
super_user | x | x | x | |
admin | | 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 | |
action | String | | | | | |
created | Date | | | function now() { [native code] } | | |
createdAt | Date | | | | | |
cron | String | | | | | |
description | String | | | | | |
due | Date | | | Wed Nov 20 2024 23:01:01 GMT+0200 (South Africa Standard Time) | x | |
id | ObjectID | | | | x | |
last_output | Mixed | | | | | |
last_run | Date | | | | | |
name | String | | | | | |
repeat | String | | | never | x | |
status | String | | | due | x | |
updatedAt | Date | | | | | |
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
}
{
"enumValues": [],
"regExp": null,
"path": "action",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"action"
],
"options": {},
"_index": null
}
{
"path": "created",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"created"
],
"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": "cron",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"cron"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "description",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"description"
],
"options": {},
"_index": null
}
{
"path": "due",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"due"
],
"options": {
"index": true,
"default": "2024-11-20T21:01:01.326Z"
},
"_index": true,
"defaultValue": "2024-11-20T21:01:01.326Z"
}
{
"path": "id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"id"
],
"options": {
"index": true
},
"_index": true
}
{
"path": "last_output",
"instance": "Mixed",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"last_output"
],
"options": {},
"_index": null
}
{
"path": "last_run",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"last_run"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "name",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"name"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "repeat",
"instance": "String",
"validators": [
{
"message": "Validator failed for path `{PATH}` with value `{VALUE}`",
"type": "user defined",
"validator": {}
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"repeat"
],
"options": {
"validate": {},
"index": true,
"default": "never"
},
"_index": true,
"defaultValue": "never"
}
{
"enumValues": [],
"regExp": null,
"path": "status",
"instance": "String",
"validators": [
{
"message": "Validator failed for path `{PATH}` with value `{VALUE}`",
"type": "user defined",
"validator": {}
}
],
"getters": [],
"setters": [],
"_presplitPath": [
"status"
],
"options": {
"validate": {},
"index": true,
"default": "due"
},
"_index": true,
"defaultValue": "due"
}
{
"path": "updatedAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"updatedAt"
],
"options": {},
"_index": null
}