cb05657f30
Phase 1B audit found 48 files failing `prettier --check`. Auto-apply
via `npx prettier --write resources/js/**/*.{ts,vue,css}` produced
style-only changes:
- consistent quote style
- trailing comma normalization
- spaces around : in v-card style="position: relative" attrs
- explicit ; insertion
No semantic changes. No code-behavior changes. Production-code only;
test files batched separately into `test(frontend):` commit.
Verification:
- npx vitest run → 79/79 files, 614/614 + 3 skipped (no regression).
- npx vue-tsc --noEmit → 0 errors.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 lines
649 B
TypeScript
17 lines
649 B
TypeScript
export interface Weekday {
|
|
bit: number; // 1, 2, 4, ..., 64
|
|
label: string;
|
|
short: string;
|
|
}
|
|
|
|
// Соответствует schema `projects.delivery_days_mask BETWEEN 0 AND 127` (7 бит).
|
|
export const WEEKDAYS: Weekday[] = [
|
|
{ bit: 1, label: 'Понедельник', short: 'Пн' },
|
|
{ bit: 2, label: 'Вторник', short: 'Вт' },
|
|
{ bit: 4, label: 'Среда', short: 'Ср' },
|
|
{ bit: 8, label: 'Четверг', short: 'Чт' },
|
|
{ bit: 16, label: 'Пятница', short: 'Пт' },
|
|
{ bit: 32, label: 'Суббота', short: 'Сб' },
|
|
{ bit: 64, label: 'Воскресенье', short: 'Вс' },
|
|
];
|