@tap-payments/os-micro-frontend-shared 0.1.226-test.3 → 0.1.226-test.4

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.
@@ -9,7 +9,7 @@ export declare const isHeightNotFullyFilledByRows: (totalRows: number) => boolea
9
9
  export declare const isTableDefaultMode: (tableMode: TableMode) => boolean;
10
10
  export declare const isTableSheetMode: (tableMode: TableMode) => boolean;
11
11
  export declare const isTableTextMode: (tableMode: TableMode) => boolean;
12
- interface NavigationMap<T> {
12
+ interface ActionNavigationView<T> {
13
13
  prefixes: string[];
14
14
  keys?: string[];
15
15
  label: string;
@@ -18,5 +18,5 @@ interface NavigationMap<T> {
18
18
  icon: TableNavigation['icon'];
19
19
  accessor?: (rowData: T) => string[];
20
20
  }
21
- export declare const getPossibleNavigationTablesMap: <T>() => Record<string, NavigationMap<T>>;
21
+ export declare const getPossibleActionNavigationView: <T>() => Record<string, ActionNavigationView<T>>;
22
22
  export {};
@@ -82,7 +82,7 @@ export const isTableSheetMode = (tableMode) => {
82
82
  export const isTableTextMode = (tableMode) => {
83
83
  return tableMode === 'text';
84
84
  };
85
- export const getPossibleNavigationTablesMap = () => {
85
+ export const getPossibleActionNavigationView = () => {
86
86
  return {
87
87
  charge: {
88
88
  prefixes: ['chg_', 'payout_', 'settlement_', 'terminal_'],
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.226-test.3",
5
- "testVersion": 3,
4
+ "version": "0.1.226-test.4",
5
+ "testVersion": 4,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",