gorig-cli 1.0.27 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gorig-cli",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "type": "module",
5
5
  "description": "gorig build tool",
6
6
  "main": "bin/cli.js",
@@ -194,6 +194,8 @@ Controllers must:
194
194
  - Return through `apix.HandleData` with the project's established business code shape.
195
195
  - Keep transport logic only; call service functions for business behavior.
196
196
 
197
+ Model note: `dx.On[T].Complex()` embeds `domainx.Options`; do not add generic `CreatedAt`, `UpdatedAt`, or `DeletedAt` fields to `T`. Keep only business-specific timestamps in `T`, and map audit timestamps from `*domainx.Complex[T]` when a response DTO needs them.
198
+
197
199
  ## MySQL Model Pattern
198
200
 
199
201
  Use MySQL when the user chooses MySQL or the project clearly uses MySQL for similar modules.