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

@ -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"
}