251210:1709 Frontend: reeactor organization and run build
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled

This commit is contained in:
admin
2025-12-10 17:09:11 +07:00
parent aa96cd90e3
commit c8a0f281ef
140 changed files with 3780 additions and 1473 deletions

View File

@@ -1,35 +1,13 @@
export interface NumberingTemplate {
template_id: number;
document_type_id: string;
document_type_name: string;
discipline_code?: string;
template_format: string;
example_number: string;
current_number: number;
reset_annually: boolean;
padding_length: number;
is_active: boolean;
updated_at: string;
}
export interface NumberingSequence {
sequence_id: number;
template_id: number;
year: number;
organization_code?: string;
discipline_code?: string;
current_number: number;
last_generated_number: string;
updated_at: string;
}
// Re-export types from API file to keep single source of truth
export type { NumberingTemplate, NumberSequence } from "@/lib/api/numbering";
export interface CreateTemplateDto {
document_type_id: string;
discipline_code?: string;
template_format: string;
reset_annually: boolean;
padding_length: number;
starting_number: number;
documentTypeId: string;
disciplineCode?: string;
templateFormat: string;
resetAnnually: boolean;
paddingLength: number;
startingNumber: number;
}
export interface TestGenerationResult {