@sanity/ailf-studio 1.13.0 → 1.14.0

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/dist/index.d.ts CHANGED
@@ -325,8 +325,15 @@ interface ComparisonData {
325
325
  docLift: number;
326
326
  overall: number;
327
327
  actualDelta?: number;
328
- /** Per-area score deltas — e.g. `{ "GROQ": 5.2, "Functions": -2.1 }` */
329
- perArea?: Record<string, number>;
328
+ /** Per-area score deltas — e.g. `[{ area: "GROQ", delta: 5.2 }, …]`
329
+ *
330
+ * Reshaped from a keyed map to an array in W0137 / D0041 to stop minting
331
+ * a new Sanity attribute path for every feature area. Use
332
+ * `perArea.find((p) => p.area === name)?.delta` to look up a value. */
333
+ perArea?: {
334
+ area: string;
335
+ delta: number;
336
+ }[];
330
337
  retrievalGapDelta?: number;
331
338
  infrastructureEfficiencyDelta?: number;
332
339
  };