Add go-live example for plugin form fields
This commit is contained in:
parent
096231d00e
commit
87e0b71d36
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -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 })
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue