chore: Rename entity to model (#7977)

**What**
Start renaming `entity` to `model`
This commit is contained in:
Adrien de Peretti
2024-07-08 07:43:49 +00:00
committed by GitHub
parent e11716fa1e
commit 9750047af1
60 changed files with 171 additions and 171 deletions
+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)