@flowselections/floriday-voorraad 1.0.97 → 1.0.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowselections/floriday-voorraad",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "./dist-lib/index.js",
package/sql/AGENTS.md CHANGED
@@ -6,3 +6,4 @@
6
6
  - Stock import runs through `stock_import_create`/`_process_chunk`/`_undo_chunk` in weighted atomic portions (new articles weigh more, sizes in `inventory_recompute_limits`), never direct table writes, because one app call must stay under 8 s and undo must never overwrite later changes.
7
7
  - ZERO_BATCH ignores sources IMPORT/IMPORT_UNDO and stores article code/name; the log keeps everything (deliberate bulk actions are no incidents).
8
8
  - Queue cleanup: only `floriday_cleanup_stock_queue_v2` (nightly, retention in `inventory_recompute_limits`, batched, logged) and it keeps the newest skipped/failed row per article, because labels and requeue-on-price read it.
9
+ - The schema file never grants to anon or PUBLIC unless an own migration grants anon explicitly; PUBLIC execute becomes explicit authenticated + service_role, because a database's default privileges are not our migrations' intent.