{"version":3,"file":"channelHandle.cjs","sources":["../../../../../../../src/components/lib/redux/slices/channelSlice/channelHandle.ts"],"sourcesContent":["/* Core */\nimport { createSlice, type PayloadAction } from \"@reduxjs/toolkit\";\n\nconst initialState: channelHandleSliceState = {\n\tvalue: '',\n\tstatus: \"idle\",\n};\n\nexport const channelHandle = createSlice({\n\tname: \"channelHandle\",\n\tinitialState,\n\treducers: {\n\t\tset: (state, action: PayloadAction<string>) => {\n\t\t\tstate.value = action.payload;\n\t\t},\n\t},\n});\n\nexport interface channelHandleSliceState {\n\tvalue: string;\n\tstatus: \"idle\" | \"loading\" | \"failed\";\n}\n"],"names":["channelHandle","createSlice","name","initialState","value","status","reducers","set","state","action","payload"],"mappings":"wEAQaA,8BAAgBC,YAAY,CACxCC,KAAM,gBACNC,aAP6C,CAC7CC,MAAO,GACPC,OAAQ,QAMRC,SAAU,CACTC,IAAK,SAACC,EAAOC,GACZD,EAAMJ,MAAQK,EAAOC,OACtB"}