import { createContext } from "react";

import { Context } from "./ReportAssetListContextProvider";

export const context = createContext<Context>({
	activeAssetId: undefined,
	setActiveAssetId: () => {},

	isActiveGroup: () => false,
	activateGroup: () => {},
	deactivateGroup: () => {},

	groups: [],
	assets: [],

	selectedAssetIds: new Set<string>(),

	isSelectedGroup: () => false,
	isSelectedAsset: () => false,

	selectGroup: () => {},
	unselectGroup: () => {},
	selectAsset: () => {},
	unselectAsset: () => {},
});
