aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts
blob: 4dc65dd99632f997dfe81656f7efc2142e27d7ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { FormReactive } from '@app/shared'
import { VideoChannel } from '@app/shared/video-channel/video-channel.model'

export abstract class MyAccountVideoChannelEdit extends FormReactive {
  // We need it even in the create component because it's used in the edit template
  videoChannelToUpdate: VideoChannel
  instanceHost: string

  abstract isCreation (): boolean
  abstract getFormButtonTitle (): string

  // FIXME: We need this method so angular does not complain in the child template
  onAvatarChange (formData: FormData) { /* empty */ }
}