diff --git a/ui/components/landing/api-key-manager.tsx b/ui/components/landing/api-key-manager.tsx index e5192a80..17287155 100644 --- a/ui/components/landing/api-key-manager.tsx +++ b/ui/components/landing/api-key-manager.tsx @@ -8,6 +8,7 @@ import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Separator } from '@/components/ui/separator'; import type { WalletSnapshot, ChildKeyInfo } from './key-info-details'; +import type { RefundReceipt } from './cashu-payment-workflow'; interface ApiKeyManagerProps { baseUrl: string; diff --git a/ui/components/landing/cashu-payment-workflow.tsx b/ui/components/landing/cashu-payment-workflow.tsx index 52735ef2..caac7f78 100644 --- a/ui/components/landing/cashu-payment-workflow.tsx +++ b/ui/components/landing/cashu-payment-workflow.tsx @@ -11,7 +11,7 @@ import { Separator } from '@/components/ui/separator'; import { KeyOptions } from '@/components/key-options'; import type { ChildKeyInfo, WalletSnapshot } from './key-info-details'; -type RefundReceipt = { +export type RefundReceipt = { token?: string; recipient?: string; sats?: string; diff --git a/ui/components/landing/cheat-sheet.tsx b/ui/components/landing/cheat-sheet.tsx index e6806abe..be2e2670 100644 --- a/ui/components/landing/cheat-sheet.tsx +++ b/ui/components/landing/cheat-sheet.tsx @@ -11,13 +11,24 @@ import { Input } from '@/components/ui/input'; import { Badge } from '@/components/ui/badge'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { ConfigurationService } from '@/lib/api/services/configuration'; -import { CashuPaymentWorkflow } from './cashu-payment-workflow'; +import { + CashuPaymentWorkflow, + type RefundReceipt, +} from './cashu-payment-workflow'; import { LightningPaymentWorkflow } from './lightning-payment-workflow'; import { ApiKeyManager } from './api-key-manager'; import { KeyInfoDetails, type WalletSnapshot } from './key-info-details'; import { ChildKeyCreator } from '@/components/child-key-creator'; type NodeInfo = { + name?: string; + description?: string; + version?: string; + http_url?: string; + onion_url?: string; + npub?: string; + mints?: string[]; + child_key_cost_msats?: number; token?: string; recipient?: string; sats?: string; @@ -269,7 +280,7 @@ export function CheatSheet(): JSX.Element { Cashu mints