import type { Intersect } from '../../../utils'; import type { Attribute } from '../..'; /** * Represents a decimal Strapi attribute along with its options */ export type Decimal = Intersect<[ Attribute.OfType<'decimal'>, Attribute.ConfigurableOption, Attribute.DefaultOption, Attribute.MinMaxOption, Attribute.PrivateOption, Attribute.RequiredOption, Attribute.WritableOption, Attribute.VisibleOption, Attribute.UniqueOption ]>; export type DecimalValue = number; export type GetDecimalValue = T extends Decimal ? DecimalValue : never; //# sourceMappingURL=decimal.d.ts.map