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

export const pageContext = createPageContext();
export const searchContext = createSearchContext();
export const contextState: OriginalListParams<GetFinishProductListStreamParams> =
  {
    wllbCode: '',
    startTime: '',
    endTime: '',
    materialName: '',
    storageCode: '',
    userName: '',
    wbs: '',
    attribute: '',
    storageLocationName: '',
    realName: '',
    productionCode: '',
    companyNumber: '',
  };
export const context = createTableSearchContext(contextState);
