File size: 375 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export const SET_NOTICE_PROGRESS = 'SET_NOTICE_PROGRESS'

export type SetNoticeProgress = {
  noticeId: string;
  progress: number;
}

export type SetNoticeProgressResponse = {
  type: typeof SET_NOTICE_PROGRESS;
  data: SetNoticeProgress;
}

export const setNoticeProgress = (data: SetNoticeProgress): SetNoticeProgressResponse => ({
  type: SET_NOTICE_PROGRESS,
  data,
})