From b788ca3bdcb6bec73f88abda3f6db882885d500e Mon Sep 17 00:00:00 2001 From: Mike Clark Date: Wed, 11 Oct 2023 22:00:00 +0100 Subject: [PATCH] updatign to payee entity since it's a select * --- packages/loot-core/src/types/server-handlers.d.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/packages/loot-core/src/types/server-handlers.d.ts b/packages/loot-core/src/types/server-handlers.d.ts index 27cfa51aa03..82660722163 100644 --- a/packages/loot-core/src/types/server-handlers.d.ts +++ b/packages/loot-core/src/types/server-handlers.d.ts @@ -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 { @@ -95,15 +95,7 @@ export interface ServerHandlers { 'payee-create': (arg: { name }) => Promise; - 'payees-get': () => Promise< - { - id: string; - name: string; - category?: string | null; - tombstone?: number; - transfer_acc?: string | null; - }[] - >; + 'payees-get': () => Promise; 'payees-get-rule-counts': () => Promise;