pn-leave-tool-common
v1.3.1
Published
The common files used in both the backend and frontend of the Pacific National annual leave tool
Downloads
4
Readme
Pacific National Leave Tool - Common Packages
This package is part of the 'Pacific National Leave Tool', a web application designed to reduce the number of annual leave requests that need to be manually processed and considered by providing employees an estimation as to whether or not their leave is likely to be approved.
This package contains common code components that are used within both the frontend web application and back end server codebases.
CONTENTS
This packages contains the following content:
- Validation Schemas: Validation schemas written in yup that can be used to validate forms on the frontend and HTTP requests on the backend.
- Leave Parameters: Constants related to leave requests such as minimum required notice and minimum/maximum leave length.