mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 03:23:57 -06:00
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 {
|
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
Block a user