@kaspernj/api-maker 1.0.270 → 1.0.271
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 +1 -1
- package/src/base-model.mjs +8 -0
package/package.json
CHANGED
package/src/base-model.mjs
CHANGED
|
@@ -727,6 +727,14 @@ export default class BaseModel {
|
|
|
727
727
|
this.relationships[BaseModel.snakeCase(relationshipName)] = model
|
|
728
728
|
}
|
|
729
729
|
|
|
730
|
+
markForDestruction() {
|
|
731
|
+
this._markedForDestruction = true
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
markedForDestruction() {
|
|
735
|
+
return this._markedForDestruction
|
|
736
|
+
}
|
|
737
|
+
|
|
730
738
|
uniqueKey () {
|
|
731
739
|
if (!this.uniqueKeyValue) {
|
|
732
740
|
const min = 5000000000000000
|