@@ -42,21 +42,9 @@ export interface IEventRepository {
4242export interface IInvoiceRepository {
4343 findById ( id : string , client ?: DatabaseClient ) : Promise < Invoice | undefined >
4444 upsert ( invoice : Partial < Invoice > , client ?: DatabaseClient ) : Promise < number >
45- updateStatus (
46- invoice : Pick < Invoice , 'id' | 'status' > ,
47- client ?: DatabaseClient ,
48- ) : Promise < Invoice | undefined >
49- confirmInvoice (
50- invoiceId : string ,
51- amountReceived : bigint ,
52- confirmedAt : Date ,
53- client ?: DatabaseClient ,
54- ) : Promise < void >
55- findPendingInvoices (
56- offset ?: number ,
57- limit ?: number ,
58- client ?: DatabaseClient ,
59- ) : Promise < Invoice [ ] >
45+ updateStatus ( invoice : Pick < Invoice , 'id' | 'status' > , client ?: DatabaseClient ) : Promise < Invoice | undefined >
46+ confirmInvoice ( invoiceId : string , amountReceived : bigint , confirmedAt : Date , client ?: DatabaseClient ) : Promise < void >
47+ findPendingInvoices ( offset ?: number , limit ?: number , client ?: DatabaseClient ) : Promise < Invoice [ ] >
6048}
6149
6250export interface IUserRepository {
@@ -71,10 +59,6 @@ export interface IUserRepository {
7159export interface INip05VerificationRepository {
7260 findByPubkey ( pubkey : Pubkey ) : Promise < Nip05Verification | undefined >
7361 upsert ( verification : Nip05Verification ) : Promise < number >
74- findPendingVerifications (
75- updateFrequencyMs : number ,
76- maxFailures : number ,
77- limit : number ,
78- ) : Promise < Nip05Verification [ ] >
62+ findPendingVerifications ( updateFrequencyMs : number , maxFailures : number , limit : number ) : Promise < Nip05Verification [ ] >
7963 deleteByPubkey ( pubkey : Pubkey ) : Promise < number >
8064}
0 commit comments