@actual-app/api 25.4.0 → 25.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/@types/app/bundle.api.d.ts +1 -5
  2. package/@types/loot-core/client/budgets/budgetsSlice.d.ts +6 -2
  3. package/@types/loot-core/client/modals/modalsSlice.d.ts +5 -1
  4. package/@types/loot-core/client/prefs/prefsSlice.d.ts +2 -8
  5. package/@types/loot-core/client/queries/queriesSlice.d.ts +1 -1
  6. package/@types/loot-core/client/users/usersSlice.d.ts +28 -12
  7. package/@types/loot-core/mocks/index.d.ts +5 -2
  8. package/@types/loot-core/mocks/util.d.ts +1 -0
  9. package/@types/loot-core/platform/server/asyncStorage/index.d.ts +7 -6
  10. package/@types/loot-core/platform/server/indexeddb/index.d.ts +15 -24
  11. package/@types/loot-core/server/accounts/sync.d.ts +1 -9
  12. package/@types/loot-core/server/api-models.d.ts +2 -10
  13. package/@types/loot-core/server/aql/schema/executors.d.ts +2 -0
  14. package/@types/loot-core/server/auth/app.d.ts +142 -0
  15. package/@types/loot-core/server/budget/base.d.ts +2 -1
  16. package/@types/loot-core/server/budget/envelope.d.ts +3 -0
  17. package/@types/loot-core/server/budget/report.d.ts +4 -1
  18. package/@types/loot-core/server/budgetfiles/app.d.ts +139 -0
  19. package/@types/loot-core/server/cloud-storage.d.ts +2 -2
  20. package/@types/loot-core/server/db/index.d.ts +3 -2
  21. package/@types/loot-core/server/encryption/app.d.ts +40 -0
  22. package/@types/loot-core/server/{encryption-internals.d.ts → encryption/encryption-internals.d.ts} +0 -1
  23. package/@types/loot-core/server/errors.d.ts +4 -0
  24. package/@types/loot-core/server/importers/index.d.ts +1 -2
  25. package/@types/loot-core/server/main-app.d.ts +1 -1
  26. package/@types/loot-core/server/reports/app.d.ts +2 -2
  27. package/@types/loot-core/server/spreadsheet/spreadsheet.d.ts +9 -2
  28. package/@types/loot-core/server/transactions/app.d.ts +4 -1
  29. package/@types/loot-core/server/transactions/import/ofx2json.d.ts +1 -0
  30. package/@types/loot-core/server/transactions/import/parse-file.d.ts +1 -0
  31. package/@types/loot-core/server/transactions/index.d.ts +1 -0
  32. package/@types/loot-core/server/transactions/merge.d.ts +2 -0
  33. package/@types/loot-core/server/transactions/transaction-rules.d.ts +1 -0
  34. package/@types/loot-core/server/transactions/transfer.d.ts +2 -2
  35. package/@types/loot-core/shared/errors.d.ts +4 -4
  36. package/@types/loot-core/types/api-handlers.d.ts +170 -183
  37. package/@types/loot-core/types/budget.d.ts +6 -6
  38. package/@types/loot-core/types/file.d.ts +23 -36
  39. package/@types/loot-core/types/handlers.d.ts +5 -21
  40. package/@types/loot-core/types/models/bank-sync.d.ts +10 -17
  41. package/@types/loot-core/types/models/category-group.d.ts +8 -13
  42. package/@types/loot-core/types/models/category.d.ts +7 -8
  43. package/@types/loot-core/types/models/dashboard.d.ts +43 -88
  44. package/@types/loot-core/types/models/gocardless.d.ts +56 -71
  45. package/@types/loot-core/types/models/note.d.ts +2 -2
  46. package/@types/loot-core/types/models/openid.d.ts +6 -6
  47. package/@types/loot-core/types/models/payee.d.ts +6 -7
  48. package/@types/loot-core/types/models/reports.d.ts +98 -118
  49. package/@types/loot-core/types/models/rule.d.ts +62 -161
  50. package/@types/loot-core/types/models/schedule.d.ts +36 -38
  51. package/@types/loot-core/types/models/simplefin.d.ts +13 -17
  52. package/@types/loot-core/types/models/transaction-filter.d.ts +5 -6
  53. package/@types/loot-core/types/models/transaction.d.ts +29 -30
  54. package/@types/loot-core/types/prefs.d.ts +2 -4
  55. package/@types/loot-core/types/server-events.d.ts +43 -68
  56. package/@types/loot-core/types/server-handlers.d.ts +26 -198
  57. package/@types/loot-core/types/util.d.ts +7 -18
  58. package/@types/methods.d.ts +1 -1
  59. package/@types/vitest.config.d.ts +7 -0
  60. package/dist/app/bundle.api.js +17541 -110891
  61. package/dist/package.json +5 -7
  62. package/dist/vitest.config.js +11 -0
  63. package/package.json +5 -7
  64. package/@types/jest.config.d.ts +0 -9
  65. package/@types/loot-core/client/accounts/accountsSlice.d.ts +0 -175
  66. package/@types/loot-core/server/backups.test.d.ts +0 -1
  67. package/@types/loot-core/server/encryption-internals.web.d.ts +0 -23
  68. package/@types/loot-core/server/encryption.test.d.ts +0 -1
  69. package/dist/jest.config.js +0 -22
  70. /package/@types/loot-core/server/{backups.d.ts → budgetfiles/backups.d.ts} +0 -0
  71. /package/@types/loot-core/server/{encryption.d.ts → encryption/index.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
1
  export type Budget = {
2
- id: string;
3
- cloudFileId?: string;
4
- encryptKeyId?: string;
5
- groupId?: string;
6
- name: string;
7
- owner?: string;
2
+ id: string;
3
+ cloudFileId?: string;
4
+ encryptKeyId?: string;
5
+ groupId?: string;
6
+ name: string;
7
+ owner?: string;
8
8
  };
@@ -1,47 +1,34 @@
1
1
  import { UsersWithAccess } from '../server/cloud-storage';
2
-
3
2
  import { Budget } from './budget';
4
-
5
- export type FileState =
6
- | 'local'
7
- | 'remote'
8
- | 'synced'
9
- | 'detached'
10
- | 'broken'
11
- | 'unknown';
12
-
3
+ export type FileState = 'local' | 'remote' | 'synced' | 'detached' | 'broken' | 'unknown';
13
4
  export type LocalFile = Omit<Budget, 'cloudFileId' | 'groupId'> & {
14
- state: 'local';
15
- hasKey: boolean;
5
+ state: 'local';
6
+ hasKey: boolean;
16
7
  };
17
-
18
8
  export type SyncableLocalFile = Budget & {
19
- cloudFileId: string;
20
- groupId: string;
21
- state: 'broken' | 'unknown';
22
- hasKey: boolean;
23
- owner: string;
9
+ cloudFileId: string;
10
+ groupId: string;
11
+ state: 'broken' | 'unknown';
12
+ hasKey: boolean;
13
+ owner: string;
24
14
  };
25
-
26
15
  export type SyncedLocalFile = Budget & {
27
- cloudFileId: string;
28
- groupId: string;
29
- encryptKeyId?: string;
30
- hasKey: boolean;
31
- state: 'synced' | 'detached';
32
- owner: string;
33
- usersWithAccess: UsersWithAccess[];
16
+ cloudFileId: string;
17
+ groupId: string;
18
+ encryptKeyId?: string;
19
+ hasKey: boolean;
20
+ state: 'synced' | 'detached';
21
+ owner: string;
22
+ usersWithAccess: UsersWithAccess[];
34
23
  };
35
-
36
24
  export type RemoteFile = {
37
- cloudFileId: string;
38
- groupId: string;
39
- name: string;
40
- encryptKeyId?: string;
41
- hasKey: boolean;
42
- state: 'remote';
43
- owner: string;
44
- usersWithAccess: UsersWithAccess[];
25
+ cloudFileId: string;
26
+ groupId: string;
27
+ name: string;
28
+ encryptKeyId?: string;
29
+ hasKey: boolean;
30
+ state: 'remote';
31
+ owner: string;
32
+ usersWithAccess: UsersWithAccess[];
45
33
  };
46
-
47
34
  export type File = LocalFile | SyncableLocalFile | SyncedLocalFile | RemoteFile;
@@ -1,7 +1,10 @@
1
1
  import type { AccountHandlers } from '../server/accounts/app';
2
2
  import type { AdminHandlers } from '../server/admin/app';
3
+ import type { AuthHandlers } from '../server/auth/app';
3
4
  import type { BudgetHandlers } from '../server/budget/app';
5
+ import type { BudgetFileHandlers } from '../server/budgetfiles/app';
4
6
  import type { DashboardHandlers } from '../server/dashboard/app';
7
+ import type { EncryptionHandlers } from '../server/encryption/app';
5
8
  import type { FiltersHandlers } from '../server/filters/app';
6
9
  import type { NotesHandlers } from '../server/notes/app';
7
10
  import type { PayeesHandlers } from '../server/payees/app';
@@ -13,27 +16,8 @@ import type { SpreadsheetHandlers } from '../server/spreadsheet/app';
13
16
  import type { SyncHandlers } from '../server/sync/app';
14
17
  import type { ToolsHandlers } from '../server/tools/app';
15
18
  import type { TransactionHandlers } from '../server/transactions/app';
16
-
17
19
  import type { ApiHandlers } from './api-handlers';
18
20
  import type { ServerHandlers } from './server-handlers';
19
-
20
- export interface Handlers
21
- extends ServerHandlers,
22
- ApiHandlers,
23
- BudgetHandlers,
24
- DashboardHandlers,
25
- FiltersHandlers,
26
- NotesHandlers,
27
- PreferencesHandlers,
28
- ReportsHandlers,
29
- RulesHandlers,
30
- SchedulesHandlers,
31
- TransactionHandlers,
32
- AdminHandlers,
33
- ToolsHandlers,
34
- AccountHandlers,
35
- PayeesHandlers,
36
- SpreadsheetHandlers,
37
- SyncHandlers {}
38
-
21
+ export interface Handlers extends ServerHandlers, ApiHandlers, BudgetHandlers, DashboardHandlers, FiltersHandlers, NotesHandlers, PreferencesHandlers, ReportsHandlers, RulesHandlers, SchedulesHandlers, TransactionHandlers, AdminHandlers, ToolsHandlers, AccountHandlers, PayeesHandlers, SpreadsheetHandlers, SyncHandlers, BudgetFileHandlers, EncryptionHandlers, AuthHandlers {
22
+ }
39
23
  export type HandlerFunctions = Handlers[keyof Handlers];
@@ -1,23 +1,16 @@
1
- import {
2
- GoCardlessAmount,
3
- GoCardlessBalance,
4
- GoCardlessTransaction,
5
- } from './gocardless';
6
-
1
+ import { GoCardlessAmount, GoCardlessBalance, GoCardlessTransaction } from './gocardless';
7
2
  export type BankSyncBalance = GoCardlessBalance;
8
3
  export type BankSyncAmount = GoCardlessAmount;
9
4
  export type BankSyncTransaction = GoCardlessTransaction;
10
-
11
5
  export type BankSyncResponse = {
12
- transactions: {
13
- all: BankSyncTransaction[];
14
- booked: BankSyncTransaction[];
15
- pending: BankSyncTransaction[];
16
- };
17
- balances: BankSyncBalance[];
18
- startingBalance: number;
19
- error_type: string;
20
- error_code: string;
6
+ transactions: {
7
+ all: BankSyncTransaction[];
8
+ booked: BankSyncTransaction[];
9
+ pending: BankSyncTransaction[];
10
+ };
11
+ balances: BankSyncBalance[];
12
+ startingBalance: number;
13
+ error_type: string;
14
+ error_code: string;
21
15
  };
22
-
23
16
  export type BankSyncProviders = 'goCardless' | 'simpleFin' | 'pluggyai';
@@ -1,15 +1,10 @@
1
1
  import { CategoryEntity } from './category';
2
-
3
- export interface NewCategoryGroupEntity {
4
- name: string;
5
- is_income?: boolean;
6
- sort_order?: number;
7
- tombstone?: boolean;
8
- hidden?: boolean;
9
- categories?: Omit<CategoryEntity, 'id'>[];
10
- }
11
-
12
- export interface CategoryGroupEntity extends NewCategoryGroupEntity {
13
- id: string;
14
- categories?: CategoryEntity[];
2
+ export interface CategoryGroupEntity {
3
+ id: string;
4
+ name: string;
5
+ is_income?: boolean;
6
+ sort_order?: number;
7
+ tombstone?: boolean;
8
+ hidden?: boolean;
9
+ categories?: CategoryEntity[];
15
10
  }
@@ -1,11 +1,10 @@
1
1
  import { CategoryGroupEntity } from './category-group';
2
-
3
2
  export interface CategoryEntity {
4
- id: string;
5
- name: string;
6
- is_income?: boolean;
7
- cat_group?: CategoryGroupEntity['id'];
8
- sort_order?: number;
9
- tombstone?: boolean;
10
- hidden?: boolean;
3
+ id: string;
4
+ name: string;
5
+ is_income?: boolean;
6
+ group: CategoryGroupEntity['id'];
7
+ sort_order?: number;
8
+ tombstone?: boolean;
9
+ hidden?: boolean;
11
10
  }
@@ -1,48 +1,34 @@
1
1
  import { type CustomReportEntity } from './reports';
2
2
  import { type RuleConditionEntity } from './rule';
3
-
4
3
  export type TimeFrame = {
5
- start: string;
6
- end: string;
7
- mode: 'sliding-window' | 'static' | 'full' | 'lastYear' | 'yearToDate';
4
+ start: string;
5
+ end: string;
6
+ mode: 'sliding-window' | 'static' | 'full' | 'lastYear' | 'yearToDate';
8
7
  };
9
-
10
- type AbstractWidget<
11
- T extends string,
12
- Meta extends Record<string, unknown> = null,
13
- > = {
14
- id: string;
15
- type: T;
16
- x: number;
17
- y: number;
18
- width: number;
19
- height: number;
20
- meta: Meta;
21
- tombstone: boolean;
8
+ type AbstractWidget<T extends string, Meta extends Record<string, unknown> | null = null> = {
9
+ id: string;
10
+ type: T;
11
+ x: number;
12
+ y: number;
13
+ width: number;
14
+ height: number;
15
+ meta: Meta;
16
+ tombstone: boolean;
22
17
  };
23
-
24
- export type NetWorthWidget = AbstractWidget<
25
- 'net-worth-card',
26
- {
18
+ export type NetWorthWidget = AbstractWidget<'net-worth-card', {
27
19
  name?: string;
28
20
  conditions?: RuleConditionEntity[];
29
21
  conditionsOp?: 'and' | 'or';
30
22
  timeFrame?: TimeFrame;
31
- } | null
32
- >;
33
- export type CashFlowWidget = AbstractWidget<
34
- 'cash-flow-card',
35
- {
23
+ } | null>;
24
+ export type CashFlowWidget = AbstractWidget<'cash-flow-card', {
36
25
  name?: string;
37
26
  conditions?: RuleConditionEntity[];
38
27
  conditionsOp?: 'and' | 'or';
39
28
  timeFrame?: TimeFrame;
40
29
  showBalance?: boolean;
41
- } | null
42
- >;
43
- export type SpendingWidget = AbstractWidget<
44
- 'spending-card',
45
- {
30
+ } | null>;
31
+ export type SpendingWidget = AbstractWidget<'spending-card', {
46
32
  name?: string;
47
33
  conditions?: RuleConditionEntity[];
48
34
  conditionsOp?: 'and' | 'or';
@@ -50,79 +36,48 @@ export type SpendingWidget = AbstractWidget<
50
36
  compareTo?: string;
51
37
  isLive?: boolean;
52
38
  mode?: 'single-month' | 'budget' | 'average';
53
- } | null
54
- >;
55
- export type CustomReportWidget = AbstractWidget<
56
- 'custom-report',
57
- { id: string }
58
- >;
59
- export type MarkdownWidget = AbstractWidget<
60
- 'markdown-card',
61
- { content: string; text_align?: 'left' | 'right' | 'center' }
62
- >;
63
-
64
- type SpecializedWidget =
65
- | NetWorthWidget
66
- | CashFlowWidget
67
- | SpendingWidget
68
- | MarkdownWidget
69
- | SummaryWidget
70
- | CalendarWidget;
39
+ } | null>;
40
+ export type CustomReportWidget = AbstractWidget<'custom-report', {
41
+ id: string;
42
+ }>;
43
+ export type MarkdownWidget = AbstractWidget<'markdown-card', {
44
+ content: string;
45
+ text_align?: 'left' | 'right' | 'center';
46
+ }>;
47
+ type SpecializedWidget = NetWorthWidget | CashFlowWidget | SpendingWidget | MarkdownWidget | SummaryWidget | CalendarWidget;
71
48
  export type Widget = SpecializedWidget | CustomReportWidget;
72
49
  export type NewWidget = Omit<Widget, 'id' | 'tombstone'>;
73
-
74
- // Exported/imported (json) widget definition
75
- export type ExportImportCustomReportWidget = Omit<
76
- CustomReportWidget,
77
- 'id' | 'meta' | 'tombstone'
78
- > & {
79
- meta: Omit<CustomReportEntity, 'tombstone'>;
50
+ export type ExportImportCustomReportWidget = Omit<CustomReportWidget, 'id' | 'meta' | 'tombstone'> & {
51
+ meta: Omit<CustomReportEntity, 'tombstone'>;
80
52
  };
81
- export type ExportImportDashboardWidget = Omit<
82
- ExportImportCustomReportWidget | SpecializedWidget,
83
- 'tombstone'
84
- >;
85
-
53
+ export type ExportImportDashboardWidget = Omit<ExportImportCustomReportWidget | SpecializedWidget, 'tombstone'>;
86
54
  export type ExportImportDashboard = {
87
- // Dashboard exports can be versioned; currently we support
88
- // only a single version, but lets account for multiple
89
- // future versions
90
- version: 1;
91
- widgets: ExportImportDashboardWidget[];
55
+ version: 1;
56
+ widgets: ExportImportDashboardWidget[];
92
57
  };
93
-
94
- export type SummaryWidget = AbstractWidget<
95
- 'summary-card',
96
- {
58
+ export type SummaryWidget = AbstractWidget<'summary-card', {
97
59
  name?: string;
98
60
  conditions?: RuleConditionEntity[];
99
61
  conditionsOp?: 'and' | 'or';
100
62
  timeFrame?: TimeFrame;
101
63
  content?: string;
102
- } | null
103
- >;
104
-
64
+ } | null>;
105
65
  export type BaseSummaryContent = {
106
- type: 'sum' | 'avgPerMonth' | 'avgPerTransact';
107
- fontSize?: number;
66
+ type: 'sum' | 'avgPerMonth' | 'avgPerTransact';
67
+ fontSize?: number;
108
68
  };
109
-
110
69
  export type PercentageSummaryContent = {
111
- type: 'percentage';
112
- divisorConditions: RuleConditionEntity[];
113
- divisorConditionsOp: 'and' | 'or';
114
- divisorAllTimeDateRange?: boolean;
115
- fontSize?: number;
70
+ type: 'percentage';
71
+ divisorConditions: RuleConditionEntity[];
72
+ divisorConditionsOp: 'and' | 'or';
73
+ divisorAllTimeDateRange?: boolean;
74
+ fontSize?: number;
116
75
  };
117
-
118
76
  export type SummaryContent = BaseSummaryContent | PercentageSummaryContent;
119
-
120
- export type CalendarWidget = AbstractWidget<
121
- 'calendar-card',
122
- {
77
+ export type CalendarWidget = AbstractWidget<'calendar-card', {
123
78
  name?: string;
124
79
  conditions?: RuleConditionEntity[];
125
80
  conditionsOp?: 'and' | 'or';
126
81
  timeFrame?: TimeFrame;
127
- } | null
128
- >;
82
+ } | null>;
83
+ export {};
@@ -1,83 +1,68 @@
1
1
  export type GoCardlessToken = {
2
- id: string;
3
- accounts: unknown[];
2
+ id: string;
3
+ accounts: unknown[];
4
4
  };
5
-
6
5
  export type GoCardlessInstitution = {
7
- id: string;
8
- name: string;
9
- bic?: string;
10
- transaction_total_days?: string;
11
- countries: string[];
12
- logo: string;
13
- identification_codes: string[];
6
+ id: string;
7
+ name: string;
8
+ bic?: string;
9
+ transaction_total_days?: string;
10
+ countries: string[];
11
+ logo: string;
12
+ identification_codes: string[];
14
13
  };
15
-
16
14
  export type GoCardlessBalance = {
17
- balanceAmount: GoCardlessAmount;
18
- balanceType:
19
- | 'closingBooked'
20
- | 'expected'
21
- | 'forwardAvailable'
22
- | 'interimAvailable'
23
- | 'interimBooked'
24
- | 'nonInvoiced'
25
- | 'openingBooked';
26
- creditLimitIncluded?: boolean;
27
- lastChangeDateTime?: string;
28
- lastCommittedTransaction?: string;
29
- referenceDate?: string;
15
+ balanceAmount: GoCardlessAmount;
16
+ balanceType: 'closingBooked' | 'expected' | 'forwardAvailable' | 'interimAvailable' | 'interimBooked' | 'nonInvoiced' | 'openingBooked';
17
+ creditLimitIncluded?: boolean;
18
+ lastChangeDateTime?: string;
19
+ lastCommittedTransaction?: string;
20
+ referenceDate?: string;
30
21
  };
31
-
32
22
  export type GoCardlessAmount = {
33
- amount: string;
34
- currency: string;
23
+ amount: string;
24
+ currency: string;
35
25
  };
36
-
37
26
  export type GoCardlessTransaction = {
38
- additionalInformation?: string;
39
- bookingStatus?: string;
40
- balanceAfterTransaction?: Pick<
41
- GoCardlessBalance,
42
- 'balanceType' | 'balanceAmount'
43
- >;
44
- bankTransactionCode?: string;
45
- bookingDate?: string;
46
- bookingDateTime?: string;
47
- checkId?: string;
48
- creditorAccount?: string;
49
- creditorAgent?: string;
50
- creditorId?: string;
51
- creditorName?: string;
52
- currencyExchange?: string[];
53
- debtorAccount?: {
54
- iban: string;
55
- };
56
- debtorAgent?: string;
57
- debtorName?: string;
58
- endToEndId?: string;
59
- entryReference?: string;
60
- internalTransactionId?: string;
61
- mandateId?: string;
62
- merchantCategoryCode?: string;
63
- proprietaryBankTransactionCode?: string;
64
- purposeCode?: string;
65
- remittanceInformationStructured?: string;
66
- remittanceInformationStructuredArray?: string[];
67
- remittanceInformationUnstructured?: string;
68
- remittanceInformationUnstructuredArray?: string[];
69
- transactionAmount: GoCardlessAmount;
70
- transactionId?: string;
71
- ultimateCreditor?: string;
72
- ultimateDebtor?: string;
73
- valueDate?: string;
74
- valueDateTime?: string;
27
+ additionalInformation?: string;
28
+ bookingStatus?: string;
29
+ balanceAfterTransaction?: Pick<GoCardlessBalance, 'balanceType' | 'balanceAmount'>;
30
+ bankTransactionCode?: string;
31
+ bookingDate?: string;
32
+ bookingDateTime?: string;
33
+ checkId?: string;
34
+ creditorAccount?: string;
35
+ creditorAgent?: string;
36
+ creditorId?: string;
37
+ creditorName?: string;
38
+ currencyExchange?: string[];
39
+ debtorAccount?: {
40
+ iban: string;
41
+ };
42
+ debtorAgent?: string;
43
+ debtorName?: string;
44
+ endToEndId?: string;
45
+ entryReference?: string;
46
+ internalTransactionId?: string;
47
+ mandateId?: string;
48
+ merchantCategoryCode?: string;
49
+ proprietaryBankTransactionCode?: string;
50
+ purposeCode?: string;
51
+ remittanceInformationStructured?: string;
52
+ remittanceInformationStructuredArray?: string[];
53
+ remittanceInformationUnstructured?: string;
54
+ remittanceInformationUnstructuredArray?: string[];
55
+ transactionAmount: GoCardlessAmount;
56
+ transactionId?: string;
57
+ ultimateCreditor?: string;
58
+ ultimateDebtor?: string;
59
+ valueDate?: string;
60
+ valueDateTime?: string;
75
61
  };
76
-
77
62
  export type SyncServerGoCardlessAccount = {
78
- institution: string;
79
- account_id: string;
80
- mask: string;
81
- name: string;
82
- official_name: string;
63
+ institution: string;
64
+ account_id: string;
65
+ mask: string;
66
+ name: string;
67
+ official_name: string;
83
68
  };
@@ -1,4 +1,4 @@
1
1
  export type NoteEntity = {
2
- id: string;
3
- note: string;
2
+ id: string;
3
+ note: string;
4
4
  };
@@ -1,8 +1,8 @@
1
1
  export type OpenIdConfig = {
2
- selectedProvider: string;
3
- issuer?: string;
4
- client_id: string;
5
- client_secret: string;
6
- server_hostname: string;
7
- discoveryURL: string;
2
+ selectedProvider: string;
3
+ issuer?: string;
4
+ client_id: string;
5
+ client_secret: string;
6
+ server_hostname: string;
7
+ discoveryURL: string;
8
8
  };
@@ -1,10 +1,9 @@
1
1
  import { AccountEntity } from './account';
2
-
3
2
  export interface PayeeEntity {
4
- id: string;
5
- name: string;
6
- transfer_acct?: AccountEntity['id'];
7
- favorite?: boolean;
8
- learn_categories?: boolean;
9
- tombstone?: boolean;
3
+ id: string;
4
+ name: string;
5
+ transfer_acct?: AccountEntity['id'];
6
+ favorite?: boolean;
7
+ learn_categories?: boolean;
8
+ tombstone?: boolean;
10
9
  }