Use this file to discover all available pages before exploring further.
The dataSourceConfigVar() function defines a config variable whose values are dynamically populated by a data source — either an inline data source function or a reference to a data source in a registered component. This is useful for config variables whose valid values depend on the customer’s account data (e.g., a list of available projects, channels, or mailboxes).A data source config var can be defined in two ways:
Data source definition — an inline function with a perform handler that fetches and returns values dynamically.
Data source reference — a reference to a data source action defined in a component from the componentRegistry.
An async function that fetches and returns data for this config variable. Called whenever the config wizard loads or refreshes this variable.The function receives (context, params) and must return an object matching the dataSourceType:
The same data source config variable definition object passed in, unchanged. Used for type inference.
When using a data source reference backed by a component connection, the data source can automatically use a connection config variable from the same config page by passing a ConfigVarExpression as an input value.