nicot 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,7 +39,7 @@ export class User extends IdBase() {
39
39
 
40
40
  // possible optional override operations
41
41
 
42
- override isValidInCreation() { // Custom before-create check.
42
+ override isValidInCreate() { // Custom before-create check.
43
43
  if (!this.name.length) {
44
44
  return 'Name cannot be empty!';
45
45
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nicot",
3
3
  "description": "Nest.js interacting with class-validator + OpenAPI + TypeORM for Nest.js Restful API development.",
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "scripts": {