@sanity/ailf-studio 1.12.0 → 1.12.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -0
  2. package/package.json +8 -2
package/dist/index.d.ts CHANGED
@@ -578,6 +578,14 @@ interface ArtifactRef {
578
578
  entries?: ArtifactRefEntry[];
579
579
  truncated?: boolean;
580
580
  preview?: unknown;
581
+ /**
582
+ * D0040 / W0135 — when present, this ref's bytes physically live under a
583
+ * different run's GCS prefix. `path` is already authoritative for
584
+ * resolution; this field is a lineage marker only. Studio mirror uses
585
+ * `string` rather than the branded `RunId` since Studio types deliberately
586
+ * avoid pulling in core's branded-IDs module.
587
+ */
588
+ sourceRunId?: string;
581
589
  }
582
590
  /** A single gap/recommendation from gap analysis */
583
591
  interface RecommendationGap {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ailf-studio",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "AI Literacy Framework — Sanity Studio dashboard plugin",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -41,12 +41,16 @@
41
41
  "devDependencies": {
42
42
  "@sanity/icons": "^3.7.4",
43
43
  "@sanity/ui": "^3.1.13",
44
+ "@testing-library/dom": "^10.4.1",
45
+ "@testing-library/react": "^16.3.2",
44
46
  "@types/react": "^19.0.0",
47
+ "jsdom": "^29.0.2",
45
48
  "react": "^19.0.0",
46
49
  "sanity": "^5.14.0",
47
50
  "tsup": "^8.5.1",
48
51
  "tsx": "^4.19.0",
49
52
  "typescript": "5.9.3",
53
+ "vitest": "^4.1.5",
50
54
  "@sanity/ailf-shared": "0.1.0"
51
55
  },
52
56
  "dependencies": {
@@ -66,6 +70,8 @@
66
70
  "prebuild": "pnpm extract-help",
67
71
  "build": "tsup",
68
72
  "dev": "tsup --watch",
69
- "test": "tsx --test src/__tests__/**/*.test.ts"
73
+ "test": "tsx --test src/__tests__/**/*.test.ts && vitest run",
74
+ "test:vitest": "vitest run",
75
+ "test:vitest:watch": "vitest"
70
76
  }
71
77
  }