1 | {"version":3,"file":"MailComposer.types.js","sourceRoot":"","sources":["../src/MailComposer.types.ts"],"names":[],"mappings":"AAyCA,eAAe;AACf,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,mDAA6B,CAAA;IAC7B,mCAAa,CAAA;IACb,qCAAe,CAAA;IACf,6CAAuB,CAAA;AACzB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B","sourcesContent":["// @needsAudit\n/**\n * A map defining the data to fill the mail.\n */\nexport type MailComposerOptions = {\n /**\n * An array of e-mail addresses of the recipients.\n */\n recipients?: string[];\n /**\n * An array of e-mail addresses of the CC recipients.\n */\n ccRecipients?: string[];\n /**\n * An array of e-mail addresses of the BCC recipients.\n */\n bccRecipients?: string[];\n /**\n * Subject of the e-mail.\n */\n subject?: string;\n /**\n * Body of the e-mail.\n */\n body?: string;\n /**\n * Whether the body contains HTML tags so it could be formatted properly.\n * Not working perfectly on Android.\n */\n isHtml?: boolean;\n /**\n * An array of app's internal file URIs to attach.\n */\n attachments?: string[];\n};\n\n// @docsMissing\nexport type MailComposerResult = {\n status: MailComposerStatus;\n};\n\n// @docsMissing\nexport enum MailComposerStatus {\n UNDETERMINED = 'undetermined',\n SENT = 'sent',\n SAVED = 'saved',\n CANCELLED = 'cancelled',\n}\n"]} |