mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
Misc: homepage widget with tickets, and improvements in ticket list
This commit is contained in:
@@ -14,12 +14,12 @@ import {
|
||||
import { StoredObject } from "ChillDocStoreAssets/types";
|
||||
import { Thirdparty } from "../../../ChillThirdPartyBundle/Resources/public/types";
|
||||
import { Calendar } from "../../../ChillCalendarBundle/Resources/public/types";
|
||||
import Person from "./vuejs/_components/OnTheFly/Person.vue";
|
||||
|
||||
export interface AltName {
|
||||
label: string;
|
||||
key: string;
|
||||
}
|
||||
|
||||
export interface Person {
|
||||
id: number;
|
||||
type: "person";
|
||||
@@ -45,6 +45,7 @@ export interface Person {
|
||||
|
||||
export interface AccompanyingPeriod {
|
||||
id: number;
|
||||
type: "accompanying_period";
|
||||
addressLocation?: Address | null;
|
||||
administrativeLocation?: Location | null;
|
||||
calendars: Calendar[];
|
||||
@@ -81,6 +82,7 @@ export interface AccompanyingPeriod {
|
||||
|
||||
export interface AccompanyingPeriodWork {
|
||||
id: number;
|
||||
type: "accompanying_period_work";
|
||||
accompanyingPeriod?: AccompanyingPeriod;
|
||||
accompanyingPeriodWorkEvaluations: AccompanyingPeriodWorkEvaluation[];
|
||||
createdAt?: string;
|
||||
@@ -105,6 +107,7 @@ export interface AccompanyingPeriodWork {
|
||||
|
||||
export interface SocialAction {
|
||||
id: number;
|
||||
text: string;
|
||||
parent?: SocialAction | null;
|
||||
children: SocialAction[];
|
||||
issue?: SocialIssue | null;
|
||||
@@ -166,6 +169,7 @@ export interface AccompanyingPeriodLocationHistory {
|
||||
|
||||
export interface SocialIssue {
|
||||
id: number;
|
||||
text: string;
|
||||
parent?: SocialIssue | null;
|
||||
children: SocialIssue[];
|
||||
socialActions?: SocialAction[] | null;
|
||||
@@ -206,6 +210,7 @@ export interface AccompanyingPeriodWorkGoal {
|
||||
}
|
||||
|
||||
export interface AccompanyingPeriodWorkEvaluation {
|
||||
type: "accompanying_period_work_evaluation";
|
||||
accompanyingPeriodWork: AccompanyingPeriodWork | null;
|
||||
comment: string;
|
||||
createdAt: DateTime | null;
|
||||
@@ -236,6 +241,68 @@ export interface Evaluation {
|
||||
notificationDelay: string;
|
||||
}
|
||||
|
||||
export interface Step {
|
||||
currentStep: {
|
||||
text: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Workflow {
|
||||
id: number;
|
||||
title: string;
|
||||
type: "accompanying_period_work" | "accompanying_period";
|
||||
isOnHoldAtCurrentStep: boolean;
|
||||
datas: {
|
||||
persons: Person[];
|
||||
};
|
||||
steps: Step[];
|
||||
}
|
||||
|
||||
export interface WorflowCc {
|
||||
id: number;
|
||||
title: string;
|
||||
isOnHoldAtCurrentStep: boolean;
|
||||
datas: {
|
||||
persons: Person[];
|
||||
};
|
||||
steps: Step[];
|
||||
}
|
||||
|
||||
export interface Warning {
|
||||
id: number;
|
||||
warningDate: DateTime;
|
||||
endDate: DateTime;
|
||||
title: string;
|
||||
}
|
||||
export interface Alert {
|
||||
id: number;
|
||||
warningDate: DateTime;
|
||||
endDate: DateTime;
|
||||
title: string;
|
||||
}
|
||||
|
||||
export interface Notification {
|
||||
id: number;
|
||||
date: DateTime;
|
||||
title: string;
|
||||
sender: {
|
||||
text: string;
|
||||
};
|
||||
relatedEntityClass: string;
|
||||
relatedEntityId: number;
|
||||
}
|
||||
export interface Participation {
|
||||
person: Person;
|
||||
}
|
||||
export interface AccompanyingCourse {
|
||||
id: number;
|
||||
openingDate: DateTime;
|
||||
socialIssues: SocialIssue[];
|
||||
participations: Participation[];
|
||||
emergency: boolean;
|
||||
confidential: boolean;
|
||||
}
|
||||
|
||||
export interface AccompanyingPeriodWorkReferrerHistory {
|
||||
id: number;
|
||||
accompanyingPeriodWork: AccompanyingPeriodWork;
|
||||
|
Reference in New Issue
Block a user