@mx-cartographer/experiences 2.35.0-alpha.sms1 → 2.35.0-alpha.sms3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { Account, CategoryApi, LocalizedCopyStore, Category, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
1
+ import { Account, CategoryApi, Category, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
2
2
  import { UiStore } from './UiStore';
3
3
  import { DetailedCategory } from '../../common/types/Category';
4
4
 
@@ -8,7 +8,6 @@ type CategoryNames = {
8
8
  export declare class CategoryStore {
9
9
  api: CategoryApi;
10
10
  globalStore: GlobalStore;
11
- localizedCopyStore: LocalizedCopyStore;
12
11
  uiStore: UiStore;
13
12
  categories: Category[];
14
13
  detailedCategories: DetailedCategory[];
@@ -55,7 +54,6 @@ export declare class CategoryStore {
55
54
  }[];
56
55
  loadCategories: () => Promise<void>;
57
56
  loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
58
- loadLocalizedCategoryNames: (categories: Category[]) => Promise<void>;
59
57
  loadMonthlyCategoryTotals: (accounts?: Account[]) => Promise<void>;
60
58
  removeCategory: (guid: string) => Promise<void>;
61
59
  setIsLoadingCategoryTotals: (isLoading: boolean) => void;
@@ -1,6 +1,7 @@
1
- import { CashflowCopy, CommonCopy } from './localization';
1
+ import { CashflowCopy, CategoryCopy, CommonCopy } from './localization';
2
2
 
3
3
  export interface GlobalCopy {
4
4
  cashflow: CashflowCopy;
5
+ categories: CategoryCopy;
5
6
  common: CommonCopy;
6
7
  }
@@ -17,14 +17,12 @@ export interface CashflowCopy extends AccountFilterCopy {
17
17
  bullet_one: string;
18
18
  bullet_three: string;
19
19
  bullet_two: string;
20
- cancel_button: string;
21
20
  cash_and_bank: string;
22
21
  cash_inflow_and_outflow: string;
23
22
  cashflow_settings: string;
24
23
  cashflow_summary_and_details: string;
25
24
  cashflow_title: string;
26
25
  close_drawer_aria: string;
27
- confirm_button: string;
28
26
  confirm_error: string;
29
27
  confirm_income_button: string;
30
28
  current_balance: string;
@@ -55,7 +53,6 @@ export interface CashflowCopy extends AccountFilterCopy {
55
53
  remaining_cash: string;
56
54
  second_pay_date_label: string;
57
55
  semi_monthly: string;
58
- settings: string;
59
56
  skip_button: string;
60
57
  sub_title: string;
61
58
  summary: string;
@@ -0,0 +1,17 @@
1
+ interface LocalizedCategory {
2
+ [key: string]: string;
3
+ }
4
+ export interface CategoryCopy {
5
+ add_subcategory_aria: string;
6
+ add_subcategory_button: string;
7
+ add_subcategory_title: string;
8
+ all_parent_category: string;
9
+ all_transactions_in_this_subcategory: string;
10
+ default_categories: LocalizedCategory;
11
+ delete_subcategory_aria: string;
12
+ delete_subcategory_heading: string;
13
+ edit_subcategory_aria: string;
14
+ edit_subcategory_title: string;
15
+ input_placeholder: string;
16
+ }
17
+ export {};
@@ -1,6 +1,13 @@
1
1
  import { AccountFilterCopy } from './AccountFilterCopy';
2
2
 
3
- export interface CommonCopy extends AccountFilterCopy {
3
+ export interface CommonCopy {
4
+ account_filter: AccountFilterCopy;
4
5
  cancel_button: string;
6
+ cancel_search_aria: string;
7
+ close_aria: string;
8
+ confirm_button: string;
5
9
  filter_button: string;
10
+ search: string;
11
+ search_aria: string;
12
+ settings: string;
6
13
  }
@@ -1,3 +1,4 @@
1
1
  export type { AccountFilterCopy } from './AccountFilterCopy';
2
2
  export type { CashflowCopy } from './CashflowCopy';
3
+ export type { CategoryCopy } from './CategoryCopy';
3
4
  export type { CommonCopy } from './CommonCopy';