🚧 Webhook

This commit is contained in:
Flam3rboy
2021-04-23 00:48:18 +02:00
parent 3e6d1103bc
commit 4a2c0ebe5f
11 changed files with 45 additions and 3 deletions
+3
View File
@@ -34,6 +34,9 @@ export function FieldErrors(fields: Record<string, { code?: string; message: str
);
}
// TODO: implement Image data type: Data URI scheme that supports JPG, GIF, and PNG formats. An example Data URI format is: data:image/jpeg;base64,BASE64_ENCODED_JPEG_IMAGE_DATA
// Ensure you use the proper content type (image/jpeg, image/png, image/gif) that matches the image data being provided.
export class FieldError extends Error {
constructor(public code: string | number, public message: string, public errors?: any) {
super(message);