@nivaro/react 0.2.45 → 0.2.47

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 +6 -2
  2. package/dist/index.js +12727 -12718
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1894,12 +1894,14 @@ export declare function defaultItemUrl(t: ItemLinkTarget): string;
1894
1894
  * Definition registry (admin). Master-detail rather than a dialog: an operator
1895
1895
  * comparing two imports' targets needs both the list and the editor on screen.
1896
1896
  */
1897
- export declare function DefinitionsPanel({ definitions, runCounts, isLoading }: {
1897
+ export declare function DefinitionsPanel({ definitions, runCounts, isLoading, initialKey }: {
1898
1898
  definitions: ImportDefinition[];
1899
1899
  /** Runs per import key — a definition's history is the main thing that makes
1900
1900
  * it recognisable, and the reason deactivating beats deleting. */
1901
1901
  runCounts: Record<string, number>;
1902
1902
  isLoading?: boolean;
1903
+ /** Opens this definition once the list has loaded (a deep link). */
1904
+ initialKey?: string | null;
1903
1905
  }): JSX.Element;
1904
1906
 
1905
1907
  export declare function DelegationCard({ user, onSaved, forUser, coversFor }: {
@@ -3486,7 +3488,7 @@ export declare function idleState(): {
3486
3488
  last_active: string;
3487
3489
  };
3488
3490
 
3489
- export declare function ImportConsole({ realtime, defaultTab, initialJobId, onJobOpen, initialRunId, onRunOpen }: ImportConsoleProps): JSX.Element;
3491
+ export declare function ImportConsole({ realtime, defaultTab, initialJobId, onJobOpen, initialRunId, onRunOpen, initialDefinitionKey }: ImportConsoleProps): JSX.Element;
3490
3492
 
3491
3493
  export declare interface ImportConsoleProps {
3492
3494
  /**
@@ -3505,6 +3507,8 @@ export declare interface ImportConsoleProps {
3505
3507
  initialRunId?: number | null;
3506
3508
  /** Fires when a staged run's detail opens or closes. */
3507
3509
  onRunOpen?: (id: number | null) => void;
3510
+ /** Deep link into a definition by key (admin /imports?definition=import_workflows). */
3511
+ initialDefinitionKey?: string | null;
3508
3512
  }
3509
3513
 
3510
3514
  export declare type ImportConsoleTab = 'runs' | 'collection' | 'definitions';