]>
Commit | Line | Data |
---|---|---|
1 | import { FormReactive } from '@app/shared' | |
2 | import { VideoChannel } from '@app/shared/video-channel/video-channel.model' | |
3 | ||
4 | export abstract class MyAccountVideoChannelEdit extends FormReactive { | |
5 | // We need it even in the create component because it's used in the edit template | |
6 | videoChannelToUpdate: VideoChannel | |
7 | instanceHost: string | |
8 | ||
9 | abstract isCreation (): boolean | |
10 | abstract getFormButtonTitle (): string | |
11 | ||
12 | // FIXME: We need this method so angular does not complain in the child template | |
13 | onAvatarChange (formData: FormData) { /* empty */ } | |
14 | } |