@nivaro/react 0.1.63 → 0.1.64

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 (3) hide show
  1. package/dist/index.d.ts +24 -0
  2. package/dist/index.js +11661 -11372
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -868,6 +868,14 @@ export declare interface ImportDefinition {
868
868
  file_types: string | null;
869
869
  is_active: boolean;
870
870
  sort: number;
871
+ /** Declared staging schema (JSON) — see the definitions editor. */
872
+ staging_columns?: string | null;
873
+ /** App-managed procedure body; null = managed outside the app. */
874
+ procedure_body?: string | null;
875
+ procedure_hash?: string | null;
876
+ procedure_deployed_at?: string | null;
877
+ /** Pre-flight validation config (JSON). */
878
+ validation?: string | null;
871
879
  }
872
880
 
873
881
  export declare interface ImportJob {
@@ -907,6 +915,8 @@ export declare interface ImportPreview {
907
915
  staging_columns: string[] | null;
908
916
  unknown_columns: string[];
909
917
  missing_columns: string[];
918
+ /** Pre-flight report — errors here block queueing server-side too. */
919
+ validation?: ImportValidationReport;
910
920
  }
911
921
 
912
922
  /** Emitted by the worker on the `import:progress` socket event. */
@@ -982,6 +992,20 @@ export declare interface ImportStats {
982
992
  }>;
983
993
  }
984
994
 
995
+ declare interface ImportValidationIssue {
996
+ code: string;
997
+ message: string;
998
+ rows?: number[];
999
+ count?: number;
1000
+ }
1001
+
1002
+ declare interface ImportValidationReport {
1003
+ errors: ImportValidationIssue[];
1004
+ warnings: ImportValidationIssue[];
1005
+ stats: Record<string, number | boolean | null>;
1006
+ truncated: boolean;
1007
+ }
1008
+
985
1009
  declare interface InputBinding {
986
1010
  key: string;
987
1011
  binding_type: 'item_field' | 'static' | 'url_param';