hunk.code_window:         "@formatjs/cli": "4.7.0",
           "@graphql-codegen/cli": "2.16.3",
           "@graphql-codegen/client-preset": "1.2.5",
           "@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
           "@testing-library/react-hooks": "8.0.0",
           "@types/classnames": "2.3.1",
           "@types/debounce": "1.2.1",
           "@types/history": "4.7.8",
           "@types/jest": "27.4.0",
           "@types/lodash": "4.14.178",
           "@types/luxon": "2.0.9",
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.file_path: webapp/package-lock.json
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  import {GlobalState} from 'types/store';
  
  export const getLastPostsApiTimeForChannel = (state: GlobalState, channelId: string) => state.views.channel.lastGetPosts[channelId];
  export const getToastStatus = (state: GlobalState) => state.views.channel.toastStatus;
  