Skip to content

Commit

Permalink
fix(templates): add module for templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Apr 26, 2024
1 parent b7c4bc5 commit 9240b4c
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 33 deletions.
9 changes: 6 additions & 3 deletions cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"timezone",
"customer",
"shop",
"unit_code"
"unit_code",
"template"
],
"customQueries": [
{
Expand Down Expand Up @@ -258,7 +259,8 @@
"shop",
"tax",
"tax_type",
"timezone"
"timezone",
"template"
]
}
},
Expand Down Expand Up @@ -446,7 +448,8 @@
"timezones",
"customers",
"shops",
"unit_codes"
"unit_codes",
"templates"
]
}
],
Expand Down
74 changes: 47 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
],
"type": "module",
"dependencies": {
"@restorecommerce/acs-client": "^1.6.0",
"@restorecommerce/acs-client": "^1.6.6",
"@restorecommerce/chassis-srv": "^1.6.0",
"@restorecommerce/cluster-service": "^1.0.3",
"@restorecommerce/grpc-client": "^2.2.1",
"@restorecommerce/kafka-client": "^1.2.1",
"@restorecommerce/rc-grpc-clients": "^5.1.23",
"@restorecommerce/kafka-client": "^1.2.5",
"@restorecommerce/rc-grpc-clients": "^5.1.27",
"@restorecommerce/resource-base-interface": "^1.6.0",
"@restorecommerce/service-config": "^1.0.12",
"lodash-es": "^4.17.21",
Expand Down
6 changes: 6 additions & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ import {
protoMetadata as unitCodeMeta,
UnitCodeServiceDefinition as unit_code
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/unit_code.js';
import {
protoMetadata as templateMeta,
TemplateServiceDefinition as template
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/template.js';
import {
protoMetadata as notificationMeta,
NotificationServiceDefinition as notification
Expand Down Expand Up @@ -130,6 +134,7 @@ registerProtoMeta(
timezoneMeta,
customerMeta,
shopMeta,
templateMeta,
commandInterfaceMeta,
reflectionMeta,
graphMeta,
Expand All @@ -155,6 +160,7 @@ const ServiceDefinitions: any = [
customer,
shop,
unit_code,
template,
notification,
notification_channel,
];
Expand Down

0 comments on commit 9240b4c

Please sign in to comment.