@travetto/model
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -23,3 +23,3 @@ { | ||
}, | ||
"version": "0.0.6" | ||
"version": "0.0.7" | ||
} |
@@ -23,3 +23,3 @@ import { SchemaBound, Schema } from '@travetto/schema'; | ||
prePersist(): this { | ||
prePersist() { | ||
if (!this.createdDate) { | ||
@@ -29,8 +29,6 @@ this.createdDate = new Date(); | ||
this.updatedDate = new Date(); | ||
return this; | ||
} | ||
postLoad(): this { | ||
return this; | ||
postLoad() { | ||
} | ||
} |
export interface ModelCore { | ||
id?: string; | ||
type?: string; | ||
prePersist?(): any; | ||
postLoad?(): any; | ||
prePersist?(): void; | ||
postLoad?(): void; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20866
477