# Central Store Actions
Actions used for Cental Store / Backend input and output

- [Authentication](./StoreTypes.md#authentication)
- [Positions](./StoreTypes.md#positions)
- [Skills](./StoreTypes.md#skills)
- [Shifts](./StoreTypes.md#shifts)



### [Type Definitions](../api/Types.md)
 - JSON descriptions of types

### [Frontend API](../api/Frontend_API.md)
 - API function descriptions

## Authentication
```
authActions.login(LoginInput): Result<UserInfo, LoginError>
authActions.logout(): Result<void, LogoutError>
```
## Positions
```
positionActions.getAll(): Result<Position[], PositionError>
positionActions.create(PositionDetails): Result<Position, PositionError>
positionActions.modify(Position): Result<Position, PositionError>
positionActions.remove(Position): Result<void, PositionError>
```
## Skills
```
skillActions.getAll(): Result<Skill[], SkillError>
skillActions.create(SkillDetails): Result<Skill, SkillError>
skillActions.modify(Skill): Result<Skill, SkillError>
skillActions.remove(Skill): Result<void, SkillError>
```
## Shifts
```
shiftActions.getAll(): Result<Position[], PositionError>
shiftActions.create(ShiftDetails): Result<Shift, ShiftError>
shiftActions.modify(Shift): Result<Shift, ShiftError>
shiftActions.remove(Shift): Result<void, ShiftError>
```



