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

export const pageContext = createPageContext();
export const searchContext = createSearchContext();
export const contextState: OriginalListParams<GetFinishProductOutListStreamParams> =
  {
    wllbCode: '',
    startTime: '',
    endTime: '',
    storageCode: '',
    companyCode: '',
    customerCode: '',
    userName: '',
    wbs: '',
    materialName: '',
    realName: '',
    deliveryCode: '',
  };
export const context = createTableSearchContext(contextState);
