refactor(scope-names): standardize scope names across the application
CI / build (push) Has been skipped
CI / deploy (push) Successful in 55s

- Updated scope names in multiple files to use consistent terminology, changing 'Scarp & Paper', 'Sand & Mask', and 'WT & Cleanup' to 'Scrap', 'sanding', 'masking', and 'cleanup'.
- Ensured uniformity in scope options for better clarity and usability in employee management features.
This commit is contained in:
eewing
2026-02-20 09:41:49 -06:00
parent a5d3ac3a84
commit a4a113066f
3 changed files with 24 additions and 12 deletions
+8 -4
View File
@@ -31,11 +31,15 @@
'Framing',
'Insulation',
'Hanging',
'Scarp & Paper',
'Taping',
'Sand & Mask',
'WT & Cleanup',
'Grid & Tile'
'Scrap',
'paper',
'sanding',
'masking',
'WT',
'cleanup',
'Grid',
'Tile'
];
type TypeFilterValue = 'all' | 'Employee' | 'Sub-Contractor';
+8 -4
View File
@@ -149,11 +149,15 @@
'Framing',
'Insulation',
'Hanging',
'Scarp & Paper',
'Taping',
'Sand & Mask',
'WT & Cleanup',
'Grid & Tile'
'Scrap',
'paper',
'sanding',
'masking',
'WT',
'cleanup',
'Grid',
'Tile'
];
function employeeScopes(): string[] {
+8 -4
View File
@@ -28,11 +28,15 @@ const SCOPE_OPTIONS = [
'Framing',
'Insulation',
'Hanging',
'Scarp & Paper',
'Taping',
'Sand & Mask',
'WT & Cleanup',
'Grid & Tile'
'Scrap',
'paper',
'sanding',
'masking',
'WT',
'cleanup',
'Grid',
'Tile'
];
export const GET: RequestHandler = async ({ locals, url }) => {