{"version":3,"file":"Actions-CcwlJLzN.js","sources":["../../../Features/Shared/Scripts/Store/Satser/Types.ts","../../../Features/Shared/Scripts/Store/Satser/Reducers.ts","../../../Features/Shared/Scripts/Store/Satser/Actions.ts"],"sourcesContent":["export const SET_SATSER = 'SET_SATSER';\r\n\r\nexport interface SetSatserAction {\r\n type: typeof SET_SATSER;\r\n payload: T;\r\n}\r\n\r\nexport type SatserActionTypes = SetSatserAction;\r\n","import { SET_SATSER, SatserActionTypes } from './Types';\r\n\r\nexport function satserReducer(state: T | null = null, action: SatserActionTypes): T | null {\r\n switch (action.type) {\r\n case SET_SATSER: {\r\n return action.payload;\r\n }\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { SET_SATSER, SetSatserAction } from './Types';\r\n\r\nexport function setSatser(satser: T): SetSatserAction {\r\n return {\r\n type: SET_SATSER,\r\n payload: satser,\r\n };\r\n}\r\n"],"names":[],"mappings":"AAAO,MAAM,aAAa;ACEV,SAAA,cAAiB,QAAkB,MAAM,QAAwC;AAC7F,UAAQ,OAAO,MAAM;AAAA,IACjB,KAAK,YAAY;AACb,aAAO,OAAO;AAAA,IAAA;AAAA,IAElB;AACW,aAAA;AAAA,EAAA;AAEnB;ACRO,SAAS,UAAa,QAA+B;AACjD,SAAA;AAAA,IACH,MAAM;AAAA,IACN,SAAS;AAAA,EACb;AACJ;"}