BlueWallet/navigation/DetailViewStackParamList.ts

108 lines
2.9 KiB
TypeScript
Raw Normal View History

2024-05-27 04:03:35 +02:00
import { LightningTransaction } from '../class/wallets/types';
2024-06-10 21:02:44 +02:00
import { SendDetailsParams } from './SendDetailsStackParamList';
2024-05-27 04:03:35 +02:00
2024-05-22 21:35:36 +02:00
export type DetailViewStackParamList = {
UnlockWithScreen: undefined;
WalletsList: { scannedData?: string };
2024-05-22 21:35:36 +02:00
WalletTransactions: { walletID: string; walletType: string };
LDKOpenChannelRoot: undefined;
LdkInfo: undefined;
WalletDetails: { walletID: string };
LdkViewLogs: undefined;
TransactionDetails: { transactionId: string };
TransactionStatus: { hash?: string; walletID?: string };
CPFP: { transactionId: string };
RBFBumpFee: { transactionId: string };
RBFCancel: { transactionId: string };
SelectWallet: undefined;
2024-05-27 04:03:35 +02:00
LNDViewInvoice: { invoice: LightningTransaction; walletID: string };
2024-05-22 21:35:36 +02:00
LNDViewAdditionalInvoiceInformation: { invoiceId: string };
LNDViewAdditionalInvoicePreImage: { invoiceId: string };
2024-07-23 05:19:32 +02:00
Broadcast: { scannedData?: string };
2024-05-22 21:35:36 +02:00
IsItMyAddress: undefined;
GenerateWord: undefined;
LnurlPay: undefined;
2024-05-27 04:03:35 +02:00
LnurlPaySuccess: {
paymentHash: string;
justPaid: boolean;
fromWalletID: string;
};
2024-05-22 21:35:36 +02:00
LnurlAuth: undefined;
Success: undefined;
WalletAddresses: { walletID: string };
AddWalletRoot: undefined;
2024-06-07 15:37:45 +02:00
SendDetailsRoot: {
screen: string;
2024-06-10 21:11:02 +02:00
params: SendDetailsParams;
merge: boolean;
};
2024-05-22 21:35:36 +02:00
LNDCreateInvoiceRoot: undefined;
2024-05-27 04:03:35 +02:00
ScanLndInvoiceRoot: {
screen: string;
params: {
paymentHash: string;
fromWalletID: string;
justPaid: boolean;
};
};
2024-05-22 21:35:36 +02:00
AztecoRedeemRoot: undefined;
WalletExportRoot: undefined;
ExportMultisigCoordinationSetupRoot: undefined;
Settings: undefined;
Currency: undefined;
GeneralSettings: undefined;
PlausibleDeniability: undefined;
Licensing: undefined;
NetworkSettings: undefined;
About: undefined;
DefaultView: undefined;
ElectrumSettings: undefined;
EncryptStorage: undefined;
Language: undefined;
2024-05-27 04:03:35 +02:00
LightningSettings: {
url?: string;
};
2024-05-22 21:35:36 +02:00
NotificationSettings: undefined;
2024-05-25 13:44:43 +02:00
SelfTest: undefined;
2024-05-22 21:35:36 +02:00
ReleaseNotes: undefined;
Tools: undefined;
SettingsPrivacy: undefined;
ViewEditMultisigCosignersRoot: { walletID: string; cosigners: string[] };
WalletXpubRoot: undefined;
2024-05-27 04:03:35 +02:00
SignVerifyRoot: {
screen: 'SignVerify';
params: {
walletID: string;
address: string;
};
};
ReceiveDetailsRoot: {
screen: 'ReceiveDetails';
params: {
walletID: string;
address: string;
};
};
2024-05-22 21:35:36 +02:00
ScanQRCodeRoot: {
2024-05-27 04:03:35 +02:00
screen: string;
params: {
isLoading: false;
cameraStatusGranted?: boolean;
backdoorPressed?: boolean;
launchedBy?: string;
urTotal?: number;
urHave?: number;
backdoorText?: string;
onDismiss?: () => void;
showFileImportButton: true;
backdoorVisible?: boolean;
animatedQRCodeData?: Record<string, any>;
};
2024-05-22 21:35:36 +02:00
};
2024-06-11 02:44:05 +02:00
PaymentCodeList: {
paymentCode: string;
walletID: string;
2024-06-07 20:50:50 +02:00
};
2024-07-25 02:22:06 +02:00
ManageWalletsRoot: undefined;
2024-06-10 21:11:02 +02:00
};