@nivaro/react 0.1.301 → 0.1.302

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
@@ -3941,6 +3941,70 @@ export declare function openChatRoom(room: string, label?: string): void;
3941
3941
 
3942
3942
  export declare function openDmWith(userId: string, displayName?: string): void;
3943
3943
 
3944
+ /**
3945
+ * Operational tasks (#827): every repair / backfill / migration core or an
3946
+ * extension registered, run from the console — dry run by default, one run
3947
+ * at a time per task, output tail while it runs, last runs underneath.
3948
+ */
3949
+ export declare interface OpsTaskRow {
3950
+ key: string;
3951
+ owner: string;
3952
+ label: string;
3953
+ description: string;
3954
+ group: string | null;
3955
+ leaves_behind: string | null;
3956
+ follow_up: string | null;
3957
+ cli: string | null;
3958
+ has_dry_run: boolean;
3959
+ available: boolean;
3960
+ unavailable_reason: string | null;
3961
+ running: {
3962
+ id: number;
3963
+ mode: 'dry' | 'execute';
3964
+ started_at: string;
3965
+ progress: {
3966
+ done: number;
3967
+ total: number | null;
3968
+ } | null;
3969
+ } | null;
3970
+ runs: Array<{
3971
+ id: number;
3972
+ label: string | null;
3973
+ status: string;
3974
+ started_at: string;
3975
+ finished_at: string | null;
3976
+ duration_ms: number | null;
3977
+ outcome: string | null;
3978
+ error: string | null;
3979
+ by: string | null;
3980
+ }>;
3981
+ }
3982
+
3983
+ export declare interface OpsTaskRun {
3984
+ id: number;
3985
+ key: string;
3986
+ mode: 'dry' | 'execute';
3987
+ status: 'running' | 'completed' | 'error' | 'cancelled';
3988
+ started_at: string;
3989
+ finished_at: string | null;
3990
+ progress: {
3991
+ done: number;
3992
+ total: number | null;
3993
+ } | null;
3994
+ outcome: {
3995
+ summary: string;
3996
+ counts?: Record<string, number>;
3997
+ backup_tables?: string[];
3998
+ follow_up?: string | null;
3999
+ } | null;
4000
+ error: string | null;
4001
+ output: string[];
4002
+ }
4003
+
4004
+ export declare function OpsTasksView({ onNotice }: {
4005
+ onNotice?: (message: string) => void;
4006
+ }): JSX.Element;
4007
+
3944
4008
  /**
3945
4009
  * Lets a host put transient overlay state — a drill-down sheet and how deep it
3946
4010
  * is — into browser history, so Back closes the sheet instead of abandoning the