mirror of https://github.com/Chocobozzz/PeerTube
Add go-live example for plugin form fields
parent
096231d00e
commit
87e0b71d36
|
@ -16,5 +16,5 @@ export type RegisterClientFormFieldOptions = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RegisterClientVideoFieldOptions {
|
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: ''
|
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 })
|
registerVideoField(commonOptions, { type })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue