mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
include script in monitor types
This commit is contained in:
@@ -8,7 +8,7 @@ var monitorSchema = new Schema({
|
||||
createdById: { type: String, ref: 'User' }, //userId.
|
||||
type: {
|
||||
type: String,
|
||||
enum: ['url', 'device', 'manual','api']
|
||||
enum: ['url', 'device', 'manual','api', 'script']
|
||||
}, //type can be 'url', 'process', 'machine'. We can monitor URL, a process in a machine or a server itself.
|
||||
monitorCategoryId: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user