-
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.
- Loading branch information
Showing
162 changed files
with
1,068 additions
and
443 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# templateBuilder | ||
Uses go templates to build the config/code required to expose a db table through mwt-go-dev | ||
|
||
[![Go](https://github.com/mt1976/templateBuilder/actions/workflows/go.yml/badge.svg)](https://github.com/mt1976/templateBuilder/actions/workflows/go.yml) | ||
[![Run Gosec](https://github.com/mt1976/templatebuiler/actions/workflows/gosec.yml/badge.svg)](https://github.com/mt1976/templateBuilder/actions/workflows/gosec.yml) | ||
[![Go](https://github.com/mt1976/mwt-goToolkit/actions/workflows/go.yml/badge.svg)](https://github.com/mt1976/mwt-goToolkit/actions/workflows/go.yml) | ||
[![Run Gosec](https://github.com/mt1976/mwt-goToolkit/actions/workflows/gosec.yml/badge.svg)](https://github.com/mt1976/mwt-goToolkit/actions/workflows/gosec.yml) | ||
[![Go Report Card](https://goreportcard.com/badge/github.com/mt1976/templateBuilder)](https://goreportcard.com/report/github.com/mt1976/templateBuilder) |
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
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
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
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# What to generate | ||
create_application=y | ||
create_dao=y | ||
create_datamodel=y | ||
create_job=n | ||
create_menu=y | ||
create_html=y | ||
create_adaptor=y | ||
create_api=y | ||
# actions - view/list are mandatory | ||
can_edit=y | ||
can_new=y | ||
can_delete=y | ||
can_softdelete=y | ||
can_list=y | ||
can_save=y | ||
can_view=y | ||
can_export=y | ||
can_api=y | ||
# use values can be db or list (db will attempt to connect to a db and extract data from the table to get the fields list) | ||
use=db | ||
# COmmon application properties | ||
FriendlyName=Confidence | ||
objectname=Confidence | ||
endpointroot= | ||
querystring=ConfidenceID | ||
queryfield=ConfidenceID | ||
objectglyph=fas fa-thumbs-up | ||
projectrepo=github.com/mt1976/ebEstimates | ||
propertiesOverride= | ||
# If automatic generation of the application is true, then the following values are used | ||
server=192.168.0.101\SQLEXPRESS | ||
port=1433 | ||
user=srs | ||
password=6LmYqp&*CBzo@s | ||
database=EST | ||
schema=dbo | ||
sqlTableName=confidenceStore | ||
sqlSearchID=confidenceID | ||
#Does this File Have Enrichments - Include Additional Columns to the LIst & Record Views | ||
hasEnrichments=y | ||
isSpecial=n | ||
HasStoreAdaptor=n | ||
HasFetchAdaptor=n | ||
hasaudit=y | ||
package=confidence | ||
provideslookup=y | ||
LookUpID=Code | ||
LookUpName=Name |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Type,Field,LookupObject,LookupKey,LookupReturns,IsInputtable,IsMandatory,DefaultValue,InputType,NoChange,HasApi,Mask,Hidden,Min,Max | ||
Override,ConfidenceID,,,,true,,,,true,false,,true,, |
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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# What to generate | ||
create_application=y | ||
create_dao=y | ||
create_datamodel=y | ||
create_job=n | ||
create_menu=y | ||
create_html=y | ||
create_adaptor=y | ||
create_api=y | ||
# actions - view/list are mandatory | ||
can_edit=y | ||
can_new=y | ||
can_delete=y | ||
can_softdelete=y | ||
can_list=y | ||
can_save=y | ||
can_view=y | ||
can_export=y | ||
can_api=y | ||
# use values can be db or list (db will attempt to connect to a db and extract data from the table to get the fields list) | ||
use=db | ||
# COmmon application properties | ||
FriendlyName=Document Types | ||
objectname=DocType | ||
endpointroot= | ||
querystring=DocTypeID | ||
queryfield=DocTypeID | ||
objectglyph=fas fa-file-alt | ||
projectrepo=github.com/mt1976/ebEstimates | ||
propertiesOverride= | ||
# If automatic generation of the application is true, then the following values are used | ||
server=192.168.0.101\SQLEXPRESS | ||
port=1433 | ||
user=srs | ||
password=6LmYqp&*CBzo@s | ||
database=EST | ||
schema=dbo | ||
sqlTableName=docTypeStore | ||
sqlSearchID=docTypeID | ||
#Does this File Have Enrichments - Include Additional Columns to the LIst & Record Views | ||
hasEnrichments=y | ||
isSpecial=n | ||
HasStoreAdaptor=n | ||
HasFetchAdaptor=n | ||
hasaudit=y | ||
package=docType | ||
provideslookup=y | ||
LookUpID=Code | ||
LookUpName=Name |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Type,Field,LookupObject,LookupKey,LookupReturns,IsInputtable,IsMandatory,DefaultValue,InputType,NoChange,HasApi,Mask,Hidden,Min,Max | ||
Override,DocTypeID,,,,true,,,,true,false,,true,, |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# What to generate | ||
create_application=y | ||
create_dao=y | ||
create_datamodel=y | ||
create_job=n | ||
create_menu=y | ||
create_html=y | ||
create_adaptor=y | ||
create_api=y | ||
# actions - view/list are mandatory | ||
can_edit=y | ||
can_new=y | ||
can_delete=y | ||
can_softdelete=y | ||
can_list=y | ||
can_save=y | ||
can_view=y | ||
can_export=y | ||
can_api=y | ||
# use values can be db or list (db will attempt to connect to a db and extract data from the table to get the fields list) | ||
use=db | ||
# COmmon application properties | ||
FriendlyName=Estimation Session | ||
objectname=EstimationSession | ||
endpointroot= | ||
querystring=EstimationSessionID | ||
queryfield=EstimationSessionID | ||
objectglyph=fas fa-calculator | ||
projectrepo=github.com/mt1976/ebEstimates | ||
propertiesOverride= | ||
# If automatic generation of the application is true, then the following values are used | ||
server=192.168.0.101\SQLEXPRESS | ||
port=1433 | ||
user=srs | ||
password=6LmYqp&*CBzo@s | ||
database=EST | ||
schema=dbo | ||
sqlTableName=estimationSessionStore | ||
sqlSearchID=estimationSessionID | ||
#Does this File Have Enrichments - Include Additional Columns to the LIst & Record Views | ||
hasEnrichments=y | ||
isSpecial=n | ||
HasStoreAdaptor=n | ||
HasFetchAdaptor=n | ||
hasaudit=y | ||
package=estimationSession | ||
provideslookup=y | ||
LookUpID=EstimationSessionID | ||
LookUpName=Name |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Type,Field,LookupObject,LookupKey,LookupReturns,IsInputtable,IsMandatory,DefaultValue,InputType,NoChange,HasApi,Mask,Hidden,Min,Max | ||
Override,EstimationSessionID,,,,true,,,,true,false,,true,, | ||
Lookup,ProjectID,Project,Project_ProjectID,Project_Name,true,,,,,,,,, | ||
Lookup,EstimationStateID,EstimationState,EstimationState_EstimationStateID,,true,,,,,,,,, | ||
Override,Notes,,,,true,,,textarea,,,,,, |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# What to generate | ||
create_application=y | ||
create_dao=y | ||
create_datamodel=y | ||
create_job=n | ||
create_menu=y | ||
create_html=y | ||
create_adaptor=y | ||
create_api=y | ||
# actions - view/list are mandatory | ||
can_edit=y | ||
can_new=y | ||
can_delete=y | ||
can_softdelete=y | ||
can_list=y | ||
can_save=y | ||
can_view=y | ||
can_export=y | ||
can_api=y | ||
# use values can be db or list (db will attempt to connect to a db and extract data from the table to get the fields list) | ||
use=db | ||
# COmmon application properties | ||
FriendlyName=Estimation State | ||
objectname=EstimationState | ||
endpointroot= | ||
querystring=EstimationStateID | ||
queryfield=EstimationStateID | ||
objectglyph=fas fa-cogs | ||
projectrepo=github.com/mt1976/ebEstimates | ||
propertiesOverride= | ||
# If automatic generation of the application is true, then the following values are used | ||
server=192.168.0.101\SQLEXPRESS | ||
port=1433 | ||
user=srs | ||
password=6LmYqp&*CBzo@s | ||
database=EST | ||
schema=dbo | ||
sqlTableName=estimationStateStore | ||
sqlSearchID=estimationStateID | ||
#Does this File Have Enrichments - Include Additional Columns to the LIst & Record Views | ||
hasEnrichments=y | ||
isSpecial=n | ||
HasStoreAdaptor=n | ||
HasFetchAdaptor=n | ||
hasaudit=y | ||
package=estimationState | ||
provideslookup=y | ||
LookUpID=Code | ||
LookUpName=Name |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Type,Field,LookupObject,LookupKey,LookupReturns,IsInputtable,IsMandatory,DefaultValue,InputType,NoChange,HasApi,Mask,Hidden,Min,Max | ||
Override,EstimationStateID,,,,true,,,,true,false,,true,, |
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
Oops, something went wrong.