Add go-live example for plugin form fields
This commit is contained in:
parent
096231d00e
commit
87e0b71d36
|
@ -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 New Issue