3.3.0 • Published 2 years ago
@hoast/source-airtable v3.3.0
@hoast/source-airtable
Read data from Airtable bases.
Not actively supported due to API changes on Airtable's end.
Install
npm install @hoast/source-airtableOptions
{Boolean} cache = trueWhether the Airtable API responses should be cached, useful in development mode to prevent waiting for request responses.{Boolean} tokenAuthorization token for the Airtable API.{Boolean} baseIdID of the Airtable base to source from.{String} mode = 'table'When the mode is set totableit will iterate over all tables in the base. When the mode is set torowit will iterate over all rows in a table.{String} tableIdOrName = nullThe name of the table to read the rows from. Only applicable when mode is set to'rows'.{Boolean} tableWithRows = trueWhether to retrieve all the rows of the table. Only applicable when mode is set to'table'.{Array} filterPatterns = nullGlob patterns used to filter the file paths relative to the set directory with.{Object} filterOptionsPattern matching options.{Boolean} all = falseWhether all patterns have to match, or any match is sufficient.{Boolean} extended = falseEnable all advanced features from extglob.{String} flags = ''RegExp flags (e.g. 'i' ) to pass to the RegExp constructor.{Boolean} globstar = falseIf false the pattern 'path/' will match any string beginning with 'path/', for example it will match 'path/file.txt' and 'path/to/file.txt'. If true the same 'path/' will match any string beginning with 'path/' that does not have a '/' to the right of it, for example it will match 'path/file.txt' but not 'path/to/file.txt'. If true the pattern 'path/*' will match any string beginning with 'path/', which is equal to the 'path/' with globstar set to false.{Boolean} strict = falseBe forgiving about multiple slashes, such as /// and make everything after the first / optional. Like how bash glob works.
{Number} logLevel = 2Log level given to the logger.