Open allanctan opened 5 months ago
Accept instruction to read the definition file:
For example: generate search page of department generate add/edit form of department generate route of department generate prisma of department
where crud is a template folder and department is a definition file.
Sample format of definition. { "name": "department", "fields": [ { "name": "id", "datatype": "int", "displayType": "none", "isPrimaryKey": true }, { "name": "name", "datatype": "string", "displayType": "text", "isPrimaryKey": false } ]
}
combine all definition in one file
Accept instruction to read the definition file:
For example: generate search page of department generate add/edit form of department generate route of department generate prisma of department
where crud is a template folder and department is a definition file.
Sample format of definition. { "name": "department", "fields": [ { "name": "id", "datatype": "int", "displayType": "none", "isPrimaryKey": true }, { "name": "name", "datatype": "string", "displayType": "text", "isPrimaryKey": false } ]
}