-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(types): add typing and fix lint issues
- Loading branch information
Gerald Baulig
committed
Sep 25, 2024
1 parent
5105a14
commit 8490630
Showing
5 changed files
with
30 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ EXPOSE 50051 | |
USER root | ||
USER node | ||
|
||
CMD [ "npm", "start" ] | ||
CMD [ "node", "./lib/start.cjs" ] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
export default async (cfg, logger, events, runWorker) => { | ||
await runWorker('default-queue', 1, cfg, logger, events, async (job) => { | ||
import { | ||
type DefaultExportFunc | ||
} from '@restorecommerce/scs-jobs'; | ||
|
||
const main: DefaultExportFunc = async (cfg, logger, events, runWorker) => { | ||
await runWorker('default-queue', 1, cfg, logger, events as any, async (job: any) => { | ||
// depending on job type add implementation here for Jobs to be run on default-queue | ||
}); | ||
}; | ||
}; | ||
|
||
export default main; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters