@thehammer/template-verification 0.2.21 → 0.2.23
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/components/ConfidenceBar.vue.d.ts +23 -0
- package/dist/components/ConfidenceIcon.vue.d.ts +13 -8
- package/dist/components/VerifiedField.vue.d.ts +22 -0
- package/dist/index.d.ts +2 -2
- package/dist/lib/confidence.d.ts +23 -20
- package/dist/style.css +1 -1
- package/dist/template-verification.js +275 -251
- package/dist/types.d.ts +9 -5
- package/package.json +2 -1
package/dist/types.d.ts
CHANGED
|
@@ -8,12 +8,16 @@
|
|
|
8
8
|
* entry is a {@link DataPointMeta} describing that one field's verification state.
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* What a machine value's confidence mark shows: one of the five levels of the
|
|
12
|
+
* operator's scale (SG-843 — the SAME five the Demand Desk draws, from the same
|
|
13
|
+
* `@danxbot/ui` source), `"unrated"` when no rating was recorded, or `"failed"`
|
|
14
|
+
* (SG-189) — a distinct extraction/citation-correction OUTCOME, not a level,
|
|
15
|
+
* resolved from the extracted candidate's `state` and never from its confidence.
|
|
16
|
+
*
|
|
17
|
+
* Replaced the three buckets high/medium/low (SG-901): a 4 and a 5 were
|
|
18
|
+
* identical in the letter while the screen beside it drew them differently.
|
|
15
19
|
*/
|
|
16
|
-
export type
|
|
20
|
+
export type ConfidenceState = 1 | 2 | 3 | 4 | 5 | "unrated" | "failed";
|
|
17
21
|
/** The winning candidate key for a resolved data point, or `none` when no candidate exists. */
|
|
18
22
|
export type ResolvedSource = "override" | "extracted" | "claim" | "none";
|
|
19
23
|
/** The basis a user picked when saving an override. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thehammer/template-verification",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
4
4
|
"description": "Read-write verification overlay for rendered template apps — per-data-point confidence, discrepancy, 3-source resolution (override > extracted > claim), inline edit, and a recursive comparison page. Consumes the host's __meta sidecar; fetches nothing.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"vue": "^3.4.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
+
"@danxbot/ui": "^7.2.0",
|
|
42
43
|
"@tailwindcss/vite": "^4.0.0",
|
|
43
44
|
"@thehammer/danx-ui": "0.8.20",
|
|
44
45
|
"@vitejs/plugin-vue": "^5.0.0",
|