Models refactor + Basic functionnalities
Some checks failed
linter / quality (push) Failing after 3m25s
tests / ci (push) Failing after 12m2s

This commit is contained in:
2025-08-26 12:12:02 +02:00
parent 715d2a884a
commit 55a52086c1
49 changed files with 1074 additions and 269 deletions

55
resources/js/types/resume.d.ts vendored Normal file
View File

@@ -0,0 +1,55 @@
export type Resume = {
id: number;
name: string;
components_placements: ResumeComponentPlacement[] | null;
}
export type ResumeComponentPlacement = {
id: number;
resume_component_data_id: number;
resume_id: number;
order: number;
component_data: ResumeComponentData | null;
}
export type ResumeComponentData = {
id: number;
resume_component_id: number;
component: ResumeComponent | null;
input_data: ResumeInputData[] | null;
}
export type ResumeComponent = {
id: number;
name: string;
vue_component_name: string;
}
export type ResumeInputData = {
id: number;
resume_component_data_id: number;
resume_component_input_id: number;
value: any;
component_input: ResumeComponentInput | null;
}
export type ResumeComponentInput = {
id: number;
resume_component_data_type_id: number;
name: string;
label: string | null;
placeholder: string | null;
data_type: ResumeComponentDataType | null;
}
export type ResumeComponentDataType = {
id: number;
data_structure: string;
vue_component_name: string;
}