Models refactor + Basic functionnalities
This commit is contained in:
55
resources/js/types/resume.d.ts
vendored
Normal file
55
resources/js/types/resume.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user