@tap-payments/os-micro-frontend-shared 0.1.315 → 0.1.317
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.
- package/build/constants/apps.d.ts +1 -0
- package/build/constants/apps.js +1 -0
- package/build/constants/table/cell/destinationsTableCellWidth.d.ts +1 -1
- package/build/constants/table/cell/destinationsTableCellWidth.js +1 -1
- package/build/types/apps.d.ts +4 -1
- package/build/types/tsUtils.d.ts +3 -0
- package/package.json +1 -1
package/build/constants/apps.js
CHANGED
package/build/types/apps.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ColumnsView } from './column';
|
|
2
|
-
import { SegmentCountry, SelectedBrand, SelectedCountry } from './user';
|
|
2
|
+
import { Segment, SegmentCountry, SegmentUser, SelectedBrand, SelectedCountry } from './user';
|
|
3
3
|
import { BusinessMerchant } from './merchant';
|
|
4
4
|
import type { i18n } from 'i18next';
|
|
5
5
|
import { Theme } from '@mui/material';
|
|
@@ -116,10 +116,13 @@ export type MFWidgetBaseProps = {
|
|
|
116
116
|
defaultCountry: SegmentCountry;
|
|
117
117
|
defaultEntity: Entity;
|
|
118
118
|
apps: UserApp[];
|
|
119
|
+
users: SegmentUser[];
|
|
120
|
+
organizationId: string;
|
|
119
121
|
isBusinessSegment: boolean;
|
|
120
122
|
isAnyMerchantHasMarketplace: boolean;
|
|
121
123
|
isSegmentHasMoreThanOneMerchant: boolean;
|
|
122
124
|
};
|
|
125
|
+
segments: Segment[];
|
|
123
126
|
selectedSegment: {
|
|
124
127
|
id: string;
|
|
125
128
|
selectedBrands: SelectedBrand[];
|
package/build/types/tsUtils.d.ts
CHANGED
|
@@ -3,3 +3,6 @@ export type MakeOptional<T, K extends keyof T> = Override<T, {
|
|
|
3
3
|
[P in K]?: T[K];
|
|
4
4
|
}>;
|
|
5
5
|
export type PartialExcept<T, K extends keyof T> = Partial<Omit<T, K>> & Pick<T, K>;
|
|
6
|
+
export type DeepPartial<T> = {
|
|
7
|
+
[K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K];
|
|
8
|
+
};
|
package/package.json
CHANGED