Standardize bridge send/receive params

This commit is contained in:
Darren Clarke 2024-07-18 11:08:01 +02:00
parent 69abe9bee1
commit c32c26088f
23 changed files with 7042 additions and 1276 deletions

View file

@ -15,10 +15,10 @@
"pg": "^8.12.0"
},
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-env": "7.24.7",
"@babel/core": "7.24.9",
"@babel/preset-env": "7.24.8",
"@babel/preset-typescript": "7.24.7",
"prettier": "^3.3.2",
"prettier": "^3.3.3",
"@link-stack/typescript-config": "*",
"tsx": "^4.16.2",
"typescript": "^5.5.3"

View file

@ -95,9 +95,7 @@ export class Service {
req: NextRequest,
{ params: { service, token } }: ServiceParams,
): Promise<NextResponse> {
console.log("INTO receiveMessage");
const json = await req.json();
console.log({ json });
const worker = await getWorkerUtils();
await worker.addJob(`${service}/receive-${service}-message`, {
token,

View file

@ -12,14 +12,14 @@
"@emotion/styled": "^11.11.5",
"@link-stack/signal-api": "*",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/lab": "^5.0.0-alpha.172",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.8.0",
"@mui/x-date-pickers-pro": "^7.8.0",
"@mui/x-data-grid-pro": "^7.10.0",
"@mui/x-date-pickers-pro": "^7.10.0",
"date-fns": "^3.6.0",
"kysely": "0.26.1",
"material-ui-popup-state": "^5.1.2",
"next": "14.2.4",
"next": "14.2.5",
"react": "18.3.1",
"react-cookie": "^7.1.4",
"react-cookie-consent": "^9.0.0",
@ -32,19 +32,19 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@types/node": "^20.14.9",
"@babel/core": "^7.24.9",
"@types/node": "^20.14.11",
"@types/react": "18.3.3",
"@types/react-dom": "^18.3.0",
"@types/uuid": "^10.0.0",
"babel-loader": "^9.1.3",
"eslint": "^8.0.0",
"eslint-config-next": "^14.2.4",
"eslint-config-next": "^14.2.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react": "^7.34.4",
"file-loader": "^6.2.0",
"typescript": "5.5.3"
}

View file

@ -10,8 +10,8 @@
},
"dependencies": {
"@rushstack/eslint-patch": "^1.10.3",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo-space": "^0.35.0",
"eslint-plugin-cypress": "^3.3.0",
@ -20,7 +20,7 @@
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-promise": "^6.4.0",
"eslint-plugin-unicorn": "54.0.0",
"@babel/eslint-parser": "7.24.7"
"@babel/eslint-parser": "7.24.8"
},
"peerDependencies": {
"typescript": "^4.9.5"

View file

@ -80,7 +80,7 @@ export const QueryListSelector: FC<QueryListSelectorProps> = ({
disableColumnMenu
scrollbarSize={10}
onRowSelectionModelChange={(newSelectionModel) => {
setSelectionModel(newSelectionModel);
setSelectionModel(newSelectionModel as any);
updateQuery({
[keyName]: { values: newSelectionModel },
});

View file

@ -10,14 +10,14 @@
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/lab": "^5.0.0-alpha.172",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.8.0",
"@mui/x-date-pickers-pro": "^7.8.0",
"@mui/x-data-grid-pro": "^7.10.0",
"@mui/x-date-pickers-pro": "^7.10.0",
"@link-stack/opensearch-common": "*",
"date-fns": "^3.6.0",
"material-ui-popup-state": "^5.1.2",
"next": "14.2.4",
"next": "14.2.5",
"react": "18.3.1",
"react-cookie": "^7.1.4",
"react-cookie-consent": "^9.0.0",
@ -29,18 +29,18 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@types/node": "^20.14.9",
"@babel/core": "^7.24.9",
"@types/node": "^20.14.11",
"@types/react": "18.3.3",
"@types/uuid": "^10.0.0",
"babel-loader": "^9.1.3",
"eslint": "^8.0.0",
"eslint-config-next": "^14.2.4",
"eslint-config-next": "^14.2.5",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react": "^7.34.4",
"file-loader": "^6.2.0",
"typescript": "5.5.3"
}

View file

@ -9,8 +9,8 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@types/node": "^20.14.9",
"@babel/core": "^7.24.9",
"@types/node": "^20.14.11",
"@types/react": "18.3.3",
"@types/uuid": "^10.0.0",
"babel-loader": "^9.1.3",

View file

@ -9,16 +9,16 @@
"license": "ISC",
"dependencies": {
"@mui/icons-material": "^5",
"@mui/lab": "^5.0.0-alpha.170",
"@mui/lab": "^5.0.0-alpha.172",
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.8.0",
"@mui/x-date-pickers-pro": "^7.8.0",
"next": "14.2.4",
"@mui/x-data-grid-pro": "^7.10.0",
"@mui/x-date-pickers-pro": "^7.10.0",
"next": "14.2.5",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@types/node": "^20.14.9",
"@types/node": "^20.14.11",
"@types/react": "18.3.3",
"typescript": "^5.5.3"
}