Skip to content

Commit 3f02935

Browse files
committed
business logic updates
1 parent 7cdd2c2 commit 3f02935

File tree

5 files changed

+18
-15
lines changed

5 files changed

+18
-15
lines changed

NPM-README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Command line interface generator of the servers at [Open Template Hub](https://g
1717
Available server types are:
1818

1919
* [Payment Server](https://github.com/open-template-hub/payment-server-template)
20-
* [Basic Info Server](https://github.com/open-template-hub/basic-info-server-template)
20+
* [Business Logic Server](https://github.com/open-template-hub/business-logic-server-template)
2121
* [Auth Server](https://github.com/open-template-hub/auth-server-template)
2222
* [File Storage Server](https://github.com/open-template-hub/file-storage-server-template)
2323
* [Analytics Server](https://github.com/open-template-hub/analytics-server-template)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Command line interface generator of the servers at [Open Template Hub](https://g
2323
Available server types are:
2424

2525
* [Payment Server](https://github.com/open-template-hub/payment-server-template)
26-
* [Basic Info Server](https://github.com/open-template-hub/basic-info-server-template)
26+
* [Business Logic Server](https://github.com/open-template-hub/business-logic-server-template)
2727
* [Auth Server](https://github.com/open-template-hub/auth-server-template)
2828
* [File Storage Server](https://github.com/open-template-hub/file-storage-server-template)
2929
* [Analytics Server](https://github.com/open-template-hub/analytics-server-template)

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,20 @@
5050
"auth",
5151
"authentication",
5252
"payment",
53-
"basic",
54-
"basic info",
53+
"busines",
54+
"logic",
55+
"business logic",
5556
"backend",
5657
"template",
5758
"server template",
5859
"auth server example",
5960
"auth server template",
6061
"payment server example",
6162
"payment server template",
62-
"basic info server example",
63-
"basic info server template",
63+
"business logic server example",
64+
"business logic server template",
65+
"mail server example",
66+
"mail server template",
6467
"open template hub"
6568
]
6669
}

src/constant.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const TemplateType = {
22
PaymentServer: '1',
33
AuthServer: '2',
4-
BasicInfoServer: '3',
4+
BusinessLogicServer: '3',
55
FileStorageServer: '4',
66
AnalyticsServer: '5',
77
MailServer: '6',
@@ -14,7 +14,7 @@ export const BRANCH_NAME = 'master';
1414
export const ProjectName = {
1515
PaymentServer: 'payment-server-template',
1616
AuthServer: 'auth-server-template',
17-
BasicInfoServer: 'basic-info-server-template',
17+
BusinessLogicServer: 'business-logic-server-template',
1818
FileStorageServer: 'file-storage-server-template',
1919
AnalyticsServer: 'analytics-server-template',
2020
MailServer: 'mail-server-template',
@@ -23,7 +23,7 @@ export const ProjectName = {
2323
export const PackageName = {
2424
PaymentServer: 'payment-server-template',
2525
AuthServer: 'auth-server-template',
26-
BasicInfoServer: 'basic-info-server-template',
26+
BusinessLogicServer: 'business-logic-server-template',
2727
FileStorageServer: 'file-storage-server-template',
2828
AnalyticsServer: 'analytics-server-template',
2929
MailServer: 'mail-server-template',

src/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const QUESTIONS = [
2222
message:
2323
'1) Payment Server \n' +
2424
' 2) Auth Server \n' +
25-
' 3) Basic Info Server \n' +
25+
' 3) Business Logic Server \n' +
2626
' 4) File Storage Server \n' +
2727
' 5) Analytics Server \n' +
2828
' 6) MİL Server \n' +
@@ -122,9 +122,9 @@ const updateProjectName = (
122122
repoConfig.projectName = ProjectName.PaymentServer;
123123
repoConfig.packageName = PackageName.PaymentServer;
124124
break;
125-
case TemplateType.BasicInfoServer:
126-
repoConfig.projectName = ProjectName.BasicInfoServer;
127-
repoConfig.packageName = PackageName.BasicInfoServer;
125+
case TemplateType.BusinessLogicServer:
126+
repoConfig.projectName = ProjectName.BusinessLogicServer;
127+
repoConfig.packageName = PackageName.BusinessLogicServer;
128128
break;
129129
case TemplateType.FileStorageServer:
130130
repoConfig.projectName = ProjectName.FileStorageServer;
@@ -193,14 +193,14 @@ const cloneTemplate = ( targetPath: string, templateType: string ) => {
193193
'/' +
194194
ProjectName.PaymentServer;
195195
break;
196-
case TemplateType.BasicInfoServer:
196+
case TemplateType.BusinessLogicServer:
197197
cmd =
198198
clone +
199199
BRANCH_NAME +
200200
' ' +
201201
TEMPLATE_HUB_URL +
202202
'/' +
203-
ProjectName.BasicInfoServer;
203+
ProjectName.BusinessLogicServer;
204204
break;
205205
case TemplateType.FileStorageServer:
206206
cmd =

0 commit comments

Comments
 (0)