aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/account/account.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r--server/models/account/account.ts15
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 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2import { 2import {
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'
16import { Account } from '../../../shared/models/actors' 6import { Account } from '../../../shared/models/actors'
17import { isUserUsernameValid } from '../../helpers/custom-validators/users'
18import { sendDeleteActor } from '../../lib/activitypub/send' 7import { sendDeleteActor } from '../../lib/activitypub/send'
19import { ActorModel } from '../activitypub/actor' 8import { ActorModel } from '../activitypub/actor'
20import { ApplicationModel } from '../application/application' 9import { ApplicationModel } from '../application/application'
21import { AvatarModel } from '../avatar/avatar' 10import { AvatarModel } from '../avatar/avatar'
22import { ServerModel } from '../server/server' 11import { ServerModel } from '../server/server'
23import { getSort, throwIfNotValid } from '../utils' 12import { getSort } from '../utils'
24import { VideoChannelModel } from '../video/video-channel' 13import { VideoChannelModel } from '../video/video-channel'
25import { UserModel } from './user' 14import { UserModel } from './user'
26 15