# 1x3 grid
|
title_bucket_prefix: &title_bucket_prefix
|
- type: text
|
name: title
|
label: Storage Name
|
required: true
|
- type: text
|
name: path
|
label: Absolute local path
|
required: true
|
|
ImportStorage:
|
# Title, Bucket, Prefix
|
- columnCount: 2
|
fields: *title_bucket_prefix
|
# Regex filter
|
- columnCount: 1
|
fields:
|
- type: text
|
name: regex_filter
|
label: File Filter Regex
|
placeholder: '.*csv or .*(jpe?g|png|tiff) or .\w+-\d+.text'
|
validators:
|
- regexp
|
|
# Import method selection
|
- columnCount: 1
|
fields:
|
- type: select
|
name: use_blob_urls
|
label: Import method
|
description: Choose how to import your data from storage
|
placeholder: "Select an option"
|
required: true
|
options:
|
- value: true
|
label: "Files - Automatically creates a task for each storage object (e.g. JPG, MP3, TXT)"
|
- value: false
|
label: "Tasks - Treat each JSON or JSONL file as a task definition (one or more tasks per file)"
|
|
ExportStorage:
|
- columnCount: 3
|
fields: *title_bucket_prefix
|