mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:17:08 +00:00
Write meta info to automatic events
This commit is contained in:
@@ -69,7 +69,7 @@ class DetectFDSP {
|
|||||||
point: prev._point,
|
point: prev._point,
|
||||||
remarks: "Last shotpoint of the day",
|
remarks: "Last shotpoint of the day",
|
||||||
labels: ["LDSP", "Prod"],
|
labels: ["LDSP", "Prod"],
|
||||||
meta: {auto: true, insertedBy: this.constructor.name}
|
meta: {auto: true, author: `*${this.constructor.name}*`}
|
||||||
};
|
};
|
||||||
|
|
||||||
const fdsp = {
|
const fdsp = {
|
||||||
@@ -77,7 +77,7 @@ class DetectFDSP {
|
|||||||
point: cur._point,
|
point: cur._point,
|
||||||
remarks: "First shotpoint of the day",
|
remarks: "First shotpoint of the day",
|
||||||
labels: ["FDSP", "Prod"],
|
labels: ["FDSP", "Prod"],
|
||||||
meta: {auto: true, insertedBy: this.constructor.name}
|
meta: {auto: true, author: `*${this.constructor.name}*`}
|
||||||
};
|
};
|
||||||
|
|
||||||
INFO("LDSP", ldsp);
|
INFO("LDSP", ldsp);
|
||||||
|
|||||||
@@ -68,7 +68,8 @@ class DetectSOLEOL {
|
|||||||
sequence,
|
sequence,
|
||||||
point: cur._point,
|
point: cur._point,
|
||||||
remarks,
|
remarks,
|
||||||
labels
|
labels,
|
||||||
|
meta: {auto: true, author: `*${this.constructor.name}*`}
|
||||||
}
|
}
|
||||||
|
|
||||||
// console.log(projectId, payload);
|
// console.log(projectId, payload);
|
||||||
@@ -101,7 +102,8 @@ class DetectSOLEOL {
|
|||||||
sequence,
|
sequence,
|
||||||
point: prev._point,
|
point: prev._point,
|
||||||
remarks,
|
remarks,
|
||||||
labels
|
labels,
|
||||||
|
meta: {auto: true, author: `*${this.constructor.name}*`}
|
||||||
}
|
}
|
||||||
|
|
||||||
// console.log(projectId, payload);
|
// console.log(projectId, payload);
|
||||||
|
|||||||
Reference in New Issue
Block a user