import {
  createPageContext,
  createSearchContext,
  createTableSearchContext,
} from '@hooks';
import {GetSemiOutStreamListParams, OriginalListParams} from '@models';

export const pageContext = createPageContext();
export const searchContext = createSearchContext();

export const contextState: OriginalListParams<GetSemiOutStreamListParams> = {
  wllbCode: '',
  startTime: '',
  endTime: '',
  userName: '',
  materialName: '',
  storageCode: '',
  departmentCode: '',
  wbs: '',
  askGoodsCode: '',
  realName: '',
  accountSleeve: '',
};
export const context = createTableSearchContext(contextState);
