improvement: attachment selection for lab dispatch added. attachment preview added to cases feature.
This commit is contained in:
@@ -66,6 +66,14 @@ export interface LabCaseComment {
|
||||
showVisibilityStatus?: boolean;
|
||||
}
|
||||
|
||||
export interface LabCaseAttachmentMeta {
|
||||
id: string;
|
||||
fileName: string;
|
||||
mimeType: string;
|
||||
sizeBytes: number;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface LabCaseDetail {
|
||||
id: string;
|
||||
sentAt: string | null;
|
||||
@@ -84,6 +92,12 @@ export interface LabCaseDetail {
|
||||
teeth: string[];
|
||||
comment: string | null;
|
||||
}>;
|
||||
toothProsthesis: Array<{
|
||||
treatmentDetailId: string;
|
||||
tooth: string;
|
||||
prosthesisTypeCode: string;
|
||||
}>;
|
||||
attachments: LabCaseAttachmentMeta[];
|
||||
sends: Array<{
|
||||
organizationId: string;
|
||||
organizationName: string;
|
||||
|
||||
@@ -103,6 +103,7 @@ export interface PastLabCase {
|
||||
prosthesisTypeCode: string;
|
||||
}>;
|
||||
sends?: LabCaseSendInfo[];
|
||||
attachments?: TreatmentAttachmentMeta[];
|
||||
}
|
||||
|
||||
export interface PastTreatment {
|
||||
@@ -144,6 +145,7 @@ export interface LabCaseDraft {
|
||||
destinationOrganizationId: string | null;
|
||||
detailClientIds: string[];
|
||||
toothProsthesis: LabCaseToothProsthesisDraft[];
|
||||
attachmentIds: string[];
|
||||
sentAt?: string | null;
|
||||
sends?: LabCaseSendInfo[];
|
||||
}
|
||||
@@ -170,6 +172,7 @@ export interface SaveLabCasePayload {
|
||||
tooth: string;
|
||||
prosthesisTypeCode: string;
|
||||
}>;
|
||||
attachmentIds?: string[];
|
||||
}
|
||||
|
||||
export interface SaveTreatmentPayload {
|
||||
@@ -192,4 +195,5 @@ export interface LabCaseResponse {
|
||||
}>;
|
||||
sends: LabCaseSendInfo[];
|
||||
toothProsthesis?: LabCaseToothProsthesisDraft[];
|
||||
attachments?: TreatmentAttachmentMeta[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user