Update hello world

This commit is contained in:
Chocobozzz
2021-06-30 16:44:42 +02:00
parent ea025763fb
commit 7e43cb5f18
5 changed files with 62 additions and 19 deletions

View File

@ -20,9 +20,16 @@ function register ({ registerHook, registerVideoField }) {
}
}
const commonOptions3 = {
name: 'hello-world-field-3',
label: 'Super field 3',
type: 'input-checkbox'
}
for (const type of [ 'upload', 'import-url', 'update' ]) {
registerVideoField(commonOptions1, { type })
registerVideoField(commonOptions2, { type })
registerVideoField(commonOptions3, { type })
}
}