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