@mx-cartographer/common
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -0,1 +1,5 @@ | ||
## [0.3.1] - 07-28-2022 | ||
- **FIXED** - Small bug fixes | ||
## [0.3.0] - 07-26-2022 | ||
@@ -2,0 +6,0 @@ |
import React from 'react'; | ||
import type { AccountStore, CategoryStore, TransactionStore, UserStore } from '../index'; | ||
import type { AccountStore, CategoryStore, SpendingPlanStore, TransactionStore, UserStore } from '../index'; | ||
interface DataContextTypes { | ||
@@ -10,2 +10,3 @@ onEvent: (event?: string) => void; | ||
categoryStore?: CategoryStore; | ||
spendingPlanStore?: SpendingPlanStore; | ||
transactionStore?: TransactionStore; | ||
@@ -12,0 +13,0 @@ userStore?: UserStore; |
@@ -19,4 +19,5 @@ export { AccountFilter } from './components/accountfilter/AccountFilter'; | ||
export { CategoryStore } from './stores/CategoryStore'; | ||
export { SpendingPlanStore } from './stores/SpendingPlanStore'; | ||
export { TransactionStore } from './stores/TransactionStore'; | ||
export { UserStore } from './stores/UserStore'; | ||
export { DataProvider, DataContext, useDataContext } from './context/DataProvider'; |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.useDataContext = exports.DataContext = exports.DataProvider = exports.UserStore = exports.TransactionStore = exports.CategoryStore = exports.AccountStore = exports.UserApi = exports.TransactionApi = exports.SpendingPlanApi = exports.CategoryApi = exports.AccountApi = exports.DateRangePickerDrawer = exports.DateRangePicker = exports.DateRangeControls = exports.Calendar = exports.AccountFilter = void 0; | ||
exports.useDataContext = exports.DataContext = exports.DataProvider = exports.UserStore = exports.TransactionStore = exports.SpendingPlanStore = exports.CategoryStore = exports.AccountStore = exports.UserApi = exports.TransactionApi = exports.SpendingPlanApi = exports.CategoryApi = exports.AccountApi = exports.DateRangePickerDrawer = exports.DateRangePicker = exports.DateRangeControls = exports.Calendar = exports.AccountFilter = void 0; | ||
// Common Components | ||
@@ -43,2 +43,4 @@ var AccountFilter_1 = require("./components/accountfilter/AccountFilter"); | ||
__createBinding(exports, CategoryStore_1, "CategoryStore"); | ||
var SpendingPlanStore_1 = require("./stores/SpendingPlanStore"); | ||
__createBinding(exports, SpendingPlanStore_1, "SpendingPlanStore"); | ||
var TransactionStore_1 = require("./stores/TransactionStore"); | ||
@@ -45,0 +47,0 @@ __createBinding(exports, TransactionStore_1, "TransactionStore"); |
@@ -64,2 +64,7 @@ export interface Account { | ||
} | ||
export interface DetailedAccount extends Account { | ||
institution_name: string; | ||
isEnabled: boolean; | ||
name: string; | ||
} | ||
export interface Member { | ||
@@ -66,0 +71,0 @@ aggregation_status: number; |
@@ -21,9 +21,9 @@ export interface SpendingPlan { | ||
end_on: string; | ||
filteredRecurringItems: RecurringItem[]; | ||
guid: string; | ||
iteration_interval_id: number; | ||
iteration_interval: string; | ||
iteration_interval_id: number; | ||
iteration_number: number; | ||
other_items_total_spent: number; | ||
other_items: OtherItem[]; | ||
other_items_total_spent: number; | ||
planned_items: PlannedItem[]; | ||
planned_items_total_expected: number; | ||
@@ -33,3 +33,3 @@ planned_items_total_planned: number; | ||
planned_items_total_spent: number; | ||
recurring_items: RecurringItem[]; | ||
planned_items: PlannedItem[]; | ||
recurring_items_total_expected: number; | ||
@@ -39,2 +39,3 @@ recurring_items_total_planned: number; | ||
recurring_items_total_spent: number; | ||
recurring_items: RecurringItem[]; | ||
spending_plan_guid: string; | ||
@@ -41,0 +42,0 @@ start_balance?: number; |
{ | ||
"name": "@mx-cartographer/common", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Common components used within Cartographer", | ||
@@ -87,2 +87,3 @@ "main": "dist/index.js", | ||
"prepare": "husky install", | ||
"prepublishOnly": "npm run build", | ||
"test": "jest --env=jsdom" | ||
@@ -114,9 +115,3 @@ }, | ||
"react-dom": "16.14.0" | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts,jsx,tsx}": [ | ||
"eslint --cache --fix", | ||
"prettier --write" | ||
] | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
345327
141
5072