import type { Intersect } from '../../../utils'; import type { Attribute } from '../..'; /** * Represents an email Strapi attribute along with its options */ export type Email = Intersect<[ Attribute.OfType<'email'>, Attribute.ConfigurableOption, Attribute.DefaultOption, Attribute.MinMaxLengthOption, Attribute.PrivateOption, Attribute.RequiredOption, Attribute.UniqueOption, Attribute.WritableOption, Attribute.VisibleOption ]>; export type EmailValue = string; export type GetEmailValue = T extends Email ? EmailValue : never; //# sourceMappingURL=email.d.ts.map