AdaptableProps

TypeScript
type AdaptableProps<DATA_TYPE = any> = {
  data: DataSourceProps<DATA_TYPE>['data'];
  primaryKey: string;
  licenseKey?: string;
  adaptableId: string;
  stateKey?: string;
  onReady?: (eventInfo: AdaptableReadyContext) => void;
  userInfo?: UserInformation | ((context: UserInformationContext) => UserInformation);
  modules?: XOR<
    {
      include: ModuleIdsType[];
    },
    {
      exclude: ModuleIdsType[];
    }
  >;
  authRoles?: Record<string, AdaptablePermission[]>;
  serializeState?: (context: SerializeStateContext) => Promise<any>;
  persistState?: (context: PersistStateContext) => Promise<void>;
  loadState?: (context: LoadStateContext) => Promise<any | null>;
  parseState?: (context: ParseStateContext) => Promise<JSONPatch>;
  applyState?: (context: ApplyStateContext) => JSON;
  onStateChange?: (state: AdaptableUserState, prevState: AdaptableUserState) => void;
  onStateChangeWithSelectors?: AdaptableStateChangeListener<any>[];
} & AdaptablePropsForState;
References

AdaptableReadyContext | ModuleIdsType | ModuleIdsType | AdaptableUserState | AdaptableUserState