Skip to content

Commit

Permalink
minor name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tverstraten committed Feb 7, 2023
1 parent 18e94c5 commit fad3cc8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,6 @@ To help people get started a number of plugins are built in, you do not have to

A sample project demonstrating usage of Harvest Forward can be found at [hf-sample-app-ts-mysql-express](https://github.com/tverstraten/hf-sample-app-ts-mysql-express)

# Finding and Sharing plugins and temples
# Finding and Sharing plugins and templates

Coming soon.
15 changes: 2 additions & 13 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tverstraten/harvest-forward",
"version": "0.3.48",
"version": "0.3.49",
"description": "Harvest Forward Runtime. Harvest, transform, generate and repeat with artifacts and code. Have your code synchronized to the artifacts that define it",
"author": "tverstraten",
"repository": {
Expand Down Expand Up @@ -61,7 +61,6 @@
"@tverstraten/log-annotations": "^1.0.16",
"await-semaphore": "^0.1.3",
"change-case": "^4.1.2",
"class-transformer": ">=0.5.1",
"class-validator": "^0.13.1",
"dotenv": "^10.0.0",
"handlebars": "^4.7.7",
Expand Down
17 changes: 0 additions & 17 deletions runtime.code-workspace

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class DalToServiceTransformer extends AbstractSingularBuilder {

protected async buildInternal(system: System, component: SystemComponent): Promise<Artifact[]> {
const daClass = component as Class
const blName = `${daClass.name.replace(/Da$/, '')}Service`
const blName = `${daClass.name.replace(/Dac$/, '')}Service`
const blDescription = `A class to performs actions against the model class ${daClass.name}. Many actions expose access to the data itself`
const blClass = new Class('service', blName, blDescription, SystemComponentType.service)
blClass.singularName = blName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class ModelToDalTransformer extends AbstractSingularBuilder {
protected async buildInternal(system: System, component: SystemComponent): Promise<Artifact[]> {
const dal = DataAccessLayer.fromSystem(system)
const informationClass = component as Class
const daName = `${informationClass.name}Da`
const daName = `${informationClass.name}Dac`
const daDescription = `A class to access and manipulate data saved in a persistent store for the informational class ${informationClass.name}`
const daClass = new Class(dal.fullConstantCaseName, daName, daDescription, SystemComponentType.dataAccess)
daClass.singularName = daName
Expand Down

0 comments on commit fad3cc8

Please sign in to comment.