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

export const searchContext = createSearchContext();
export const pageContext = createPageContext();
export const contextState: OriginalListParams<GetSellOrderListParams> = {
  deliveryCode: '',
  materialCode: '',
  materialName: '',
  startTime: '',
  endTime: '',
  wbs: '',
  customerCode: '',
  companyNumber: '',
  sourceType: '',
  moveType: '',
  deliveryType: '',
  entryNumber: '',
};
export const context = createTableSearchContext(contextState);
