chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

@@ -5,4 +5,4 @@ export interface EmailContextType {
setSelectedEmails: (emails: string) => void;
setSelectedName: (name: string) => void;
setSelectedId: (id: string) => void;
}
}

View File

@@ -1,8 +1,8 @@
export interface FormData {
export interface FormData {
id: number | undefined;
name: string;
template: string;
content:{
content: {
receiver: string;
subject: string;
content: string;
@@ -11,7 +11,7 @@
textLinkUrl: string[];
keyword: Array<string | { keyword: string; value: string }>;
html: string;
}
};
// emails: string;
// subject: string;
// message: string;
@@ -29,4 +29,4 @@ export interface EmailFormProps {
initialData?: FormData;
}
export type ModalType = "none" | "save-list" | "open-list" | "save-template" | "open-template";
export type ModalType = "none" | "save-list" | "open-list" | "save-template" | "open-template";

View File

@@ -8,4 +8,4 @@ export interface EmailSent {
update_time: string;
}
export type EmailSentStatus = "pending" | "success" | "error"| "schedule";
export type EmailSentStatus = "pending" | "success" | "error" | "schedule";

View File

@@ -4,4 +4,4 @@ export interface ModalProps {
height?: string | number;
width?: string | number;
children: React.ReactNode;
}
}

View File

@@ -1,4 +1,4 @@
export interface SaveListGmailProps {
export interface SaveListGmailProps {
emails: string;
name?: string;
id?: string;
@@ -6,7 +6,7 @@
onSuccess?: () => Promise<void>;
}
export interface DataEmail {
export interface DataEmail {
email: string;
name: string;
}
}

View File

@@ -1,4 +1,4 @@
export interface saveListTemplateProps {
export interface saveListTemplateProps {
name?: string;
content?: {
receiver: string;
@@ -13,10 +13,10 @@
editMode?: boolean;
id?: number;
onClose?: () => void;
onSuccess?: () => Promise<void>;
onSuccess?: () => Promise<void>;
}
export interface DataTemplate {
export interface DataTemplate {
id: number;
name: string;
content: {
@@ -28,5 +28,5 @@
textLinkUrl: string[] | string;
keyword: Array<string | { keyword: string; value: string }>;
html: string;
}
}
};
}

View File

@@ -1,11 +1,11 @@
export interface Template1Props {
content:{
content: {
subject?: string;
message?: string;
imageUrl?: string | null;
linkUrl?: string[];
textLinkUrl?: string[];
keyword: Array<string | { keyword: string; value: string }>;
}
};
previewMode?: boolean;
}
}