chore: install prettier
This commit is contained in:
@@ -5,4 +5,4 @@ export interface EmailContextType {
|
||||
setSelectedEmails: (emails: string) => void;
|
||||
setSelectedName: (name: string) => void;
|
||||
setSelectedId: (id: string) => void;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -8,4 +8,4 @@ export interface EmailSent {
|
||||
update_time: string;
|
||||
}
|
||||
|
||||
export type EmailSentStatus = "pending" | "success" | "error"| "schedule";
|
||||
export type EmailSentStatus = "pending" | "success" | "error" | "schedule";
|
||||
|
||||
@@ -4,4 +4,4 @@ export interface ModalProps {
|
||||
height?: string | number;
|
||||
width?: string | number;
|
||||
children: React.ReactNode;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user