pangea-server 3.3.95 → 3.3.97

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.
@@ -317,6 +317,7 @@ function processInstance(model, instance) {
317
317
  processInstance(relModel, relInstance);
318
318
  }
319
319
  }
320
+ instance.init?.();
320
321
  return instance.toJSON();
321
322
  }
322
323
  function processInstances(model, instances) {
@@ -21,6 +21,7 @@ export declare abstract class BaseModel extends Model {
21
21
  private static __Relations?;
22
22
  id: ModelId;
23
23
  version: NonAttribute<number>;
24
+ init?: NonAttribute<() => void>;
24
25
  static get HiddenAttributes(): string[];
25
26
  static get Columns(): Columns;
26
27
  static get ColumnIndexes(): Index[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-server",
3
3
  "description": "",
4
- "version": "3.3.95",
4
+ "version": "3.3.97",
5
5
  "files": [
6
6
  "dist"
7
7
  ],