@@ -72,6 +72,12 @@ const configSchema = {
default: false
},
downloadCollection: {
+ dynamicOptions: {
+ source: 'storage.collections',
+ labelField: 'name',
+ valueField: 'name',
+ filter: { access: 'read-write' }
+ },
type: 'string',
title: 'Storage Collection',
default: 'downloads',
@@ -45,6 +45,12 @@ const configSchema = {
showWhen: { field: 'inputSource', value: 'url' }
storageCollection: {
+ filter: {}
description: 'Collection name for stored image',
@@ -60,6 +60,12 @@ const configSchema = {
collection: {
title: 'Collection',
description: 'Storage collection to save into. Must not begin with an underscore, those silently lose writes',
@@ -11,6 +11,12 @@ const configSchema = {
type: 'object',
properties: {
description: 'Collection to watch'
@@ -40,6 +46,12 @@ const configSchema = {
cursorCollection: {
title: 'Cursor Collection',
default: 'watch_cursors'
@@ -33,6 +33,12 @@ const configSchema = {
description: 'Collection holding the last-seen state',