import type { Intersect } from '../../../utils'; import type { Attribute } from '../..'; /** * Represents a date-time Strapi attribute along with its options */ export type DateTime = Intersect<[ Attribute.OfType<'datetime'>, Attribute.ConfigurableOption, Attribute.DefaultOption, Attribute.PrivateOption, Attribute.RequiredOption, Attribute.UniqueOption, Attribute.WritableOption, Attribute.VisibleOption ]>; export type DateTimeValue = globalThis.Date | string; export type GetDateTimeValue = T extends DateTime ? DateTimeValue : never; //# sourceMappingURL=date-time.d.ts.map