Skip to content

@sqlrooms/room-config / FileDataSource

Type Alias: FileDataSource

FileDataSource: object

Interface

Configuration for file-based data sources FileDataSource

Type declaration

NameTypeDescription
tableNamestringUnique table name used to store the data loaded from the data source. This name will be used to reference the data in SQL queries.
type"file"-
fileNamestringPath to the data file
loadOptions?objectOutputType<object & object & object, ZodUnknown, "strip"> | objectOutputType<object & object, ZodUnknown, "strip">Optional configuration for file loading