@nivaro/react 0.1.204 → 0.1.205

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
@@ -1611,6 +1611,7 @@ export declare interface ImportDefinition {
1611
1611
  service_config?: string | null;
1612
1612
  /** JSON array of flow ids run in order after a successful run (migration 294). */
1613
1613
  post_run_flows?: string | null;
1614
+ receipt?: string | null;
1614
1615
  }
1615
1616
 
1616
1617
  export declare function ImportFromFileButton({ collection, templateFilter, getLabel, onParsed, compact }: {
@@ -1759,7 +1760,7 @@ declare interface ImportValidationReport {
1759
1760
  truncated: boolean;
1760
1761
  }
1761
1762
 
1762
- export declare function InlineTableField({ relatedCollection, manyField, parentId, parentCollection, layoutId, showRowRevisions, rowComments, allowRevisionRestore, saveMode, showLineNumbers, enableReorder, parentCascades, rowRules, columnPresets, defaultPreset, drawerRelations, parentContextFields, uniqueBy, sortField, sortDir, sectionGroupBy, freezeFirstColumn, rowFilter, rowDefaults, allocateDrawer, autoAllocate, rowBulkActions, uploadTemplate, rowMatchPanel, lineSla, submissionErrors, prefillParentId, parentFieldKey, readOnly, emptyLabel }: {
1763
+ export declare function InlineTableField({ relatedCollection, manyField, parentId, parentCollection, layoutId, showRowRevisions, rowComments, allowRevisionRestore, saveMode, showLineNumbers, enableReorder, parentCascades, rowRules, columnPresets, defaultPreset, drawerRelations, parentContextFields, uniqueBy, sortField, sortDir, sectionGroupBy, freezeFirstColumn, rowFilter, rowDefaults, allocateDrawer, autoAllocate, rowBulkActions, uploadTemplate, rowMatchPanel, lineSla, rowLints, submissionErrors, prefillParentId, parentFieldKey, readOnly, emptyLabel }: {
1763
1764
  relatedCollection: string;
1764
1765
  manyField: string;
1765
1766
  parentId: string;
@@ -1816,6 +1817,8 @@ export declare function InlineTableField({ relatedCollection, manyField, parentI
1816
1817
  enabled?: boolean;
1817
1818
  field?: string;
1818
1819
  } | null;
1820
+ /** options.row_lints — "when X, expect Y" checks judged per row on the client. */
1821
+ rowLints?: RowLint[] | null;
1819
1822
  /** Flag rows a failed ERP push rejected (options.submission_errors) — the
1820
1823
  * latest failed nivaro_erp_submissions row for the PARENT record is parsed
1821
1824
  * for "LineNumber N: reason" entries and matching rows tint red with the
@@ -3615,6 +3618,22 @@ export declare function rowHighlightClass(color?: string | null): string | undef
3615
3618
 
3616
3619
  export declare function rowHighlightTextClass(color?: string | null): string;
3617
3620
 
3621
+ /** A per-row consistency check: when `when` matches, `expect` must too.
3622
+ * Ops: eq | neq | in | null | nnull; values compared as strings (ids for M2O). */
3623
+ declare interface RowLint {
3624
+ label: string;
3625
+ when: {
3626
+ field: string;
3627
+ op?: 'eq' | 'neq' | 'in' | 'null' | 'nnull';
3628
+ value?: unknown;
3629
+ };
3630
+ expect: {
3631
+ field: string;
3632
+ op?: 'eq' | 'neq' | 'in' | 'null' | 'nnull';
3633
+ value?: unknown;
3634
+ };
3635
+ }
3636
+
3618
3637
  /**
3619
3638
  * "Which related record is this row matched to, and if none, why not?"
3620
3639
  *