jp.ui.app.toolkit 1.0.18 → 1.0.20
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/dist/index.d.ts +516 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/data/hooks.d.ts +1 -1
- package/dist/src/data/middleware/game-table-screen-middleware.d.ts +3 -0
- package/dist/src/data/middleware/index.d.ts +3 -2
- package/dist/src/data/middleware/ws-connector-middleware.d.ts +1 -0
- package/dist/src/data/slices/game-table-screen-slice/action-types.d.ts +10 -0
- package/dist/src/data/slices/game-table-screen-slice/actions.d.ts +20 -0
- package/dist/src/data/slices/game-table-screen-slice/index.d.ts +9 -0
- package/dist/src/data/slices/game-table-screen-slice/reducer.d.ts +9 -0
- package/dist/src/data/slices/game-table-screen-slice/selectors.d.ts +928 -0
- package/dist/src/data/slices/index.d.ts +22 -9
- package/dist/src/data/store.d.ts +1 -3
- package/package.json +5 -1
- package/dist/src/app/app-router.d.ts +0 -2
- package/dist/src/app/app.d.ts +0 -2
- package/dist/src/data/requests/watch-the-table/enter-the-table-request.d.ts +0 -3
- package/dist/src/data/requests/watch-the-table/move-on-the-table-request.d.ts +0 -3
- package/dist/src/data/requests/watch-the-table/table-game-state.type.d.ts +0 -8
- package/dist/src/data/requests/watch-the-table/watch-the-table-request.d.ts +0 -3
- package/dist/src/types/common/channel-types.d.ts +0 -9
- package/dist/src/types/common/game-types.d.ts +0 -6
- package/dist/src/types/common/route.type.d.ts +0 -5
- package/dist/src/types/common/screen-response.d.ts +0 -4
- package/dist/src/utils/storage.d.ts +0 -7
|
@@ -4,8 +4,9 @@ import { shopScreenSlice } from './shop-screen-slice';
|
|
|
4
4
|
import { tablesScreenSlice } from './tables-screen-slice';
|
|
5
5
|
import { raiseBottomSheetBlockSlice } from './raise-bottom-sheet-block-slice';
|
|
6
6
|
import { reactionBottomSheetBlockSlice } from './reaction-bottom-sheet-block-slice';
|
|
7
|
-
import { wsConnectorSlice } from './ws-connector-slice
|
|
8
|
-
|
|
7
|
+
import { wsConnectorSlice } from './ws-connector-slice';
|
|
8
|
+
import { gameTableScreenSlice } from './game-table-screen-slice';
|
|
9
|
+
export { appSlice, menuScreenSlice, shopScreenSlice, tablesScreenSlice, raiseBottomSheetBlockSlice, reactionBottomSheetBlockSlice, wsConnectorSlice, gameTableScreenSlice, };
|
|
9
10
|
export declare function getBaseSlices(): (import("@reduxjs/toolkit").Slice<import("./app-slice").AppSlice, {
|
|
10
11
|
initApp: (state: import("./app-slice").AppSlice) => {
|
|
11
12
|
isLoading: boolean;
|
|
@@ -114,21 +115,33 @@ export declare function getBaseSlices(): (import("@reduxjs/toolkit").Slice<impor
|
|
|
114
115
|
};
|
|
115
116
|
}, "reactionBottomSheetBlockSlice", "reactionBottomSheetBlockSlice", {
|
|
116
117
|
getIsOpen: (sliceState: import("./reaction-bottom-sheet-block-slice").ReactionBottomSheetBlockState) => boolean;
|
|
117
|
-
}> | import("@reduxjs/toolkit").Slice<import("./ws-connector-slice
|
|
118
|
-
connect: (state: import("./ws-connector-slice
|
|
118
|
+
}> | import("@reduxjs/toolkit").Slice<import("./ws-connector-slice").WsConnectorState, {
|
|
119
|
+
connect: (state: import("./ws-connector-slice").WsConnectorState) => {
|
|
119
120
|
isConnected: boolean;
|
|
120
121
|
error: object | null;
|
|
121
122
|
};
|
|
122
|
-
connected: (state: import("./ws-connector-slice
|
|
123
|
+
connected: (state: import("./ws-connector-slice").WsConnectorState) => {
|
|
123
124
|
isConnected: boolean;
|
|
124
125
|
error: object | null;
|
|
125
126
|
};
|
|
126
|
-
disconnect: (state: import("./ws-connector-slice
|
|
127
|
+
disconnect: (state: import("./ws-connector-slice").WsConnectorState, action: import("@reduxjs/toolkit").PayloadAction<string>) => {
|
|
127
128
|
isConnected: boolean;
|
|
128
129
|
error: object | null;
|
|
129
130
|
};
|
|
130
|
-
error: (state: import("./ws-connector-slice
|
|
131
|
-
message: (state: import("./ws-connector-slice
|
|
131
|
+
error: (state: import("./ws-connector-slice").WsConnectorState, action: import("@reduxjs/toolkit").PayloadAction<string>) => import("./ws-connector-slice").WsConnectorState;
|
|
132
|
+
message: (state: import("./ws-connector-slice").WsConnectorState, action: import("@reduxjs/toolkit").PayloadAction<object>) => import("./ws-connector-slice").WsConnectorState;
|
|
132
133
|
}, "wsConnectorSlice", "wsConnectorSlice", {
|
|
133
|
-
getIsConnected: (sliceState: import("./ws-connector-slice
|
|
134
|
+
getIsConnected: (sliceState: import("./ws-connector-slice").WsConnectorState) => boolean;
|
|
134
135
|
}>)[];
|
|
136
|
+
export declare function getBaseSlicesReducer(): {
|
|
137
|
+
appSlice: import("redux").Reducer<import("./app-slice").AppSlice>;
|
|
138
|
+
menuScreenSlice: import("redux").Reducer<import("./menu-screen-slice").MenuScreenState>;
|
|
139
|
+
shopScreenSlice: import("redux").Reducer<import("./shop-screen-slice").ShopScreenState>;
|
|
140
|
+
tablesScreenSlice: import("redux").Reducer<import("./tables-screen-slice").TablesScreenState>;
|
|
141
|
+
raiseBottomSheetBlockSlice: import("redux").Reducer<import("./raise-bottom-sheet-block-slice").RaiseBottomSheetBlockState>;
|
|
142
|
+
reactionBottomSheetBlockSlice: import("redux").Reducer<import("./reaction-bottom-sheet-block-slice").ReactionBottomSheetBlockState>;
|
|
143
|
+
wsConnectorSlice: import("redux").Reducer<import("./ws-connector-slice").WsConnectorState>;
|
|
144
|
+
gameTableScreenSlice: import("redux").Reducer<import("./game-table-screen-slice/reducer").IBaseTableScreenState> & {
|
|
145
|
+
getInitialState: () => import("./game-table-screen-slice/reducer").IBaseTableScreenState;
|
|
146
|
+
};
|
|
147
|
+
};
|
package/dist/src/data/store.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const store:
|
|
2
|
-
dispatch: import("redux-thunk").ThunkDispatch<any, undefined, import("redux").UnknownAction>;
|
|
3
|
-
}>, import("redux").StoreEnhancer]>>;
|
|
1
|
+
export declare const store: any;
|
|
4
2
|
export type RootState = ReturnType<typeof store.getState>;
|
|
5
3
|
export type AppDispatch = typeof store.dispatch;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jp.ui.app.toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,11 +19,15 @@
|
|
|
19
19
|
"@emotion/styled": "^11.13.5",
|
|
20
20
|
"@material-design-icons/svg": "0.14.15",
|
|
21
21
|
"@reduxjs/toolkit": "2.9.2",
|
|
22
|
+
"@types/lodash.clonedeep": "4.5.9",
|
|
22
23
|
"axios": "0.30.2",
|
|
23
24
|
"dayjs": "1.11.18",
|
|
25
|
+
"jp.common.models": "file:../jp.common.models",
|
|
26
|
+
"jp.common.utils": "1.0.1",
|
|
24
27
|
"jp.common.view": "1.1.9",
|
|
25
28
|
"jp.ui.app.ds": "1.0.6",
|
|
26
29
|
"jp.ui.theme": "1.0.0",
|
|
30
|
+
"lodash.clonedeep": "4.5.0",
|
|
27
31
|
"mobile-detect": "1.4.5",
|
|
28
32
|
"react": "^19.2.0",
|
|
29
33
|
"react-dom": "^19.2.0",
|
package/dist/src/app/app.d.ts
DELETED