Skip to content

Commit

Permalink
updatign to payee entity since it's a select *
Browse files Browse the repository at this point in the history
  • Loading branch information
MikesGlitch committed Oct 16, 2023
1 parent cad2c58 commit 3b9f541
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/loot-core/src/types/server-handlers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Backup } from '../server/backups';
import { RemoteFile } from '../server/cloud-storage';
import { Message } from '../server/sync';

import { AccountEntity } from './models';
import { AccountEntity, PayeeEntity } from './models';
import { EmptyObject } from './util';

export interface ServerHandlers {
Expand Down Expand Up @@ -95,15 +95,7 @@ export interface ServerHandlers {

'payee-create': (arg: { name }) => Promise<unknown>;

'payees-get': () => Promise<
{
id: string;
name: string;
category?: string | null;
tombstone?: number;
transfer_acc?: string | null;
}[]
>;
'payees-get': () => Promise<PayeeEntity[]>;

'payees-get-rule-counts': () => Promise<unknown>;

Expand Down

0 comments on commit 3b9f541

Please sign in to comment.