chore: Rename entity to model (#7977)

**What**
Start renaming `entity` to `model`
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-07-08 07:43:49 +00:00
1 parent e11716fa1e
commit 9750047af1
60 files changed
+171 -171

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ const inviteDeletedAtIndexStatement = createPsqlIndexStatementHelper({
type OptionalFields =
| "metadata"
| "accepted"
| DAL.SoftDeletableEntityDateColumns
| DAL.SoftDeletableModelDateColumns
@Entity({ tableName: "invite" })
@Filter(DALUtils.mikroOrmSoftDeletableFilterOptions)
export default class Invite {
+1 -1
View File
@@ -39,7 +39,7 @@ type OptionalFields =
| "last_name"
| "metadata"
| "avatar_url"
| DAL.SoftDeletableEntityDateColumns
| DAL.SoftDeletableModelDateColumns
@Entity()
@Filter(DALUtils.mikroOrmSoftDeletableFilterOptions)