fix: Do not rely on class names in production bundle (#6212)
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
import { action, observable } from "mobx";
|
||||
import Document from "./Document";
|
||||
import User from "./User";
|
||||
import Model from "./base/Model";
|
||||
import Relation from "./decorators/Relation";
|
||||
|
||||
class View extends Model {
|
||||
static modelName = "View";
|
||||
|
||||
id: string;
|
||||
|
||||
documentId: string;
|
||||
|
||||
@Relation(() => Document)
|
||||
document?: Document;
|
||||
|
||||
firstViewedAt: string;
|
||||
|
||||
@observable
|
||||
|
||||
Reference in New Issue
Block a user