export function buildAdaptableStateFunctionConfig(adaptable) {
    return {
        adaptableId: adaptable.adaptableOptions.adaptableId,
        adaptableStateKey: adaptable.adaptableOptions.adaptableStateKey,
        userName: adaptable.adaptableOptions.userName,
        adaptableApi: adaptable.api,
        adaptableContext: adaptable.api?.optionsApi?.getAdaptableContext(),
    };
}
