Files
ProcureLinc-Mobile-App/src/Redux/Slices/SelectedAuction.tsx
T
Abin ToppoandClaude Fable 5 1d7646d938
CI / quality (push) Waiting to run
feat: architecture refactor — core layer, spreadsheet engine, envelope bidding, tests
- Add src/core/ (config, errors, events, http, observability, storage, query)
- Add src/Spreadsheet/ engine with native POI backend and Excel bridge
- Add Envelope C spreadsheet flow and tender bidding envelope modules
- Consolidate components into src/components/, remove legacy Component/ and Hooks/
- Add registration state/validation, auth session guard, profile edit modules
- Add unit tests across axios, redux, bidding, registration, encryption, core
- Add CI workflow, docs (architecture, audit, DSC API spec), keystore example
- Remove tracked keystore binary; ignore scripts.zip

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 10:20:22 +05:30

21 lines
478 B
TypeScript

import { createSlice } from '@reduxjs/toolkit';
const initialState = {
auction: '',
};
export const auctionSlice = createSlice({
name: 'auction',
initialState,
reducers: {
setAuction: (state, { payload }) => {
state.auction = payload;
},
removeAuction: (state) => {
state.auction = '';
},
},
});
export const { setAuction , removeAuction} = auctionSlice.actions;
export default auctionSlice.reducer;