web / lib/services/schema-detection/collection
lib/services/schema-detection/collection
Schema Detectors Payload Collection.
Provides database-driven configuration for schema detectors. Admin users can enable/disable detectors and configure their options.
Functions
createSchemaDetectorsCollection()
createSchemaDetectorsCollection(
slug?):CollectionConfig
Creates the schema-detectors collection configuration.
Parameters
slug?
string = "schema-detectors"
Collection slug (default: ‘schema-detectors’)
Returns
CollectionConfig
Payload collection configuration
createDetectorSelectionField()
createDetectorSelectionField(
collectionSlug?):Field
Creates a field to add to the Datasets collection for detector selection.
Parameters
collectionSlug?
string = "schema-detectors"
Schema detectors collection slug
Returns
Field
Payload field configuration
Last updated on