Return preplot metadata via the API

This commit is contained in:
D. Berge
2021-05-10 00:12:15 +02:00
parent 0b24e3224f
commit 73a415a038
2 changed files with 4 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ async function list (projectId, opts = {}) {
AND UNBOUNDED FOLLOWING
)
)
SELECT s.*, incr, remarks, pl.ntba
SELECT s.*, incr, remarks, pl.ntba, pl.meta
FROM summary s
INNER JOIN preplot_lines pl ON pl.class = 'V' AND s.line = pl.line
ORDER BY ${sortKey} ${sortDir}

View File

@@ -301,6 +301,9 @@ components:
ntba:
type: boolean
description: Not to be acquired flag. If `true`, all the points in this line are ignored in production statistics.
meta:
type: object
description: Arbitrary JSON data associated with this shotpoint.
Shotpoint: