fix: payload config remove types for email

This commit is contained in:
Dan Ribbens
2021-01-03 03:20:29 -05:00
parent cf89d4cb56
commit faec969752

View File

@@ -55,19 +55,6 @@ export type InitOptions = {
onInit?: (payload: Payload) => void;
};
export type SendEmailOptions = {
from: string;
to: string;
subject: string;
html: string;
};
export type MockEmailCredentials = {
user: string;
pass: string;
web: string;
};
export type AccessResult = boolean | Where;
export type Access = (args?: any) => AccessResult;
@@ -118,7 +105,6 @@ export type PayloadConfig = {
},
middleware?: any[]
},
email?: EmailOptions;
defaultDepth?: number;
maxDepth?: number;
rateLimit?: {