@tap-payments/os-micro-frontend-shared 0.1.365-test.1 → 0.1.365-test.2
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/types/apps.d.ts +6 -5
- package/package.json +4 -4
package/build/types/apps.d.ts
CHANGED
|
@@ -6,10 +6,11 @@ import { CalenderMode } from './theme';
|
|
|
6
6
|
import { Timezone } from './appConfig';
|
|
7
7
|
import { Brand, Entity, TableMode } from './index.js';
|
|
8
8
|
import { TextAndLang } from './common';
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
9
|
+
export type AppPayload<TServiceCodes extends string = string> = {
|
|
10
|
+
services: {
|
|
11
|
+
[key in TServiceCodes]?: ServicePayload;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
13
14
|
export interface ServicePayload {
|
|
14
15
|
columnFilters?: Record<string, any>;
|
|
15
16
|
filteredIds?: string[];
|
|
@@ -98,7 +99,7 @@ export type MFWidgetBaseProps = {
|
|
|
98
99
|
hasHeader: boolean;
|
|
99
100
|
sandboxMode: boolean;
|
|
100
101
|
initialServiceCode?: string;
|
|
101
|
-
|
|
102
|
+
initialAppPayload?: AppPayload;
|
|
102
103
|
};
|
|
103
104
|
user: User;
|
|
104
105
|
segment: {
|
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.365-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.365-test.2",
|
|
5
|
+
"testVersion": 2,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"ts:build": "rm -rf build && tsc -p tsconfig.npm.json && tsc-alias -p tsconfig.npm.json",
|
|
64
64
|
"push:local": "yarn ts:build && yalc publish --push",
|
|
65
65
|
"push": "npm run ts:build && npm publish --access public",
|
|
66
|
-
"push:test": " npm publish --access public --tag test && node scripts/restore-version.cjs",
|
|
66
|
+
"push:test": "node scripts/increment-test-version.cjs && npm run ts:build && npm publish --access public --tag test && node scripts/restore-version.cjs",
|
|
67
67
|
"dev": "vite",
|
|
68
68
|
"build": "tsc -b && vite build ",
|
|
69
69
|
"prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\"",
|
|
@@ -164,4 +164,4 @@
|
|
|
164
164
|
"publishConfig": {
|
|
165
165
|
"registry": "https://registry.npmjs.org/"
|
|
166
166
|
}
|
|
167
|
-
}
|
|
167
|
+
}
|