@cardinali-studio/adminkit 2.2.39 → 2.2.42

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.
@@ -0,0 +1,19 @@
1
+ -- Durable, bucket-local scopes. No FK: these must outlive deleted deliveries.
2
+ -- Never seed from the bucket: only explicitly removed application assets enter here.
3
+ CREATE TABLE IF NOT EXISTS delivery_storage_cleanup (
4
+ object_key TEXT NOT NULL,
5
+ is_prefix INTEGER NOT NULL CHECK(is_prefix IN (0,1)),
6
+ created_at TEXT NOT NULL,
7
+ next_check_at TEXT NOT NULL,
8
+ last_checked_at TEXT,
9
+ last_error TEXT,
10
+ PRIMARY KEY(object_key,is_prefix)
11
+ );
12
+ CREATE INDEX IF NOT EXISTS delivery_storage_cleanup_due ON delivery_storage_cleanup(next_check_at);
13
+
14
+ -- Deployment inventory: existing objects are held until separately approved.
15
+ CREATE TABLE IF NOT EXISTS delivery_storage_preserved (
16
+ object_key TEXT PRIMARY KEY,
17
+ captured_at TEXT NOT NULL,
18
+ reason TEXT NOT NULL DEFAULT 'pre-deploy inventory'
19
+ );
@@ -0,0 +1,14 @@
1
+ -- One resumable, read-only B2 inventory per consumer database.
2
+ CREATE TABLE IF NOT EXISTS delivery_storage_dashboard (
3
+ id INTEGER PRIMARY KEY CHECK(id=1),
4
+ status TEXT NOT NULL DEFAULT 'idle',
5
+ state_json TEXT,
6
+ snapshot_json TEXT,
7
+ started_at TEXT,
8
+ checked_at TEXT,
9
+ next_check_at TEXT,
10
+ last_error TEXT,
11
+ lease_token TEXT,
12
+ lease_until INTEGER NOT NULL DEFAULT 0
13
+ );
14
+ INSERT OR IGNORE INTO delivery_storage_dashboard(id) VALUES (1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cardinali-studio/adminkit",
3
- "version": "2.2.39",
3
+ "version": "2.2.42",
4
4
  "type": "module",
5
5
  "description": "Motore riusabile di un pannello di amministrazione per siti Hugo su Cloudflare Pages: codec del front matter guidato dallo schema, form React, libreria media su R2. NIENTE di specifico di un sito qui dentro.",
6
6
  "license": "0BSD",