diff --git a/app/models/Comment.ts b/app/models/Comment.ts index fa6e9d529f..96d49d5cf5 100644 --- a/app/models/Comment.ts +++ b/app/models/Comment.ts @@ -22,10 +22,6 @@ class Comment extends Model { @observable typingUsers: Map = new Map(); - @Field - @observable - id: string; - /** * The Prosemirror data representing the comment content */ diff --git a/app/models/Document.ts b/app/models/Document.ts index 0fc20c8e0f..ebeb697ced 100644 --- a/app/models/Document.ts +++ b/app/models/Document.ts @@ -65,10 +65,6 @@ export default class Document extends ArchivableModel { store: DocumentsStore; - @Field - @observable - id: string; - @observable.shallow data: ProsemirrorData; diff --git a/app/models/Group.ts b/app/models/Group.ts index fa756fdcc7..d59c20d217 100644 --- a/app/models/Group.ts +++ b/app/models/Group.ts @@ -6,10 +6,6 @@ import Field from "./decorators/Field"; class Group extends Model { static modelName = "Group"; - @Field - @observable - id: string; - @Field @observable name: string; diff --git a/app/models/Notification.ts b/app/models/Notification.ts index a2773c8ede..95494e1e8b 100644 --- a/app/models/Notification.ts +++ b/app/models/Notification.ts @@ -18,10 +18,6 @@ import Relation from "./decorators/Relation"; class Notification extends Model { static modelName = "Notification"; - @Field - @observable - id: string; - /** * The date the notification was marked as read. */ diff --git a/app/models/Team.ts b/app/models/Team.ts index be9ea1d226..9d1b4c109c 100644 --- a/app/models/Team.ts +++ b/app/models/Team.ts @@ -8,10 +8,6 @@ import Field from "./decorators/Field"; class Team extends Model { static modelName = "Team"; - @Field - @observable - id: string; - @Field @observable name: string; diff --git a/app/models/User.ts b/app/models/User.ts index 0b46d92d96..cd73ada749 100644 --- a/app/models/User.ts +++ b/app/models/User.ts @@ -22,10 +22,6 @@ import Field from "./decorators/Field"; class User extends ParanoidModel { static modelName = "User"; - @Field - @observable - id: string; - @Field @observable avatarUrl: string; diff --git a/app/models/WebhookSubscription.ts b/app/models/WebhookSubscription.ts index ba70f5c4cd..d2e1d64a87 100644 --- a/app/models/WebhookSubscription.ts +++ b/app/models/WebhookSubscription.ts @@ -5,10 +5,6 @@ import Field from "./decorators/Field"; class WebhookSubscription extends Model { static modelName = "WebhookSubscription"; - @Field - @observable - id: string; - @Field @observable name: string;