diff --git a/shared/models/plugins/register-client-form-field.model.ts b/shared/models/plugins/register-client-form-field.model.ts index cdcdaa181..db61dbc88 100644 --- a/shared/models/plugins/register-client-form-field.model.ts +++ b/shared/models/plugins/register-client-form-field.model.ts @@ -16,5 +16,5 @@ export type RegisterClientFormFieldOptions = { } export interface RegisterClientVideoFieldOptions { - type: 'import-url' | 'import-torrent' | 'update' | 'upload' + type: 'update' | 'upload' | 'import-url' | 'import-torrent' | 'go-live' } diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index a90f8e72b..ca951c781 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md @@ -626,7 +626,7 @@ async function register ({ registerVideoField, peertubeHelpers }) { default: '' } - for (const type of [ 'upload', 'import-url', 'import-torrent', 'update' ]) { + for (const type of [ 'upload', 'import-url', 'import-torrent', 'update', 'go-live' ]) { registerVideoField(commonOptions, { type }) } }