feature: treatment frontend wired with the newly implemented backend. no mocked data no more.
This commit is contained in:
@@ -61,6 +61,12 @@ export const TREATMENT_TYPES = [
|
||||
|
||||
export type TreatmentType = (typeof TREATMENT_TYPES)[number];
|
||||
|
||||
export interface TreatmentCaseSendInfo {
|
||||
organizationId: string;
|
||||
organizationName: string;
|
||||
sentAt: string;
|
||||
}
|
||||
|
||||
export interface PastTreatmentCase {
|
||||
id: string;
|
||||
clientId: string;
|
||||
@@ -69,6 +75,7 @@ export interface PastTreatmentCase {
|
||||
notes?: string | null;
|
||||
attachmentMetas?: TreatmentAttachmentMeta[];
|
||||
sendToOrganizationIds?: string[];
|
||||
sends?: TreatmentCaseSendInfo[];
|
||||
sentAt?: string | null;
|
||||
}
|
||||
|
||||
@@ -97,6 +104,7 @@ export interface TreatmentCaseDraft {
|
||||
comment: string;
|
||||
attachmentMetas: TreatmentAttachmentMeta[];
|
||||
sendToOrganizationIds: string[];
|
||||
sends?: TreatmentCaseSendInfo[];
|
||||
sentAt?: string | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user