File tree Expand file tree Collapse file tree 11 files changed +18
-19
lines changed Expand file tree Collapse file tree 11 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ import {
2424 useSignUpAllowed ,
2525} from "../../store/hooks" ;
2626import {
27- setLogoutSuccess ,
27+ type Role ,
2828 Roles ,
2929 StaffRoles ,
30- type Role ,
30+ setLogoutSuccess ,
3131 setRole ,
3232} from "../../store/user/userSlice" ;
3333import { ThemeContext } from "../DarkTheme/useTheme" ;
Original file line number Diff line number Diff line change 1+ import type { FileBrowserFolderFile } from "@fnndsc/chrisapi" ;
12import {
23 Button ,
34 Popover ,
45 SimpleList ,
56 SimpleListItem ,
67} from "@patternfly/react-core" ;
78import { useState } from "react" ;
8- import type { FileBrowserFolderFile } from "@fnndsc/chrisapi" ;
99
1010interface CrvFileSelectProps {
1111 files : FileBrowserFolderFile [ ] ;
Original file line number Diff line number Diff line change 1- import { SimpleList , SimpleListItem } from "@patternfly/react-core" ;
21import type { FileBrowserFolderFile } from "@fnndsc/chrisapi" ;
2+ import { SimpleList , SimpleListItem } from "@patternfly/react-core" ;
33
44interface FsmFileSelectProps {
55 files : FileBrowserFolderFile [ ] ;
Original file line number Diff line number Diff line change 8888
8989.xtk-viewer-wrap .fsm-select-inner {
9090 padding : 20px ;
91- background-color : white;
9291 background-color : lightgray;
9392 width : 30% ;
9493 margin : 0 auto;
Original file line number Diff line number Diff line change 11// cartSlice.ts
2- import { type PayloadAction , createSlice } from "@reduxjs/toolkit" ;
2+ import { createSlice , type PayloadAction } from "@reduxjs/toolkit" ;
33import type {
44 ICartState ,
55 OperationPayload ,
Original file line number Diff line number Diff line change 1+ import type { FileBrowserFolderFile } from "@fnndsc/chrisapi" ;
12import { createSlice , type PayloadAction } from "@reduxjs/toolkit" ;
23import type { IExplorerState } from "./types" ;
3- import type { FileBrowserFolderFile } from "@fnndsc/chrisapi" ;
44
55const initialState : IExplorerState = {
66 selectedFile : undefined ,
Original file line number Diff line number Diff line change 1+ import type { Feed } from "@fnndsc/chrisapi" ;
12import { createSlice , type PayloadAction } from "@reduxjs/toolkit" ;
23import type { IFeedState } from "./types" ;
3- import type { Feed } from "@fnndsc/chrisapi" ;
44
55// Define the initial state
66const initialState : IFeedState = {
Original file line number Diff line number Diff line change 1+ import type { Plugin , PluginParameter } from "@fnndsc/chrisapi" ;
12import {
23 createAsyncThunk ,
34 createSlice ,
45 type PayloadAction ,
56} from "@reduxjs/toolkit" ;
6- import type { Plugin , PluginParameter } from "@fnndsc/chrisapi" ;
77import { fetchResource } from "../../api/common" ;
88
99// Define the initial state
Original file line number Diff line number Diff line change 11import type { Feed , PluginInstance } from "@fnndsc/chrisapi" ;
22import {
3- type PayloadAction ,
43 createAsyncThunk ,
54 createSlice ,
5+ type PayloadAction ,
66} from "@reduxjs/toolkit" ;
77import { catchError , fetchResource } from "../../api/common" ;
88import type { RootState } from "../root/applicationState" ;
Original file line number Diff line number Diff line change 33 * Description: this is where the ApplicationState and supporting interfaces comes together:
44 * Author: ChRIS UI
55 */
6+
7+ import type { ICartState } from "../cart/types" ;
68import type { IDrawerState } from "../drawer/drawerSlice" ;
79import type { IExplorerState } from "../explorer/types" ;
810import type { IFeedState } from "../feed/types" ;
911import type { IPluginState } from "../plugin/pluginSlice" ;
1012import type { IPluginInstanceState } from "../pluginInstance/types" ;
11- import type { IUiState } from "../ui/uiSlice" ;
1213import type { IUserState } from "../user/userSlice" ;
13- import type { ICartState } from "../cart/types" ;
1414
1515export interface ApplicationState {
16- ui : IUiState ;
1716 feed : IFeedState ;
1817 user : IUserState ;
1918 plugin : IPluginState ;
You can’t perform that action at this time.
0 commit comments