@useparagon/connect 2.7.0-experimental-26171.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/ConnectSDK.d.ts
CHANGED
|
@@ -201,16 +201,7 @@ export default class ConnectSDK extends SDKEventEmitter implements IConnectSDK {
|
|
|
201
201
|
}): Promise<IntegrationInstallEvent | undefined>;
|
|
202
202
|
_oauthErrorCallback(errorMessage: string | object, event?: MessageEvent): Promise<void>;
|
|
203
203
|
customDropdownOptionsLoaders: Record<string, (cursor?: string | undefined, search?: string | undefined) => LoadCustomDropdownOptionsResult>;
|
|
204
|
-
customDropdownOptionResolvers: Record<string, (value: string | number) => Promise<CustomDropdownField | null>>;
|
|
205
204
|
_loadCustomDropdownOptions(key: string, cursor?: string | undefined, search?: string | undefined): LoadCustomDropdownOptionsResult;
|
|
206
|
-
/**
|
|
207
|
-
* resolve a stored custom dropdown value to its option for label display;
|
|
208
|
-
* falls back to a value-as-search lookup when no resolver is registered
|
|
209
|
-
* @param key dropdown key
|
|
210
|
-
* @param value stored value to resolve
|
|
211
|
-
* @returns the matching option, or null when it cannot be resolved
|
|
212
|
-
*/
|
|
213
|
-
_resolveCustomDropdownOption(key: string, value: string | number): Promise<CustomDropdownField | null>;
|
|
214
205
|
setDataSources(config: SetDataSourcesConfig): void;
|
|
215
206
|
private processDropdownSources;
|
|
216
207
|
private processMapObjectFieldSources;
|