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>
19 lines
837 B
TypeScript
19 lines
837 B
TypeScript
export interface FederalDistrict {
|
||
bit: number; // 1, 2, 4, ..., 128
|
||
label: string;
|
||
}
|
||
|
||
// 8 ФО РФ — соответствует schema `projects.region_mask BETWEEN 0 AND 255`.
|
||
// Используется в bulk-операциях по проектам (грубое выделение).
|
||
// Для тонкого pick'а subject-level см. constants/regions.ts.
|
||
export const FEDERAL_DISTRICTS: FederalDistrict[] = [
|
||
{ bit: 1, label: 'Центральный' },
|
||
{ bit: 2, label: 'Северо-Западный' },
|
||
{ bit: 4, label: 'Южный' },
|
||
{ bit: 8, label: 'Северо-Кавказский' },
|
||
{ bit: 16, label: 'Приволжский' },
|
||
{ bit: 32, label: 'Уральский' },
|
||
{ bit: 64, label: 'Сибирский' },
|
||
{ bit: 128, label: 'Дальневосточный' },
|
||
];
|