diff options
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r-- | server/models/account/account.ts | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index c85d12824..47336d1e0 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -1,26 +1,15 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | import { | 2 | import { |
3 | AfterDestroy, | 3 | AfterDestroy, AllowNull, BelongsTo, Column, CreatedAt, DefaultScope, ForeignKey, HasMany, Model, Table, |
4 | AllowNull, | ||
5 | BelongsTo, | ||
6 | Column, | ||
7 | CreatedAt, | ||
8 | DefaultScope, | ||
9 | ForeignKey, | ||
10 | HasMany, | ||
11 | Is, | ||
12 | Model, | ||
13 | Table, | ||
14 | UpdatedAt | 4 | UpdatedAt |
15 | } from 'sequelize-typescript' | 5 | } from 'sequelize-typescript' |
16 | import { Account } from '../../../shared/models/actors' | 6 | import { Account } from '../../../shared/models/actors' |
17 | import { isUserUsernameValid } from '../../helpers/custom-validators/users' | ||
18 | import { sendDeleteActor } from '../../lib/activitypub/send' | 7 | import { sendDeleteActor } from '../../lib/activitypub/send' |
19 | import { ActorModel } from '../activitypub/actor' | 8 | import { ActorModel } from '../activitypub/actor' |
20 | import { ApplicationModel } from '../application/application' | 9 | import { ApplicationModel } from '../application/application' |
21 | import { AvatarModel } from '../avatar/avatar' | 10 | import { AvatarModel } from '../avatar/avatar' |
22 | import { ServerModel } from '../server/server' | 11 | import { ServerModel } from '../server/server' |
23 | import { getSort, throwIfNotValid } from '../utils' | 12 | import { getSort } from '../utils' |
24 | import { VideoChannelModel } from '../video/video-channel' | 13 | import { VideoChannelModel } from '../video/video-channel' |
25 | import { UserModel } from './user' | 14 | import { UserModel } from './user' |
26 | 15 | ||