Format with prettier. Use screen mode for invitation import - dialog mode is broken.
This commit is contained in:
+10
-10
@@ -2,19 +2,19 @@
|
||||
* Shared types for the CLI TUI.
|
||||
*/
|
||||
|
||||
import type { AppService } from '../services/app.js';
|
||||
import type { AppConfig } from '../app.js';
|
||||
import type { AppService } from "../services/app.js";
|
||||
import type { AppConfig } from "../app.js";
|
||||
|
||||
/**
|
||||
* Screen names for navigation.
|
||||
*/
|
||||
export type ScreenName =
|
||||
| 'seed-input'
|
||||
| 'wallet'
|
||||
| 'templates'
|
||||
| 'wizard'
|
||||
| 'invitations'
|
||||
| 'transaction';
|
||||
export type ScreenName =
|
||||
| "seed-input"
|
||||
| "wallet"
|
||||
| "templates"
|
||||
| "wizard"
|
||||
| "invitations"
|
||||
| "transaction";
|
||||
|
||||
/**
|
||||
* Navigation context data that can be passed between screens.
|
||||
@@ -81,7 +81,7 @@ export interface DialogState {
|
||||
/** Whether dialog is visible */
|
||||
visible: boolean;
|
||||
/** Dialog type */
|
||||
type: 'error' | 'info' | 'confirm';
|
||||
type: "error" | "info" | "confirm";
|
||||
/** Dialog message */
|
||||
message: string;
|
||||
/** Callback for confirm dialog */
|
||||
|
||||
Reference in New Issue
Block a user