Skip to content

Commit

Permalink
Merge pull request #52 from rayshader/fix/admin
Browse files Browse the repository at this point in the history
feat(Admin): enhance plugin support and improve widget rendering
  • Loading branch information
maximegmd authored Dec 21, 2024
2 parents b443fa6 + a36183f commit 0ea6d45
Show file tree
Hide file tree
Showing 10 changed files with 439 additions and 408 deletions.
11 changes: 8 additions & 3 deletions code/server/admin/globals.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import {App} from "./api";
import {useToasts} from "./src/Stores/ToastStore.ts";

declare global {
interface Window {
Redux: typeof import('react-redux');
MUI: typeof import('@mui/material');
MUIIcons: typeof import('@mui/icons-material');
MDI: typeof import('@mdi/react');
Redux: typeof import('react-redux');
App: App;
MDIIcons: typeof import('@mdi/js');
StatusCodes: typeof import('http-status-codes');
App: {
useToasts: typeof useToasts;
}
}
}

Expand Down
29 changes: 15 additions & 14 deletions code/server/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,37 @@
"@emotion/styled": "^11.14.0",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@mui/icons-material": "^6.1.10",
"@mui/material": "^6.1.10",
"@mui/icons-material": "^6.2.1",
"@mui/material": "^6.2.1",
"@reduxjs/toolkit": "^2.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"http-status-codes": "^2.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.1.2",
"react-grid-layout": "^1.5.0",
"react-redux": "^9.2.0",
"react-resizable": "^3.0.5",
"react-router": "^7.0.2",
"react-router": "^7.1.0",
"systemjs": "^6.15.1"
},
"devDependencies": {
"@eslint/js": "^9.15.0",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/react-grid-layout": "^1.3.5",
"@types/systemjs": "^6.15.1",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitejs/plugin-react": "^4.3.4",
"chokidar": "^4.0.1",
"chokidar": "^4.0.3",
"concurrency": "^0.1.4",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.12.0",
"globals": "^15.14.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0",
"vite": "^6.0.1"
"typescript-eslint": "^8.18.1",
"vite": "^6.0.5"
}
}
Loading

0 comments on commit 0ea6d45

Please sign in to comment.