@yarkivaev/scada 2.3.45 → 2.3.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -125,7 +125,7 @@ const job = exportJob({ query, transform: (rows) => rows, sink });
125
125
  await job.run({ kind: 'segments', machine: 'furnace-α', from, to });
126
126
  ```
127
127
 
128
- Downstream plant packages should pin a released tag (e.g. `#v2.3.45`).
128
+ Downstream plant packages should pin a released tag (e.g. `#v2.3.46`).
129
129
 
130
130
  Alert and HMI copy are inject-only: pass `translations` into `siteServer` / `plantServer` / `alertPipeline` config, and override `TAG_CATALOG_PATH` or `plantApi({ tagCatalog })` for site taxonomy. Defaults ship empty or English stubs.
131
131
 
@@ -209,7 +209,7 @@ import stateDataFake from '@yarkivaev/scada/stateDataFake';
209
209
  | Export ports `Query` / `Stream` / `Sink` / `Job` | Export jobs + destination adapters |
210
210
  | ClickHouse + PG adapters | Plant wiring (`metricsPlant`, shops, machines) |
211
211
 
212
- Depend on a pinned version (`"@yarkivaev/scada": "…#v2.3.45"`), not a local path, in downstream packages.
212
+ Depend on a pinned version (`"@yarkivaev/scada": "…#v2.3.46"`), not a local path, in downstream packages.
213
213
 
214
214
  ## CI/CD
215
215
 
@@ -1,2 +1,2 @@
1
- GRANT SELECT, INSERT, UPDATE ON operations TO supervisor_sink;
1
+ GRANT SELECT, INSERT, UPDATE, DELETE ON operations TO supervisor_sink;
2
2
  GRANT SELECT, INSERT, UPDATE ON ingest_checkpoints TO supervisor_sink;
@@ -0,0 +1 @@
1
+ GRANT DELETE ON operations TO supervisor_sink;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarkivaev/scada",
3
- "version": "2.3.45",
3
+ "version": "2.3.47",
4
4
  "description": "SCADA domain objects, state persistence, and plant monitoring",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,6 +9,7 @@ import edgeOperatorCatalog from './edgeOperatorCatalog.js';
9
9
  *
10
10
  * @param {string} basePath - plant API base path
11
11
  * @param {object} sink - supervisor sink with pool and profile
12
+ * @param {object} [owners] - machineOwners registry for edge decision proxy
12
13
  * @returns {object} routes, provider, decisions
13
14
  */
14
15
  function centralOperatorRoutes(basePath, sink, owners) {
@@ -21,7 +21,8 @@ const privilegedOnly = new Set([
21
21
  'C0005__central_operators_grants.sql',
22
22
  'C0006__central_operators_registration.sql',
23
23
  'E0002__edge_retention_delete.sql',
24
- 'E0003__edge_operations_grants.sql'
24
+ 'E0003__edge_operations_grants.sql',
25
+ 'E0004__edge_operations_delete.sql'
25
26
  ]);
26
27
 
27
28
  /**