diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-08 10:00:35 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-08 10:15:27 +0100 |
commit | 93ef8a9d02059da2fc90efedb7755c97e9e19ef4 (patch) | |
tree | dfde0d2fdb63277d94491265171add41acf091c3 /server/models/account/account.ts | |
parent | 57a49263e48739c31cd339730ac4cb24e3d5d723 (diff) | |
download | PeerTube-93ef8a9d02059da2fc90efedb7755c97e9e19ef4.tar.gz PeerTube-93ef8a9d02059da2fc90efedb7755c97e9e19ef4.tar.zst PeerTube-93ef8a9d02059da2fc90efedb7755c97e9e19ef4.zip |
Send comment to followers and parents
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 | ||