diff options
Diffstat (limited to 'server/models/video/video-channel-share-interface.ts')
-rw-r--r-- | server/models/video/video-channel-share-interface.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/server/models/video/video-channel-share-interface.ts b/server/models/video/video-channel-share-interface.ts new file mode 100644 index 000000000..9ac6d7b23 --- /dev/null +++ b/server/models/video/video-channel-share-interface.ts | |||
@@ -0,0 +1,27 @@ | |||
1 | import * as Sequelize from 'sequelize' | ||
2 | import { AccountInstance } from '../account/account-interface' | ||
3 | import { VideoChannelInstance } from './video-channel-interface' | ||
4 | |||
5 | export namespace VideoChannelShareMethods { | ||
6 | } | ||
7 | |||
8 | export interface VideoChannelShareClass { | ||
9 | } | ||
10 | |||
11 | export interface VideoChannelShareAttributes { | ||
12 | accountId: number | ||
13 | videoChannelId: number | ||
14 | } | ||
15 | |||
16 | export interface VideoChannelShareInstance | ||
17 | extends VideoChannelShareClass, VideoChannelShareAttributes, Sequelize.Instance<VideoChannelShareAttributes> { | ||
18 | id: number | ||
19 | createdAt: Date | ||
20 | updatedAt: Date | ||
21 | |||
22 | Account?: AccountInstance | ||
23 | VideoChannel?: VideoChannelInstance | ||
24 | } | ||
25 | |||
26 | export interface VideoChannelShareModel | ||
27 | extends VideoChannelShareClass, Sequelize.Model<VideoChannelShareInstance, VideoChannelShareAttributes> {} | ||