"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildAdaptableStateFunctionConfig = buildAdaptableStateFunctionConfig;
function buildAdaptableStateFunctionConfig(adaptable) {
    return {
        adaptableId: adaptable.adaptableOptions.adaptableId,
        adaptableStateKey: adaptable.adaptableOptions.adaptableStateKey,
        userName: adaptable.adaptableOptions.userName,
        adaptableApi: adaptable.api,
        adaptableContext: adaptable.api?.optionsApi?.getAdaptableContext(),
    };
}
