Skip to content

Commit

Permalink
fix(common): enabled hydration of IdentifiableRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
JBBianchi committed Nov 29, 2023
1 parent 4b1dd60 commit e23ff8e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { ModelConstructor } from './model-constructor';

/**
* Represents the default abstract implementation of the identifiable record/object
*/
export class IdentifiableRecord<T = string> {
export class IdentifiableRecord<T = string> extends ModelConstructor {
constructor(model?: any) {
super(model);
}
/** The object's unique identifier */
id: T;
}

0 comments on commit e23ff8e

Please sign in to comment.