@thehammer/template-verification 0.2.3 → 0.2.5

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/context.d.ts CHANGED
@@ -34,6 +34,15 @@ export interface InitVerificationConfig {
34
34
  auditUrl?: string | null;
35
35
  /** Seeds the overlay toggle ONLY when localStorage holds no prior value. */
36
36
  defaultEnabled?: boolean;
37
+ /**
38
+ * True while the host is fetching a new data source (initial live-data
39
+ * boot, or a newly-selected workflow input) and `data` is a stale/empty
40
+ * placeholder rather than the real payload. `<VerifiedField>` renders a
41
+ * skeleton instead of value+badge while this is true, so the document
42
+ * never shows sample data (or the PREVIOUS selection's data) mislabeled
43
+ * as the current one.
44
+ */
45
+ loading?: boolean;
37
46
  }
38
47
  /** The live verification state returned by {@link useVerification}. */
39
48
  export interface Verification {
@@ -47,6 +56,8 @@ export interface Verification {
47
56
  workflowInputId?: number | string | null;
48
57
  /** Token-sealed audit endpoint base; null/absent hides the Audit tab. */
49
58
  auditUrl?: string | null;
59
+ /** True while the host is fetching a new data source; see {@link InitVerificationConfig.loading}. */
60
+ loading: boolean;
50
61
  /** Open the comparison page (rendered by `<VerificationChrome>`). */
51
62
  openComparison: () => void;
52
63
  }